@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,63 @@
|
|
|
1
|
+
import {Meta} from '@storybook/addon-docs/blocks'
|
|
2
|
+
|
|
3
|
+
<Meta title='@dxtmisha/vi/# UI/properties/types/Biến (var)'/>
|
|
4
|
+
|
|
5
|
+
# Biến (var)
|
|
6
|
+
|
|
7
|
+
Engine phân giải và xuất code properties cung cấp hai cơ chế chủ đạo nhằm thao tác Mảng CSS Custom Properties (biến hệ thống): khai báo biến minh bạch qua định danh kiểu `var`, và kết xuất song song mã thuộc tính CSS đi kèm cùng biến ẩn qua thiết lập cờ `_var: true`.
|
|
8
|
+
|
|
9
|
+
## Khai báo Cấu hình Tiêu chuẩn (Type `var`)
|
|
10
|
+
|
|
11
|
+
Lệnh gọi thiết lập Type `var` (hoặc thông qua phím tắt ký tự `$`) trực tiếp ra lệnh cho compiler loại bỏ hoàn toàn tiến trình sinh thành thuộc tính CSS tĩnh phổ thông. Node mục tiêu sẽ được ép khung đúc toàn diện thuần túy thành CSS variable, khu biệt gọn trong Scope Module Component sở hữu.
|
|
12
|
+
|
|
13
|
+
> **Kế thừa Di truyền:** Đặc tính Type `var` có khả năng lan truyền. Nếu bạn cấu hình định danh node cấp cha là `var` (hoặc thông qua phím tắt tiền tố `$`), toàn bộ các node con lồng bên trong sẽ tự động kế thừa di truyền hệ Type tương ứng. Bạn không cần thiết lập thủ công lại cụm `var` cho từng nhánh con cấp dưới.
|
|
14
|
+
|
|
15
|
+
**File Cấu hình Đầu vào (`properties.json`):**
|
|
16
|
+
```json
|
|
17
|
+
{
|
|
18
|
+
"card": {
|
|
19
|
+
"padding": {
|
|
20
|
+
"_type": "var",
|
|
21
|
+
"value": "16px"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
*(Sử dụng lối tắt `$padding: "16px"` trả về kết quả mảng y hệt mà không cần khai báo type cụ thể).*
|
|
27
|
+
|
|
28
|
+
**Kết quả Biên dịch Dự kiến (SCSS):**
|
|
29
|
+
```scss
|
|
30
|
+
.card {
|
|
31
|
+
--card-padding: 16px;
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Khai báo Luồng Song song (Cờ `_var`)
|
|
36
|
+
|
|
37
|
+
Kiến trúc UI Component thường xuyên đòi hỏi phải định hình giao diện theo quy chuẩn CSS properties thông thường nhưng lại phải nối sâu các thông số vào một bộ khung chứa CSS variable để tiện tùy biến (nhúng giao diện Theme hoặc thay đổi trạng thái động ở Vue).
|
|
38
|
+
|
|
39
|
+
Giải pháp là cờ cấu hình `_var: true`. Tham số này bảo lưu loại hình định danh kiến trúc gốc của node (mặc định thuộc base `property`), đồng thời bắt buộc compiler chạy lệnh phân giải thành hai khâu kết xuất:
|
|
40
|
+
1. Sinh biên dịch một biến Custom CSS lưu giữ chuỗi giá trị (literal string/value).
|
|
41
|
+
2. Dựng thiết lập Property thuộc tính CSS tĩnh nhưng được trỏ thẳng hàm để lấy dữ liệu cấp phát từ hàm `var()`.
|
|
42
|
+
|
|
43
|
+
**File Cấu hình Đầu vào (`properties.json`):**
|
|
44
|
+
```json
|
|
45
|
+
{
|
|
46
|
+
"button": {
|
|
47
|
+
"background": {
|
|
48
|
+
"_var": true,
|
|
49
|
+
"value": "blue"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
**Kết quả Biên dịch Dự kiến (SCSS):**
|
|
56
|
+
```scss
|
|
57
|
+
.button {
|
|
58
|
+
--button-background: blue;
|
|
59
|
+
background: var(--button-background);
|
|
60
|
+
}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Triển khai cấu trúc cờ `_var: true` loại trừ sự lặp đi lặp lại quy trình sao chép code cứng rườm rà. Chốt chặn thiết lập đảm bảo quá trình đồng bộ code tự động khi xử lý Property tĩnh và vòng lặp gán biến nội vi ngay trong quy trình Properties.
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import {Meta} from '@storybook/addon-docs/blocks'
|
|
2
|
+
|
|
3
|
+
<Meta title='@dxtmisha/en/# UI/properties/# Types'/>
|
|
4
|
+
|
|
5
|
+
# Types (\_type)
|
|
6
|
+
|
|
7
|
+
The `_type` meta-parameter defines the architectural classification of a configuration node. It dictates the structural pipeline by instructing the assembly engine on how to process the current node (e.g., as a CSS variable, media query, pseudo-element, or BEM modifier). Declaring the correct type is critical for the accurate generation of SCSS mixins and TypeScript interfaces.
|
|
8
|
+
|
|
9
|
+
## Default Behavior and Auto-detection
|
|
10
|
+
If `_type` is omitted, the interpreter invokes an automatic inference module (`Automatcher`):
|
|
11
|
+
|
|
12
|
+
1. **Key Recognition:** The engine scans the property name for registered symbolic aliases or prefix patterns formatted as `[type]|[property_name]`. Upon detection, the extracted type is dynamically assigned to the node.
|
|
13
|
+
2. **Pass-through (Bypass):** Nodes lacking system prefixes retain an `undefined` state for `_type`. These nodes bypass structural TS converters and pass directly into the global SCSS map generation phase, where they are rendered universally as standard CSS physical key-value properties.
|
|
14
|
+
|
|
15
|
+
## Supported Types (PropertyType)
|
|
16
|
+
The system supports a comprehensive set of structural specificators (`_type`) resolving any compilation requirement:
|
|
17
|
+
|
|
18
|
+
### Base Properties & Variables
|
|
19
|
+
- `property` — Defines a standard physical CSS style property.
|
|
20
|
+
- `var` — Declares the node specifically to generate as a custom CSS variable (custom property).
|
|
21
|
+
|
|
22
|
+
### Architectural Nodes
|
|
23
|
+
- `design` — The system name of the root design structure.
|
|
24
|
+
- `component` — Base designation of the UI component governing SCSS map hierarchies.
|
|
25
|
+
- `class` — Binds an explicit, custom CSS class name to the active structural node.
|
|
26
|
+
- `theme` — Specifies the branch properties are overrides utilized for generating themed classes.
|
|
27
|
+
|
|
28
|
+
### Elements & Modifiers (BEM)
|
|
29
|
+
- `subclass` — Identifies a BEM element (subclass) structurally nested within the core block.
|
|
30
|
+
- `state` — Defines variations or additional states of the element (e.g., BEM modifiers).
|
|
31
|
+
- `virtual` — Defines a virtual pseudo-element mapping (`::before`, `::after`).
|
|
32
|
+
- `selector` — Defines sub-properties and pseudo-classes of the element (e.g., `:hover`, `:focus`).
|
|
33
|
+
|
|
34
|
+
### Adaptability (Responsive & Container)
|
|
35
|
+
- `media` / `media-max` — Structures properties mapped directly into viewport `@media` queries (scaling via min-width / max-width).
|
|
36
|
+
- `media-group` / `media-max-group` — Wraps extensive property lists actively into isolated media group clusters.
|
|
37
|
+
- `container`, `container-max`... — Equivalents to media rules but specifically tracking native `@container` contextual queries.
|
|
38
|
+
|
|
39
|
+
### Animations
|
|
40
|
+
- `animate` — Designates a block compiling native CSS animation attributes.
|
|
41
|
+
- `animate-frame` — Represents a localized percentage structural frame bound inside `@keyframes`.
|
|
42
|
+
|
|
43
|
+
### Logic & Scoped Merging
|
|
44
|
+
- `link` — Defines an active dynamic link parsing and inheriting native property trees from another structural segment.
|
|
45
|
+
- `link-class` — Acts as a structural link pointing towards an element specifically to resolve and copy its class mapping.
|
|
46
|
+
- `file` — References an external physical configuration `.json` file for deep merging logic.
|
|
47
|
+
- `mixin` — Designated purely as an accessory utility mixin block; explicitly pruned from finalizing CSS outputs natively.
|
|
48
|
+
|
|
49
|
+
### SCSS Integration & Exclusions
|
|
50
|
+
- `scss` — Evaluates the node actively targeting native SCSS scope parameters / nested builds.
|
|
51
|
+
- `root` — Declares the node globally, forcing structure layout surfacing natively via SCSS `@at-root`.
|
|
52
|
+
- `none` — Mutes the node entirely, aggressively dropping it from any output stream generation.
|
|
53
|
+
- `other` — Natively functions identically to `none`; an internalized fallback flag for undefined states.
|
|
54
|
+
|
|
55
|
+
## Simplified Syntax (Aliases)
|
|
56
|
+
To prevent deep nesting hierarchies and redundant `{"_type": "..."}` bindings for every node, the system natively implements shorthand prefix aliasing built directly into the key nomenclature. The compiler automatically identifies the prefix and assigns the corresponding structural `_type`.
|
|
57
|
+
|
|
58
|
+
### 1. Dedicated Symbol Prefixes (SYMBOLS)
|
|
59
|
+
Frequently invoked architectural node types are securely bound to rapid symbol aliases. Prepending these characters dictates the node configuration:
|
|
60
|
+
|
|
61
|
+
- `$` *(maps to `var`)* — System variable declaration (Example: `"$border"`).
|
|
62
|
+
- `#` *(maps to `subclass`)* — Nested BEM element block (Example: `"#icon"`).
|
|
63
|
+
- `~` *(maps to `state`)* — Element variations and additional states (Example: `"~primary"`).
|
|
64
|
+
- `:` *(maps to `selector`)* — Element sub-properties and pseudo-classes (Example: `":hover"`).
|
|
65
|
+
- `::` *(maps to `virtual`)* — Virtual pseudo-element targeting (Example: `"::after"`).
|
|
66
|
+
- `@` *(maps to `link`)* — Scoped architectural tree linking.
|
|
67
|
+
- `@@` *(maps to `link-class`)* — Explicit class-oriented structural referencing.
|
|
68
|
+
- `&` *(maps to `scss`)* — Contextual native SCSS selection.
|
|
69
|
+
- `&&` *(maps to `root`)* — Globals lifting via native `@at-root` SCSS scope breaking.
|
|
70
|
+
- `--` *(maps to `none`)* — Pruned ignore forcing node exclusion from all system-generated outputs.
|
|
71
|
+
|
|
72
|
+
### 2. Universal Pipe Syntax (`|`)
|
|
73
|
+
For dynamic structure types lacking hardcoded symbolic shortcuts (e.g., `media` or `container-group`), the compiler parses a delimited string syntax: `[type]|[property_name]`.
|
|
74
|
+
|
|
75
|
+
- Lexical sequences preceding the `|` delimiter are actively mapped via string parsing as the strict systemic `_type`.
|
|
76
|
+
- **Example:** The string format `"media-group|adaptive-block"` explicitly executes mapping assigning the type natively as `media-group`.
|
|
77
|
+
|
|
78
|
+
## Compilation Example
|
|
79
|
+
|
|
80
|
+
**Input Configuration (`properties.json`):**
|
|
81
|
+
```json
|
|
82
|
+
{
|
|
83
|
+
"padding": "12px", // Fallback type (property)
|
|
84
|
+
|
|
85
|
+
"sm": { // Explicit type assignment (media)
|
|
86
|
+
"_type": "media",
|
|
87
|
+
"padding": "16px"
|
|
88
|
+
},
|
|
89
|
+
|
|
90
|
+
"$border": "8px", // Alias: var
|
|
91
|
+
|
|
92
|
+
"#icon": { // Alias: subclass
|
|
93
|
+
"width": "24px"
|
|
94
|
+
},
|
|
95
|
+
|
|
96
|
+
":hover": { // Alias: selector
|
|
97
|
+
"background-color": "#aaaaaa"
|
|
98
|
+
},
|
|
99
|
+
|
|
100
|
+
"~primary": { // Alias: state
|
|
101
|
+
"color": "#ff0000"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
**Conceptual Compiled Output (SCSS):**
|
|
107
|
+
```scss
|
|
108
|
+
.component-name {
|
|
109
|
+
padding: 12px;
|
|
110
|
+
--sys-[component]-border: 8px;
|
|
111
|
+
|
|
112
|
+
@media (min-width: 576px) { /* sm branch (media) */
|
|
113
|
+
padding: 16px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&__icon { /* #icon branch (subclass) */
|
|
117
|
+
width: 24px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&:hover { /* :hover branch (selector) */
|
|
121
|
+
background-color: #aaaaaa;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&--primary { /* ~primary branch (state) */
|
|
125
|
+
color: #ff0000;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
```
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import {Meta} from '@storybook/addon-docs/blocks'
|
|
2
|
+
|
|
3
|
+
<Meta title='@dxtmisha/ru/# UI/properties/# Типы'/>
|
|
4
|
+
|
|
5
|
+
# Типы (\_type)
|
|
6
|
+
|
|
7
|
+
Системный флаг `_type` является ключевым мета-параметром конфигурационного узла. Он указывает процессору сборки, по какому архитектурному сценарию следует обрабатывать текущий узел (как CSS-переменную, медиа-запрос, псевдоэлемент, модификатор BEM и т.д.). Указание типа критически важно для корректной генерации SCSS-миксинов и интерфейсов TypeScript.
|
|
8
|
+
|
|
9
|
+
## Поведение по умолчанию и автоопределение
|
|
10
|
+
Если параметр `_type` явно не задан, интерпретатор применяет алгоритм автоматического вывода:
|
|
11
|
+
|
|
12
|
+
1. **Распознавание по ключу:** Движок сканирует имя свойства на наличие зарегистрированных символов-алиасов или префиксов вида `[тип]|[название_свойства]`. Если совпадение найдено, узлу автоматически присваивается соответствующий тип.
|
|
13
|
+
2. **Сквозная передача (Bypass):** Если ключ не содержит служебных префиксов, флаг `_type` остается `undefined`. Такие узлы игнорируются структурными конвертерами TypeScript и передаются непосредственно в глобальную генерацию SCSS-карт как базовые физические CSS-свойства (key-value).
|
|
14
|
+
|
|
15
|
+
## Доступные типы (PropertyType)
|
|
16
|
+
Система поддерживает обширный набор спецификаторов (`_type`), покрывающих любые потребности верстки:
|
|
17
|
+
|
|
18
|
+
### Базовые стили и Переменные
|
|
19
|
+
- `property` — Обозначает стандартное физическое CSS-свойство компонента.
|
|
20
|
+
- `var` — Указывает, что узел нужно сгенерировать как пользовательскую CSS-переменную (variable).
|
|
21
|
+
|
|
22
|
+
### Архитектурные узлы
|
|
23
|
+
- `design` — Системное имя основного дизайна сборки.
|
|
24
|
+
- `component` — Базовое наименование UI-компонента для формирования SCSS-карт.
|
|
25
|
+
- `class` — Явное задание кастомного имени CSS-класса под текущий узел.
|
|
26
|
+
- `theme` — Указывает, что ветка содержит переопределения для генерации специфичной темы.
|
|
27
|
+
|
|
28
|
+
### Элементы и Модификаторы (BEM)
|
|
29
|
+
- `subclass` — Подкласс (вложенный элемент компонента), находящийся внутри основного блока.
|
|
30
|
+
- `state` — Определяет вариации и дополнительные состояния элемента (например, модификаторы BEM).
|
|
31
|
+
- `virtual` — Виртуальный псевдоэлемент (`::before`, `::after`).
|
|
32
|
+
- `selector` — Определяет под-свойства и псевдоклассы элемента (например, `:hover`, `:focus`).
|
|
33
|
+
|
|
34
|
+
### Адаптивность (Responsive & Container)
|
|
35
|
+
- `media` / `media-max` — Определение свойств под конкретный медиа-запрос (с адаптацией по min-width / max-width).
|
|
36
|
+
- `media-group` / `media-max-group` — Логическая группировка множества свойств внутри медиа-запросов.
|
|
37
|
+
- `container` / `container-max` / `container-group` / `container-max-group` — Аналогичные типы адаптивности, но привязанные к `container queries` (@container).
|
|
38
|
+
|
|
39
|
+
### Анимации
|
|
40
|
+
- `animate` — Блок конфигурации свойств CSS-анимации.
|
|
41
|
+
- `animate-frame` — Выделенный кадр внутри `@keyframes` анимации.
|
|
42
|
+
|
|
43
|
+
### Логика и Шаблоны
|
|
44
|
+
- `link` — Системная ссылка на другой элемент внутри дерева для прямого глубокого слияния их свойств.
|
|
45
|
+
- `link-class` — Ссылка на другой элемент дерева исключительно для заимствования его CSS-класса.
|
|
46
|
+
- `file` — Ссылка на внешний физический конфигурационный файл для объединения.
|
|
47
|
+
- `mixin` — Вспомогательный примес (mixin), чьи свойства не выведутся напрямую в финальный CSS.
|
|
48
|
+
|
|
49
|
+
### SCSS интеграция и Служебные
|
|
50
|
+
- `scss` — Задает узел как нативную переменную/блок под формирование чистой SCSS сборки.
|
|
51
|
+
- `root` — Указывает, что данный узел глобален и должен быть эвакуирован в селектор `:root` (маршрутизация через `@at-root`).
|
|
52
|
+
- `none` — Узел пропускается и полностью исключается из генерации любых данных.
|
|
53
|
+
- `other` — Служебный маркер для неопределенных свойств (ведет себя аналогично `none`).
|
|
54
|
+
|
|
55
|
+
## Упрощенный синтаксис (Алиасы)
|
|
56
|
+
Чтобы избежать глубокой вложенности и дублирования служебного объекта `{"_type": "..."}` для каждого узла, система поддерживает краткий синтаксис конфигурации через префиксы ключей. Компилятор автоматически распознает префикс и назначает узлу соответствующий структурный тип (`_type`).
|
|
57
|
+
|
|
58
|
+
### 1. Символьные префиксы (SYMBOLS)
|
|
59
|
+
Ряд часто используемых архитектурных типов привязан к быстрым символам-идентификаторам. Достаточно начать имя ключа с этого спецсимвола:
|
|
60
|
+
|
|
61
|
+
- `$` *(эквивалент `var`)* — Описывает системную переменную (Пример: `"$border"`).
|
|
62
|
+
- `#` *(эквивалент `subclass`)* — Элемент структуры BEM (Пример: `"#icon"`).
|
|
63
|
+
- `~` *(эквивалент `state`)* — Вариации и модификаторы элемента (Пример: `"~primary"`).
|
|
64
|
+
- `:` *(эквивалент `selector`)* — Под-свойства и псевдоклассы элемента (Пример: `":hover"`).
|
|
65
|
+
- `::` *(эквивалент `virtual`)* — Виртуальный псевдоэлемент (Пример: `"::after"`).
|
|
66
|
+
- `@` *(эквивалент `link`)* — Системная ссылка на узел дерева.
|
|
67
|
+
- `@@` *(эквивалент `link-class`)* — Системная ссылка на CSS-класс.
|
|
68
|
+
- `&` *(эквивалент `scss`)* — Нативный SCSS-селектор.
|
|
69
|
+
- `&&` *(эквивалент `root`)* — Перенос логики в глобальную область видимости (через `@at-root`).
|
|
70
|
+
- `--` *(эквивалент `none`)* — Вырезание узла и блокировка его генерации при сборке.
|
|
71
|
+
|
|
72
|
+
### 2. Универсальный Pipe-синтаксис (`|`)
|
|
73
|
+
Если для целевого архитектурного типа не предусмотрен спецсимвол (например, `media` или `container-group`), применяется конструкция разделения через вертикальную черту: `[тип]|[название_свойства]`.
|
|
74
|
+
|
|
75
|
+
- Парсер автоматически извлекает подстроку слева от `|` и интерпретирует её как системный тип (`_type`).
|
|
76
|
+
- **Пример:** Конструкция `"media-group|adaptive-block"` определит тип узла как `media-group`.
|
|
77
|
+
|
|
78
|
+
## Пример генерации
|
|
79
|
+
|
|
80
|
+
**Входная конфигурация (`properties.json`):**
|
|
81
|
+
```json
|
|
82
|
+
{
|
|
83
|
+
"padding": "12px", // Без типа (свойство property)
|
|
84
|
+
|
|
85
|
+
"sm": { // Явное указание типа (media)
|
|
86
|
+
"_type": "media",
|
|
87
|
+
"padding": "16px"
|
|
88
|
+
},
|
|
89
|
+
|
|
90
|
+
"$border": "8px", // Алиас: var
|
|
91
|
+
|
|
92
|
+
"#icon": { // Алиас: subclass
|
|
93
|
+
"width": "24px"
|
|
94
|
+
},
|
|
95
|
+
|
|
96
|
+
":hover": { // Алиас: selector
|
|
97
|
+
"background-color": "#aaaaaa"
|
|
98
|
+
},
|
|
99
|
+
|
|
100
|
+
"~primary": { // Алиас: state
|
|
101
|
+
"color": "#ff0000"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
**Ожидаемый результат генерации стилей (SCSS):**
|
|
107
|
+
```scss
|
|
108
|
+
.component-name {
|
|
109
|
+
padding: 12px;
|
|
110
|
+
--sys-[component]-border: 8px;
|
|
111
|
+
|
|
112
|
+
@media (min-width: 576px) { /* Ветка sm (media) */
|
|
113
|
+
padding: 16px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&__icon { /* Ветка #icon (subclass) */
|
|
117
|
+
width: 24px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&:hover { /* Ветка :hover (selector) */
|
|
121
|
+
background-color: #aaaaaa;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&--primary { /* Ветка ~primary (state) */
|
|
125
|
+
color: #ff0000;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
```
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import {Meta} from '@storybook/addon-docs/blocks'
|
|
2
|
+
|
|
3
|
+
<Meta title='@dxtmisha/vi/# UI/properties/# Kiểu'/>
|
|
4
|
+
|
|
5
|
+
# Kiểu (\_type)
|
|
6
|
+
|
|
7
|
+
Cờ `_type` là một tham số siêu dữ liệu (meta-parameter) cốt lõi định nghĩa mô hình xử lý kiến trúc của một node. Nó chỉ lệnh cho Engine biên dịch cách ứng xử với node hiện hành (đóng vai trò là chuỗi CSS biến variable, media query, pseudo-element, hay trạng thái BEM...). Việc xác định chuẩn xác type là nhân tố quan trọng để thiết lập mã nguồn SCSS-mixins hay TypeScript interfaces an toàn.
|
|
8
|
+
|
|
9
|
+
## Hành vi Mặc định & Trình Tự động nhận diện
|
|
10
|
+
Khi tham số `_type` không được gán, hệ thống sẽ tự động kích hoạt tiến trình rà soát logic ngầm định (Automatcher):
|
|
11
|
+
|
|
12
|
+
1. **Bóc tách Prefix:** Engine quét tên khóa (key) để tìm kiếm các Alias (ký hiệu tắt) hoặc cấu trúc chỉ định loại cú pháp `[type]|[tên_thuộc_tính]`. Khi nhận diện trùng khớp, node sẽ được cài đặt tự động giá trị type tương ứng vào thuộc tính ẩn.
|
|
13
|
+
2. **Sự kiện Bị Bypass (Pass-through):** Cụm node nào không kèm ký hiệu định danh, giá trị tham số `_type` của nó được thiết lập tại mức `undefined`. Chúng được máy TypeScript miễn trừ xử lý cấu trúc và được bảo lưu cấu hình lọt xuyên luồng nhúng thành CSS "key-value" Properties thô đơn giản dưới nền tảng cấu hình mảng Data SCSS.
|
|
14
|
+
|
|
15
|
+
## Mảng Thông Số Types (PropertyType)
|
|
16
|
+
Hệ thống cung cấp sẵn một chuỗi phân bộ loại thiết lập (`_type`) bao quát toàn diện các điểm rơi biên dịch SCSS/TS:
|
|
17
|
+
|
|
18
|
+
### Thuộc tính Cơ Sở & Biến số
|
|
19
|
+
- `property` — Định danh tham số sẽ sinh ra là một thuộc tính vật lý CSS thông thường.
|
|
20
|
+
- `var` — Cưỡng chế node phải được dịch mã chuyên biệt thành cụm biến CSS (Custom Variable).
|
|
21
|
+
|
|
22
|
+
### Khung Cấu trúc Node
|
|
23
|
+
- `design` — Đặt tên hệ thống thiết kế cho khối dự án (nằm tại cấp độ cấu hình khung đầu).
|
|
24
|
+
- `component` — Xác định tên gốc rễ của Component UI để làm khung sinh đối tượng mảng cây SCSS.
|
|
25
|
+
- `class` — Gán áp đặt cứng một cụm tên class CSS tùy biến dành riêng cho Node đang được trỏ.
|
|
26
|
+
- `theme` — Quyết định phần nhánh cây properties đảm đương vai trò biên dịch ra nhóm Classes riêng của Theme hiện hành.
|
|
27
|
+
|
|
28
|
+
### Phân mảng Thành phần & Modifiers (BEM)
|
|
29
|
+
- `subclass` — Đại diện cho phân vùng Class con cấp dưới (BEM element) bọc lồng tịnh tiến vào trong Block chính.
|
|
30
|
+
- `state` — Xác định các biến thể và trạng thái phụ của phần tử (như các BEM modifiers).
|
|
31
|
+
- `virtual` — Gọi tên khai báo kết xuất chuẩn ra cấp độ Pseudo-element ảo (`::before`, `::after`).
|
|
32
|
+
- `selector` — Định nghĩa các thuộc tính con và pseudo-class của phần tử (ví dụ: `:hover`, `:focus`).
|
|
33
|
+
|
|
34
|
+
### Responsive & Container Quy mô
|
|
35
|
+
- `media` / `media-max` — Ràng buộc đóng khung chỉ số cấu hình CSS bọc ngay bên trong câu truy vấn `@media` màn hình (theo viền min-width / max-width).
|
|
36
|
+
- `media-group` / `media-max-group` — Group logic túm gom quy nạp hệ số dữ liệu quy mô lớn trải qua các truy vấn Media queries.
|
|
37
|
+
- `container` / `container-max`... — Tính năng tái thiết giao diện tương đương nhóm Media, nhưng quy chiếu theo mảng theo dõi thuộc tính khung `@container` gốc.
|
|
38
|
+
|
|
39
|
+
### Lập đồ Animation
|
|
40
|
+
- `animate` — Gọi lệnh biên dịch trỏ node làm gốc cài quy chuẩn hệ thuộc tính CSS Animation.
|
|
41
|
+
- `animate-frame` — Đặc định node thiết lập khung frame nhỏ cấu trúc cho bảng thông báo khung bên trong lõi `@keyframes`.
|
|
42
|
+
|
|
43
|
+
### Xử lý Logic & Link kế thừa
|
|
44
|
+
- `link` — Gắn chỉ thị bóc tách dữ liệu và hợp nhất sao chép toàn bộ Properties nhắm mốc từ một element/node ngầm định khác.
|
|
45
|
+
- `link-class` — Ràng buộc đường truyền móc nối element khác nhắm vào việc duy nhất để mượn vay tên CSS Class của bên đó.
|
|
46
|
+
- `file` — Chèn địa chỉ nhúng tham kiến cấu trúc từ một file gốc Properties `.json` ngoại lai để hợp nhất.
|
|
47
|
+
- `mixin` — Đi kèm vai trò block hỗ trợ dùng một lần (mixin module). Tham số sẽ không lọt cửa biên dịch vào nội lực CSS vật lý xuất ra sau cùng.
|
|
48
|
+
|
|
49
|
+
### SCSS Thâm nhập & Exclusions
|
|
50
|
+
- `scss` — Định danh khối node thuần gen mảng phục vụ trực tiếp thư viện code SCSS thuần trong cấu trúc.
|
|
51
|
+
- `root` — Định vị bắt chuỗi node mang đặc quyền Global, phá vỡ mọi cấp lồng ngầm tự bốc hơi bay thẳng lên Root thông qua `@at-root`.
|
|
52
|
+
- `none` — Phá bỏ toàn diện dữ liệu. Node bị đóng băng, cấm vĩnh viễn lọt vào tiến trình biên dịch file hệ thống output cuối cùng.
|
|
53
|
+
- `other` — Mã hệ thống không phân giải nội bộ, bắt theo quy trình chém file y như Type `none`.
|
|
54
|
+
|
|
55
|
+
## Cú pháp Rút Gọn (Aliases)
|
|
56
|
+
Nhằm triệt tiêu việc phải code lồng khối quá sâu hoặc trùng lặp rườm rà chuỗi khai báo `{"_type": "..."}` ở mỗi node, hệ thống cung cấp lối tắt cấu hình bằng cơ chế tiền tố khóa (prefix). Trình biên dịch sẽ tự động nhận diện tiền tố và gắn chuẩn `_type` tương ứng cho node.
|
|
57
|
+
|
|
58
|
+
### 1. Phím tắt Tiền tố Ký tự (SYMBOLS)
|
|
59
|
+
Các kiến trúc Type trọng yếu được gắn liền cùng khoá mật danh Symbol. Phép màu bắt đầu chỉ bằng cách đặt chốt ký tự này ở đầu Node String:
|
|
60
|
+
|
|
61
|
+
- `$` *(tương đương `var`)* — Biến hệ thống (Ví dụ: `"$border"`).
|
|
62
|
+
- `#` *(tương đương `subclass`)* — Module Class con chuẩn BEM (Ví dụ: `"#icon"`).
|
|
63
|
+
- `~` *(tương đương `state`)* — Các biến thể và trạng thái phụ của phần tử (Ví dụ: `"~primary"`).
|
|
64
|
+
- `:` *(tương đương `selector`)* — Thuộc tính con và pseudo-class (Ví dụ: `":hover"`).
|
|
65
|
+
- `::` *(tương đương `virtual`)* — Phân hóa thực thể ảo Pseudo-element (Ví dụ: `"::after"`).
|
|
66
|
+
- `@` *(tương đương `link`)* — Liên kết vòng mạng dữ liệu nội tại hệ thống.
|
|
67
|
+
- `@@` *(tương đương `link-class`)* — Trỏ cấp độ kế thừa Class kiến trúc rễ lưới.
|
|
68
|
+
- `&` *(tương đương `scss`)* — Vòng quy chiếu bọc ghép mảng gốc SCSS.
|
|
69
|
+
- `&&` *(tương đương `root`)* — Trích ly đóng khung nẩy khỏi mạng lồng tiến cấp về `@at-root`.
|
|
70
|
+
- `--` *(tương đương `none`)* — Khoá vô hiệu loại triệt để Node String tránh lọt vào chu trình Build compile mã CSS Output.
|
|
71
|
+
|
|
72
|
+
### 2. Cú pháp Phân cách Dọc dạng Thanh (`|`)
|
|
73
|
+
Với các cụm tính năng không đi kèm phím tắt cứng gán sẵn (như `media`, `container-group`), Parser quét đáp ứng thông qua cú pháp vách ngăn đứng: `[type]|[tên_thuộc_tính]`.
|
|
74
|
+
|
|
75
|
+
- Tiền tố trái vách ranh giới thanh `|` được càn quét trực diện làm tham số `_type` duy nhất.
|
|
76
|
+
- **Ví dụ:** Vòng khóa cấu trúc `"media-group|adaptive-block"` sẽ nhận lệnh xác lập ngay lập tức Type thiết đặt hệ thống là `media-group`.
|
|
77
|
+
|
|
78
|
+
## Minh Hoạ Code Mẫu / Phiên dịch SCSS
|
|
79
|
+
|
|
80
|
+
**File Cấu hình Đầu vào (`properties.json`):**
|
|
81
|
+
```json
|
|
82
|
+
{
|
|
83
|
+
"padding": "12px", // Kiểu mặc định (thuộc tính CSS tĩnh)
|
|
84
|
+
|
|
85
|
+
"sm": { // Khai báo thủ công Type (media)
|
|
86
|
+
"_type": "media",
|
|
87
|
+
"padding": "16px"
|
|
88
|
+
},
|
|
89
|
+
|
|
90
|
+
"$border": "8px", // Lối tắt: var
|
|
91
|
+
|
|
92
|
+
"#icon": { // Lối tắt: subclass
|
|
93
|
+
"width": "24px"
|
|
94
|
+
},
|
|
95
|
+
|
|
96
|
+
":hover": { // Lối tắt: selector
|
|
97
|
+
"background-color": "#aaaaaa"
|
|
98
|
+
},
|
|
99
|
+
|
|
100
|
+
"~primary": { // Lối tắt: state
|
|
101
|
+
"color": "#ff0000"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
**Kết quả Biên dịch Dự kiến (SCSS Output):**
|
|
107
|
+
```scss
|
|
108
|
+
.component-name {
|
|
109
|
+
padding: 12px;
|
|
110
|
+
--sys-[component]-border: 8px;
|
|
111
|
+
|
|
112
|
+
@media (min-width: 576px) { /* Nhánh sm (media) */
|
|
113
|
+
padding: 16px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&__icon { /* Nhánh #icon (subclass) */
|
|
117
|
+
width: 24px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&:hover { /* Nhánh :hover (selector) */
|
|
121
|
+
background-color: #aaaaaa;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&--primary { /* Nhánh ~primary (state) */
|
|
125
|
+
color: #ff0000;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
```
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import {Meta} from '@storybook/addon-docs/blocks'
|
|
2
|
+
|
|
3
|
+
<Meta title='@dxtmisha/en/# UI/properties/# Values'/>
|
|
4
|
+
|
|
5
|
+
# Working with values (Value)
|
|
6
|
+
|
|
7
|
+
The `value` field in `properties.json` defines the final content of a property (color, dimension, path, etc.). The `value` content can consist of literals, dynamic references to other tokens, or system-provided markers.
|
|
8
|
+
|
|
9
|
+
### Literals and Data Types
|
|
10
|
+
The system supports standard JSON data types:
|
|
11
|
+
- **Strings**: `"12px"`, `"relative"`, `"none"`.
|
|
12
|
+
- **Numbers**: `24`, `0.5` (automatically converted to strings during compilation).
|
|
13
|
+
- **Colors**: HEX formats are supported:
|
|
14
|
+
- `#FFF` / `#FFFFFF` — standard color.
|
|
15
|
+
- `#FFFFFF80` — color with alpha channel (8 characters).
|
|
16
|
+
|
|
17
|
+
### References and System Markers (`{...}`)
|
|
18
|
+
You can borrow values from other properties using curly braces. This mechanism enables token dependency management.
|
|
19
|
+
|
|
20
|
+
#### Path Resolution Rules:
|
|
21
|
+
1. **Absolute Path**: `{design.component.property}` — entire path from the root.
|
|
22
|
+
2. **Relative Path (Auto-Design)**: `{primary-color}`. If the first path segment is not a registered design name, the system automatically prepends the current design name (`{current-design.primary-color}`).
|
|
23
|
+
3. **Nesting**: Supports unlimited nesting through dot notation: `{base.spacing.small}`.
|
|
24
|
+
|
|
25
|
+
#### Special Markers (Shortcuts):
|
|
26
|
+
Special placeholders are used to shorten paths within references:
|
|
27
|
+
- `?` — replaced by `[current_design].`.
|
|
28
|
+
- `??` — replaced by `[current_design].[current_component].`.
|
|
29
|
+
|
|
30
|
+
**Example:**
|
|
31
|
+
```json
|
|
32
|
+
{
|
|
33
|
+
"button": {
|
|
34
|
+
"color": "{?primary}", // Resolves to {d1.primary}
|
|
35
|
+
"padding": "{??base-padding}" // Resolves to {d1.button.base-padding}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
These markers enable portable configuration code that remains resilient to design or component renames.
|
|
41
|
+
|
|
42
|
+
#### Expressions and Mixed Content:
|
|
43
|
+
The `value` field can contain arbitrary text with one or more `{...}` references embedded within it. The system will identify and resolve each reference while preserving the surrounding text.
|
|
44
|
+
|
|
45
|
+
This enables the use of tokens within CSS functions (e.g., `calc()`) or combination with native CSS variables.
|
|
46
|
+
|
|
47
|
+
**Example:**
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"button": {
|
|
51
|
+
"padding": "var(--sys-height) * {sys.spacing.adaptive.md}"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Full Value Marker (`=`)
|
|
57
|
+
If a value begins with the `=` character, the compiler treats it as a "complete" (full value). The value is passed to SCSS "as is" without any further automatic processing.
|
|
58
|
+
|
|
59
|
+
This is highly useful for complex CSS functions or when raw paths must be preserved.
|
|
60
|
+
|
|
61
|
+
**Usage Example:**
|
|
62
|
+
```json
|
|
63
|
+
{
|
|
64
|
+
"button": {
|
|
65
|
+
"color": "{?primary}", // Reference via design marker
|
|
66
|
+
"padding": "{??base-padding}", // Reference via component marker
|
|
67
|
+
"width": "=calc(100% - 20px)", // Full value (no processing)
|
|
68
|
+
"border": "1px solid #00000030" // HEX with opacity
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### Additional Meta-Parameters
|
|
74
|
+
For more precise value control, special service flags (starting with `_`) can be used:
|
|
75
|
+
|
|
76
|
+
- `_important: boolean` — adds the `!important` specifier to the property in CSS.
|
|
77
|
+
- `_fullValue: boolean` — programmatic equivalent of the `=` marker. Disables automatic unit appending (`px`) and reference resolving `{}`.
|
|
78
|
+
- `_replace: object` — allows performing text replacement in the final value using regular expressions. Accepts an object `{ pattern, flags, replace }`.
|
|
79
|
+
- `_modification: boolean` — controls if the property can be modified in SCSS (defaults to `true`). If set to `false`, the property is considered static.
|
|
80
|
+
|
|
81
|
+
**Usage Example:**
|
|
82
|
+
```json
|
|
83
|
+
{
|
|
84
|
+
"button": {
|
|
85
|
+
"width": {
|
|
86
|
+
"value": "100%",
|
|
87
|
+
"_important": true // Output: width: 100% !important;
|
|
88
|
+
},
|
|
89
|
+
"padding": {
|
|
90
|
+
"value": "16px",
|
|
91
|
+
"_replace": { // Output: padding: 16rem;
|
|
92
|
+
"pattern": "px",
|
|
93
|
+
"replace": "rem",
|
|
94
|
+
"flags": "g"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"height": {
|
|
98
|
+
"value": "calc(100vh - 20px)",
|
|
99
|
+
"_fullValue": true // Output: height: calc(100vh - 20px);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
```
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import {Meta} from '@storybook/addon-docs/blocks'
|
|
2
|
+
|
|
3
|
+
<Meta title='@dxtmisha/ru/# UI/properties/# Значения'/>
|
|
4
|
+
|
|
5
|
+
# Работа со значениями (Value)
|
|
6
|
+
|
|
7
|
+
Поле `value` в `properties.json` определяет конечное содержимое свойства (цвет, размер, путь и т.д.). Содержимое `value` может быть представлено литералами, динамическими ссылками на другие токены или системными маркерами.
|
|
8
|
+
|
|
9
|
+
### Литералы и Типы данных
|
|
10
|
+
Система поддерживает стандартные типы данных JSON:
|
|
11
|
+
- **Строки**: `"12px"`, `"relative"`, `"none"`.
|
|
12
|
+
- **Числа**: `24`, `0.5` (автоматически преобразуются в строки при сборке).
|
|
13
|
+
- **Цвета**: Поддерживаются HEX-форматы:
|
|
14
|
+
- `#FFF` / `#FFFFFF` — стандартный цвет.
|
|
15
|
+
- `#FFFFFF80` — цвет с альфа-каналом (8 символов).
|
|
16
|
+
|
|
17
|
+
### Ссылки и системные маркеры (`{...}`)
|
|
18
|
+
Вы можете заимствовать значения других свойств, используя фигурные скобки. Это позволяет создавать зависимости между токенами.
|
|
19
|
+
|
|
20
|
+
#### Правила разрешения путей:
|
|
21
|
+
1. **Абсолютный путь**: `{design.component.property}` — полное указание от корня.
|
|
22
|
+
2. **Относительный путь (Авто-дизайн)**: `{primary-color}`. Если первый сегмент пути не является названием зарегистрированного дизайна, система автоматически подставляет имя текущего дизайна (`{current-design.primary-color}`).
|
|
23
|
+
3. **Вложенность**: Поддерживается неограниченная вложенность через точку: `{base.spacing.small}`.
|
|
24
|
+
|
|
25
|
+
#### Специальные метки (Шорткаты):
|
|
26
|
+
Для сокращения путей внутри ссылок используются специальные символы-подстановки:
|
|
27
|
+
- `?` — заменяется на `[текущий_дизайн].`.
|
|
28
|
+
- `??` — заменяется на `[текущий_дизайн].[текущий_компонент].`.
|
|
29
|
+
|
|
30
|
+
**Пример:**
|
|
31
|
+
```json
|
|
32
|
+
{
|
|
33
|
+
"button": {
|
|
34
|
+
"color": "{?primary}", // Развернется в {d1.primary}
|
|
35
|
+
"padding": "{??base-padding}" // Развернется в {d1.button.base-padding}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Эти метки позволяют писать переносимый код, который не сломается при переименовании дизайна или компонента.
|
|
41
|
+
|
|
42
|
+
#### Выражения и смешанный контент:
|
|
43
|
+
Поле `value` может содержать произвольный текст, внутри которого находятся одна или несколько ссылок `{...}`. Система найдет и развернет каждую ссылку, сохранив остальной текст нетронутым.
|
|
44
|
+
|
|
45
|
+
Это позволяет использовать ссылки внутри функций CSS (например, `calc()`) или комбинировать их с нативными CSS-переменными.
|
|
46
|
+
|
|
47
|
+
**Пример:**
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"button": {
|
|
51
|
+
"padding": "var(--sys-height) * {sys.spacing.adaptive.md}"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Маркер «Полного значения» (`=`)
|
|
57
|
+
Если значение начинается с символа `=`, компилятор считает его «завершенным» (full value). Значение передается в SCSS «как есть» без какой-либо дальнейшей обработки.
|
|
58
|
+
|
|
59
|
+
Это полезно для сложных функций CSS или когда нужно передать сырой путь.
|
|
60
|
+
|
|
61
|
+
**Пример использования:**
|
|
62
|
+
```json
|
|
63
|
+
{
|
|
64
|
+
"button": {
|
|
65
|
+
"color": "{?primary}", // Ссылка через метку дизайна
|
|
66
|
+
"padding": "{??base-padding}", // Ссылка через метку компонента
|
|
67
|
+
"width": "=calc(100% - 20px)", // Полное значение (без обработки)
|
|
68
|
+
"border": "1px solid #00000030" // HEX с прозрачностью
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### Дополнительные параметры
|
|
74
|
+
Для более точной настройки обработки и вывода значения можно использовать специальные служебные флаги (начинающиеся с `_`):
|
|
75
|
+
|
|
76
|
+
- `_important: boolean` — добавляет спецификатор `!important` к значению свойства в CSS.
|
|
77
|
+
- `_fullValue: boolean` — программный аналог маркера `=`. Отключает автоматическое добавление единиц измерения (`px`) и разрешение ссылок `{}`.
|
|
78
|
+
- `_replace: object` — позволяет выполнить замену текста в финальном значении через регулярное выражение. Принимает объект `{ pattern, flags, replace }`.
|
|
79
|
+
- `_modification: boolean` — управляет возможностью модификации свойства в SCSS (по умолчанию `true`). При значении `false` свойство считается статичным.
|
|
80
|
+
|
|
81
|
+
**Пример использования:**
|
|
82
|
+
```json
|
|
83
|
+
{
|
|
84
|
+
"button": {
|
|
85
|
+
"width": {
|
|
86
|
+
"value": "100%",
|
|
87
|
+
"_important": true // Результат: width: 100% !important;
|
|
88
|
+
},
|
|
89
|
+
"padding": {
|
|
90
|
+
"value": "16px",
|
|
91
|
+
"_replace": { // Результат: padding: 16rem;
|
|
92
|
+
"pattern": "px",
|
|
93
|
+
"replace": "rem",
|
|
94
|
+
"flags": "g"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"height": {
|
|
98
|
+
"value": "calc(100vh - 20px)",
|
|
99
|
+
"_fullValue": true // Результат: height: calc(100vh - 20px);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
```
|