@dxtmisha/wiki 0.39.2 → 0.39.3
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/dist/classes/WikiStorybook.d.ts +161 -0
- package/dist/classes/WikiStorybookDescriptions.d.ts +29 -0
- package/dist/classes/WikiStorybookItem.d.ts +122 -0
- package/dist/classes/WikiStorybookProp.d.ts +76 -0
- package/dist/documentation/storybook/StorybookDescriptions.d.ts +12 -0
- package/dist/documentation/storybook/StorybookMain.d.ts +6 -0
- package/dist/library.d.ts +6 -0
- package/dist/library.js +30346 -0
- package/dist/media/descriptions/wikiDescriptions.d.ts +2 -0
- package/dist/media/descriptions/wikiDescriptionsAccordion.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsActionSheet.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsActions.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsAnchor.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsArrow.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsBadge.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsBars.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsBlock.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsButton.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsCell.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsCheckbox.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsChip.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsChipGroup.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsDialog.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsDummy.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsField.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsFieldCounter.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsFieldLabel.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsFieldMessage.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsGrid.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsGridItem.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsGroup.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsHorizontalScroll.d.ts +2 -0
- package/dist/media/descriptions/wikiDescriptionsIcon.d.ts +2 -0
- package/dist/media/descriptions/wikiDescriptionsImage.d.ts +2 -0
- package/dist/media/descriptions/wikiDescriptionsInput.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsList.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsListGroup.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsListItem.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsListMenu.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsMask.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsMenu.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsModal.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsMotionAxis.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsMotionTransform.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsPage.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsProgress.d.ts +2 -0
- package/dist/media/descriptions/wikiDescriptionsRipple.d.ts +2 -0
- package/dist/media/descriptions/wikiDescriptionsScrollbar.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsSection.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsSelect.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsSelectValue.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsSkeleton.d.ts +2 -0
- package/dist/media/descriptions/wikiDescriptionsSnackbar.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsSnackbarItem.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsTabItem.d.ts +2 -0
- package/dist/media/descriptions/wikiDescriptionsTabs.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsTabsNavigation.d.ts +2 -0
- package/dist/media/descriptions/wikiDescriptionsTextarea.d.ts +2 -0
- package/dist/media/descriptions/wikiDescriptionsTextareaAutosize.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsTooltip.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsWindow.d.ts +7 -0
- package/dist/media/mdx/Accordion/wikiMdxAccordion.d.ts +7 -0
- package/dist/media/mdx/ActionSheet/wikiMdxActionSheet.d.ts +7 -0
- package/dist/media/mdx/Actions/wikiMdxActions.d.ts +7 -0
- package/dist/media/mdx/Anchor/wikiMdxAnchor.d.ts +7 -0
- package/dist/media/mdx/Arrow/wikiMdxArrow.d.ts +7 -0
- package/dist/media/mdx/Badge/wikiMdxBadge.d.ts +7 -0
- package/dist/media/mdx/Bars/wikiMdxBars.d.ts +7 -0
- package/dist/media/mdx/Block/wikiMdxBlock.d.ts +7 -0
- package/dist/media/mdx/Button/wikiMdxButton.d.ts +7 -0
- package/dist/media/mdx/Cell/wikiMdxCell.d.ts +7 -0
- package/dist/media/mdx/Checkbox/wikiMdxCheckbox.d.ts +7 -0
- package/dist/media/mdx/Chip/wikiMdxChip.d.ts +7 -0
- package/dist/media/mdx/ChipGroup/wikiMdxChipGroup.d.ts +7 -0
- package/dist/media/mdx/Dialog/wikiMdxDialog.d.ts +7 -0
- package/dist/media/mdx/Dummy/wikiMdxDummy.d.ts +7 -0
- package/dist/media/mdx/Field/wikiMdxField.d.ts +7 -0
- package/dist/media/mdx/FieldCounter/wikiMdxFieldCounter.d.ts +7 -0
- package/dist/media/mdx/FieldLabel/wikiMdxFieldLabel.d.ts +7 -0
- package/dist/media/mdx/FieldMessage/wikiMdxFieldMessage.d.ts +7 -0
- package/dist/media/mdx/Grid/wikiMdxGrid.d.ts +7 -0
- package/dist/media/mdx/GridItem/wikiMdxGridItem.d.ts +7 -0
- package/dist/media/mdx/Group/wikiMdxGroup.d.ts +7 -0
- package/dist/media/mdx/HorizontalScroll/wikiMdxHorizontalScroll.d.ts +7 -0
- package/dist/media/mdx/Icon/wikiMdxIcon.d.ts +2 -0
- package/dist/media/mdx/Image/wikiMdxImage.d.ts +2 -0
- package/dist/media/mdx/Input/wikiMdxInput.d.ts +7 -0
- package/dist/media/mdx/List/wikiMdxList.d.ts +7 -0
- package/dist/media/mdx/ListGroup/wikiMdxListGroup.d.ts +7 -0
- package/dist/media/mdx/ListItem/wikiMdxListItem.d.ts +7 -0
- package/dist/media/mdx/ListMenu/wikiMdxListMenu.d.ts +7 -0
- package/dist/media/mdx/Mask/wikiMdxMask.d.ts +7 -0
- package/dist/media/mdx/Menu/wikiMdxMenu.d.ts +3 -0
- package/dist/media/mdx/Modal/wikiMdxModal.d.ts +7 -0
- package/dist/media/mdx/MotionAxis/wikiMdxMotionAxis.d.ts +7 -0
- package/dist/media/mdx/MotionTransform/wikiMdxMotionTransform.d.ts +7 -0
- package/dist/media/mdx/Page/wikiMdxPage.d.ts +7 -0
- package/dist/media/mdx/Progress/wikiMdxProgress.d.ts +2 -0
- package/dist/media/mdx/Ripple/wikiMdxRipple.d.ts +2 -0
- package/dist/media/mdx/Scrollbar/wikiMdxScrollbar.d.ts +7 -0
- package/dist/media/mdx/Section/wikiMdxSection.d.ts +7 -0
- package/dist/media/mdx/Select/wikiMdxSelect.d.ts +7 -0
- package/dist/media/mdx/SelectValue/wikiMdxSelectValue.d.ts +7 -0
- package/dist/media/mdx/Skeleton/wikiMdxSkeleton.d.ts +2 -0
- package/dist/media/mdx/Snackbar/wikiMdxSnackbar.d.ts +7 -0
- package/dist/media/mdx/SnackbarItem/wikiMdxSnackbarItem.d.ts +7 -0
- package/dist/media/mdx/TabItem/wikiMdxTabItem.d.ts +7 -0
- package/dist/media/mdx/Tabs/wikiMdxTabs.d.ts +7 -0
- package/dist/media/mdx/TabsNavigation/wikiMdxTabsNavigation.d.ts +7 -0
- package/dist/media/mdx/Textarea/wikiMdxTextarea.d.ts +7 -0
- package/dist/media/mdx/TextareaAutosize/wikiMdxTextareaAutosize.d.ts +7 -0
- package/dist/media/mdx/Tooltip/wikiMdxTooltip.d.ts +7 -0
- package/dist/media/mdx/Window/wikiMdxWindow.d.ts +7 -0
- package/dist/media/mdx/event/wikiMdxEvent.d.ts +2 -0
- package/dist/media/mdx/expose/wikiMdxExpose.d.ts +2 -0
- package/dist/media/mdx/slot/wikiMdxSlot.d.ts +2 -0
- package/dist/media/mdx/style/wikiMdxStyle.d.ts +2 -0
- package/dist/media/mdx/value/wikiMdxValue.d.ts +2 -0
- package/dist/media/mdx/wikiMdx.d.ts +2 -0
- package/dist/media/props/wiki.d.ts +2 -0
- package/dist/media/props/wikiActions.d.ts +7 -0
- package/dist/media/props/wikiActionsInclude.d.ts +7 -0
- package/dist/media/props/wikiAnchor.d.ts +7 -0
- package/dist/media/props/wikiAria.d.ts +7 -0
- package/dist/media/props/wikiArrow.d.ts +7 -0
- package/dist/media/props/wikiArrowInclude.d.ts +7 -0
- package/dist/media/props/wikiAttributes.d.ts +7 -0
- package/dist/media/props/wikiBadge.d.ts +7 -0
- package/dist/media/props/wikiBars.d.ts +7 -0
- package/dist/media/props/wikiBarsInclude.d.ts +7 -0
- package/dist/media/props/wikiButton.d.ts +7 -0
- package/dist/media/props/wikiCheckbox.d.ts +7 -0
- package/dist/media/props/wikiChip.d.ts +7 -0
- package/dist/media/props/wikiChipGroup.d.ts +7 -0
- package/dist/media/props/wikiDialog.d.ts +7 -0
- package/dist/media/props/wikiField.d.ts +7 -0
- package/dist/media/props/wikiFieldCounterInclude.d.ts +7 -0
- package/dist/media/props/wikiForm.d.ts +2 -0
- package/dist/media/props/wikiGridItem.d.ts +7 -0
- package/dist/media/props/wikiHook.d.ts +7 -0
- package/dist/media/props/wikiIcon.d.ts +2 -0
- package/dist/media/props/wikiIconInclude.d.ts +2 -0
- package/dist/media/props/wikiImage.d.ts +7 -0
- package/dist/media/props/wikiInformation.d.ts +2 -0
- package/dist/media/props/wikiInput.d.ts +7 -0
- package/dist/media/props/wikiList.d.ts +7 -0
- package/dist/media/props/wikiListItem.d.ts +7 -0
- package/dist/media/props/wikiMask.d.ts +7 -0
- package/dist/media/props/wikiMaskInclude.d.ts +7 -0
- package/dist/media/props/wikiMenu.d.ts +7 -0
- package/dist/media/props/wikiMotionAxis.d.ts +7 -0
- package/dist/media/props/wikiMotionTransform.d.ts +7 -0
- package/dist/media/props/wikiOption.d.ts +7 -0
- package/dist/media/props/wikiProgress.d.ts +7 -0
- package/dist/media/props/wikiPropsTextarea.d.ts +7 -0
- package/dist/media/props/wikiScrollbar.d.ts +7 -0
- package/dist/media/props/wikiSelect.d.ts +7 -0
- package/dist/media/props/wikiSelectValue.d.ts +7 -0
- package/dist/media/props/wikiSnackbar.d.ts +7 -0
- package/dist/media/props/wikiSnackbarItem.d.ts +7 -0
- package/dist/media/props/wikiStatus.d.ts +7 -0
- package/dist/media/props/wikiStyle.d.ts +7 -0
- package/dist/media/props/wikiTabs.d.ts +7 -0
- package/dist/media/props/wikiTabsNavigation.d.ts +7 -0
- package/dist/media/props/wikiTechnical.d.ts +7 -0
- package/dist/media/props/wikiText.d.ts +7 -0
- package/dist/media/props/wikiTooltip.d.ts +7 -0
- package/dist/media/props/wikiValue.d.ts +7 -0
- package/dist/media/props/wikiWindow.d.ts +7 -0
- package/dist/media.d.ts +8 -0
- package/dist/storybook.d.ts +2 -0
- package/dist/types/storybookTypes.d.ts +244 -0
- package/dist/types/wikiTypes.d.ts +9 -0
- package/package.json +16 -3
- package/src/media/functional/ui/properties/about/about.en.mdx +20 -0
- package/src/media/functional/ui/properties/about/about.ru.mdx +20 -0
- package/src/media/functional/ui/properties/about/about.vi.mdx +20 -0
- package/src/media/functional/ui/properties/flag-default/flag-default.en.mdx +27 -0
- package/src/media/functional/ui/properties/flag-default/flag-default.ru.mdx +27 -0
- package/src/media/functional/ui/properties/flag-default/flag-default.vi.mdx +27 -0
- package/src/media/functional/ui/properties/flag-fullName/flag-fullName.en.mdx +26 -0
- package/src/media/functional/ui/properties/flag-fullName/flag-fullName.ru.mdx +26 -0
- package/src/media/functional/ui/properties/flag-fullName/flag-fullName.vi.mdx +26 -0
- package/src/media/functional/ui/properties/flag-fullValue/flag-fullValue.en.mdx +26 -0
- package/src/media/functional/ui/properties/flag-fullValue/flag-fullValue.ru.mdx +26 -0
- package/src/media/functional/ui/properties/flag-fullValue/flag-fullValue.vi.mdx +26 -0
- package/src/media/functional/ui/properties/flag-prop/flag-prop.en.mdx +28 -0
- package/src/media/functional/ui/properties/flag-prop/flag-prop.ru.mdx +28 -0
- package/src/media/functional/ui/properties/flag-prop/flag-prop.vi.mdx +28 -0
- package/src/media/functional/ui/properties/flag-rename/flag-rename.en.mdx +26 -0
- package/src/media/functional/ui/properties/flag-rename/flag-rename.ru.mdx +26 -0
- package/src/media/functional/ui/properties/flag-rename/flag-rename.vi.mdx +26 -0
- package/src/media/functional/ui/properties/flag-replace/flag-replace.en.mdx +30 -0
- package/src/media/functional/ui/properties/flag-replace/flag-replace.ru.mdx +30 -0
- package/src/media/functional/ui/properties/flag-replace/flag-replace.vi.mdx +30 -0
- package/src/media/functional/ui/properties/flag-state/flag-state.en.mdx +28 -0
- package/src/media/functional/ui/properties/flag-state/flag-state.ru.mdx +28 -0
- package/src/media/functional/ui/properties/flag-state/flag-state.vi.mdx +28 -0
- package/src/media/functional/ui/properties/flag-subclass/flag-subclass.en.mdx +28 -0
- package/src/media/functional/ui/properties/flag-subclass/flag-subclass.ru.mdx +28 -0
- package/src/media/functional/ui/properties/flag-subclass/flag-subclass.vi.mdx +28 -0
- package/src/media/functional/ui/properties/flag-theme/flag-theme.en.mdx +28 -0
- package/src/media/functional/ui/properties/flag-theme/flag-theme.ru.mdx +28 -0
- package/src/media/functional/ui/properties/flag-theme/flag-theme.vi.mdx +28 -0
- package/src/media/functional/ui/properties/flag-var/flag-var.en.mdx +27 -0
- package/src/media/functional/ui/properties/flag-var/flag-var.ru.mdx +27 -0
- package/src/media/functional/ui/properties/flag-var/flag-var.vi.mdx +27 -0
- package/src/media/functional/ui/properties/quick-start/quick-start.en.mdx +78 -0
- package/src/media/functional/ui/properties/quick-start/quick-start.ru.mdx +78 -0
- package/src/media/functional/ui/properties/quick-start/quick-start.vi.mdx +78 -0
- package/src/media/functional/ui/properties/structure/structure.en.mdx +155 -0
- package/src/media/functional/ui/properties/structure/structure.ru.mdx +155 -0
- package/src/media/functional/ui/properties/structure/structure.vi.mdx +155 -0
- package/src/media/functional/ui/properties/type-animate/type-animate.en.mdx +42 -0
- package/src/media/functional/ui/properties/type-animate/type-animate.ru.mdx +42 -0
- package/src/media/functional/ui/properties/type-animate/type-animate.vi.mdx +42 -0
- package/src/media/functional/ui/properties/type-media/type-media.en.mdx +56 -0
- package/src/media/functional/ui/properties/type-media/type-media.ru.mdx +56 -0
- package/src/media/functional/ui/properties/type-media/type-media.vi.mdx +56 -0
- package/src/media/functional/ui/properties/type-property/type-property.en.mdx +57 -0
- package/src/media/functional/ui/properties/type-property/type-property.ru.mdx +57 -0
- package/src/media/functional/ui/properties/type-property/type-property.vi.mdx +57 -0
- package/src/media/functional/ui/properties/type-selector-virtual/type-selector-virtual.en.mdx +49 -0
- package/src/media/functional/ui/properties/type-selector-virtual/type-selector-virtual.ru.mdx +49 -0
- package/src/media/functional/ui/properties/type-selector-virtual/type-selector-virtual.vi.mdx +49 -0
- package/src/media/functional/ui/properties/type-state/type-state.en.mdx +66 -0
- package/src/media/functional/ui/properties/type-state/type-state.ru.mdx +66 -0
- package/src/media/functional/ui/properties/type-state/type-state.vi.mdx +66 -0
- package/src/media/functional/ui/properties/type-subclass/type-subclass.en.mdx +44 -0
- package/src/media/functional/ui/properties/type-subclass/type-subclass.ru.mdx +44 -0
- package/src/media/functional/ui/properties/type-subclass/type-subclass.vi.mdx +44 -0
- package/src/media/functional/ui/properties/type-var/type-var.en.mdx +63 -0
- package/src/media/functional/ui/properties/type-var/type-var.ru.mdx +63 -0
- package/src/media/functional/ui/properties/type-var/type-var.vi.mdx +63 -0
- package/src/media/functional/ui/properties/types/types.en.mdx +128 -0
- package/src/media/functional/ui/properties/types/types.ru.mdx +128 -0
- package/src/media/functional/ui/properties/types/types.vi.mdx +128 -0
- package/src/media/functional/ui/properties/values/values.en.mdx +103 -0
- package/src/media/functional/ui/properties/values/values.ru.mdx +103 -0
- package/src/media/functional/ui/properties/values/values.vi.mdx +103 -0
- package/src/classes/WikiStorybook.ts +0 -353
- package/src/classes/WikiStorybookDescriptions.ts +0 -60
- package/src/classes/WikiStorybookItem.ts +0 -400
- package/src/classes/WikiStorybookProp.ts +0 -118
- package/src/media/descriptions/wikiDescriptions.ts +0 -109
- package/src/media/descriptions/wikiDescriptionsAccordion.ts +0 -177
- package/src/media/descriptions/wikiDescriptionsActionSheet.ts +0 -148
- package/src/media/descriptions/wikiDescriptionsActions.ts +0 -73
- package/src/media/descriptions/wikiDescriptionsAnchor.ts +0 -49
- package/src/media/descriptions/wikiDescriptionsArrow.ts +0 -193
- package/src/media/descriptions/wikiDescriptionsBadge.ts +0 -150
- package/src/media/descriptions/wikiDescriptionsBars.ts +0 -177
- package/src/media/descriptions/wikiDescriptionsBlock.ts +0 -115
- package/src/media/descriptions/wikiDescriptionsButton.ts +0 -200
- package/src/media/descriptions/wikiDescriptionsCell.ts +0 -121
- package/src/media/descriptions/wikiDescriptionsCheckbox.ts +0 -134
- package/src/media/descriptions/wikiDescriptionsChip.ts +0 -144
- package/src/media/descriptions/wikiDescriptionsChipGroup.ts +0 -113
- package/src/media/descriptions/wikiDescriptionsDialog.ts +0 -198
- package/src/media/descriptions/wikiDescriptionsDummy.ts +0 -42
- package/src/media/descriptions/wikiDescriptionsField.ts +0 -222
- package/src/media/descriptions/wikiDescriptionsFieldCounter.ts +0 -75
- package/src/media/descriptions/wikiDescriptionsFieldLabel.ts +0 -46
- package/src/media/descriptions/wikiDescriptionsFieldMessage.ts +0 -71
- package/src/media/descriptions/wikiDescriptionsGrid.ts +0 -68
- package/src/media/descriptions/wikiDescriptionsGridItem.ts +0 -55
- package/src/media/descriptions/wikiDescriptionsGroup.ts +0 -118
- package/src/media/descriptions/wikiDescriptionsHorizontalScroll.ts +0 -93
- package/src/media/descriptions/wikiDescriptionsIcon.ts +0 -134
- package/src/media/descriptions/wikiDescriptionsImage.ts +0 -197
- package/src/media/descriptions/wikiDescriptionsInput.ts +0 -264
- package/src/media/descriptions/wikiDescriptionsList.ts +0 -131
- package/src/media/descriptions/wikiDescriptionsListGroup.ts +0 -99
- package/src/media/descriptions/wikiDescriptionsListItem.ts +0 -167
- package/src/media/descriptions/wikiDescriptionsListMenu.ts +0 -97
- package/src/media/descriptions/wikiDescriptionsMask.ts +0 -239
- package/src/media/descriptions/wikiDescriptionsMenu.ts +0 -228
- package/src/media/descriptions/wikiDescriptionsModal.ts +0 -143
- package/src/media/descriptions/wikiDescriptionsMotionAxis.ts +0 -196
- package/src/media/descriptions/wikiDescriptionsMotionTransform.ts +0 -235
- package/src/media/descriptions/wikiDescriptionsPage.ts +0 -116
- package/src/media/descriptions/wikiDescriptionsProgress.ts +0 -220
- package/src/media/descriptions/wikiDescriptionsRipple.ts +0 -52
- package/src/media/descriptions/wikiDescriptionsScrollbar.ts +0 -111
- package/src/media/descriptions/wikiDescriptionsSection.ts +0 -116
- package/src/media/descriptions/wikiDescriptionsSelect.ts +0 -223
- package/src/media/descriptions/wikiDescriptionsSelectValue.ts +0 -85
- package/src/media/descriptions/wikiDescriptionsSkeleton.ts +0 -140
- package/src/media/descriptions/wikiDescriptionsSnackbar.ts +0 -86
- package/src/media/descriptions/wikiDescriptionsSnackbarItem.ts +0 -96
- package/src/media/descriptions/wikiDescriptionsTabItem.ts +0 -79
- package/src/media/descriptions/wikiDescriptionsTabs.ts +0 -115
- package/src/media/descriptions/wikiDescriptionsTabsNavigation.ts +0 -102
- package/src/media/descriptions/wikiDescriptionsTextarea.ts +0 -58
- package/src/media/descriptions/wikiDescriptionsTextareaAutosize.ts +0 -57
- package/src/media/descriptions/wikiDescriptionsTooltip.ts +0 -105
- package/src/media/descriptions/wikiDescriptionsWindow.ts +0 -241
- package/src/media/mdx/Accordion/accordion.en.mdx +0 -59
- package/src/media/mdx/Accordion/accordion.ru.mdx +0 -59
- package/src/media/mdx/Accordion/slots.en.mdx +0 -9
- package/src/media/mdx/Accordion/slots.ru.mdx +0 -9
- package/src/media/mdx/Accordion/wikiMdxAccordion.ts +0 -25
- package/src/media/mdx/ActionSheet/actionSheet.en.mdx +0 -61
- package/src/media/mdx/ActionSheet/actionSheet.ru.mdx +0 -61
- package/src/media/mdx/ActionSheet/touchClose.en.mdx +0 -21
- package/src/media/mdx/ActionSheet/touchClose.ru.mdx +0 -21
- package/src/media/mdx/ActionSheet/wikiMdxActionSheet.ts +0 -25
- package/src/media/mdx/Actions/actions.en.mdx +0 -48
- package/src/media/mdx/Actions/actions.ru.mdx +0 -48
- package/src/media/mdx/Actions/flexible.en.mdx +0 -19
- package/src/media/mdx/Actions/flexible.ru.mdx +0 -19
- package/src/media/mdx/Actions/list.en.mdx +0 -50
- package/src/media/mdx/Actions/list.ru.mdx +0 -50
- package/src/media/mdx/Actions/wikiMdxActions.ts +0 -31
- package/src/media/mdx/Anchor/anchor.en.mdx +0 -34
- package/src/media/mdx/Anchor/anchor.ru.mdx +0 -34
- package/src/media/mdx/Anchor/expose.go.en.mdx +0 -1
- package/src/media/mdx/Anchor/expose.go.ru.mdx +0 -1
- package/src/media/mdx/Anchor/hide.en.mdx +0 -28
- package/src/media/mdx/Anchor/hide.ru.mdx +0 -28
- package/src/media/mdx/Anchor/isCopy.en.mdx +0 -23
- package/src/media/mdx/Anchor/isCopy.ru.mdx +0 -23
- package/src/media/mdx/Anchor/scroll.en.mdx +0 -34
- package/src/media/mdx/Anchor/scroll.ru.mdx +0 -35
- package/src/media/mdx/Anchor/wikiMdxAnchor.ts +0 -43
- package/src/media/mdx/Arrow/arrow.en.mdx +0 -33
- package/src/media/mdx/Arrow/arrow.ru.mdx +0 -33
- package/src/media/mdx/Arrow/wikiMdxArrow.ts +0 -19
- package/src/media/mdx/Badge/badge.en.mdx +0 -89
- package/src/media/mdx/Badge/badge.ru.mdx +0 -89
- package/src/media/mdx/Badge/dot.en.mdx +0 -21
- package/src/media/mdx/Badge/dot.ru.mdx +0 -21
- package/src/media/mdx/Badge/outline.en.mdx +0 -16
- package/src/media/mdx/Badge/outline.ru.mdx +0 -16
- package/src/media/mdx/Badge/primary.en.mdx +0 -16
- package/src/media/mdx/Badge/primary.ru.mdx +0 -16
- package/src/media/mdx/Badge/secondary.en.mdx +0 -16
- package/src/media/mdx/Badge/secondary.ru.mdx +0 -16
- package/src/media/mdx/Badge/wikiMdxBadge.ts +0 -43
- package/src/media/mdx/Bars/action.en.mdx +0 -84
- package/src/media/mdx/Bars/action.ru.mdx +0 -84
- package/src/media/mdx/Bars/bars.en.mdx +0 -97
- package/src/media/mdx/Bars/bars.ru.mdx +0 -98
- package/src/media/mdx/Bars/slots.en.mdx +0 -2
- package/src/media/mdx/Bars/slots.ru.mdx +0 -2
- package/src/media/mdx/Bars/v-model.en.mdx +0 -28
- package/src/media/mdx/Bars/v-model.ru.mdx +0 -28
- package/src/media/mdx/Bars/wikiMdxBars.ts +0 -37
- package/src/media/mdx/Block/block.en.mdx +0 -42
- package/src/media/mdx/Block/block.ru.mdx +0 -42
- package/src/media/mdx/Block/differences.en.mdx +0 -47
- package/src/media/mdx/Block/differences.ru.mdx +0 -47
- package/src/media/mdx/Block/wikiMdxBlock.ts +0 -25
- package/src/media/mdx/Button/button.en.mdx +0 -29
- package/src/media/mdx/Button/button.ru.mdx +0 -29
- package/src/media/mdx/Button/outline.en.mdx +0 -16
- package/src/media/mdx/Button/outline.ru.mdx +0 -16
- package/src/media/mdx/Button/primary.en.mdx +0 -16
- package/src/media/mdx/Button/primary.ru.mdx +0 -16
- package/src/media/mdx/Button/secondary.en.mdx +0 -16
- package/src/media/mdx/Button/secondary.ru.mdx +0 -16
- package/src/media/mdx/Button/text.en.mdx +0 -16
- package/src/media/mdx/Button/text.ru.mdx +0 -16
- package/src/media/mdx/Button/wikiMdxButton.ts +0 -43
- package/src/media/mdx/Cell/cell.en.mdx +0 -57
- package/src/media/mdx/Cell/cell.ru.mdx +0 -57
- package/src/media/mdx/Cell/slots.en.mdx +0 -8
- package/src/media/mdx/Cell/slots.ru.mdx +0 -8
- package/src/media/mdx/Cell/wikiMdxCell.ts +0 -25
- package/src/media/mdx/Checkbox/checkbox.en.mdx +0 -22
- package/src/media/mdx/Checkbox/checkbox.ru.mdx +0 -22
- package/src/media/mdx/Checkbox/indeterminate.en.mdx +0 -61
- package/src/media/mdx/Checkbox/indeterminate.ru.mdx +0 -61
- package/src/media/mdx/Checkbox/value.en.mdx +0 -64
- package/src/media/mdx/Checkbox/value.ru.mdx +0 -64
- package/src/media/mdx/Checkbox/wikiMdxCheckbox.ts +0 -31
- package/src/media/mdx/Chip/assistive.en.mdx +0 -16
- package/src/media/mdx/Chip/assistive.ru.mdx +0 -16
- package/src/media/mdx/Chip/chip.en.mdx +0 -75
- package/src/media/mdx/Chip/chip.ru.mdx +0 -75
- package/src/media/mdx/Chip/input.en.mdx +0 -16
- package/src/media/mdx/Chip/input.ru.mdx +0 -16
- package/src/media/mdx/Chip/wikiMdxChip.ts +0 -31
- package/src/media/mdx/ChipGroup/chipGroup.en.mdx +0 -51
- package/src/media/mdx/ChipGroup/chipGroup.ru.mdx +0 -51
- package/src/media/mdx/ChipGroup/selected.en.mdx +0 -50
- package/src/media/mdx/ChipGroup/selected.ru.mdx +0 -50
- package/src/media/mdx/ChipGroup/wikiMdxChipGroup.ts +0 -25
- package/src/media/mdx/Dialog/buttons.en.mdx +0 -45
- package/src/media/mdx/Dialog/buttons.ru.mdx +0 -45
- package/src/media/mdx/Dialog/dialog.en.mdx +0 -66
- package/src/media/mdx/Dialog/dialog.ru.mdx +0 -65
- package/src/media/mdx/Dialog/events.en.mdx +0 -63
- package/src/media/mdx/Dialog/events.ru.mdx +0 -63
- package/src/media/mdx/Dialog/states.en.mdx +0 -58
- package/src/media/mdx/Dialog/states.ru.mdx +0 -57
- package/src/media/mdx/Dialog/wikiMdxDialog.ts +0 -37
- package/src/media/mdx/Dummy/dummy.en.mdx +0 -35
- package/src/media/mdx/Dummy/dummy.ru.mdx +0 -35
- package/src/media/mdx/Dummy/wikiMdxDummy.ts +0 -19
- package/src/media/mdx/Field/arrows.en.mdx +0 -91
- package/src/media/mdx/Field/arrows.ru.mdx +0 -91
- package/src/media/mdx/Field/cancel.en.mdx +0 -54
- package/src/media/mdx/Field/cancel.ru.mdx +0 -54
- package/src/media/mdx/Field/field.en.mdx +0 -52
- package/src/media/mdx/Field/field.ru.mdx +0 -52
- package/src/media/mdx/Field/slots.en.mdx +0 -10
- package/src/media/mdx/Field/slots.ru.mdx +0 -10
- package/src/media/mdx/Field/value.en.mdx +0 -49
- package/src/media/mdx/Field/value.ru.mdx +0 -49
- package/src/media/mdx/Field/width.en.mdx +0 -28
- package/src/media/mdx/Field/width.ru.mdx +0 -26
- package/src/media/mdx/Field/wikiMdxField.ts +0 -49
- package/src/media/mdx/FieldCounter/fieldCounter.en.mdx +0 -34
- package/src/media/mdx/FieldCounter/fieldCounter.ru.mdx +0 -34
- package/src/media/mdx/FieldCounter/templates.en.mdx +0 -39
- package/src/media/mdx/FieldCounter/templates.ru.mdx +0 -39
- package/src/media/mdx/FieldCounter/wikiMdxFieldCounter.ts +0 -25
- package/src/media/mdx/FieldLabel/fieldLabel.en.mdx +0 -39
- package/src/media/mdx/FieldLabel/fieldLabel.ru.mdx +0 -39
- package/src/media/mdx/FieldLabel/wikiMdxFieldLabel.ts +0 -19
- package/src/media/mdx/FieldMessage/fieldMessage.en.mdx +0 -38
- package/src/media/mdx/FieldMessage/fieldMessage.ru.mdx +0 -38
- package/src/media/mdx/FieldMessage/slots.en.mdx +0 -7
- package/src/media/mdx/FieldMessage/slots.ru.mdx +0 -7
- package/src/media/mdx/FieldMessage/wikiMdxFieldMessage.ts +0 -25
- package/src/media/mdx/Grid/grid.en.mdx +0 -21
- package/src/media/mdx/Grid/grid.ru.mdx +0 -23
- package/src/media/mdx/Grid/wikiMdxGrid.ts +0 -19
- package/src/media/mdx/GridItem/gridItem.en.mdx +0 -25
- package/src/media/mdx/GridItem/gridItem.ru.mdx +0 -27
- package/src/media/mdx/GridItem/wikiMdxGridItem.ts +0 -19
- package/src/media/mdx/Group/group.en.mdx +0 -40
- package/src/media/mdx/Group/group.ru.mdx +0 -40
- package/src/media/mdx/Group/wikiMdxGroup.ts +0 -19
- package/src/media/mdx/HorizontalScroll/expose.toSelected.en.mdx +0 -1
- package/src/media/mdx/HorizontalScroll/expose.toSelected.ru.mdx +0 -1
- package/src/media/mdx/HorizontalScroll/horizontalScroll.en.mdx +0 -62
- package/src/media/mdx/HorizontalScroll/horizontalScroll.ru.mdx +0 -62
- package/src/media/mdx/HorizontalScroll/selected.en.mdx +0 -33
- package/src/media/mdx/HorizontalScroll/selected.ru.mdx +0 -33
- package/src/media/mdx/HorizontalScroll/wikiMdxHorizontalScroll.ts +0 -31
- package/src/media/mdx/Icon/expose.isActive.en.mdx +0 -1
- package/src/media/mdx/Icon/expose.isActive.ru.mdx +0 -1
- package/src/media/mdx/Icon/icon.en.mdx +0 -77
- package/src/media/mdx/Icon/icon.ru.mdx +0 -42
- package/src/media/mdx/Icon/wikiMdxIcon.ts +0 -21
- package/src/media/mdx/Image/adaptive.en.mdx +0 -75
- package/src/media/mdx/Image/adaptive.ru.mdx +0 -75
- package/src/media/mdx/Image/event.load.en.mdx +0 -39
- package/src/media/mdx/Image/event.load.ru.mdx +0 -39
- package/src/media/mdx/Image/expose.en.mdx +0 -12
- package/src/media/mdx/Image/expose.ru.mdx +0 -12
- package/src/media/mdx/Image/flag.en.mdx +0 -23
- package/src/media/mdx/Image/flag.ru.mdx +0 -23
- package/src/media/mdx/Image/image.en.mdx +0 -51
- package/src/media/mdx/Image/image.ru.mdx +0 -51
- package/src/media/mdx/Image/img-tag.en.mdx +0 -105
- package/src/media/mdx/Image/img-tag.ru.mdx +0 -105
- package/src/media/mdx/Image/size.en.mdx +0 -32
- package/src/media/mdx/Image/size.ru.mdx +0 -32
- package/src/media/mdx/Image/value.en.mdx +0 -23
- package/src/media/mdx/Image/value.ru.mdx +0 -23
- package/src/media/mdx/Image/wikiMdxImage.ts +0 -58
- package/src/media/mdx/Input/currency.en.mdx +0 -38
- package/src/media/mdx/Input/currency.ru.mdx +0 -38
- package/src/media/mdx/Input/date.en.mdx +0 -53
- package/src/media/mdx/Input/date.ru.mdx +0 -53
- package/src/media/mdx/Input/input.en.mdx +0 -143
- package/src/media/mdx/Input/input.ru.mdx +0 -71
- package/src/media/mdx/Input/mask.en.mdx +0 -30
- package/src/media/mdx/Input/mask.ru.mdx +0 -30
- package/src/media/mdx/Input/number.en.mdx +0 -41
- package/src/media/mdx/Input/number.ru.mdx +0 -41
- package/src/media/mdx/Input/type.en.mdx +0 -26
- package/src/media/mdx/Input/type.ru.mdx +0 -26
- package/src/media/mdx/Input/wikiMdxInput.ts +0 -49
- package/src/media/mdx/List/event.close.en.mdx +0 -8
- package/src/media/mdx/List/event.close.ru.mdx +0 -8
- package/src/media/mdx/List/list.en.mdx +0 -64
- package/src/media/mdx/List/list.ru.mdx +0 -64
- package/src/media/mdx/List/lite.en.mdx +0 -24
- package/src/media/mdx/List/lite.ru.mdx +0 -24
- package/src/media/mdx/List/slot.html.en.mdx +0 -1
- package/src/media/mdx/List/slot.html.ru.mdx +0 -1
- package/src/media/mdx/List/wikiMdxList.ts +0 -37
- package/src/media/mdx/ListGroup/listGroup.en.mdx +0 -56
- package/src/media/mdx/ListGroup/listGroup.ru.mdx +0 -56
- package/src/media/mdx/ListGroup/slots.en.mdx +0 -2
- package/src/media/mdx/ListGroup/slots.ru.mdx +0 -2
- package/src/media/mdx/ListGroup/wikiMdxListGroup.ts +0 -25
- package/src/media/mdx/ListItem/basic.en.mdx +0 -55
- package/src/media/mdx/ListItem/basic.ru.mdx +0 -55
- package/src/media/mdx/ListItem/fill.en.mdx +0 -24
- package/src/media/mdx/ListItem/fill.ru.mdx +0 -24
- package/src/media/mdx/ListItem/slots.en.mdx +0 -2
- package/src/media/mdx/ListItem/slots.ru.mdx +0 -2
- package/src/media/mdx/ListItem/wikiMdxListItem.ts +0 -31
- package/src/media/mdx/ListMenu/listMenu.en.mdx +0 -63
- package/src/media/mdx/ListMenu/listMenu.ru.mdx +0 -63
- package/src/media/mdx/ListMenu/wikiMdxListMenu.ts +0 -19
- package/src/media/mdx/Mask/basic.en.mdx +0 -76
- package/src/media/mdx/Mask/basic.ru.mdx +0 -76
- package/src/media/mdx/Mask/dateTypes.en.mdx +0 -38
- package/src/media/mdx/Mask/dateTypes.ru.mdx +0 -38
- package/src/media/mdx/Mask/expose.en.mdx +0 -3
- package/src/media/mdx/Mask/expose.ru.mdx +0 -3
- package/src/media/mdx/Mask/groupSave.en.mdx +0 -26
- package/src/media/mdx/Mask/groupSave.ru.mdx +0 -26
- package/src/media/mdx/Mask/mask.en.mdx +0 -21
- package/src/media/mdx/Mask/mask.ru.mdx +0 -21
- package/src/media/mdx/Mask/match.en.mdx +0 -28
- package/src/media/mdx/Mask/match.ru.mdx +0 -28
- package/src/media/mdx/Mask/numberTypes.en.mdx +0 -38
- package/src/media/mdx/Mask/numberTypes.ru.mdx +0 -38
- package/src/media/mdx/Mask/pattern.en.mdx +0 -66
- package/src/media/mdx/Mask/pattern.ru.mdx +0 -66
- package/src/media/mdx/Mask/special.en.mdx +0 -106
- package/src/media/mdx/Mask/special.ru.mdx +0 -106
- package/src/media/mdx/Mask/type.en.mdx +0 -22
- package/src/media/mdx/Mask/type.ru.mdx +0 -22
- package/src/media/mdx/Mask/visible.en.mdx +0 -40
- package/src/media/mdx/Mask/visible.ru.mdx +0 -40
- package/src/media/mdx/Mask/wikiMdxMask.ts +0 -79
- package/src/media/mdx/Menu/ajax.en.mdx +0 -49
- package/src/media/mdx/Menu/ajax.ru.mdx +0 -49
- package/src/media/mdx/Menu/event.updateValue.en.mdx +0 -29
- package/src/media/mdx/Menu/event.updateValue.ru.mdx +0 -30
- package/src/media/mdx/Menu/expose.navigation.en.mdx +0 -2
- package/src/media/mdx/Menu/expose.navigation.ru.mdx +0 -2
- package/src/media/mdx/Menu/menu.en.mdx +0 -64
- package/src/media/mdx/Menu/menu.ru.mdx +0 -64
- package/src/media/mdx/Menu/navigation.en.mdx +0 -56
- package/src/media/mdx/Menu/navigation.ru.mdx +0 -56
- package/src/media/mdx/Menu/slots.control.en.mdx +0 -1
- package/src/media/mdx/Menu/slots.control.ru.mdx +0 -1
- package/src/media/mdx/Menu/slots.en.mdx +0 -14
- package/src/media/mdx/Menu/slots.ru.mdx +0 -14
- package/src/media/mdx/Menu/wikiMdxMenu.ts +0 -51
- package/src/media/mdx/Modal/differences.en.mdx +0 -130
- package/src/media/mdx/Modal/differences.ru.mdx +0 -65
- package/src/media/mdx/Modal/modal.en.mdx +0 -63
- package/src/media/mdx/Modal/modal.ru.mdx +0 -63
- package/src/media/mdx/Modal/wikiMdxModal.ts +0 -25
- package/src/media/mdx/MotionAxis/classes.en.mdx +0 -18
- package/src/media/mdx/MotionAxis/classes.ru.mdx +0 -18
- package/src/media/mdx/MotionAxis/event.en.mdx +0 -53
- package/src/media/mdx/MotionAxis/event.ru.mdx +0 -53
- package/src/media/mdx/MotionAxis/expose.en.mdx +0 -9
- package/src/media/mdx/MotionAxis/expose.ru.mdx +0 -9
- package/src/media/mdx/MotionAxis/motionAxis.en.mdx +0 -43
- package/src/media/mdx/MotionAxis/motionAxis.ru.mdx +0 -43
- package/src/media/mdx/MotionAxis/slots.en.mdx +0 -1
- package/src/media/mdx/MotionAxis/slots.ru.mdx +0 -1
- package/src/media/mdx/MotionAxis/v-model.en.mdx +0 -30
- package/src/media/mdx/MotionAxis/v-model.ru.mdx +0 -30
- package/src/media/mdx/MotionAxis/wikiMdxMotionAxis.ts +0 -49
- package/src/media/mdx/MotionTransform/animationHeadPosition.en.mdx +0 -18
- package/src/media/mdx/MotionTransform/animationHeadPosition.ru.mdx +0 -18
- package/src/media/mdx/MotionTransform/classes.en.mdx +0 -25
- package/src/media/mdx/MotionTransform/classes.ru.mdx +0 -25
- package/src/media/mdx/MotionTransform/events.en.mdx +0 -39
- package/src/media/mdx/MotionTransform/events.ru.mdx +0 -39
- package/src/media/mdx/MotionTransform/expose.en.mdx +0 -6
- package/src/media/mdx/MotionTransform/expose.motionTransformElement.en.mdx +0 -9
- package/src/media/mdx/MotionTransform/expose.motionTransformElement.ru.mdx +0 -9
- package/src/media/mdx/MotionTransform/expose.ru.mdx +0 -6
- package/src/media/mdx/MotionTransform/ignore.en.mdx +0 -32
- package/src/media/mdx/MotionTransform/ignore.ru.mdx +0 -32
- package/src/media/mdx/MotionTransform/motionTransform.en.mdx +0 -51
- package/src/media/mdx/MotionTransform/motionTransform.ru.mdx +0 -51
- package/src/media/mdx/MotionTransform/slots.en.mdx +0 -5
- package/src/media/mdx/MotionTransform/slots.ru.mdx +0 -5
- package/src/media/mdx/MotionTransform/v-model.en.mdx +0 -19
- package/src/media/mdx/MotionTransform/v-model.ru.mdx +0 -19
- package/src/media/mdx/MotionTransform/wikiMdxMotionTransform.ts +0 -67
- package/src/media/mdx/Page/page.en.mdx +0 -38
- package/src/media/mdx/Page/page.ru.mdx +0 -38
- package/src/media/mdx/Page/wikiMdxPage.ts +0 -19
- package/src/media/mdx/Progress/circular.en.mdx +0 -24
- package/src/media/mdx/Progress/circular.ru.mdx +0 -24
- package/src/media/mdx/Progress/delays.en.mdx +0 -24
- package/src/media/mdx/Progress/delays.ru.mdx +0 -24
- package/src/media/mdx/Progress/linear.en.mdx +0 -25
- package/src/media/mdx/Progress/linear.ru.mdx +0 -25
- package/src/media/mdx/Progress/progress.en.mdx +0 -71
- package/src/media/mdx/Progress/progress.ru.mdx +0 -71
- package/src/media/mdx/Progress/values.en.mdx +0 -24
- package/src/media/mdx/Progress/values.ru.mdx +0 -24
- package/src/media/mdx/Progress/wikiMdxProgress.ts +0 -38
- package/src/media/mdx/Ripple/ripple.en.mdx +0 -42
- package/src/media/mdx/Ripple/ripple.ru.mdx +0 -42
- package/src/media/mdx/Ripple/wikiMdxRipple.ts +0 -14
- package/src/media/mdx/Scrollbar/emits-include.en.mdx +0 -38
- package/src/media/mdx/Scrollbar/emits-include.ru.mdx +0 -38
- package/src/media/mdx/Scrollbar/emits.en.mdx +0 -38
- package/src/media/mdx/Scrollbar/emits.ru.mdx +0 -38
- package/src/media/mdx/Scrollbar/scrollbar.en.mdx +0 -39
- package/src/media/mdx/Scrollbar/scrollbar.ru.mdx +0 -39
- package/src/media/mdx/Scrollbar/wikiMdxScrollbar.ts +0 -31
- package/src/media/mdx/Section/section.en.mdx +0 -38
- package/src/media/mdx/Section/section.ru.mdx +0 -38
- package/src/media/mdx/Section/wikiMdxSection.ts +0 -19
- package/src/media/mdx/Select/select.en.mdx +0 -69
- package/src/media/mdx/Select/select.ru.mdx +0 -69
- package/src/media/mdx/Select/wikiMdxSelect.ts +0 -19
- package/src/media/mdx/SelectValue/selectValue.en.mdx +0 -64
- package/src/media/mdx/SelectValue/selectValue.ru.mdx +0 -64
- package/src/media/mdx/SelectValue/wikiMdxSelectValue.ts +0 -19
- package/src/media/mdx/Skeleton/classes.en.mdx +0 -13
- package/src/media/mdx/Skeleton/classes.ru.mdx +0 -13
- package/src/media/mdx/Skeleton/expose.isActive.en.mdx +0 -1
- package/src/media/mdx/Skeleton/expose.isActive.ru.mdx +0 -1
- package/src/media/mdx/Skeleton/skeleton.en.mdx +0 -45
- package/src/media/mdx/Skeleton/skeleton.ru.mdx +0 -45
- package/src/media/mdx/Skeleton/wikiMdxSkeleton.ts +0 -28
- package/src/media/mdx/Snackbar/adaptation.en.mdx +0 -10
- package/src/media/mdx/Snackbar/adaptation.ru.mdx +0 -10
- package/src/media/mdx/Snackbar/add.en.mdx +0 -44
- package/src/media/mdx/Snackbar/add.ru.mdx +0 -44
- package/src/media/mdx/Snackbar/event.hide.en.mdx +0 -12
- package/src/media/mdx/Snackbar/event.hide.ru.mdx +0 -12
- package/src/media/mdx/Snackbar/event.show.en.mdx +0 -11
- package/src/media/mdx/Snackbar/event.show.ru.mdx +0 -11
- package/src/media/mdx/Snackbar/expose.add.en.mdx +0 -1
- package/src/media/mdx/Snackbar/expose.add.ru.mdx +0 -1
- package/src/media/mdx/Snackbar/expose.clear.en.mdx +0 -1
- package/src/media/mdx/Snackbar/expose.clear.ru.mdx +0 -1
- package/src/media/mdx/Snackbar/expose.isItem.en.mdx +0 -1
- package/src/media/mdx/Snackbar/expose.isItem.ru.mdx +0 -1
- package/src/media/mdx/Snackbar/expose.remove.en.mdx +0 -1
- package/src/media/mdx/Snackbar/expose.remove.ru.mdx +0 -1
- package/src/media/mdx/Snackbar/position.en.mdx +0 -10
- package/src/media/mdx/Snackbar/position.ru.mdx +0 -10
- package/src/media/mdx/Snackbar/snackbar.en.mdx +0 -46
- package/src/media/mdx/Snackbar/snackbar.ru.mdx +0 -46
- package/src/media/mdx/Snackbar/wikiMdxSnackbar.ts +0 -73
- package/src/media/mdx/SnackbarItem/component.en.mdx +0 -9
- package/src/media/mdx/SnackbarItem/component.ru.mdx +0 -9
- package/src/media/mdx/SnackbarItem/event.close.en.mdx +0 -18
- package/src/media/mdx/SnackbarItem/event.close.ru.mdx +0 -18
- package/src/media/mdx/SnackbarItem/html.en.mdx +0 -6
- package/src/media/mdx/SnackbarItem/html.ru.mdx +0 -6
- package/src/media/mdx/SnackbarItem/role.en.mdx +0 -18
- package/src/media/mdx/SnackbarItem/role.ru.mdx +0 -18
- package/src/media/mdx/SnackbarItem/snackbarItem.en.mdx +0 -44
- package/src/media/mdx/SnackbarItem/snackbarItem.ru.mdx +0 -44
- package/src/media/mdx/SnackbarItem/wikiMdxSnackbarItem.ts +0 -47
- package/src/media/mdx/TabItem/tabItem.en.mdx +0 -52
- package/src/media/mdx/TabItem/tabItem.ru.mdx +0 -38
- package/src/media/mdx/TabItem/wikiMdxTabItem.ts +0 -19
- package/src/media/mdx/Tabs/tabs.en.mdx +0 -44
- package/src/media/mdx/Tabs/tabs.ru.mdx +0 -44
- package/src/media/mdx/Tabs/v-model.en.mdx +0 -27
- package/src/media/mdx/Tabs/v-model.ru.mdx +0 -27
- package/src/media/mdx/Tabs/wikiMdxTabs.ts +0 -25
- package/src/media/mdx/TabsNavigation/tabsNavigation.en.mdx +0 -40
- package/src/media/mdx/TabsNavigation/tabsNavigation.ru.mdx +0 -40
- package/src/media/mdx/TabsNavigation/v-model.en.mdx +0 -27
- package/src/media/mdx/TabsNavigation/v-model.ru.mdx +0 -27
- package/src/media/mdx/TabsNavigation/wikiMdxTabsNavigation.ts +0 -25
- package/src/media/mdx/Textarea/autosize.en.mdx +0 -35
- package/src/media/mdx/Textarea/autosize.ru.mdx +0 -35
- package/src/media/mdx/Textarea/textarea.en.mdx +0 -39
- package/src/media/mdx/Textarea/textarea.ru.mdx +0 -39
- package/src/media/mdx/Textarea/wikiMdxTextarea.ts +0 -25
- package/src/media/mdx/TextareaAutosize/textarea-autosize.en.mdx +0 -65
- package/src/media/mdx/TextareaAutosize/textarea-autosize.ru.mdx +0 -65
- package/src/media/mdx/TextareaAutosize/wikiMdxTextareaAutosize.ts +0 -19
- package/src/media/mdx/Tooltip/event.tooltip.en.mdx +0 -7
- package/src/media/mdx/Tooltip/event.tooltip.ru.mdx +0 -8
- package/src/media/mdx/Tooltip/slot.control.en.mdx +0 -5
- package/src/media/mdx/Tooltip/slot.control.ru.mdx +0 -5
- package/src/media/mdx/Tooltip/tooltip.en.mdx +0 -34
- package/src/media/mdx/Tooltip/tooltip.ru.mdx +0 -34
- package/src/media/mdx/Tooltip/wikiMdxTooltip.ts +0 -31
- package/src/media/mdx/Window/axis.en.mdx +0 -17
- package/src/media/mdx/Window/axis.ru.mdx +0 -17
- package/src/media/mdx/Window/classes.en.mdx +0 -11
- package/src/media/mdx/Window/classes.ru.mdx +0 -11
- package/src/media/mdx/Window/event.window.en.mdx +0 -31
- package/src/media/mdx/Window/event.window.ru.mdx +0 -31
- package/src/media/mdx/Window/expose.en.mdx +0 -17
- package/src/media/mdx/Window/expose.ru.mdx +0 -17
- package/src/media/mdx/Window/hooks.en.mdx +0 -31
- package/src/media/mdx/Window/hooks.ru.mdx +0 -31
- package/src/media/mdx/Window/slots.en.mdx +0 -29
- package/src/media/mdx/Window/slots.ru.mdx +0 -29
- package/src/media/mdx/Window/staticMode.en.mdx +0 -10
- package/src/media/mdx/Window/staticMode.ru.mdx +0 -10
- package/src/media/mdx/Window/v-model.en.mdx +0 -25
- package/src/media/mdx/Window/v-model.ru.mdx +0 -25
- package/src/media/mdx/Window/wikiMdxWindow.ts +0 -67
- package/src/media/mdx/Window/window.en.mdx +0 -55
- package/src/media/mdx/Window/window.ru.mdx +0 -55
- package/src/media/mdx/event/events.actions.en.mdx +0 -44
- package/src/media/mdx/event/events.actions.ru.mdx +0 -44
- package/src/media/mdx/event/events.bars.en.mdx +0 -50
- package/src/media/mdx/event/events.bars.ru.mdx +0 -50
- package/src/media/mdx/event/events.beforeinput.en.mdx +0 -13
- package/src/media/mdx/event/events.beforeinput.ru.mdx +0 -13
- package/src/media/mdx/event/events.click.en.mdx +0 -36
- package/src/media/mdx/event/events.click.ru.mdx +0 -36
- package/src/media/mdx/event/events.focus.en.mdx +0 -13
- package/src/media/mdx/event/events.focus.ru.mdx +0 -13
- package/src/media/mdx/event/events.input.en.mdx +0 -89
- package/src/media/mdx/event/events.input.ru.mdx +0 -88
- package/src/media/mdx/event/events.inputStandard.en.mdx +0 -6
- package/src/media/mdx/event/events.inputStandard.ru.mdx +0 -6
- package/src/media/mdx/event/events.keyboard.en.mdx +0 -13
- package/src/media/mdx/event/events.keyboard.ru.mdx +0 -13
- package/src/media/mdx/event/events.paste.en.mdx +0 -6
- package/src/media/mdx/event/events.paste.ru.mdx +0 -6
- package/src/media/mdx/event/events.reset.en.mdx +0 -6
- package/src/media/mdx/event/events.reset.ru.mdx +0 -6
- package/src/media/mdx/event/wikiMdxEvent.ts +0 -68
- package/src/media/mdx/expose/expose.checkValidity.en.mdx +0 -1
- package/src/media/mdx/expose/expose.checkValidity.ru.mdx +0 -1
- package/src/media/mdx/expose/expose.clear.en.mdx +0 -1
- package/src/media/mdx/expose/expose.clear.ru.mdx +0 -1
- package/src/media/mdx/expose/expose.descriptionId.en.mdx +0 -2
- package/src/media/mdx/expose/expose.descriptionId.ru.mdx +0 -2
- package/src/media/mdx/expose/expose.detail.en.mdx +0 -1
- package/src/media/mdx/expose/expose.detail.ru.mdx +0 -1
- package/src/media/mdx/expose/expose.id.en.mdx +0 -2
- package/src/media/mdx/expose/expose.id.ru.mdx +0 -2
- package/src/media/mdx/expose/expose.labelId.en.mdx +0 -2
- package/src/media/mdx/expose/expose.labelId.ru.mdx +0 -2
- package/src/media/mdx/expose/expose.open.en.mdx +0 -1
- package/src/media/mdx/expose/expose.open.ru.mdx +0 -1
- package/src/media/mdx/expose/expose.selected.en.mdx +0 -4
- package/src/media/mdx/expose/expose.selected.ru.mdx +0 -4
- package/src/media/mdx/expose/expose.validationMessage.en.mdx +0 -1
- package/src/media/mdx/expose/expose.validationMessage.ru.mdx +0 -1
- package/src/media/mdx/expose/expose.value.en.mdx +0 -1
- package/src/media/mdx/expose/expose.value.ru.mdx +0 -1
- package/src/media/mdx/expose/wikiMdxExpose.ts +0 -68
- package/src/media/mdx/slot/body.en.mdx +0 -1
- package/src/media/mdx/slot/body.ru.mdx +0 -1
- package/src/media/mdx/slot/caption.en.mdx +0 -1
- package/src/media/mdx/slot/caption.ru.mdx +0 -1
- package/src/media/mdx/slot/control.en.mdx +0 -1
- package/src/media/mdx/slot/control.ru.mdx +0 -1
- package/src/media/mdx/slot/default.en.mdx +0 -1
- package/src/media/mdx/slot/default.ru.mdx +0 -1
- package/src/media/mdx/slot/description.en.mdx +0 -1
- package/src/media/mdx/slot/description.ru.mdx +0 -1
- package/src/media/mdx/slot/footer.en.mdx +0 -1
- package/src/media/mdx/slot/footer.ru.mdx +0 -1
- package/src/media/mdx/slot/headline.en.mdx +0 -1
- package/src/media/mdx/slot/headline.ru.mdx +0 -1
- package/src/media/mdx/slot/label.en.mdx +0 -1
- package/src/media/mdx/slot/label.ru.mdx +0 -1
- package/src/media/mdx/slot/leading.en.mdx +0 -1
- package/src/media/mdx/slot/leading.ru.mdx +0 -1
- package/src/media/mdx/slot/prefix.en.mdx +0 -1
- package/src/media/mdx/slot/prefix.ru.mdx +0 -1
- package/src/media/mdx/slot/secondary.en.mdx +0 -1
- package/src/media/mdx/slot/secondary.ru.mdx +0 -1
- package/src/media/mdx/slot/suffix.en.mdx +0 -1
- package/src/media/mdx/slot/suffix.ru.mdx +0 -1
- package/src/media/mdx/slot/trailing.en.mdx +0 -1
- package/src/media/mdx/slot/trailing.ru.mdx +0 -1
- package/src/media/mdx/slot/wikiMdxSlot.ts +0 -84
- package/src/media/mdx/style/adaptive.en.mdx +0 -10
- package/src/media/mdx/style/adaptive.ru.mdx +0 -10
- package/src/media/mdx/style/asPalette.en.mdx +0 -17
- package/src/media/mdx/style/asPalette.ru.mdx +0 -17
- package/src/media/mdx/style/dir.en.mdx +0 -17
- package/src/media/mdx/style/dir.ru.mdx +0 -17
- package/src/media/mdx/style/isSkeleton.en.mdx +0 -22
- package/src/media/mdx/style/isSkeleton.ru.mdx +0 -22
- package/src/media/mdx/style/wikiMdxStyle.ts +0 -20
- package/src/media/mdx/value/highlight.en.mdx +0 -25
- package/src/media/mdx/value/highlight.ru.mdx +0 -25
- package/src/media/mdx/value/labelNumber.en.mdx +0 -47
- package/src/media/mdx/value/labelNumber.ru.mdx +0 -47
- package/src/media/mdx/value/v-model-selected.en.mdx +0 -28
- package/src/media/mdx/value/v-model-selected.ru.mdx +0 -28
- package/src/media/mdx/value/v-model.en.mdx +0 -26
- package/src/media/mdx/value/v-model.ru.mdx +0 -26
- package/src/media/mdx/value/value.en.mdx +0 -10
- package/src/media/mdx/value/value.ru.mdx +0 -10
- package/src/media/mdx/value/wikiMdxValue.ts +0 -38
- package/src/media/mdx/wikiMdx.ts +0 -121
- package/src/media/props/wiki.ts +0 -107
- package/src/media/props/wikiActions.ts +0 -45
- package/src/media/props/wikiActionsInclude.ts +0 -66
- package/src/media/props/wikiAnchor.ts +0 -91
- package/src/media/props/wikiAria.ts +0 -145
- package/src/media/props/wikiArrow.ts +0 -25
- package/src/media/props/wikiArrowInclude.ts +0 -48
- package/src/media/props/wikiAttributes.ts +0 -211
- package/src/media/props/wikiBadge.ts +0 -48
- package/src/media/props/wikiBars.ts +0 -145
- package/src/media/props/wikiBarsInclude.ts +0 -87
- package/src/media/props/wikiButton.ts +0 -61
- package/src/media/props/wikiCheckbox.ts +0 -25
- package/src/media/props/wikiChip.ts +0 -37
- package/src/media/props/wikiChipGroup.ts +0 -39
- package/src/media/props/wikiDialog.ts +0 -33
- package/src/media/props/wikiField.ts +0 -121
- package/src/media/props/wikiFieldCounterInclude.ts +0 -89
- package/src/media/props/wikiForm.ts +0 -323
- package/src/media/props/wikiGridItem.ts +0 -73
- package/src/media/props/wikiHook.ts +0 -79
- package/src/media/props/wikiIcon.ts +0 -146
- package/src/media/props/wikiIconInclude.ts +0 -365
- package/src/media/props/wikiImage.ts +0 -208
- package/src/media/props/wikiInformation.ts +0 -220
- package/src/media/props/wikiInput.ts +0 -35
- package/src/media/props/wikiList.ts +0 -281
- package/src/media/props/wikiListItem.ts +0 -101
- package/src/media/props/wikiMask.ts +0 -123
- package/src/media/props/wikiMaskInclude.ts +0 -58
- package/src/media/props/wikiMenu.ts +0 -84
- package/src/media/props/wikiMotionAxis.ts +0 -55
- package/src/media/props/wikiMotionTransform.ts +0 -82
- package/src/media/props/wikiOption.ts +0 -410
- package/src/media/props/wikiProgress.ts +0 -104
- package/src/media/props/wikiPropsTextarea.ts +0 -24
- package/src/media/props/wikiScrollbar.ts +0 -89
- package/src/media/props/wikiSelect.ts +0 -68
- package/src/media/props/wikiSelectValue.ts +0 -30
- package/src/media/props/wikiSnackbar.ts +0 -58
- package/src/media/props/wikiSnackbarItem.ts +0 -39
- package/src/media/props/wikiStatus.ts +0 -172
- package/src/media/props/wikiStyle.ts +0 -382
- package/src/media/props/wikiTabs.ts +0 -15
- package/src/media/props/wikiTabsNavigation.ts +0 -54
- package/src/media/props/wikiTechnical.ts +0 -199
- package/src/media/props/wikiText.ts +0 -181
- package/src/media/props/wikiTooltip.ts +0 -53
- package/src/media/props/wikiValue.ts +0 -197
- package/src/media/props/wikiWindow.ts +0 -277
- package/src/media/styles/en/about.mdx +0 -79
- package/src/media/styles/en/color.mdx +0 -711
- package/src/media/styles/en/content.mdx +0 -29
- package/src/media/styles/en/dimension.mdx +0 -233
- package/src/media/styles/en/dir.mdx +0 -193
- package/src/media/styles/en/flex.mdx +0 -249
- package/src/media/styles/en/font.mdx +0 -171
- package/src/media/styles/en/margin.mdx +0 -115
- package/src/media/styles/en/media.mdx +0 -133
- package/src/media/styles/en/padding.mdx +0 -115
- package/src/media/styles/en/position.mdx +0 -183
- package/src/media/styles/en/rules.mdx +0 -117
- package/src/media/styles/en/scrollbar.mdx +0 -27
- package/src/media/styles/en/selector.mdx +0 -153
- package/src/media/styles/en/transform.mdx +0 -114
- package/src/media/styles/ru/about.mdx +0 -78
- package/src/media/styles/ru/color.mdx +0 -711
- package/src/media/styles/ru/content.mdx +0 -30
- package/src/media/styles/ru/dimension.mdx +0 -233
- package/src/media/styles/ru/dir.mdx +0 -193
- package/src/media/styles/ru/flex.mdx +0 -249
- package/src/media/styles/ru/font.mdx +0 -171
- package/src/media/styles/ru/margin.mdx +0 -115
- package/src/media/styles/ru/media.mdx +0 -133
- package/src/media/styles/ru/padding.mdx +0 -115
- package/src/media/styles/ru/position.mdx +0 -183
- package/src/media/styles/ru/rules.mdx +0 -117
- package/src/media/styles/ru/scrollbar.mdx +0 -27
- package/src/media/styles/ru/selector.mdx +0 -153
- package/src/media/styles/ru/transform.mdx +0 -114
- package/src/types/storybookTypes.ts +0 -273
- package/src/types/wikiTypes.ts +0 -10
- package/src/vite-env.d.ts +0 -1
- /package/{src → dist}/shims-mdx.d.ts +0 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import {Meta} from '@storybook/addon-docs/blocks'
|
|
2
|
+
|
|
3
|
+
<Meta title='@dxtmisha/vi/# UI/properties/# Giá trị'/>
|
|
4
|
+
|
|
5
|
+
# Làm việc với giá trị (Value)
|
|
6
|
+
|
|
7
|
+
Trường `value` trong `properties.json` xác định nội dung cuối cùng của một thuộc tính (màu sắc, kích thước, đường dẫn, v.v.). Nội dung của `value` có thể là các giá trị hằng số (literals), các tham chiếu động tới các token khác hoặc các dấu hiệu hệ thống (markers).
|
|
8
|
+
|
|
9
|
+
### Hằng số và Kiểu dữ liệu
|
|
10
|
+
Hệ thống hỗ trợ các kiểu dữ liệu JSON tiêu chuẩn:
|
|
11
|
+
- **Chuỗi (Strings)**: `"12px"`, `"relative"`, `"none"`.
|
|
12
|
+
- **Số (Numbers)**: `24`, `0.5` (tự động chuyển thành chuỗi khi biên dịch).
|
|
13
|
+
- **Màu sắc**: Hỗ trợ các định dạng HEX:
|
|
14
|
+
- `#FFF` / `#FFFFFF` — màu tiêu chuẩn.
|
|
15
|
+
- `#FFFFFF80` — màu có kênh alpha (8 ký tự).
|
|
16
|
+
|
|
17
|
+
### Tham chiếu và nhãn hệ thống (`{...}`)
|
|
18
|
+
Bạn có thể trích xuất giá trịของ các thuộc tính khác bằng cách sử dụng dấu ngoặc nhọn. Điều này cho phép tạo ra sự phụ thuộc giữa các token.
|
|
19
|
+
|
|
20
|
+
#### Quy tắc phân giải đường dẫn:
|
|
21
|
+
1. **Đường dẫn tuyệt đối**: `{design.component.property}` — chỉ định đầy đủ từ gốc.
|
|
22
|
+
2. **Đường dẫn tương đối (Tự động Design)**: `{primary-color}`. Nếu phân đoạn đầu tiên của đường dẫn không phải là tên design đã đăng ký, hệ thống sẽ tự động thêm tên design hiện tại (`{current-design.primary-color}`).
|
|
23
|
+
3. **Phân cấp**: Hỗ trợ phân cấp vô hạn thông qua dấu chấm: `{base.spacing.small}`.
|
|
24
|
+
|
|
25
|
+
#### Nhãn đặc biệt (Shortcuts):
|
|
26
|
+
Các trình giữ chỗ đặc biệt được sử dụng để rút ngắn đường dẫn trong các tham chiếu:
|
|
27
|
+
- `?` — được thay thế bằng `[design_hiện_tại].`.
|
|
28
|
+
- `??` — được thay thế bằng `[design_hiện_tại].[component_hiện_tại].`.
|
|
29
|
+
|
|
30
|
+
**Ví dụ:**
|
|
31
|
+
```json
|
|
32
|
+
{
|
|
33
|
+
"button": {
|
|
34
|
+
"color": "{?primary}", // Phân giải thành {d1.primary}
|
|
35
|
+
"padding": "{??base-padding}" // Phân giải thành {d1.button.base-padding}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Các nhãn này giúp viết mã cấu hình có khả năng di động cao, không bị hỏng khi đổi tên thiết kế hoặc thành phần.
|
|
41
|
+
|
|
42
|
+
#### Biểu thức và nội dung hỗn hợp:
|
|
43
|
+
Trường `value` có thể chứa văn bản tùy ý có chứa một hoặc nhiều tham chiếu `{...}` bên trong. Hệ thống sẽ tìm và giải quyết từng tham chiếu trong khi vẫn giữ nguyên phần văn bản còn lại.
|
|
44
|
+
|
|
45
|
+
Điều này cho phép sử dụng các tham chiếu bên trong các hàm CSS (ví dụ: `calc()`) hoặc kết hợp chúng với các biến CSS gốc.
|
|
46
|
+
|
|
47
|
+
**Ví dụ:**
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"button": {
|
|
51
|
+
"padding": "var(--sys-height) * {sys.spacing.adaptive.md}"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Dấu hiệu "Giá trị đầy đủ" (`=`)
|
|
57
|
+
Nếu một giá trị bắt đầu bằng ký tự `=`, trình biên dịch sẽ coi đó là "giá trị đầy đủ" (full value). Giá trị sẽ được truyền vào SCSS "nguyên bản" mà không qua bất kỳ quá trình xử lý tự động nào khác.
|
|
58
|
+
|
|
59
|
+
Điều này hữu ích cho các hàm CSS phức tạp hoặc khi cần truyền các đường dẫn thô.
|
|
60
|
+
|
|
61
|
+
**Ví dụ sử dụng:**
|
|
62
|
+
```json
|
|
63
|
+
{
|
|
64
|
+
"button": {
|
|
65
|
+
"color": "{?primary}", // Tham chiếu qua nhãn design
|
|
66
|
+
"padding": "{??base-padding}", // Tham chiếu qua nhãn component
|
|
67
|
+
"width": "=calc(100% - 20px)", // Giá trị đầy đủ (không xử lý)
|
|
68
|
+
"border": "1px solid #00000030" // HEX có độ trong suốt
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### Các tham số Meta bổ sung
|
|
74
|
+
Để kiểm soát giá trị chính xác hơn, có thể sử dụng các cờ dịch vụ đặc biệt (bắt đầu bằng `_`):
|
|
75
|
+
|
|
76
|
+
- `_important: boolean` — thêm chỉ thị `!important` vào thuộc tính trong CSS.
|
|
77
|
+
- `_fullValue: boolean` — tương đương lập trình của dấu hiệu `=`. Vô hiệu hóa việc tự động thêm đơn vị (`px`) và giải quyết tham chiếu `{}`.
|
|
78
|
+
- `_replace: object` — cho phép thực hiện thay thế văn bản trong giá trị cuối cùng bằng biểu thức chính quy. Chấp nhận một đối tượng `{ pattern, flags, replace }`.
|
|
79
|
+
- `_modification: boolean` — kiểm soát xem thuộc tính có thể được sửa đổi trong SCSS hay không (mặc định là `true`). Nếu đặt thành `false`, thuộc tính được coi là tĩnh.
|
|
80
|
+
|
|
81
|
+
**Ví dụ sử dụng:**
|
|
82
|
+
```json
|
|
83
|
+
{
|
|
84
|
+
"button": {
|
|
85
|
+
"width": {
|
|
86
|
+
"value": "100%",
|
|
87
|
+
"_important": true // Kết quả: width: 100% !important;
|
|
88
|
+
},
|
|
89
|
+
"padding": {
|
|
90
|
+
"value": "16px",
|
|
91
|
+
"_replace": { // Kết quả: padding: 16rem;
|
|
92
|
+
"pattern": "px",
|
|
93
|
+
"replace": "rem",
|
|
94
|
+
"flags": "g"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"height": {
|
|
98
|
+
"value": "calc(100vh - 20px)",
|
|
99
|
+
"_fullValue": true // Kết quả: height: calc(100vh - 20px);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
```
|
|
@@ -1,353 +0,0 @@
|
|
|
1
|
-
import { forEach, Geo, isObjectNotArray, toCamelCase } from '@dxtmisha/functional'
|
|
2
|
-
|
|
3
|
-
import { WikiStorybookItem } from './WikiStorybookItem'
|
|
4
|
-
import { WikiStorybookProp } from './WikiStorybookProp'
|
|
5
|
-
|
|
6
|
-
import {
|
|
7
|
-
type StorybookArgs,
|
|
8
|
-
type StorybookArgsToDescription,
|
|
9
|
-
type StorybookArgsToItem,
|
|
10
|
-
type StorybookArgsToList,
|
|
11
|
-
type StorybookArgsToPossibilities,
|
|
12
|
-
type StorybookComponentsDescription,
|
|
13
|
-
type StorybookComponentsDescriptionItem,
|
|
14
|
-
type StorybookComponentsDescriptionStory,
|
|
15
|
-
type StorybookProp,
|
|
16
|
-
type StorybookProps
|
|
17
|
-
} from '../types/storybookTypes'
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Class representing a Storybook wiki
|
|
21
|
-
*
|
|
22
|
-
* Класс, представляющий wiki для Storybook
|
|
23
|
-
*/
|
|
24
|
-
export class WikiStorybook {
|
|
25
|
-
protected list: WikiStorybookItem[]
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Creates a new instance of WikiStorybook
|
|
29
|
-
*
|
|
30
|
-
* Создает новый экземпляр WikiStorybook
|
|
31
|
-
* @param component - Component name/ Название компонента
|
|
32
|
-
* @param props - Properties for the component/ свойства для компонента
|
|
33
|
-
* @param defaults - Default values for the component/ значения по умолчанию для компонента
|
|
34
|
-
* @param wikiDesign - Design values for the wiki/ значения дизайна для wiki
|
|
35
|
-
* @param wikiBasic - Basic values for the wiki/ базовые значения для wiki
|
|
36
|
-
* @param wikiDescriptions - Component descriptions for the wiki/ описания компонентов для wiki
|
|
37
|
-
*/
|
|
38
|
-
constructor(
|
|
39
|
-
protected readonly component: string,
|
|
40
|
-
protected readonly props: StorybookProps,
|
|
41
|
-
protected readonly defaults: Record<string, any>,
|
|
42
|
-
protected readonly wikiDesign: StorybookArgsToList = {},
|
|
43
|
-
protected readonly wikiBasic: StorybookArgsToList = {},
|
|
44
|
-
protected readonly wikiDescriptions: StorybookComponentsDescription = []
|
|
45
|
-
) {
|
|
46
|
-
this.list = this.initList()
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Returns the name of the component
|
|
51
|
-
*
|
|
52
|
-
* Возвращает имя компонента
|
|
53
|
-
*/
|
|
54
|
-
getName(): string {
|
|
55
|
-
return this.component
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Returns the properties wiki for the component
|
|
60
|
-
*
|
|
61
|
-
* Возвращает wiki свойств для компонента
|
|
62
|
-
* @return The properties wiki for the component/ wiki свойств для компонента
|
|
63
|
-
*/
|
|
64
|
-
getWiki(): StorybookArgs {
|
|
65
|
-
return this.initPropsWiki()
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Returns the wiki object for the component
|
|
70
|
-
*
|
|
71
|
-
* Возвращает объект wiki для компонента
|
|
72
|
-
* @return The wiki object for the component/ объект wiki для компонента
|
|
73
|
-
*/
|
|
74
|
-
getWikiObject(): WikiStorybookProp[] {
|
|
75
|
-
return forEach(
|
|
76
|
-
this.getWiki(),
|
|
77
|
-
(item, name) => {
|
|
78
|
-
if (item) {
|
|
79
|
-
return new WikiStorybookProp(name, item)
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
) as WikiStorybookProp[]
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Returns the description of the component from the wiki
|
|
87
|
-
*
|
|
88
|
-
* Возвращает описание компонента из wiki
|
|
89
|
-
* @return The description of the component/ описание компонента
|
|
90
|
-
*/
|
|
91
|
-
getDescription(): string {
|
|
92
|
-
return this.toDescriptionText(this.getDescriptionItem()?.description)
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* Returns the possibilities of the component from the wiki
|
|
97
|
-
*
|
|
98
|
-
* Возвращает возможности компонента из wiki
|
|
99
|
-
* @return A list of possibilities for the component/ список возможностей для компонента
|
|
100
|
-
*/
|
|
101
|
-
getPossibilities(): string[] {
|
|
102
|
-
return this.toPossibilitiesText(this.getDescriptionItem()?.possibilities)
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* Returns the values of the wiki items
|
|
107
|
-
*
|
|
108
|
-
* Возвращает значения элементов wiki
|
|
109
|
-
* @return An object containing the values of the wiki items/ объект, содержащий значения элементов wiki
|
|
110
|
-
*/
|
|
111
|
-
getValues(): Record<string, any> {
|
|
112
|
-
const values: Record<string, any> = {}
|
|
113
|
-
|
|
114
|
-
this.list.forEach((item) => {
|
|
115
|
-
values[item.getName()] = item.getValue()
|
|
116
|
-
})
|
|
117
|
-
|
|
118
|
-
return values
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* Returns the filtered values of the wiki items
|
|
123
|
-
*
|
|
124
|
-
* Возвращает отфильтрованные значения элементов wiki
|
|
125
|
-
* @return A list of objects containing the filtered values of the wiki items/
|
|
126
|
-
* список объектов, содержащих отфильтрованные значения элементов wiki
|
|
127
|
-
*/
|
|
128
|
-
getFilteredValues(): Record<string, any> {
|
|
129
|
-
const values: Record<string, any> = {}
|
|
130
|
-
|
|
131
|
-
forEach(
|
|
132
|
-
this.getValues(),
|
|
133
|
-
(value, key) => {
|
|
134
|
-
if (value !== undefined) {
|
|
135
|
-
values[key] = value
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
)
|
|
139
|
-
|
|
140
|
-
return values
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* Returns a Storybook item by its ID
|
|
145
|
-
*
|
|
146
|
-
* Возвращает элемент Storybook по его ID
|
|
147
|
-
* @param id - The ID of the story/ ID истории
|
|
148
|
-
*/
|
|
149
|
-
getStoryItem(id: string): StorybookComponentsDescriptionStory | undefined {
|
|
150
|
-
const item = this.getDescriptionItem()
|
|
151
|
-
|
|
152
|
-
if (
|
|
153
|
-
item
|
|
154
|
-
&& item.stories
|
|
155
|
-
) {
|
|
156
|
-
return item.stories.find(story => story.id === id)
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
return undefined
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* Returns the name of the story by its ID
|
|
164
|
-
*
|
|
165
|
-
* Возвращает имя истории по ее ID
|
|
166
|
-
* @param id - The ID of the story/ ID истории
|
|
167
|
-
*/
|
|
168
|
-
getStoryName(id: string): string | undefined {
|
|
169
|
-
return this.toDescriptionText(
|
|
170
|
-
this.getStoryItem(id)?.name
|
|
171
|
-
)
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Returns the AI render of the component
|
|
176
|
-
*
|
|
177
|
-
* Возвращает AI рендер компонента
|
|
178
|
-
*/
|
|
179
|
-
getAiRender(): string | undefined {
|
|
180
|
-
return this.getDescriptionItem()?.ai?.render
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* Returns the AI description of the component
|
|
185
|
-
*
|
|
186
|
-
* Возвращает AI описание компонента
|
|
187
|
-
*/
|
|
188
|
-
getAiDescription(): string | undefined {
|
|
189
|
-
return this.getDescriptionItem()?.ai?.description
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* Returns the AI hide of the component
|
|
194
|
-
*
|
|
195
|
-
* Возвращает AI скрыть компонента
|
|
196
|
-
*/
|
|
197
|
-
getAiHide(): boolean {
|
|
198
|
-
return this.getDescriptionItem()?.ai?.hide ?? false
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* Returns a wiki item by its name
|
|
203
|
-
*
|
|
204
|
-
* Возвращает элемент wiki по его имени
|
|
205
|
-
* @param name - The name of the wiki item/ имя элемента wiki
|
|
206
|
-
*/
|
|
207
|
-
protected getWikiItem(name: string): StorybookArgsToItem | undefined {
|
|
208
|
-
if (
|
|
209
|
-
name in this.wikiBasic
|
|
210
|
-
|| name in this.wikiDesign
|
|
211
|
-
) {
|
|
212
|
-
return {
|
|
213
|
-
...(this.wikiBasic?.[name] ?? {}),
|
|
214
|
-
...(this.wikiDesign?.[name] ?? {})
|
|
215
|
-
} as StorybookArgsToItem
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
return undefined
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* Returns the description item for the component
|
|
223
|
-
*
|
|
224
|
-
* Возвращает элемент описания для компонента
|
|
225
|
-
* @return The description item for the component/ элемент описания для компонента
|
|
226
|
-
*/
|
|
227
|
-
private getDescriptionItem(): StorybookComponentsDescriptionItem | undefined {
|
|
228
|
-
return this.wikiDescriptions.find(item => item.name === this.component)
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* Adds a default value to the wiki item and a list of options
|
|
233
|
-
*
|
|
234
|
-
* Добавляет значение по умолчанию к элементу wiki и список опций
|
|
235
|
-
* @param item - The item to convert/ элемент для преобразования
|
|
236
|
-
* @param wiki - The wiki item to which the default value and options will be added/
|
|
237
|
-
* элемент wiki, к которому будут добавлены значение по умолчанию и опции
|
|
238
|
-
*/
|
|
239
|
-
protected toWikiItemChanged(
|
|
240
|
-
item: StorybookProp,
|
|
241
|
-
wiki: StorybookArgsToItem
|
|
242
|
-
): StorybookArgsToItem {
|
|
243
|
-
return {
|
|
244
|
-
...wiki,
|
|
245
|
-
options: {
|
|
246
|
-
...wiki.options,
|
|
247
|
-
type: wiki.options?.type ?? item.type,
|
|
248
|
-
defaultValue: this.defaults[item.name],
|
|
249
|
-
options: item.option ?? wiki.options?.options ?? undefined
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* Converts the descriptions to text format
|
|
256
|
-
*
|
|
257
|
-
* Преобразует описания в текстовый формат
|
|
258
|
-
* @param descriptions - The descriptions to convert/ Описания для преобразования
|
|
259
|
-
*/
|
|
260
|
-
private toDescriptionText(descriptions?: StorybookArgsToDescription): string {
|
|
261
|
-
if (descriptions) {
|
|
262
|
-
const language = Geo.getLanguage()
|
|
263
|
-
|
|
264
|
-
if (isObjectNotArray(descriptions)) {
|
|
265
|
-
return String(
|
|
266
|
-
descriptions?.[language]
|
|
267
|
-
?? Object.values(descriptions)?.[0]
|
|
268
|
-
)
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
return descriptions
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
return ''
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
* Converts the possibilities to text format
|
|
279
|
-
*
|
|
280
|
-
* Преобразует возможности в текстовый формат
|
|
281
|
-
* @param possibilities - The possibilities to convert/ возможности для преобразования
|
|
282
|
-
*/
|
|
283
|
-
private toPossibilitiesText(possibilities?: StorybookArgsToPossibilities): string[] {
|
|
284
|
-
if (possibilities) {
|
|
285
|
-
const language = Geo.getLanguage()
|
|
286
|
-
|
|
287
|
-
if (isObjectNotArray(possibilities)) {
|
|
288
|
-
return possibilities?.[language]
|
|
289
|
-
?? Object.values(possibilities)?.[0]
|
|
290
|
-
?? []
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
return possibilities
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
return []
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* Initializes the list of wiki items for the component
|
|
301
|
-
*
|
|
302
|
-
* Инициализирует список элементов wiki для компонента
|
|
303
|
-
* @return The list of wiki items for the component/ список элементов wiki для компонента
|
|
304
|
-
*/
|
|
305
|
-
initList(): WikiStorybookItem[] {
|
|
306
|
-
const list: WikiStorybookItem[] = []
|
|
307
|
-
|
|
308
|
-
this.props.forEach((item) => {
|
|
309
|
-
const nameByComponent = `${toCamelCase(this.component)}.${item.name}`
|
|
310
|
-
const wiki = this.getWikiItem(nameByComponent) ?? this.getWikiItem(item.name)
|
|
311
|
-
|
|
312
|
-
if (wiki) {
|
|
313
|
-
list.push(
|
|
314
|
-
new WikiStorybookItem(
|
|
315
|
-
item.name,
|
|
316
|
-
this.toWikiItemChanged(item, wiki)
|
|
317
|
-
)
|
|
318
|
-
)
|
|
319
|
-
} else {
|
|
320
|
-
console.error(`[WikiStorybook] ${item.name} not found`)
|
|
321
|
-
}
|
|
322
|
-
})
|
|
323
|
-
|
|
324
|
-
list.sort((a, b) => {
|
|
325
|
-
const aOrder = a.getOrder()
|
|
326
|
-
const bOrder = b.getOrder()
|
|
327
|
-
|
|
328
|
-
if (aOrder === bOrder) {
|
|
329
|
-
return a.getName() > b.getName() ? 1 : -1
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
return aOrder > bOrder ? 1 : -1
|
|
333
|
-
})
|
|
334
|
-
|
|
335
|
-
return list
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
/**
|
|
339
|
-
* Initializes the properties list for the component
|
|
340
|
-
*
|
|
341
|
-
* Инициализирует список свойств для компонента
|
|
342
|
-
* @return The list of properties for the component/ список свойств для компонента
|
|
343
|
-
*/
|
|
344
|
-
initPropsWiki(): StorybookArgs {
|
|
345
|
-
const list: StorybookArgs = {}
|
|
346
|
-
|
|
347
|
-
this.list.forEach((item) => {
|
|
348
|
-
list[item.getName()] = item.to()
|
|
349
|
-
})
|
|
350
|
-
|
|
351
|
-
return list
|
|
352
|
-
}
|
|
353
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { executeFunction, Geo, isObjectNotArray } from '@dxtmisha/functional'
|
|
2
|
-
|
|
3
|
-
import type {
|
|
4
|
-
StorybookComponentsDescriptionItem,
|
|
5
|
-
StorybookComponentsMdxItem
|
|
6
|
-
} from '../types/storybookTypes'
|
|
7
|
-
|
|
8
|
-
import { wikiDescriptions } from '../media/descriptions/wikiDescriptions'
|
|
9
|
-
import { wikiMdx } from '../media/mdx/wikiMdx'
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Class for working with Storybook component descriptions in the wiki
|
|
13
|
-
*
|
|
14
|
-
* Класс для работы с описаниями компонентов Storybook в вики
|
|
15
|
-
*/
|
|
16
|
-
export class WikiStorybookDescriptions {
|
|
17
|
-
private readonly item?: StorybookComponentsDescriptionItem
|
|
18
|
-
private readonly mdx?: StorybookComponentsMdxItem
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Constructor
|
|
22
|
-
* @param name - Name of the component to find in the descriptions/ Имя компонента для поиска в описаниях
|
|
23
|
-
*/
|
|
24
|
-
constructor(name: string) {
|
|
25
|
-
this.item = wikiDescriptions.find(item => item.name === name)
|
|
26
|
-
this.mdx = wikiMdx.find(item => item.name === name)
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Get the description of the component
|
|
31
|
-
*
|
|
32
|
-
* Возвращает описание компонента
|
|
33
|
-
* @return The description of the component or undefined if not found/ Описание компонента или undefined, если не найдено
|
|
34
|
-
*/
|
|
35
|
-
getItem(): StorybookComponentsDescriptionItem | undefined {
|
|
36
|
-
return this.item
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Get an additional description of the component for a specific type
|
|
41
|
-
*
|
|
42
|
-
* Возвращает дополнительное описание компонента для конкретного типа
|
|
43
|
-
* @param type - Type of the description to retrieve/ тип описания для получения
|
|
44
|
-
*/
|
|
45
|
-
getDescriptionByType(type: string): any {
|
|
46
|
-
const descriptions = this.mdx?.descriptions?.[type]
|
|
47
|
-
|
|
48
|
-
return executeFunction((() => {
|
|
49
|
-
if (descriptions) {
|
|
50
|
-
if (isObjectNotArray(descriptions)) {
|
|
51
|
-
return descriptions[Geo.getLanguage()]
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
return descriptions
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
return ''
|
|
58
|
-
})())
|
|
59
|
-
}
|
|
60
|
-
}
|