yc-design-vue 1.9.5 → 1.9.7
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/es/Alert/index.vue.js +4 -4
- package/es/AutoComplete/index.d.ts +3 -3
- package/es/AutoComplete/index.vue.d.ts +6 -6
- package/es/Avatar/Avatar.vue.js +3 -1
- package/es/BackTop/index.vue.js +3 -1
- package/es/Breadcrumb/BreadcrumbItem.vue.js +3 -1
- package/es/Breadcrumb/BreadcrumbMore.vue.js +3 -1
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +3 -1
- package/es/Calendar/Calendar.vue.js +4 -4
- package/es/Carousel/CarouselArrow.vue.js +3 -1
- package/es/Cascader/CascaderIcon.vue.js +4 -4
- package/es/Cascader/CascaderOption.vue.d.ts +2 -2
- package/es/Cascader/CascaderOption.vue.js +3 -1
- package/es/Checkbox/Checkbox.vue.js +4 -4
- package/es/Collapse/CollapseItem.vue.js +5 -5
- package/es/ConfigProvider/index.d.ts +0 -6
- package/es/ConfigProvider/index.vue.d.ts +0 -2
- package/es/ConfigProvider/index.vue.js +3 -8
- package/es/ConfigProvider/type.d.ts +0 -2
- package/es/Drawer/Drawer.vue.js +6 -7
- package/es/Dropdown/Doption.vue.js +0 -3
- package/es/Dropdown/Dropdown.vue.js +1 -3
- package/es/Dropdown/DropdownButton.vue.js +3 -1
- package/es/Dropdown/Dsubmenu.vue.d.ts +6 -6
- package/es/Dropdown/Dsubmenu.vue.js +10 -11
- package/es/Dropdown/index.css +1 -1
- package/es/Dropdown/index.d.ts +3 -3
- package/es/Empty/index.vue.js +3 -1
- package/es/Image/Image.vue.js +3 -1
- package/es/Image/ImagePreview.vue.js +6 -5
- package/es/Image/ImagePreviewArrow.vue.js +3 -1
- package/es/Image/ImagePreviewToolbar.vue.js +3 -1
- package/es/Input/Input.vue.js +4 -4
- package/es/Input/InputSuffix.vue.js +5 -5
- package/es/InputNumber/InputOperaBtn.vue.js +3 -1
- package/es/InputTag/index.vue.js +4 -4
- package/es/Layout/LayoutSider.vue.js +3 -1
- package/es/Layout/index.css +1 -1
- package/es/Link/index.vue.js +3 -1
- package/es/List/List.vue.d.ts +1 -1
- package/es/List/index.d.ts +3 -3
- package/es/Mention/index.d.ts +6 -6
- package/es/Mention/index.vue.d.ts +7 -7
- package/es/Menu/Menu.vue.js +3 -1
- package/es/Menu/MenuEllipsis.vue.js +5 -2
- package/es/Menu/MenuItem.vue.js +2 -1
- package/es/Menu/SubMenu.vue.js +3 -3
- package/es/Menu/hooks/useContext.js +2 -4
- package/es/Menu/index.css +1 -1
- package/es/Message/Message.vue.js +3 -3
- package/es/Modal/Modal.vue.js +6 -7
- package/es/Notification/Notification.vue.js +3 -3
- package/es/PageHeader/index.vue.js +4 -4
- package/es/Pagination/PaginationItem.vue.js +3 -1
- package/es/Popconfirm/index.d.ts +3 -3
- package/es/Popconfirm/index.vue.d.ts +6 -6
- package/es/Progress/ProgressCircle.vue.js +3 -1
- package/es/Radio/Radio.vue.js +3 -3
- package/es/Rate/index.vue.js +3 -1
- package/es/ResizeBox/index.vue.js +3 -1
- package/es/Select/Select.vue.d.ts +6 -6
- package/es/Select/SelectIcon.vue.js +4 -4
- package/es/Select/index.d.ts +3 -3
- package/es/Spin/index.vue.js +3 -1
- package/es/Split/index.vue.js +3 -1
- package/es/Statistic/Statistic.vue.d.ts +1 -1
- package/es/Statistic/index.d.ts +3 -3
- package/es/Steps/Step.vue.js +3 -1
- package/es/Tabs/TabButton.vue.js +4 -4
- package/es/Tabs/Tabs.vue.js +3 -1
- package/es/Tag/index.vue.js +3 -3
- package/es/Textarea/index.vue.js +5 -5
- package/es/TimePicker/TimePicker.vue.js +3 -3
- package/es/Transfer/Transfer.vue.d.ts +2 -2
- package/es/Transfer/Transfer.vue.js +3 -1
- package/es/Transfer/TransferPanel.vue.js +4 -4
- package/es/Transfer/index.d.ts +5 -5
- package/es/Trigger/hooks/useTriggerPosition.js +2 -1
- package/es/Trigger/hooks/useTriggerVisible.js +1 -2
- package/es/Trigger/index.css +1 -1
- package/es/Trigger/index.d.ts +3 -3
- package/es/Trigger/index.vue.d.ts +1 -1
- package/es/Trigger/index.vue.js +8 -9
- package/es/Typography/TypographyBase.vue.js +3 -1
- package/es/Watermark/index.d.ts +3 -3
- package/es/Watermark/index.vue.d.ts +1 -1
- package/es/_shared/components/{ExpandTransition.vue2.js → ExpandTransition/index.vue2.js} +5 -5
- package/es/_shared/components/ExpandTransition/index.vue3.js +5 -0
- package/es/_shared/components/Icon/index.vue2.js +5 -0
- package/es/_shared/components/{Icon.vue3.js → Icon/index.vue3.js} +5 -5
- package/es/_shared/components/{IconButton.vue.js → IconButton/index.vue2.js} +9 -7
- package/es/_shared/components/IconButton/index.vue3.js +5 -0
- package/es/_shared/components/{PreventFocus.vue.js → PreventFocus/index.vue.js} +1 -1
- package/es/_shared/components/PreventFocus/index.vue2.js +4 -0
- package/es/_shared/components/index.d.ts +4 -4
- package/es/_shared/constants/index.js +3 -1
- package/es/_shared/icons/IconArrowDown.vue.js +10 -4
- package/es/_shared/icons/IconArrowRight.vue.js +10 -4
- package/es/_shared/icons/IconCheck.vue.js +10 -4
- package/es/_shared/icons/IconCheckboxChecked.vue.js +10 -4
- package/es/_shared/icons/IconClose.vue.js +10 -4
- package/es/_shared/icons/IconCopy.vue2.js +10 -4
- package/es/_shared/icons/IconDelete.vue2.js +10 -4
- package/es/_shared/icons/IconDragDot.vue.js +10 -4
- package/es/_shared/icons/IconEdit.vue2.js +10 -4
- package/es/_shared/icons/IconEmpty.vue.js +10 -4
- package/es/_shared/icons/IconError.vue.js +10 -4
- package/es/_shared/icons/IconExclamation.vue2.js +10 -4
- package/es/_shared/icons/IconEyeClose.vue2.js +10 -4
- package/es/_shared/icons/IconEyeOpen.vue2.js +10 -4
- package/es/_shared/icons/IconFaceSmile.vue.js +10 -4
- package/es/_shared/icons/IconFullScreen.vue2.js +10 -4
- package/es/_shared/icons/IconImageClose.vue.js +10 -4
- package/es/_shared/icons/IconInfo.vue.js +10 -4
- package/es/_shared/icons/IconInfoLine.vue.js +10 -4
- package/es/_shared/icons/IconLink.vue.js +10 -4
- package/es/_shared/icons/IconLoading.vue.js +10 -4
- package/es/_shared/icons/IconMenuFold.vue.js +10 -4
- package/es/_shared/icons/IconMenuUnfold.vue.js +10 -4
- package/es/_shared/icons/IconMinus.vue2.js +10 -4
- package/es/_shared/icons/IconMore.vue.js +10 -4
- package/es/_shared/icons/IconOriginSize.vue2.js +10 -4
- package/es/_shared/icons/IconPlus.vue.js +10 -4
- package/es/_shared/icons/IconRight.vue.js +10 -4
- package/es/_shared/icons/IconRotateLeft.vue2.js +10 -4
- package/es/_shared/icons/IconRotateRight.vue2.js +10 -4
- package/es/_shared/icons/IconSearch.vue2.js +10 -4
- package/es/_shared/icons/IconSeparator.vue2.js +10 -4
- package/es/_shared/icons/IconStar.vue.js +10 -4
- package/es/_shared/icons/IconSuccess.vue.js +10 -4
- package/es/_shared/icons/IconTime.vue.js +10 -4
- package/es/_shared/icons/IconToTop.vue.js +10 -4
- package/es/_shared/icons/IconWarning.vue.js +10 -4
- package/es/_shared/icons/IconZoomIn.vue2.js +10 -4
- package/es/_shared/icons/IconZoomOut.vue2.js +10 -4
- package/es/_shared/utils/global-config.d.ts +1 -6
- package/es/_shared/utils/global-config.js +7 -10
- package/es/_shared/utils/locale.js +1 -1
- package/es/index.d.ts +3 -3
- package/es/shared.css +1 -1
- package/es/style.css +1 -1
- package/lib/Alert/index.js +1 -1
- package/lib/Alert/index.vue.js +1 -1
- package/lib/Alert/index.vue3.js +1 -1
- package/lib/AutoComplete/index.d.ts +3 -3
- package/lib/AutoComplete/index.js +1 -1
- package/lib/AutoComplete/index.vue.d.ts +6 -6
- package/lib/AutoComplete/index.vue3.js +1 -1
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/BackTop/index.js +1 -1
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/BackTop/index.vue3.js +1 -1
- package/lib/Badge/index.js +1 -1
- package/lib/Badge/index.vue3.js +1 -1
- package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Cascader/Cascader.vue.js +1 -1
- package/lib/Cascader/CascaderIcon.vue.js +1 -1
- package/lib/Cascader/CascaderIcon.vue3.js +1 -1
- package/lib/Cascader/CascaderOption.vue.d.ts +2 -2
- package/lib/Cascader/CascaderOption.vue.js +1 -1
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Comment/index.js +1 -1
- package/lib/Comment/index.vue3.js +1 -1
- package/lib/ConfigProvider/index.d.ts +0 -6
- package/lib/ConfigProvider/index.vue.d.ts +0 -2
- package/lib/ConfigProvider/index.vue.js +1 -1
- package/lib/ConfigProvider/type.d.ts +0 -2
- package/lib/Divider/index.js +1 -1
- package/lib/Divider/index.vue3.js +1 -1
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Dropdown/Doption.vue.js +1 -1
- package/lib/Dropdown/Dropdown.vue.js +1 -1
- package/lib/Dropdown/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.d.ts +6 -6
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/index.css +1 -1
- package/lib/Dropdown/index.d.ts +3 -3
- package/lib/Empty/index.js +1 -1
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Empty/index.vue3.js +1 -1
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/ImagePreviewArrow.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Input/Input.vue.js +1 -1
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputTag/index.js +1 -1
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/InputTag/index.vue3.js +1 -1
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Layout/index.css +1 -1
- package/lib/Link/index.js +1 -1
- package/lib/Link/index.vue.js +1 -1
- package/lib/Link/index.vue3.js +1 -1
- package/lib/List/List.vue.d.ts +1 -1
- package/lib/List/index.d.ts +3 -3
- package/lib/Mention/index.d.ts +6 -6
- package/lib/Mention/index.vue.d.ts +7 -7
- package/lib/Menu/Menu.vue.js +1 -1
- package/lib/Menu/MenuEllipsis.vue.js +1 -1
- package/lib/Menu/MenuItem.vue.js +1 -1
- package/lib/Menu/SubMenu.vue.js +1 -1
- package/lib/Menu/hooks/useContext.js +1 -1
- package/lib/Menu/index.css +1 -1
- package/lib/Message/Message.vue.js +1 -1
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/OverflowList/index.js +1 -1
- package/lib/OverflowList/index.vue3.js +1 -1
- package/lib/PageHeader/index.js +1 -1
- package/lib/PageHeader/index.vue.js +1 -1
- package/lib/PageHeader/index.vue3.js +1 -1
- package/lib/Pagination/PaginationItem.vue.js +1 -1
- package/lib/Popconfirm/index.d.ts +3 -3
- package/lib/Popconfirm/index.js +1 -1
- package/lib/Popconfirm/index.vue.d.ts +6 -6
- package/lib/Popconfirm/index.vue3.js +1 -1
- package/lib/Popover/index.js +1 -1
- package/lib/Popover/index.vue3.js +1 -1
- package/lib/Progress/ProgressCircle.vue.js +1 -1
- package/lib/Radio/Radio.vue.js +1 -1
- package/lib/Rate/index.js +1 -1
- package/lib/Rate/index.vue.js +1 -1
- package/lib/Rate/index.vue3.js +1 -1
- package/lib/ResizeBox/index.js +1 -1
- package/lib/ResizeBox/index.vue.js +1 -1
- package/lib/ResizeBox/index.vue3.js +1 -1
- package/lib/Result/index.js +1 -1
- package/lib/Result/index.vue3.js +1 -1
- package/lib/Select/Select.vue.d.ts +6 -6
- package/lib/Select/Select.vue.js +1 -1
- package/lib/Select/SelectIcon.vue.js +1 -1
- package/lib/Select/SelectIcon.vue3.js +1 -1
- package/lib/Select/index.d.ts +3 -3
- package/lib/Space/index.js +1 -1
- package/lib/Space/index.vue3.js +1 -1
- package/lib/Spin/index.js +1 -1
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Spin/index.vue3.js +1 -1
- package/lib/Split/index.js +1 -1
- package/lib/Split/index.vue.js +1 -1
- package/lib/Split/index.vue3.js +1 -1
- package/lib/Statistic/Statistic.vue.d.ts +1 -1
- package/lib/Statistic/index.d.ts +3 -3
- package/lib/Steps/Step.vue.js +1 -1
- package/lib/Switch/index.js +1 -1
- package/lib/Switch/index.vue3.js +1 -1
- package/lib/Tabs/TabButton.vue.js +1 -1
- package/lib/Tabs/Tabs.vue.js +1 -1
- package/lib/Tag/index.js +1 -1
- package/lib/Tag/index.vue.js +1 -1
- package/lib/Tag/index.vue3.js +1 -1
- package/lib/Textarea/index.js +1 -1
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/Textarea/index.vue3.js +1 -1
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/Tooltip/index.js +1 -1
- package/lib/Tooltip/index.vue3.js +1 -1
- package/lib/Transfer/Transfer.vue.d.ts +2 -2
- package/lib/Transfer/Transfer.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Transfer/index.d.ts +5 -5
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
- package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
- package/lib/Trigger/index.css +1 -1
- package/lib/Trigger/index.d.ts +3 -3
- package/lib/Trigger/index.js +1 -1
- package/lib/Trigger/index.vue.d.ts +1 -1
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Trigger/index.vue3.js +1 -1
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/VerificationCode/index.js +1 -1
- package/lib/VerificationCode/index.vue3.js +1 -1
- package/lib/Watermark/index.d.ts +3 -3
- package/lib/Watermark/index.js +1 -1
- package/lib/Watermark/index.vue.d.ts +1 -1
- package/lib/Watermark/index.vue3.js +1 -1
- package/lib/_shared/components/ExpandTransition/index.vue2.js +1 -0
- package/lib/_shared/components/ExpandTransition/index.vue3.js +1 -0
- package/lib/_shared/components/Icon/index.vue2.js +1 -0
- package/lib/_shared/components/Icon/index.vue3.js +1 -0
- package/lib/_shared/components/IconButton/index.vue2.js +1 -0
- package/lib/_shared/components/IconButton/index.vue3.js +1 -0
- package/lib/_shared/components/PreventFocus/index.vue.js +1 -0
- package/lib/_shared/components/PreventFocus/index.vue2.js +1 -0
- package/lib/_shared/components/index.d.ts +4 -4
- package/lib/_shared/constants/index.js +1 -1
- package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
- package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
- package/lib/_shared/icons/IconCheck.vue.js +1 -1
- package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
- package/lib/_shared/icons/IconClose.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue2.js +1 -1
- package/lib/_shared/icons/IconDelete.vue2.js +1 -1
- package/lib/_shared/icons/IconDragDot.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue2.js +1 -1
- package/lib/_shared/icons/IconEmpty.vue.js +1 -1
- package/lib/_shared/icons/IconError.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
- package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
- package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
- package/lib/_shared/icons/IconImageClose.vue.js +1 -1
- package/lib/_shared/icons/IconInfo.vue.js +1 -1
- package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
- package/lib/_shared/icons/IconLink.vue.js +1 -1
- package/lib/_shared/icons/IconLoading.vue.js +1 -1
- package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
- package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
- package/lib/_shared/icons/IconMinus.vue2.js +1 -1
- package/lib/_shared/icons/IconMore.vue.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/lib/_shared/icons/IconPlus.vue.js +1 -1
- package/lib/_shared/icons/IconRight.vue.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/lib/_shared/icons/IconSearch.vue2.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/icons/IconStar.vue.js +1 -1
- package/lib/_shared/icons/IconSuccess.vue.js +1 -1
- package/lib/_shared/icons/IconTime.vue.js +1 -1
- package/lib/_shared/icons/IconToTop.vue.js +1 -1
- package/lib/_shared/icons/IconWarning.vue.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/lib/_shared/utils/global-config.d.ts +1 -6
- package/lib/_shared/utils/global-config.js +1 -1
- package/lib/_shared/utils/locale.js +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/shared.css +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/es/Drawer/index.css +0 -1
- package/es/Layout/hooks/useTheme.d.ts +0 -4
- package/es/Layout/hooks/useTheme.js +0 -33
- package/es/Message/index.css +0 -1
- package/es/Modal/index.css +0 -1
- package/es/Notification/index.css +0 -1
- package/es/_shared/components/ExpandTransition.vue3.js +0 -5
- package/es/_shared/components/Icon.vue2.js +0 -5
- package/es/_shared/components/IconButton.vue3.js +0 -5
- package/es/_shared/components/PreventFocus.vue2.js +0 -4
- package/lib/Drawer/index.css +0 -1
- package/lib/Layout/hooks/useTheme.d.ts +0 -4
- package/lib/Layout/hooks/useTheme.js +0 -1
- package/lib/Message/index.css +0 -1
- package/lib/Modal/index.css +0 -1
- package/lib/Notification/index.css +0 -1
- package/lib/_shared/components/ExpandTransition.vue2.js +0 -1
- package/lib/_shared/components/ExpandTransition.vue3.js +0 -1
- package/lib/_shared/components/Icon.vue2.js +0 -1
- package/lib/_shared/components/Icon.vue3.js +0 -1
- package/lib/_shared/components/IconButton.vue.js +0 -1
- package/lib/_shared/components/IconButton.vue3.js +0 -1
- package/lib/_shared/components/PreventFocus.vue.js +0 -1
- package/lib/_shared/components/PreventFocus.vue2.js +0 -1
- /package/es/_shared/components/{ExpandTransition.vue.d.ts → ExpandTransition/index.vue.d.ts} +0 -0
- /package/es/_shared/components/{Icon.vue.d.ts → Icon/index.vue.d.ts} +0 -0
- /package/es/_shared/components/{IconButton.vue.d.ts → IconButton/index.vue.d.ts} +0 -0
- /package/es/_shared/components/{PreventFocus.vue.d.ts → PreventFocus/index.vue.d.ts} +0 -0
- /package/es/{public → src/lang}/lang-es/zh-cn.js +0 -0
- /package/lib/_shared/components/{ExpandTransition.vue.d.ts → ExpandTransition/index.vue.d.ts} +0 -0
- /package/lib/_shared/components/{Icon.vue.d.ts → Icon/index.vue.d.ts} +0 -0
- /package/lib/_shared/components/{IconButton.vue.d.ts → IconButton/index.vue.d.ts} +0 -0
- /package/lib/_shared/components/{PreventFocus.vue.d.ts → PreventFocus/index.vue.d.ts} +0 -0
- /package/lib/{public → src/lang}/lang-es/zh-cn.js +0 -0
package/package.json
CHANGED
package/es/Drawer/index.css
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
.yc-drawer-wrapper{overflow:hidden;position:fixed;height:100%;width:100%;top:0;left:0}.yc-drawer-wrapper .yc-drawer-mask{position:absolute;height:100%;width:100%;background-color:var(--color-mask-bg)}.yc-drawer-wrapper .yc-drawer-container{position:absolute;height:100%;background-color:var(--color-bg-3);display:flex;flex-direction:column}.yc-drawer-wrapper .yc-drawer-container .yc-drawer-footer,.yc-drawer-wrapper .yc-drawer-container .yc-drawer-body,.yc-drawer-wrapper .yc-drawer-container .yc-drawer-header,.yc-drawer-wrapper .yc-drawer-container .yc-drawer-title,.yc-drawer-wrapper .yc-drawer-container .yc-drawer-close-button{flex-shrink:0}.yc-drawer-wrapper .yc-drawer-container .yc-drawer-header{height:48px;width:100%;padding:0 16px;border-bottom:1px solid var(--color-neutral-3);display:flex;align-items:center}.yc-drawer-wrapper .yc-drawer-container .yc-drawer-header .yc-drawer-title{flex:1;font-size:16px;font-weight:500;color:var(--color-text-1)}.yc-drawer-wrapper .yc-drawer-container .yc-drawer-header .yc-drawer-close-button{margin-left:-12px}.yc-drawer-wrapper .yc-drawer-container .yc-drawer-body{flex:1;line-height:1.5715;padding:12px 16px;color:var(--color-text-1);font-size:14px}.yc-drawer-wrapper .yc-drawer-container .yc-drawer-footer{height:64px;width:100%;padding:0 16px;border-top:1px solid var(--color-neutral-3);display:flex;justify-content:flex-end;align-items:center;gap:12px}.yc-drawer-position-absolute{position:absolute}.yc-drawer-placement-left .yc-drawer-container{left:0;top:0;bottom:0}.yc-drawer-placement-right .yc-drawer-container{right:0;top:0;bottom:0}.yc-drawer-placement-bottom .yc-drawer-container{left:0;bottom:0;right:0}.yc-drawer-placement-top .yc-drawer-container{left:0;top:0;right:0}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
import { ref, onMounted } from "vue";
|
2
|
-
import { useMutationObserver } from "../../node_modules/@vueuse/core/index.js";
|
3
|
-
const useTheme = () => {
|
4
|
-
const theme = ref("light");
|
5
|
-
onMounted(() => {
|
6
|
-
const value = document.body.getAttribute("yc-design-theme");
|
7
|
-
theme.value = value === "dark" ? "dark" : "light";
|
8
|
-
});
|
9
|
-
useMutationObserver(
|
10
|
-
document.body,
|
11
|
-
(mutationsList) => {
|
12
|
-
for (const mutation of mutationsList) {
|
13
|
-
if (mutation.type === "attributes" && mutation.attributeName === "yc-design-theme") {
|
14
|
-
const value = mutation.target.getAttribute(
|
15
|
-
"yc-design-theme"
|
16
|
-
);
|
17
|
-
theme.value = value === "dark" ? "dark" : "light";
|
18
|
-
}
|
19
|
-
}
|
20
|
-
},
|
21
|
-
{
|
22
|
-
attributes: true,
|
23
|
-
// 明确告诉 MutationObserver 我们要监听属性的变化
|
24
|
-
attributeFilter: ["yc-design-theme"]
|
25
|
-
}
|
26
|
-
);
|
27
|
-
return {
|
28
|
-
theme
|
29
|
-
};
|
30
|
-
};
|
31
|
-
export {
|
32
|
-
useTheme as default
|
33
|
-
};
|
package/es/Message/index.css
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
.yc-message{pointer-events:auto;position:relative;overflow:hidden;padding:10px 16px;background-color:var(--color-bg-popup);border-color:var(--color-neutral-3);border-radius:2px;box-shadow:0 4px 10px rgba(0,0,0,0.1);transition:all .1s cubic-bezier(0, 0, 1, 1);color:var(--color-text-1);line-height:1;text-align:center;display:inline-flex;align-items:center;gap:8px}.yc-message .yc-message-icon{vertical-align:middle;font-size:20px;animation:arco-msg-fade .1s cubic-bezier(0, 0, 1, 1),arco-msg-fade .4s cubic-bezier(.3, 1.3, .3, 1)}.yc-message .yc-message-content{vertical-align:middle;font-size:14px}.yc-message-info .yc-message-icon{color:rgb(var(--primary-6))}.yc-message-warning .yc-message-icon{color:rgb(var(--warning-6))}.yc-message-success .yc-message-icon{color:rgb(var(--success-6))}.yc-message-error .yc-message-icon{color:rgb(var(--danger-6))}.yc-message-loading .yc-message-icon{color:rgb(var(--primary-6))}.yc-message-list{pointer-events:none;z-index:1001;position:fixed;width:100%;padding:0 10px;display:flex;flex-direction:column;align-items:center;gap:16px}.yc-message-list-top{top:40px}.yc-message-list-bottom{bottom:40px}.fade-message-enter-from,.fade-message-leave-to{opacity:0}.fade-message-enter-to,.fade-message-leave-from{opacity:1}.fade-message-enter-active,.fade-message-appear-active{transition:opacity .2s cubic-bezier(0, 0, 1, 1)}.fade-message-leave-active{position:absolute}.flip-list-move{transition:transform .3s ease}
|
package/es/Modal/index.css
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
.yc-modal-container{overflow:hidden;position:fixed;height:100%;width:100%;left:0;top:0}.yc-modal-container .yc-modal-mask{position:absolute;height:100%;width:100%;background-color:var(--color-mask-bg)}.yc-modal-container .yc-modal-wrapper{position:absolute;height:100%;width:100%;overflow:auto}.yc-modal-container .yc-modal-wrapper .yc-modal{position:absolute;border-radius:4px;background-color:var(--color-bg-3);line-height:1.5715;display:flex;flex-direction:column}.yc-modal-container .yc-modal-wrapper .yc-modal.yc-modal-fullscreen{height:100%}.yc-modal-container .yc-modal-wrapper .yc-modal.yc-modal-fullscreen .yc-modal-body{flex:1}.yc-modal-container .yc-modal-wrapper .yc-modal.yc-modal-draggable .yc-modal-header{cursor:move;user-select:none}.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-footer,.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-body,.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-header,.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-title,.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-close-button{flex-shrink:0}.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-header{height:48px;width:100%;padding:0 20px;border-bottom:1px solid var(--color-neutral-3);display:flex;align-items:center}.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-header .yc-modal-title{flex:1}.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-header .yc-modal-title span{font-size:16px;font-weight:500;color:var(--color-text-1)}.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-header .yc-modal-title.title-align-center{text-align:center}.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-header .yc-modal-close-button{margin-left:-12px}.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-body{padding:24px 20px;color:var(--color-text-1);font-size:14px;line-height:1.5715}.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-footer{height:64px;width:100%;padding:16px 20px;border-top:1px solid var(--color-neutral-3);display:flex;justify-content:flex-end;align-items:center;gap:12px}.yc-modal-position-absolute{position:absolute}.yc-modal-simple .yc-modal-wrapper .yc-modal{width:400px;padding:24px 32px 32px}.yc-modal-simple .yc-modal-wrapper .yc-modal .yc-modal-header,.yc-modal-simple .yc-modal-wrapper .yc-modal .yc-modal-footer,.yc-modal-simple .yc-modal-wrapper .yc-modal .yc-modal-body{height:unset;padding:0;border:none}.yc-modal-simple .yc-modal-wrapper .yc-modal .yc-modal-header.yc-modal-header,.yc-modal-simple .yc-modal-wrapper .yc-modal .yc-modal-footer.yc-modal-header,.yc-modal-simple .yc-modal-wrapper .yc-modal .yc-modal-body.yc-modal-header{margin-bottom:24px}.yc-modal-simple .yc-modal-wrapper .yc-modal .yc-modal-header.yc-modal-footer,.yc-modal-simple .yc-modal-wrapper .yc-modal .yc-modal-footer.yc-modal-footer,.yc-modal-simple .yc-modal-wrapper .yc-modal .yc-modal-body.yc-modal-footer{margin-top:24px;justify-content:center}.yc-service-modal .yc-modal-header .yc-modal-title{display:flex;justify-content:center;gap:6px}.yc-service-modal .yc-modal-header .yc-modal-title .yc-modal-title-icon{display:flex;align-items:center;font-size:18px}.yc-service-modal .yc-modal-header .yc-modal-title .yc-modal-title-content{flex-shrink:0;overflow:hidden}.yc-service-modal .yc-modal-body .yc-modal-body-content{width:100%;line-height:26px;color:var(--color-text-2);font-family:'PingFang SC';font-size:16px;font-weight:400}.yc-service-modal-info .yc-modal-title-icon{color:rgb(var(--primary-6))}.yc-service-modal-success .yc-modal-title-icon{color:rgb(var(--success-6))}.yc-service-modal-warning .yc-modal-title-icon{color:rgb(var(--warning-6))}.yc-service-modal-error .yc-modal-title-icon{color:rgb(var(--danger-6))}.yc-service-modal-confirm .yc-modal-title-icon{color:rgb(var(--warning-6))}
|
@@ -1 +0,0 @@
|
|
1
|
-
.yc-notification{overflow:hidden;position:relative;width:340px;padding:20px;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3);border-radius:4px;box-shadow:0 4px 12px rgba(0,0,0,0.15);opacity:1;transition:opacity .2s cubic-bezier(0, 0, 1, 1);display:flex;gap:16px}.yc-notification .yc-notification-left .yc-notification-icon{font-size:24px;display:flex;align-items:center}.yc-notification .yc-notification-right{color:var(--color-text-1);flex:1;display:flex;flex-direction:column}.yc-notification .yc-notification-right .yc-notification-title{font-weight:500;font-size:16px}.yc-notification .yc-notification-right .yc-notification-content{margin-top:4px;font-size:14px}.yc-notification .yc-notification-right .yc-notification-footer{margin-top:12px;text-align:right}.yc-notification .yc-notification-close-btn{position:absolute;top:12px;right:12px;color:var(--color-text-3);font-size:12px}.yc-notification .yc-notification-close-btn:hover{color:var(--color-text-1)}.yc-notification-info .yc-notification-icon{color:rgb(var(--primary-6))}.yc-notification-warning .yc-notification-icon{color:rgb(var(--warning-6))}.yc-notification-success .yc-notification-icon{color:rgb(var(--success-6))}.yc-notification-error .yc-notification-icon{color:rgb(var(--danger-6))}.yc-notification-loading .yc-notification-icon{color:rgb(var(--primary-6))}.yc-notification-list{position:fixed;z-index:1000;display:flex;flex-direction:column;align-items:center;gap:16px}.yc-notification-list-topLeft{top:20px;left:20px}.yc-notification-list-topRight{top:20px;right:20px}.yc-notification-list-bottomLeft{bottom:20px;left:20px}.yc-notification-list-bottomRight{bottom:20px;right:20px}.slide-left-notification-enter-from{transform:translateX(-100%)}.slide-right-notification-enter-from{transform:translateX(100%)}.slide-left-notification-enter-to,.slide-right-notification-enter-to{transform:translateX(0)}.slide-left-notification-leave-from,.slide-right-notification-leave-from{opacity:1}.slide-left-notification-leave-to,.slide-right-notification-leave-to{height:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;opacity:0}.slide-left-notification-enter-active,.slide-right-notification-enter-active{transition:transform .4s cubic-bezier(.3, 1.3, .3, 1)}.slide-left-notification-leave-active,.slide-right-notification-leave-active{transition:all .3s cubic-bezier(.34, .69, .1, 1)}
|
package/lib/Drawer/index.css
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
.yc-drawer-wrapper{overflow:hidden;position:fixed;height:100%;width:100%;top:0;left:0}.yc-drawer-wrapper .yc-drawer-mask{position:absolute;height:100%;width:100%;background-color:var(--color-mask-bg)}.yc-drawer-wrapper .yc-drawer-container{position:absolute;height:100%;background-color:var(--color-bg-3);display:flex;flex-direction:column}.yc-drawer-wrapper .yc-drawer-container .yc-drawer-footer,.yc-drawer-wrapper .yc-drawer-container .yc-drawer-body,.yc-drawer-wrapper .yc-drawer-container .yc-drawer-header,.yc-drawer-wrapper .yc-drawer-container .yc-drawer-title,.yc-drawer-wrapper .yc-drawer-container .yc-drawer-close-button{flex-shrink:0}.yc-drawer-wrapper .yc-drawer-container .yc-drawer-header{height:48px;width:100%;padding:0 16px;border-bottom:1px solid var(--color-neutral-3);display:flex;align-items:center}.yc-drawer-wrapper .yc-drawer-container .yc-drawer-header .yc-drawer-title{flex:1;font-size:16px;font-weight:500;color:var(--color-text-1)}.yc-drawer-wrapper .yc-drawer-container .yc-drawer-header .yc-drawer-close-button{margin-left:-12px}.yc-drawer-wrapper .yc-drawer-container .yc-drawer-body{flex:1;line-height:1.5715;padding:12px 16px;color:var(--color-text-1);font-size:14px}.yc-drawer-wrapper .yc-drawer-container .yc-drawer-footer{height:64px;width:100%;padding:0 16px;border-top:1px solid var(--color-neutral-3);display:flex;justify-content:flex-end;align-items:center;gap:12px}.yc-drawer-position-absolute{position:absolute}.yc-drawer-placement-left .yc-drawer-container{left:0;top:0;bottom:0}.yc-drawer-placement-right .yc-drawer-container{right:0;top:0;bottom:0}.yc-drawer-placement-bottom .yc-drawer-container{left:0;bottom:0;right:0}.yc-drawer-placement-top .yc-drawer-container{left:0;top:0;right:0}
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue"),t=require("../../node_modules/@vueuse/core/index.js");module.exports=()=>{const r=e.ref("light");return e.onMounted(()=>{const e=document.body.getAttribute("yc-design-theme");r.value="dark"===e?"dark":"light"}),t.useMutationObserver(document.body,e=>{for(const t of e)if("attributes"===t.type&&"yc-design-theme"===t.attributeName){const e=t.target.getAttribute("yc-design-theme");r.value="dark"===e?"dark":"light"}},{attributes:!0,attributeFilter:["yc-design-theme"]}),{theme:r}};
|
package/lib/Message/index.css
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
.yc-message{pointer-events:auto;position:relative;overflow:hidden;padding:10px 16px;background-color:var(--color-bg-popup);border-color:var(--color-neutral-3);border-radius:2px;box-shadow:0 4px 10px rgba(0,0,0,0.1);transition:all .1s cubic-bezier(0, 0, 1, 1);color:var(--color-text-1);line-height:1;text-align:center;display:inline-flex;align-items:center;gap:8px}.yc-message .yc-message-icon{vertical-align:middle;font-size:20px;animation:arco-msg-fade .1s cubic-bezier(0, 0, 1, 1),arco-msg-fade .4s cubic-bezier(.3, 1.3, .3, 1)}.yc-message .yc-message-content{vertical-align:middle;font-size:14px}.yc-message-info .yc-message-icon{color:rgb(var(--primary-6))}.yc-message-warning .yc-message-icon{color:rgb(var(--warning-6))}.yc-message-success .yc-message-icon{color:rgb(var(--success-6))}.yc-message-error .yc-message-icon{color:rgb(var(--danger-6))}.yc-message-loading .yc-message-icon{color:rgb(var(--primary-6))}.yc-message-list{pointer-events:none;z-index:1001;position:fixed;width:100%;padding:0 10px;display:flex;flex-direction:column;align-items:center;gap:16px}.yc-message-list-top{top:40px}.yc-message-list-bottom{bottom:40px}.fade-message-enter-from,.fade-message-leave-to{opacity:0}.fade-message-enter-to,.fade-message-leave-from{opacity:1}.fade-message-enter-active,.fade-message-appear-active{transition:opacity .2s cubic-bezier(0, 0, 1, 1)}.fade-message-leave-active{position:absolute}.flip-list-move{transition:transform .3s ease}
|
package/lib/Modal/index.css
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
.yc-modal-container{overflow:hidden;position:fixed;height:100%;width:100%;left:0;top:0}.yc-modal-container .yc-modal-mask{position:absolute;height:100%;width:100%;background-color:var(--color-mask-bg)}.yc-modal-container .yc-modal-wrapper{position:absolute;height:100%;width:100%;overflow:auto}.yc-modal-container .yc-modal-wrapper .yc-modal{position:absolute;border-radius:4px;background-color:var(--color-bg-3);line-height:1.5715;display:flex;flex-direction:column}.yc-modal-container .yc-modal-wrapper .yc-modal.yc-modal-fullscreen{height:100%}.yc-modal-container .yc-modal-wrapper .yc-modal.yc-modal-fullscreen .yc-modal-body{flex:1}.yc-modal-container .yc-modal-wrapper .yc-modal.yc-modal-draggable .yc-modal-header{cursor:move;user-select:none}.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-footer,.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-body,.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-header,.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-title,.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-close-button{flex-shrink:0}.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-header{height:48px;width:100%;padding:0 20px;border-bottom:1px solid var(--color-neutral-3);display:flex;align-items:center}.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-header .yc-modal-title{flex:1}.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-header .yc-modal-title span{font-size:16px;font-weight:500;color:var(--color-text-1)}.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-header .yc-modal-title.title-align-center{text-align:center}.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-header .yc-modal-close-button{margin-left:-12px}.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-body{padding:24px 20px;color:var(--color-text-1);font-size:14px;line-height:1.5715}.yc-modal-container .yc-modal-wrapper .yc-modal .yc-modal-footer{height:64px;width:100%;padding:16px 20px;border-top:1px solid var(--color-neutral-3);display:flex;justify-content:flex-end;align-items:center;gap:12px}.yc-modal-position-absolute{position:absolute}.yc-modal-simple .yc-modal-wrapper .yc-modal{width:400px;padding:24px 32px 32px}.yc-modal-simple .yc-modal-wrapper .yc-modal .yc-modal-header,.yc-modal-simple .yc-modal-wrapper .yc-modal .yc-modal-footer,.yc-modal-simple .yc-modal-wrapper .yc-modal .yc-modal-body{height:unset;padding:0;border:none}.yc-modal-simple .yc-modal-wrapper .yc-modal .yc-modal-header.yc-modal-header,.yc-modal-simple .yc-modal-wrapper .yc-modal .yc-modal-footer.yc-modal-header,.yc-modal-simple .yc-modal-wrapper .yc-modal .yc-modal-body.yc-modal-header{margin-bottom:24px}.yc-modal-simple .yc-modal-wrapper .yc-modal .yc-modal-header.yc-modal-footer,.yc-modal-simple .yc-modal-wrapper .yc-modal .yc-modal-footer.yc-modal-footer,.yc-modal-simple .yc-modal-wrapper .yc-modal .yc-modal-body.yc-modal-footer{margin-top:24px;justify-content:center}.yc-service-modal .yc-modal-header .yc-modal-title{display:flex;justify-content:center;gap:6px}.yc-service-modal .yc-modal-header .yc-modal-title .yc-modal-title-icon{display:flex;align-items:center;font-size:18px}.yc-service-modal .yc-modal-header .yc-modal-title .yc-modal-title-content{flex-shrink:0;overflow:hidden}.yc-service-modal .yc-modal-body .yc-modal-body-content{width:100%;line-height:26px;color:var(--color-text-2);font-family:'PingFang SC';font-size:16px;font-weight:400}.yc-service-modal-info .yc-modal-title-icon{color:rgb(var(--primary-6))}.yc-service-modal-success .yc-modal-title-icon{color:rgb(var(--success-6))}.yc-service-modal-warning .yc-modal-title-icon{color:rgb(var(--warning-6))}.yc-service-modal-error .yc-modal-title-icon{color:rgb(var(--danger-6))}.yc-service-modal-confirm .yc-modal-title-icon{color:rgb(var(--warning-6))}
|
@@ -1 +0,0 @@
|
|
1
|
-
.yc-notification{overflow:hidden;position:relative;width:340px;padding:20px;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3);border-radius:4px;box-shadow:0 4px 12px rgba(0,0,0,0.15);opacity:1;transition:opacity .2s cubic-bezier(0, 0, 1, 1);display:flex;gap:16px}.yc-notification .yc-notification-left .yc-notification-icon{font-size:24px;display:flex;align-items:center}.yc-notification .yc-notification-right{color:var(--color-text-1);flex:1;display:flex;flex-direction:column}.yc-notification .yc-notification-right .yc-notification-title{font-weight:500;font-size:16px}.yc-notification .yc-notification-right .yc-notification-content{margin-top:4px;font-size:14px}.yc-notification .yc-notification-right .yc-notification-footer{margin-top:12px;text-align:right}.yc-notification .yc-notification-close-btn{position:absolute;top:12px;right:12px;color:var(--color-text-3);font-size:12px}.yc-notification .yc-notification-close-btn:hover{color:var(--color-text-1)}.yc-notification-info .yc-notification-icon{color:rgb(var(--primary-6))}.yc-notification-warning .yc-notification-icon{color:rgb(var(--warning-6))}.yc-notification-success .yc-notification-icon{color:rgb(var(--success-6))}.yc-notification-error .yc-notification-icon{color:rgb(var(--danger-6))}.yc-notification-loading .yc-notification-icon{color:rgb(var(--primary-6))}.yc-notification-list{position:fixed;z-index:1000;display:flex;flex-direction:column;align-items:center;gap:16px}.yc-notification-list-topLeft{top:20px;left:20px}.yc-notification-list-topRight{top:20px;right:20px}.yc-notification-list-bottomLeft{bottom:20px;left:20px}.yc-notification-list-bottomRight{bottom:20px;right:20px}.slide-left-notification-enter-from{transform:translateX(-100%)}.slide-right-notification-enter-from{transform:translateX(100%)}.slide-left-notification-enter-to,.slide-right-notification-enter-to{transform:translateX(0)}.slide-left-notification-leave-from,.slide-right-notification-leave-from{opacity:1}.slide-left-notification-leave-to,.slide-right-notification-leave-to{height:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;opacity:0}.slide-left-notification-enter-active,.slide-right-notification-enter-active{transition:transform .4s cubic-bezier(.3, 1.3, .3, 1)}.slide-left-notification-leave-active,.slide-right-notification-leave-active{transition:all .3s cubic-bezier(.34, .69, .1, 1)}
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../utils/dom.js");require("../utils/time.js"),require("../utils/locale.js");const o=e.defineComponent({__name:"ExpandTransition",setup(o){const s={onBeforeEnter(e){e.style.maxHeight="0",e.style.opacity="0"},onEnter(e){e.style.maxHeight=t.valueToPx(e.scrollHeight),e.style.opacity="1"},onAfterEnter(e){e.style.maxHeight="",e.style.opacity=""},onBeforeLeave(e){e.style.maxHeight=t.valueToPx(e.scrollHeight),e.style.opacity="1"},onLeave(e){e.style.maxHeight="0",e.style.opacity="0"},onAfterLeave(e){e.style.maxHeight="",e.style.opacity=""}};return(t,o)=>(e.openBlock(),e.createBlock(e.Transition,e.mergeProps({name:"expand"},s),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}});module.exports=o;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("./ExpandTransition.vue2.js");,/* empty css */module.exports=e;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("./Icon.vue3.js");,/* empty css */module.exports=e;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../utils/dom.js");require("../utils/time.js"),require("../utils/locale.js");const o=e.defineComponent({__name:"Icon",props:{strokeWidth:{default:4},strokeLinecap:{default:"butt"},strokeLinejoin:{default:"miter"},rotate:{},spin:{type:Boolean,default:!1},size:{},color:{}},setup(o){const r=o,{size:l,spin:s,rotate:u,color:a,strokeLinecap:i,strokeLinejoin:n,strokeWidth:c}=e.toRefs(r),v=e.useAttrs(),d=e.computed(()=>{let e="",o="";return Array.isArray(l.value)?(e=t.valueToPx(l.value[0]),o=t.valueToPx(l.value[1])):(e=l.value?t.valueToPx(l.value):"1em",o=l.value?t.valueToPx(l.value):"1em"),{width:e,height:o,color:a.value?a.value:"inherit",transform:u?`rotate(${u.value}deg)`:"unset"}}),p=e.computed(()=>({style:d.value,"stroke-width":c.value,"stroke-linecap":i.value,"stroke-linejoin":n.value,...v||{}}));return(t,o)=>(e.openBlock(),e.createElementBlock("svg",e.mergeProps({"aria-hidden":"true",focusable:"false",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:["yc-icon",{"yc-icon-spin":e.unref(s)}]},p.value),[e.renderSlot(t.$slots,"default")],16))}});module.exports=o;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../utils/dom.js");require("../utils/time.js"),require("../utils/locale.js");/* empty css */const t=require("../icons/IconClose.vue.js"),l=e.defineComponent({__name:"IconButton",props:{size:{default:12},hoverSize:{default:20},disabled:{type:Boolean,default:!1},hoverable:{type:Boolean,default:!0},preventFocus:{type:Boolean,default:!0}},setup(l){const s=l,{hoverSize:n}=e.toRefs(s),u=e.computed(()=>o.valueToPx(n.value));return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-icon-button",{"yc-icon-button-disabled":o.disabled,"yc-icon-button-hoverable":o.hoverable}]),style:e.normalizeStyle({"--icon-btn-size":u.value}),onMousedown:l[0]||(l[0]=e=>o.preventFocus&&e.preventDefault())},[e.renderSlot(o.$slots,"default",{},()=>[e.createVNode(e.unref(t),{size:o.size},null,8,["size"])])],38))}});module.exports=l;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("./IconButton.vue.js");,/* empty css */module.exports=e;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue"),t=e.defineComponent({__name:"PreventFocus",props:{preventFocus:{type:Boolean,default:!0},tag:{default:"div"}},setup:t=>(t,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{onMousedown:o[0]||(o[0]=e=>t.preventFocus&&e.preventDefault())},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},32))});module.exports=t;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("./PreventFocus.vue.js");module.exports=e;
|
/package/es/_shared/components/{ExpandTransition.vue.d.ts → ExpandTransition/index.vue.d.ts}
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/lib/_shared/components/{ExpandTransition.vue.d.ts → ExpandTransition/index.vue.d.ts}
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|