yc-design-vue 1.9.6 → 1.9.8
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.css +1 -1
- package/es/Alert/index.vue.js +4 -4
- package/es/Anchor/index.css +1 -1
- package/es/Avatar/Avatar.vue.js +3 -1
- package/es/Avatar/index.css +1 -1
- package/es/BackTop/index.vue.js +3 -1
- package/es/Badge/index.css +1 -1
- package/es/Breadcrumb/BreadcrumbItem.vue.js +3 -1
- package/es/Breadcrumb/BreadcrumbMore.vue.js +3 -1
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +4 -2
- package/es/Breadcrumb/index.css +1 -1
- package/es/Button/index.css +1 -1
- package/es/Calendar/Calendar.vue.js +4 -4
- package/es/Calendar/index.css +1 -1
- package/es/Card/index.css +1 -1
- package/es/Carousel/CarouselArrow.vue.js +3 -1
- package/es/Carousel/index.css +1 -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/Cascader/index.css +1 -1
- package/es/Checkbox/Checkbox.vue.js +4 -4
- package/es/Checkbox/index.css +1 -1
- package/es/Collapse/CollapseItem.vue.js +5 -5
- package/es/Collapse/index.css +1 -1
- package/es/ColorPicker/index.css +1 -1
- package/es/Descriptions/index.css +1 -1
- package/es/Drawer/Drawer.vue.js +4 -4
- package/es/Dropdown/DropdownButton.vue.js +3 -1
- package/es/Dropdown/Dsubmenu.vue.js +3 -1
- package/es/Dropdown/index.css +1 -1
- package/es/Empty/index.vue.js +3 -1
- package/es/Image/Image.vue.js +3 -1
- package/es/Image/ImagePreview.vue.js +3 -1
- package/es/Image/ImagePreviewArrow.vue.js +3 -1
- package/es/Image/ImagePreviewToolbar.vue.js +3 -1
- package/es/Image/index.css +1 -1
- package/es/Input/Input.vue.js +5 -5
- package/es/Input/InputSuffix.vue.js +5 -5
- package/es/Input/index.css +1 -1
- package/es/InputNumber/InputOperaBtn.vue.js +4 -2
- package/es/InputTag/index.css +1 -1
- package/es/InputTag/index.vue.js +5 -5
- 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.css +1 -1
- package/es/List/index.d.ts +3 -3
- package/es/Mention/index.d.ts +3 -3
- package/es/Mention/index.vue.d.ts +1 -1
- package/es/Menu/Menu.vue.js +3 -1
- package/es/Menu/MenuEllipsis.vue.js +3 -1
- package/es/Menu/SubMenu.vue.js +4 -4
- package/es/Menu/index.css +1 -1
- package/es/Message/Message.vue.js +4 -4
- package/es/Modal/Modal.vue.js +4 -4
- package/es/Notification/Notification.vue.js +4 -4
- package/es/PageHeader/index.vue.js +4 -4
- package/es/Pagination/PaginationItem.vue.js +3 -1
- package/es/Pagination/index.css +1 -1
- package/es/Popconfirm/index.css +1 -1
- package/es/Popover/index.css +1 -1
- package/es/Progress/ProgressCircle.vue.js +3 -1
- package/es/Radio/Radio.vue.js +4 -4
- package/es/Radio/index.css +1 -1
- package/es/Rate/index.vue.js +3 -1
- package/es/ResizeBox/index.vue.js +3 -1
- package/es/Result/index.css +1 -1
- package/es/Select/SelectIcon.vue.js +4 -4
- package/es/Select/index.css +1 -1
- package/es/Skeleton/index.css +1 -1
- package/es/Slider/index.css +1 -1
- package/es/Spin/index.css +1 -1
- 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/Steps/index.css +1 -1
- package/es/Switch/index.css +1 -1
- package/es/Tabs/TabButton.vue.js +4 -4
- package/es/Tabs/Tabs.vue.js +3 -1
- package/es/Tabs/index.css +1 -1
- package/es/Tag/index.css +1 -1
- package/es/Tag/index.vue.js +4 -4
- package/es/Textarea/index.css +1 -1
- package/es/Textarea/index.vue.js +5 -5
- package/es/TimePicker/TimePicker.vue.js +4 -4
- package/es/TimePicker/index.css +1 -1
- package/es/Timeline/index.css +1 -1
- package/es/Tooltip/index.css +1 -1
- 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.css +1 -1
- package/es/Transfer/index.d.ts +5 -5
- package/es/Trigger/index.vue.js +4 -4
- package/es/Typography/TypographyBase.vue.js +3 -1
- package/es/_shared/components/{ExpandTransition.vue.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.vue.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.vue.js +23 -1
- package/es/_shared/icons/IconMinus.vue2.js +1 -17
- 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.vue.js +10 -4
- package/es/_shared/icons/IconSeparator.vue.js +1 -17
- package/es/_shared/icons/IconSeparator.vue2.js +23 -1
- 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.css +1 -1
- package/es/style.css +1 -1
- package/lib/Alert/index.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/Anchor/index.css +1 -1
- package/lib/AutoComplete/index.js +1 -1
- package/lib/AutoComplete/index.vue3.js +1 -1
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/Avatar/index.css +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.css +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/Breadcrumb/index.css +1 -1
- package/lib/Button/index.css +1 -1
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Calendar/index.css +1 -1
- package/lib/Card/index.css +1 -1
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Carousel/index.css +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/Cascader/index.css +1 -1
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Checkbox/index.css +1 -1
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Collapse/index.css +1 -1
- package/lib/ColorPicker/index.css +1 -1
- package/lib/Comment/index.js +1 -1
- package/lib/Comment/index.vue3.js +1 -1
- package/lib/Descriptions/index.css +1 -1
- 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/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/index.css +1 -1
- 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/Image/index.css +1 -1
- package/lib/Input/Input.vue.js +1 -1
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/Input/index.css +1 -1
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputTag/index.css +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.css +1 -1
- package/lib/List/index.d.ts +3 -3
- package/lib/Mention/index.d.ts +3 -3
- package/lib/Mention/index.vue.d.ts +1 -1
- package/lib/Menu/Menu.vue.js +1 -1
- package/lib/Menu/MenuEllipsis.vue.js +1 -1
- package/lib/Menu/SubMenu.vue.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/Pagination/index.css +1 -1
- package/lib/Popconfirm/index.css +1 -1
- package/lib/Popconfirm/index.js +1 -1
- package/lib/Popconfirm/index.vue3.js +1 -1
- package/lib/Popover/index.css +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/Radio/index.css +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.css +1 -1
- package/lib/Result/index.js +1 -1
- package/lib/Result/index.vue3.js +1 -1
- 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.css +1 -1
- package/lib/Skeleton/index.css +1 -1
- package/lib/Slider/index.css +1 -1
- package/lib/Space/index.js +1 -1
- package/lib/Space/index.vue3.js +1 -1
- package/lib/Spin/index.css +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/Steps/index.css +1 -1
- package/lib/Switch/index.css +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/Tabs/index.css +1 -1
- package/lib/Tag/index.css +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.css +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/TimePicker/index.css +1 -1
- package/lib/Timeline/index.css +1 -1
- package/lib/Tooltip/index.css +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.css +1 -1
- package/lib/Transfer/index.d.ts +5 -5
- package/lib/Trigger/index.js +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.js +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.vue.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.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.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue.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.css +1 -1
- package/lib/style.css +1 -1
- package/package.json +2 -3
- package/es/Drawer/index.css +0 -1
- 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/Message/index.css +0 -1
- package/lib/Modal/index.css +0 -1
- package/lib/Notification/index.css +0 -1
- package/lib/_shared/components/ExpandTransition.vue.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/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/es/Alert/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-alert{overflow:hidden;width:100%;padding:8px 15px;border-radius:
|
1
|
+
.yc-alert{overflow:hidden;width:100%;padding:8px 15px;border-radius:var(--border-radius-small);font-size:14px;line-height:1.5715;display:flex;align-items:center;gap:8px;transform-origin:50% 0}.yc-alert .yc-alert-icon{font-size:16px;height:22px;display:flex;justify-content:center;align-items:center}.yc-alert .yc-alert-body{flex:1;display:flex;flex-direction:column;justify-content:center}.yc-alert .yc-alert-body .yc-alert-title{margin-bottom:4px;font-weight:500;font-size:16px;line-height:1.5;color:var(--color-text-1)}.yc-alert .yc-alert-body .yc-alert-content{color:var(--color-text-2)}.yc-alert .yc-alert-close-btn{cursor:pointer;height:22px;color:var(--color-text-2);font-size:12px;transition:color .1s cubic-bezier(0, 0, 1, 1);display:flex;justify-content:center;align-items:center}.yc-alert .yc-alert-close-btn .yc-icon-button{color:inherit}.yc-alert .yc-alert-close-btn:hover{color:var(--color-text-1)}.yc-alert-has-title{padding:15px;align-items:flex-start}.yc-alert-has-title .yc-alert-icon{font-size:18px;height:24px}.yc-alert-center .yc-alert-body .yc-alert-title{text-align:center}.yc-alert-center .yc-alert-body .yc-alert-content{text-align:center}.yc-alert-banner{border-radius:var(--border-radius-none);justify-content:center}.yc-alert-banner .yc-alert-body{flex:unset}.yc-alert-info{background-color:var(--color-primary-light-1)}.yc-alert-info .yc-alert-icon{color:rgb(var(--primary-6))}.yc-alert-success{background-color:var(--color-success-light-1)}.yc-alert-success .yc-alert-icon{color:rgb(var(--success-6))}.yc-alert-warning{background-color:var(--color-warning-light-1)}.yc-alert-warning .yc-alert-icon{color:rgb(var(--warning-6))}.yc-alert-error{background-color:var(--color-danger-light-1)}.yc-alert-error .yc-alert-icon{color:rgb(var(--danger-6))}.yc-alert-normal{background-color:var(--color-fill-2)}.yc-alert-normal .yc-alert-icon{color:var(--color-text-4)}
|
package/es/Alert/index.vue.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import { defineComponent, ref, createBlock, openBlock, Transition, withCtx, createElementBlock, createCommentVNode, normalizeClass, createElementVNode, renderSlot, resolveDynamicComponent, unref, createTextVNode, toDisplayString, createVNode } from "vue";
|
2
2
|
import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
|
3
|
-
import _sfc_main$1 from "../_shared/components/IconButton.
|
4
|
-
/* empty css
|
3
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
4
|
+
/* empty css */
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
6
|
import "../_shared/utils/dom.js";
|
7
7
|
import "../_shared/utils/time.js";
|
8
8
|
import "../_shared/utils/locale.js";
|
9
|
-
/* empty css
|
10
|
-
/* empty css
|
9
|
+
/* empty css */
|
10
|
+
/* empty css */
|
11
11
|
const _hoisted_1 = {
|
12
12
|
key: 0,
|
13
13
|
class: "yc-alert-icon"
|
package/es/Anchor/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-anchor{position:relative;width:150px;overflow:auto}.yc-anchor .yc-anchor-line-slider{position:absolute;top:0;left:0;z-index:1;width:2px;height:12px;background-color:rgb(var(--primary-6));transition:top .2s cubic-bezier(.34, .69, .1, 1)}.yc-anchor .yc-anchor-line-track{position:absolute;left:0;top:0;bottom:0;width:2px;background-color:var(--color-fill-3)}.yc-anchor .yc-anchor-list{margin-left:4px;display:flex;flex-direction:column;gap:2px}.yc-anchor-link-item{display:flex;flex-direction:column;gap:2px}.yc-anchor-link-item .yc-anchor-link{cursor:pointer;min-height:30px;padding:4px 8px;border-radius:
|
1
|
+
.yc-anchor{position:relative;width:150px;overflow:auto}.yc-anchor .yc-anchor-line-slider{position:absolute;top:0;left:0;z-index:1;width:2px;height:12px;background-color:rgb(var(--primary-6));transition:top .2s cubic-bezier(.34, .69, .1, 1)}.yc-anchor .yc-anchor-line-track{position:absolute;left:0;top:0;bottom:0;width:2px;background-color:var(--color-fill-3)}.yc-anchor .yc-anchor-list{margin-left:4px;display:flex;flex-direction:column;gap:2px}.yc-anchor-link-item{display:flex;flex-direction:column;gap:2px}.yc-anchor-link-item .yc-anchor-link{cursor:pointer;min-height:30px;padding:4px 8px;border-radius:var(--border-radius-small);color:var(--color-text-2);font-size:14px;line-height:1.5715;transition:all .1s cubic-bezier(0, 0, 1, 1)}.yc-anchor-link-item .yc-anchor-link:hover{color:var(--color-text-1);font-weight:500;background-color:var(--color-fill-2)}.yc-anchor-link-item .yc-anchor-sublist{display:flex;flex-direction:column;gap:2px}.yc-anchor-link-item .yc-anchor-sublist .yc-anchor-link-item{margin-left:12px}.yc-anchor-link-active>.yc-anchor-link{color:var(--color-text-1);font-weight:500}.yc-anchor-link-lineless-active>.yc-anchor-link{color:rgb(var(--primary-6));font-weight:500;background-color:var(--color-fill-2)}
|
package/es/Avatar/Avatar.vue.js
CHANGED
@@ -4,7 +4,9 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
4
4
|
import { valueToPx } from "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
|
+
/* empty css */
|
9
|
+
/* empty css */
|
8
10
|
import _sfc_main$1 from "../_shared/icons/IconImageClose.vue.js";
|
9
11
|
import useContext from "./hooks/useContext.js";
|
10
12
|
const _hoisted_1 = {
|
package/es/Avatar/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-avatar{cursor:default;position:relative;background-color:var(--color-fill-4);color:var(--color-white);font-size:20px;white-space:nowrap;vertical-align:middle;display:inline-flex;align-items:center}.yc-avatar:hover .yc-avatar-trigger-icon-button{background-color:var(--color-neutral-3)}.yc-avatar:hover .yc-avatar-trigger-icon-mask{opacity:1}.yc-avatar .yc-avatar-text{position:absolute;left:50%;font-weight:500;line-height:1;transform-origin:0 center}.yc-avatar .yc-avatar-image{overflow:hidden;display:inline-block;width:100%;height:100%}.yc-avatar .yc-avatar-image>img{width:100%;height:100%}.yc-avatar .yc-avatar-image .yc-avatar-image-icon{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.yc-avatar .yc-avatar-trigger-icon-button{position:absolute;right:-4px;bottom:-4px;z-index:1001;cursor:pointer;width:20px;height:20px;background-color:var(--color-neutral-2);border-radius:
|
1
|
+
.yc-avatar{cursor:default;position:relative;background-color:var(--color-fill-4);color:var(--color-white);font-size:20px;white-space:nowrap;vertical-align:middle;display:inline-flex;align-items:center}.yc-avatar:hover .yc-avatar-trigger-icon-button{background-color:var(--color-neutral-3)}.yc-avatar:hover .yc-avatar-trigger-icon-mask{opacity:1}.yc-avatar .yc-avatar-text{position:absolute;left:50%;font-weight:500;line-height:1;transform-origin:0 center}.yc-avatar .yc-avatar-image{overflow:hidden;display:inline-block;width:100%;height:100%}.yc-avatar .yc-avatar-image>img{width:100%;height:100%}.yc-avatar .yc-avatar-image .yc-avatar-image-icon{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.yc-avatar .yc-avatar-trigger-icon-button{position:absolute;right:-4px;bottom:-4px;z-index:1001;cursor:pointer;width:20px;height:20px;background-color:var(--color-neutral-2);border-radius:var(--border-radius-circle);color:var(--color-fill-4);font-size:12px;line-height:20px;text-align:center;transition:background-color .1s cubic-bezier(0, 0, 1, 1)}.yc-avatar .yc-avatar-trigger-icon-mask{z-index:1001;position:absolute;width:100%;height:100%;cursor:pointer;background-color:var(--color-mask-bg);opacity:0;color:var(--color-white);font-size:16px;transition:all .1s cubic-bezier(0, 0, 1, 1);display:flex;justify-content:center;align-items:center}.yc-avatar-shape-round{border-radius:var(--border-radius-circle)}.yc-avatar-shape-round .yc-avatar-image,.yc-avatar-shape-round .yc-avatar-trigger-icon-mask{border-radius:var(--border-radius-circle)}.yc-avatar-shape-square{border-radius:var(--border-radius-medium)}.yc-avatar-shape-square .yc-avatar-image,.yc-avatar-shape-square .yc-avatar-trigger-icon-mask{border-radius:var(--border-radius-medium)}.yc-avatar-group{height:fit-content;width:fit-content;display:inline-flex;align-items:center}.yc-avatar-group .yc-avatar{flex-shrink:0;border:2px solid var(--color-bg-2)}
|
package/es/BackTop/index.vue.js
CHANGED
@@ -5,7 +5,9 @@ import { isUndefined } from "../_shared/utils/is.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
7
7
|
import "../_shared/utils/locale.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
|
+
/* empty css */
|
10
|
+
/* empty css */
|
9
11
|
import _sfc_main$1 from "../_shared/icons/IconToTop.vue.js";
|
10
12
|
import Tween from "../node_modules/b-tween/dist/b-tween.es.js";
|
11
13
|
import { useEventListener } from "../node_modules/@vueuse/core/index.js";
|
package/es/Badge/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-badge{position:relative;display:inline-block;line-height:1}.yc-badge .yc-badge-dot,.yc-badge .yc-badge-text,.yc-badge .yc-badge-number,.yc-badge .yc-badge-custom-dot{z-index:2;position:absolute;top:2px;right:2px;transform:translate(50%, -50%);transform-origin:100% 0%;overflow:hidden;background-color:rgb(var(--danger-6));border-radius:20px;box-shadow:0 0 0 2px var(--color-bg-1);text-align:center}.yc-badge .yc-badge-dot.yc-badge-dot,.yc-badge .yc-badge-text.yc-badge-dot,.yc-badge .yc-badge-number.yc-badge-dot,.yc-badge .yc-badge-custom-dot.yc-badge-dot{width:6px;height:6px;border-radius:
|
1
|
+
.yc-badge{position:relative;display:inline-block;line-height:1}.yc-badge .yc-badge-dot,.yc-badge .yc-badge-text,.yc-badge .yc-badge-number,.yc-badge .yc-badge-custom-dot{z-index:2;position:absolute;top:2px;right:2px;transform:translate(50%, -50%);transform-origin:100% 0%;overflow:hidden;background-color:rgb(var(--danger-6));border-radius:20px;box-shadow:0 0 0 2px var(--color-bg-1);text-align:center}.yc-badge .yc-badge-dot.yc-badge-dot,.yc-badge .yc-badge-text.yc-badge-dot,.yc-badge .yc-badge-number.yc-badge-dot,.yc-badge .yc-badge-custom-dot.yc-badge-dot{width:6px;height:6px;border-radius:var(--border-radius-circle)}.yc-badge .yc-badge-dot.yc-badge-custom-dot,.yc-badge .yc-badge-text.yc-badge-custom-dot,.yc-badge .yc-badge-number.yc-badge-custom-dot,.yc-badge .yc-badge-custom-dot.yc-badge-custom-dot{background-color:var(--color-bg-1);box-shadow:none}.yc-badge .yc-badge-dot.yc-badge-text,.yc-badge .yc-badge-text.yc-badge-text,.yc-badge .yc-badge-number.yc-badge-text,.yc-badge .yc-badge-custom-dot.yc-badge-text,.yc-badge .yc-badge-dot.yc-badge-number,.yc-badge .yc-badge-text.yc-badge-number,.yc-badge .yc-badge-number.yc-badge-number,.yc-badge .yc-badge-custom-dot.yc-badge-number{min-width:20px;height:20px;padding:0 6px;color:var(--color-white);font-weight:500;font-size:12px;line-height:20px}.yc-badge .yc-badge-stauts-wrapper{display:inline-flex;align-items:center;gap:8px}.yc-badge .yc-badge-stauts-wrapper .yc-badge-stauts-dot{width:6px;height:6px;border-radius:var(--border-radius-circle)}.yc-badge .yc-badge-stauts-wrapper .yc-badge-status-text{color:var(--color-text-1);font-size:12px;line-height:1.5715}.yc-badge-no-children .yc-badge-dot,.yc-badge-no-children .yc-badge-text,.yc-badge-no-children .yc-badge-number,.yc-badge-no-children .yc-badge-custom-dot{position:relative;transform:none;left:unset;right:unset}.yc-badge-status-normal{background-color:rgb(var(--gray-4))}.yc-badge-status-success{background-color:rgb(var(--success-6))}.yc-badge-status-danger{background-color:rgb(var(--danger-6))}.yc-badge-status-processing{background-color:rgb(var(--primary-6))}.yc-badge-status-warning{background-color:rgb(var(--warning-6))}.yc-badge-color-red{background-color:rgb(var(--red-6))}.yc-badge-color-orangered{background-color:rgb(var(--orangered-6))}.yc-badge-color-orange{background-color:rgb(var(--orange-6))}.yc-badge-color-gold{background-color:rgb(var(--gold-6))}.yc-badge-color-lime{background-color:rgb(var(--lime-6))}.yc-badge-color-green{background-color:rgb(var(--green-6))}.yc-badge-color-cyan{background-color:rgb(var(--cyan-6))}.yc-badge-color-blue{background-color:rgb(var(--blue-6))}.yc-badge-color-arcoblue{background-color:rgb(var(--arcoblue-6))}.yc-badge-color-purple{background-color:rgb(var(--purple-6))}.yc-badge-color-pinkpurple{background-color:rgb(var(--pinkpurple-6))}.yc-badge-color-magenta{background-color:rgb(var(--magenta-6))}.yc-badge-color-gray{background-color:rgb(var(--gray-6))}
|
@@ -4,7 +4,9 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
4
4
|
import "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
|
+
/* empty css */
|
9
|
+
/* empty css */
|
8
10
|
import Dropdown from "../Dropdown/index.js";
|
9
11
|
import _sfc_main$2 from "../Dropdown/Doption.vue.js";
|
10
12
|
/* empty css */
|
@@ -3,7 +3,9 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../_shared/utils/locale.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
|
+
/* empty css */
|
8
|
+
/* empty css */
|
7
9
|
import _sfc_main$2 from "../_shared/icons/IconMore.vue.js";
|
8
10
|
import _sfc_main$1 from "./BreadcrumbItem.vue.js";
|
9
11
|
/* empty css */
|
@@ -4,8 +4,10 @@ import "../_shared/utils/dom.js";
|
|
4
4
|
import { isUndefined } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css
|
8
|
-
|
7
|
+
/* empty css */
|
8
|
+
/* empty css */
|
9
|
+
/* empty css */
|
10
|
+
import _sfc_main$1 from "../_shared/icons/IconSeparator.vue2.js";
|
9
11
|
const _hoisted_1 = { class: "yc-breadcrumb-item-separator" };
|
10
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
11
13
|
__name: "BreadcrumbSeparator",
|
package/es/Breadcrumb/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-breadcrumb{display:inline-flex;align-items:center;color:var(--color-text-2);font-size:14px}.yc-breadcrumb .yc-breadcrumb-item:last-child{color:var(--color-text-1);font-weight:500}.yc-breadcrumb-item{line-height:24px;padding:0 4px;display:inline-flex;align-items:center}.yc-breadcrumb-item a{color:inherit;padding:0 4px;margin:0 -4px;border-radius:
|
1
|
+
.yc-breadcrumb{display:inline-flex;align-items:center;color:var(--color-text-2);font-size:14px}.yc-breadcrumb .yc-breadcrumb-item:last-child{color:var(--color-text-1);font-weight:500}.yc-breadcrumb-item{line-height:24px;padding:0 4px;display:inline-flex;align-items:center}.yc-breadcrumb-item a{color:inherit;padding:0 4px;margin:0 -4px;border-radius:var(--border-radius-small);background-color:transparent}.yc-breadcrumb-item a:hover{color:var(--primary-6);background-color:var(--color-fill-2)}.yc-breadcrumb-item .yc-breadcrumb-item-dropdown-icon{margin-left:4px;font-size:12px}.yc-breadcrumb-item-separator{margin:0 4px;min-width:14px;font-size:14px;line-height:24px;color:var(--color-text-4);display:flex;justify-content:center;align-items:center}
|
package/es/Button/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-button{cursor:pointer;user-select:none;outline:none;border:1px solid transparent;font-weight:400;transition:all .1s cubic-bezier(0, 0, 1, 1);display:inline-flex;justify-content:center;align-items:center}.yc-button .yc-button-icon{flex-shrink:0;display:flex;justify-content:center;align-items:center}.yc-button .yc-button-icon .yc-spin{font-size:inherit;color:inherit}.yc-button-loading{cursor:default;position:relative}.yc-button-loading::before{content:'';display:block;z-index:1;position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;background-color:#fff;opacity:.4}.yc-button-disabled{opacity:.4;cursor:not-allowed}.yc-button-long{width:100%}.yc-button.yc-button-primary.yc-button-status-normal{color:var(--color-white);background-color:rgb(var(--primary-6))}.yc-button.yc-button-primary.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:rgb(var(--primary-5))}.yc-button.yc-button-primary.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:rgb(var(--primary-7))}.yc-button.yc-button-primary.yc-button-status-warning{color:var(--color-white);background-color:rgb(var(--warning-6))}.yc-button.yc-button-primary.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:rgb(var(--warning-5))}.yc-button.yc-button-primary.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:rgb(var(--warning-7))}.yc-button.yc-button-primary.yc-button-status-success{color:var(--color-white);background-color:rgb(var(--success-6))}.yc-button.yc-button-primary.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:rgb(var(--success-5))}.yc-button.yc-button-primary.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:rgb(var(--success-7))}.yc-button.yc-button-primary.yc-button-status-danger{color:var(--color-white);background-color:rgb(var(--danger-6))}.yc-button.yc-button-primary.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:rgb(var(--danger-5))}.yc-button.yc-button-primary.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:rgb(var(--danger-7))}.yc-button.yc-button-secondary.yc-button-status-normal{color:var(--color-text-2);background-color:var(--color-fill-2)}.yc-button.yc-button-secondary.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-3)}.yc-button.yc-button-secondary.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-4)}.yc-button.yc-button-secondary.yc-button-status-warning{color:rgb(var(--warning-6));background-color:var(--color-warning-light-1)}.yc-button.yc-button-secondary.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-warning-light-2)}.yc-button.yc-button-secondary.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-warning-light-3)}.yc-button.yc-button-secondary.yc-button-status-success{color:rgb(var(--success-6));background-color:var(--color-success-light-1)}.yc-button.yc-button-secondary.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-success-light-2)}.yc-button.yc-button-secondary.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-success-light-3)}.yc-button.yc-button-secondary.yc-button-status-danger{color:rgb(var(--danger-6));background-color:var(--color-danger-light-1)}.yc-button.yc-button-secondary.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-danger-light-2)}.yc-button.yc-button-secondary.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-danger-light-3)}.yc-button.yc-button-dashed.yc-button-status-normal{color:var(--color-text-2);background-color:transparent;border-color:var(--color-border-2);border-style:dashed}.yc-button.yc-button-dashed.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-2);border-color:var(--color-border-3)}.yc-button.yc-button-dashed.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:var(--color-border-4);background-color:var(--color-fill-3)}.yc-button.yc-button-dashed.yc-button-status-warning{color:rgb(var(--warning-6));background-color:var(--color-warning-light-1);border-color:rgb(var(--warning-2));border-style:dashed}.yc-button.yc-button-dashed.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-warning-light-2);border-color:rgb(var(--warning-3))}.yc-button.yc-button-dashed.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--warning-4));background-color:var(--color-warning-light-3)}.yc-button.yc-button-dashed.yc-button-status-success{color:rgb(var(--success-6));background-color:var(--color-success-light-1);border-color:rgb(var(--success-2));border-style:dashed}.yc-button.yc-button-dashed.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-success-light-2);border-color:rgb(var(--success-3))}.yc-button.yc-button-dashed.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--success-4));background-color:var(--color-success-light-3)}.yc-button.yc-button-dashed.yc-button-status-danger{color:rgb(var(--danger-6));background-color:var(--color-danger-light-1);border-color:rgb(var(--danger-2));border-style:dashed}.yc-button.yc-button-dashed.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-danger-light-2);border-color:rgb(var(--danger-3))}.yc-button.yc-button-dashed.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--danger-4));background-color:var(--color-danger-light-3)}.yc-button.yc-button-outline.yc-button-status-normal{color:rgb(var(--primary-6));background-color:transparent;border-color:rgb(var(--primary-6))}.yc-button.yc-button-outline.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{color:rgb(var(--primary-5));border-color:rgb(var(--primary-5))}.yc-button.yc-button-outline.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--primary-7));color:rgb(var(--primary-7))}.yc-button.yc-button-outline.yc-button-status-warning{color:rgb(var(--warning-6));background-color:transparent;border-color:rgb(var(--warning-6))}.yc-button.yc-button-outline.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{color:rgb(var(--warning-5));border-color:rgb(var(--warning-5))}.yc-button.yc-button-outline.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--warning-7));color:rgb(var(--warning-7))}.yc-button.yc-button-outline.yc-button-status-success{color:rgb(var(--success-6));background-color:transparent;border-color:rgb(var(--success-6))}.yc-button.yc-button-outline.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{color:rgb(var(--success-5));border-color:rgb(var(--success-5))}.yc-button.yc-button-outline.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--success-7));color:rgb(var(--success-7))}.yc-button.yc-button-outline.yc-button-status-danger{color:rgb(var(--danger-6));background-color:transparent;border-color:rgb(var(--danger-6))}.yc-button.yc-button-outline.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{color:rgb(var(--danger-5));border-color:rgb(var(--danger-5))}.yc-button.yc-button-outline.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--danger-7));color:rgb(var(--danger-7))}.yc-button.yc-button-text.yc-button-status-normal{color:rgb(var(--primary-6));background-color:transparent}.yc-button.yc-button-text.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-2)}.yc-button.yc-button-text.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-3)}.yc-button.yc-button-text.yc-button-status-warning{color:rgb(var(--warning-6));background-color:transparent}.yc-button.yc-button-text.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-2)}.yc-button.yc-button-text.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-3)}.yc-button.yc-button-text.yc-button-status-success{color:rgb(var(--success-6));background-color:transparent}.yc-button.yc-button-text.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-2)}.yc-button.yc-button-text.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-3)}.yc-button.yc-button-text.yc-button-status-danger{color:rgb(var(--danger-6));background-color:transparent}.yc-button.yc-button-text.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-2)}.yc-button.yc-button-text.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-3)}.yc-button-size-mini{height:24px;padding:0 11px;font-size:12px}.yc-button-size-mini .yc-button-icon{width:12px;height:12px;margin-right:4px}.yc-button-size-mini.yc-button-shape-circle{width:24px;padding:0}.yc-button-size-mini.yc-button-only-icon{width:24px;padding:0}.yc-button-size-mini.yc-button-only-icon .yc-button-icon{margin:0 }.yc-button-size-small{height:28px;padding:0 15px;font-size:14px}.yc-button-size-small .yc-button-icon{width:14px;height:14px;margin-right:6px}.yc-button-size-small.yc-button-shape-circle{width:28px;padding:0}.yc-button-size-small.yc-button-only-icon{width:28px;padding:0}.yc-button-size-small.yc-button-only-icon .yc-button-icon{margin:0 }.yc-button-size-medium{height:32px;padding:0 15px;font-size:14px}.yc-button-size-medium .yc-button-icon{width:14px;height:14px;margin-right:8px}.yc-button-size-medium.yc-button-shape-circle{width:32px;padding:0}.yc-button-size-medium.yc-button-only-icon{width:32px;padding:0}.yc-button-size-medium.yc-button-only-icon .yc-button-icon{margin:0 }.yc-button-size-large{height:36px;padding:0 19px;font-size:14px}.yc-button-size-large .yc-button-icon{width:14px;height:14px;margin-right:8px}.yc-button-size-large.yc-button-shape-circle{width:36px;padding:0}.yc-button-size-large.yc-button-only-icon{width:36px;padding:0}.yc-button-size-large.yc-button-only-icon .yc-button-icon{margin:0 }.yc-button-shape-square{border-radius:2px}.yc-button-shape-round{border-radius:30px}.yc-button-shape-circle{border-radius:50%}.yc-button-group{display:inline-flex;align-items:center}.yc-button-group .yc-button{flex-shrink:0}.yc-button-group .yc-button:not(:first-child):not(:last-child){border-radius:0}.yc-button-group .yc-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.yc-button-group .yc-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0;border-right:none}.yc-button-group-dashed .yc-button:not(:first-child),.yc-button-group-outline .yc-button:not(:first-child){border-left:none}.yc-button-group-primary .yc-button:not(:last-child),.yc-button-group-status-primary .yc-button:not(:last-child){border-right:1px solid rgb(var(--primary-5))}.yc-button-group-secondary .yc-button:not(:last-child),.yc-button-group-status-secondary .yc-button:not(:last-child){border-right:1px solid var(--color-secondary-hover)}.yc-button-group-warning .yc-button:not(:last-child),.yc-button-group-status-warning .yc-button:not(:last-child){border-right:1px solid rgb(var(--warning-5))}.yc-button-group-success .yc-button:not(:last-child),.yc-button-group-status-success .yc-button:not(:last-child){border-right:1px solid rgb(var(--success-5))}.yc-button-group-danger .yc-button:not(:last-child),.yc-button-group-status-danger .yc-button:not(:last-child){border-right:1px solid rgb(var(--danger-5))}
|
1
|
+
.yc-button{cursor:pointer;user-select:none;outline:none;border:1px solid transparent;font-weight:400;transition:all .1s cubic-bezier(0, 0, 1, 1);display:inline-flex;justify-content:center;align-items:center}.yc-button .yc-button-icon{flex-shrink:0;display:flex;justify-content:center;align-items:center}.yc-button .yc-button-icon .yc-spin{font-size:inherit;color:inherit}.yc-button-loading{cursor:default;position:relative}.yc-button-loading::before{content:'';display:block;z-index:1;position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;background-color:#fff;opacity:.4}.yc-button-disabled{opacity:.4;cursor:not-allowed}.yc-button-long{width:100%}.yc-button.yc-button-primary.yc-button-status-normal{color:var(--color-white);background-color:rgb(var(--primary-6))}.yc-button.yc-button-primary.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:rgb(var(--primary-5))}.yc-button.yc-button-primary.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:rgb(var(--primary-7))}.yc-button.yc-button-primary.yc-button-status-warning{color:var(--color-white);background-color:rgb(var(--warning-6))}.yc-button.yc-button-primary.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:rgb(var(--warning-5))}.yc-button.yc-button-primary.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:rgb(var(--warning-7))}.yc-button.yc-button-primary.yc-button-status-success{color:var(--color-white);background-color:rgb(var(--success-6))}.yc-button.yc-button-primary.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:rgb(var(--success-5))}.yc-button.yc-button-primary.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:rgb(var(--success-7))}.yc-button.yc-button-primary.yc-button-status-danger{color:var(--color-white);background-color:rgb(var(--danger-6))}.yc-button.yc-button-primary.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:rgb(var(--danger-5))}.yc-button.yc-button-primary.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:rgb(var(--danger-7))}.yc-button.yc-button-secondary.yc-button-status-normal{color:var(--color-text-2);background-color:var(--color-fill-2)}.yc-button.yc-button-secondary.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-3)}.yc-button.yc-button-secondary.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-4)}.yc-button.yc-button-secondary.yc-button-status-warning{color:rgb(var(--warning-6));background-color:var(--color-warning-light-1)}.yc-button.yc-button-secondary.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-warning-light-2)}.yc-button.yc-button-secondary.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-warning-light-3)}.yc-button.yc-button-secondary.yc-button-status-success{color:rgb(var(--success-6));background-color:var(--color-success-light-1)}.yc-button.yc-button-secondary.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-success-light-2)}.yc-button.yc-button-secondary.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-success-light-3)}.yc-button.yc-button-secondary.yc-button-status-danger{color:rgb(var(--danger-6));background-color:var(--color-danger-light-1)}.yc-button.yc-button-secondary.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-danger-light-2)}.yc-button.yc-button-secondary.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-danger-light-3)}.yc-button.yc-button-dashed.yc-button-status-normal{color:var(--color-text-2);background-color:transparent;border-color:var(--color-border-2);border-style:dashed}.yc-button.yc-button-dashed.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-2);border-color:var(--color-border-3)}.yc-button.yc-button-dashed.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:var(--color-border-4);background-color:var(--color-fill-3)}.yc-button.yc-button-dashed.yc-button-status-warning{color:rgb(var(--warning-6));background-color:var(--color-warning-light-1);border-color:rgb(var(--warning-2));border-style:dashed}.yc-button.yc-button-dashed.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-warning-light-2);border-color:rgb(var(--warning-3))}.yc-button.yc-button-dashed.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--warning-4));background-color:var(--color-warning-light-3)}.yc-button.yc-button-dashed.yc-button-status-success{color:rgb(var(--success-6));background-color:var(--color-success-light-1);border-color:rgb(var(--success-2));border-style:dashed}.yc-button.yc-button-dashed.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-success-light-2);border-color:rgb(var(--success-3))}.yc-button.yc-button-dashed.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--success-4));background-color:var(--color-success-light-3)}.yc-button.yc-button-dashed.yc-button-status-danger{color:rgb(var(--danger-6));background-color:var(--color-danger-light-1);border-color:rgb(var(--danger-2));border-style:dashed}.yc-button.yc-button-dashed.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-danger-light-2);border-color:rgb(var(--danger-3))}.yc-button.yc-button-dashed.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--danger-4));background-color:var(--color-danger-light-3)}.yc-button.yc-button-outline.yc-button-status-normal{color:rgb(var(--primary-6));background-color:transparent;border-color:rgb(var(--primary-6))}.yc-button.yc-button-outline.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{color:rgb(var(--primary-5));border-color:rgb(var(--primary-5))}.yc-button.yc-button-outline.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--primary-7));color:rgb(var(--primary-7))}.yc-button.yc-button-outline.yc-button-status-warning{color:rgb(var(--warning-6));background-color:transparent;border-color:rgb(var(--warning-6))}.yc-button.yc-button-outline.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{color:rgb(var(--warning-5));border-color:rgb(var(--warning-5))}.yc-button.yc-button-outline.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--warning-7));color:rgb(var(--warning-7))}.yc-button.yc-button-outline.yc-button-status-success{color:rgb(var(--success-6));background-color:transparent;border-color:rgb(var(--success-6))}.yc-button.yc-button-outline.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{color:rgb(var(--success-5));border-color:rgb(var(--success-5))}.yc-button.yc-button-outline.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--success-7));color:rgb(var(--success-7))}.yc-button.yc-button-outline.yc-button-status-danger{color:rgb(var(--danger-6));background-color:transparent;border-color:rgb(var(--danger-6))}.yc-button.yc-button-outline.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{color:rgb(var(--danger-5));border-color:rgb(var(--danger-5))}.yc-button.yc-button-outline.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--danger-7));color:rgb(var(--danger-7))}.yc-button.yc-button-text.yc-button-status-normal{color:rgb(var(--primary-6));background-color:transparent}.yc-button.yc-button-text.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-2)}.yc-button.yc-button-text.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-3)}.yc-button.yc-button-text.yc-button-status-warning{color:rgb(var(--warning-6));background-color:transparent}.yc-button.yc-button-text.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-2)}.yc-button.yc-button-text.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-3)}.yc-button.yc-button-text.yc-button-status-success{color:rgb(var(--success-6));background-color:transparent}.yc-button.yc-button-text.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-2)}.yc-button.yc-button-text.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-3)}.yc-button.yc-button-text.yc-button-status-danger{color:rgb(var(--danger-6));background-color:transparent}.yc-button.yc-button-text.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-2)}.yc-button.yc-button-text.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-3)}.yc-button-size-mini{height:24px;padding:0 11px;font-size:12px}.yc-button-size-mini .yc-button-icon{width:12px;height:12px;margin-right:4px}.yc-button-size-mini.yc-button-shape-circle{width:24px;padding:0}.yc-button-size-mini.yc-button-only-icon{width:24px;padding:0}.yc-button-size-mini.yc-button-only-icon .yc-button-icon{margin:0 }.yc-button-size-small{height:28px;padding:0 15px;font-size:14px}.yc-button-size-small .yc-button-icon{width:14px;height:14px;margin-right:6px}.yc-button-size-small.yc-button-shape-circle{width:28px;padding:0}.yc-button-size-small.yc-button-only-icon{width:28px;padding:0}.yc-button-size-small.yc-button-only-icon .yc-button-icon{margin:0 }.yc-button-size-medium{height:32px;padding:0 15px;font-size:14px}.yc-button-size-medium .yc-button-icon{width:14px;height:14px;margin-right:8px}.yc-button-size-medium.yc-button-shape-circle{width:32px;padding:0}.yc-button-size-medium.yc-button-only-icon{width:32px;padding:0}.yc-button-size-medium.yc-button-only-icon .yc-button-icon{margin:0 }.yc-button-size-large{height:36px;padding:0 19px;font-size:14px}.yc-button-size-large .yc-button-icon{width:14px;height:14px;margin-right:8px}.yc-button-size-large.yc-button-shape-circle{width:36px;padding:0}.yc-button-size-large.yc-button-only-icon{width:36px;padding:0}.yc-button-size-large.yc-button-only-icon .yc-button-icon{margin:0 }.yc-button-shape-square{border-radius:var(--border-radius-small)}.yc-button-shape-round{border-radius:30px}.yc-button-shape-circle{border-radius:var(--border-radius-circle)}.yc-button-group{display:inline-flex;align-items:center}.yc-button-group .yc-button{flex-shrink:0}.yc-button-group .yc-button:not(:first-child):not(:last-child){border-radius:var(--border-radius-none)}.yc-button-group .yc-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.yc-button-group .yc-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0;border-right:none}.yc-button-group-dashed .yc-button:not(:first-child),.yc-button-group-outline .yc-button:not(:first-child){border-left:none}.yc-button-group-primary .yc-button:not(:last-child),.yc-button-group-status-primary .yc-button:not(:last-child){border-right:1px solid rgb(var(--primary-5))}.yc-button-group-secondary .yc-button:not(:last-child),.yc-button-group-status-secondary .yc-button:not(:last-child){border-right:1px solid var(--color-secondary-hover)}.yc-button-group-warning .yc-button:not(:last-child),.yc-button-group-status-warning .yc-button:not(:last-child){border-right:1px solid rgb(var(--warning-5))}.yc-button-group-success .yc-button:not(:last-child),.yc-button-group-status-success .yc-button:not(:last-child){border-right:1px solid rgb(var(--success-5))}.yc-button-group-danger .yc-button:not(:last-child),.yc-button-group-status-danger .yc-button:not(:last-child){border-right:1px solid rgb(var(--danger-5))}
|
@@ -5,11 +5,11 @@ import "../_shared/utils/dom.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import { useI18n } from "../_shared/utils/locale.js";
|
7
7
|
import useControlValue from "../_shared/utils/control.js";
|
8
|
-
|
8
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
9
|
+
/* empty css */
|
10
|
+
/* empty css */
|
11
|
+
/* empty css */
|
9
12
|
import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
|
10
|
-
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
11
|
-
/* empty css */
|
12
|
-
/* empty css */
|
13
13
|
import Button from "../Button/index.js";
|
14
14
|
import "../Radio/index.js";
|
15
15
|
import _sfc_main$4 from "./CalendarMonth.vue.js";
|
package/es/Calendar/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-calendar{border:1px solid var(--color-neutral-3);display:flex;flex-direction:column}.yc-calendar .yc-calendar-header{padding:24px;display:flex;align-items:center;justify-content:space-between;gap:8px}.yc-calendar .yc-calendar-header .yc-calendar-header-left{display:flex;align-items:center;gap:12px}.yc-calendar .yc-calendar-header .yc-calendar-header-left .yc-calendar-header-icon{font-size:12px}.yc-calendar .yc-calendar-header .yc-calendar-header-left .yc-calendar-header-value{color:var(--color-text-1);font-weight:500;font-size:20px}.yc-calendar-month{display:flex;flex-direction:column}.yc-calendar-month .yc-calendar-week-list{height:55px;width:100%;padding:0;border-bottom:1px solid var(--color-neutral-3);display:flex}.yc-calendar-month .yc-calendar-week-list .yc-calendar-week-list-item{flex:1;padding:20px 16px;color:var(--color-text-3);text-align:left;font-size:14px}.yc-calendar-month .yc-calendar-month-cell-body{display:flex;flex-direction:column}.yc-calendar-month .yc-calendar-month-cell-body .yc-calendar-month-row{display:flex;height:100px}.yc-calendar-month .yc-calendar-month-cell-body .yc-calendar-month-row:not(:last-child){border-bottom:1px solid var(--color-neutral-3)}.yc-calendar-month .yc-calendar-month-cell-body .yc-calendar-month-row .yc-calendar-cell{width:calc(100% / 7)}.yc-calendar-month .yc-calendar-month-cell-body .yc-calendar-month-row .yc-calendar-cell:not(:last-child){border-right:1px solid var(--color-neutral-3)}.yc-calendar-month .yc-calendar-month-cell-body .yc-calendar-month-row .yc-calendar-cell .yc-calendar-date{width:100%;height:100%;padding:10px;cursor:pointer}.yc-calendar-month .yc-calendar-month-cell-body .yc-calendar-month-row .yc-calendar-cell .yc-calendar-date .yc-calendar-date-value{color:var(--color-text-4);font-weight:500;font-size:16px}.yc-calendar-month .yc-calendar-month-cell-body .yc-calendar-month-row .yc-calendar-cell .yc-calendar-date .yc-calendar-date-value .yc-calendar-date-circle{width:28px;height:28px;border-radius:
|
1
|
+
.yc-calendar{border:1px solid var(--color-neutral-3);display:flex;flex-direction:column}.yc-calendar .yc-calendar-header{padding:24px;display:flex;align-items:center;justify-content:space-between;gap:8px}.yc-calendar .yc-calendar-header .yc-calendar-header-left{display:flex;align-items:center;gap:12px}.yc-calendar .yc-calendar-header .yc-calendar-header-left .yc-calendar-header-icon{font-size:12px}.yc-calendar .yc-calendar-header .yc-calendar-header-left .yc-calendar-header-value{color:var(--color-text-1);font-weight:500;font-size:20px}.yc-calendar-month{display:flex;flex-direction:column}.yc-calendar-month .yc-calendar-week-list{height:55px;width:100%;padding:0;border-bottom:1px solid var(--color-neutral-3);display:flex}.yc-calendar-month .yc-calendar-week-list .yc-calendar-week-list-item{flex:1;padding:20px 16px;color:var(--color-text-3);text-align:left;font-size:14px}.yc-calendar-month .yc-calendar-month-cell-body{display:flex;flex-direction:column}.yc-calendar-month .yc-calendar-month-cell-body .yc-calendar-month-row{display:flex;height:100px}.yc-calendar-month .yc-calendar-month-cell-body .yc-calendar-month-row:not(:last-child){border-bottom:1px solid var(--color-neutral-3)}.yc-calendar-month .yc-calendar-month-cell-body .yc-calendar-month-row .yc-calendar-cell{width:calc(100% / 7)}.yc-calendar-month .yc-calendar-month-cell-body .yc-calendar-month-row .yc-calendar-cell:not(:last-child){border-right:1px solid var(--color-neutral-3)}.yc-calendar-month .yc-calendar-month-cell-body .yc-calendar-month-row .yc-calendar-cell .yc-calendar-date{width:100%;height:100%;padding:10px;cursor:pointer}.yc-calendar-month .yc-calendar-month-cell-body .yc-calendar-month-row .yc-calendar-cell .yc-calendar-date .yc-calendar-date-value{color:var(--color-text-4);font-weight:500;font-size:16px}.yc-calendar-month .yc-calendar-month-cell-body .yc-calendar-month-row .yc-calendar-cell .yc-calendar-date .yc-calendar-date-value .yc-calendar-date-circle{width:28px;height:28px;border-radius:var(--border-radius-circle);display:flex;align-items:center;justify-content:center}.yc-calendar-month .yc-calendar-month-cell-body .yc-calendar-month-row .yc-calendar-cell-in-view .yc-calendar-date .yc-calendar-date-value{color:var(--color-text-1)}.yc-calendar-month .yc-calendar-month-cell-body .yc-calendar-month-row .yc-calendar-cell-today .yc-calendar-date .yc-calendar-date-value .yc-calendar-date-circle{border:1px solid rgb(var(--primary-6))}.yc-calendar-month .yc-calendar-month-cell-body .yc-calendar-month-row .yc-calendar-cell-selected .yc-calendar-date .yc-calendar-date-value .yc-calendar-date-circle{border:1px solid rgb(var(--primary-6));color:var(--color-white);background-color:rgb(var(--primary-6))}.yc-calendar-month.yc-calendar-month-small{border:none}.yc-calendar-month.yc-calendar-month-small .yc-calendar-week-list{height:24px;border:none}.yc-calendar-month.yc-calendar-month-small .yc-calendar-week-list .yc-calendar-week-list-item{flex:1;flex-shrink:0;padding:6px}.yc-calendar-month.yc-calendar-month-small .yc-calendar-month-cell-body .yc-calendar-month-row{height:26px;border:none}.yc-calendar-month.yc-calendar-month-small .yc-calendar-month-cell-body .yc-calendar-month-row .yc-calendar-cell{flex:1;flex-shrink:0;border:none}.yc-calendar-month.yc-calendar-month-small .yc-calendar-month-cell-body .yc-calendar-month-row .yc-calendar-cell .yc-calendar-date{padding:2px}.yc-calendar-month.yc-calendar-month-small .yc-calendar-month-cell-body .yc-calendar-month-row .yc-calendar-cell .yc-calendar-date .yc-calendar-date-value{font-size:14px}.yc-calendar-month.yc-calendar-month-small .yc-calendar-month-cell-body .yc-calendar-month-row .yc-calendar-cell .yc-calendar-date .yc-calendar-date-value .yc-calendar-date-circle{width:22px;height:22px}.yc-calendar-mode-year{padding:12px;min-width:875px}.yc-calendar-mode-year .yc-calendar-year-row{display:flex}.yc-calendar-mode-year .yc-calendar-year-row:not(:last-child){border-bottom:1px solid var(--color-neutral-3)}.yc-calendar-mode-year .yc-calendar-year-row .yc-calendar-year-cell{flex-shrink:0;flex:1;padding:20px 8px}.yc-calendar-mode-year .yc-calendar-year-row .yc-calendar-year-cell:not(:last-child){border-right:1px solid var(--color-neutral-3)}.yc-calendar-mode-year .yc-calendar-year-row .yc-calendar-year-cell .yc-calendar-year-cell-title{padding:10px 6px;color:var(--color-text-1);font-weight:500;font-size:16px}
|
package/es/Card/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-card{position:relative;background:var(--color-bg-2);transition:box-shadow .2s cubic-bezier(0, 0, 1, 1),-webkit-box-shadow .2s cubic-bezier(0, 0, 1, 1);font-size:14px;display:flex;flex-direction:column}.yc-card .yc-card-header{overflow:hidden;border-bottom:1px solid var(--color-neutral-3);display:flex;justify-content:space-between;align-items:center}.yc-card .yc-card-header .yc-card-header-title{flex:1;font-size:16px;color:var(--color-text-1);font-weight:500;line-height:1.5715}.yc-card .yc-card-header .yc-card-header-extra{color:rgb(var(--primary-6))}.yc-card .yc-card-body{color:var(--color-text-2)}.yc-card .yc-card-body .yc-card-cover{overflow:hidden}.yc-card .yc-card-body .yc-card-actions{margin-top:20px;display:flex;align-items:center;justify-content:flex-end}.yc-card .yc-card-body .yc-card-actions .yc-card-actions-right{cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--color-text-2);transition:color .2s cubic-bezier(0, 0, 1, 1)}.yc-card-bordered{border:1px solid var(--color-neutral-3);border-radius:
|
1
|
+
.yc-card{position:relative;background:var(--color-bg-2);transition:box-shadow .2s cubic-bezier(0, 0, 1, 1),-webkit-box-shadow .2s cubic-bezier(0, 0, 1, 1);font-size:14px;display:flex;flex-direction:column}.yc-card .yc-card-header{overflow:hidden;border-bottom:1px solid var(--color-neutral-3);display:flex;justify-content:space-between;align-items:center}.yc-card .yc-card-header .yc-card-header-title{flex:1;font-size:16px;color:var(--color-text-1);font-weight:500;line-height:1.5715}.yc-card .yc-card-header .yc-card-header-extra{color:rgb(var(--primary-6))}.yc-card .yc-card-body{color:var(--color-text-2)}.yc-card .yc-card-body .yc-card-cover{overflow:hidden}.yc-card .yc-card-body .yc-card-actions{margin-top:20px;display:flex;align-items:center;justify-content:flex-end}.yc-card .yc-card-body .yc-card-actions .yc-card-actions-right{cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--color-text-2);transition:color .2s cubic-bezier(0, 0, 1, 1)}.yc-card-bordered{border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-small)}.yc-card-bordered .yc-card-body .yc-card-cover{border-radius:var(--border-radius-small) var(--border-radius-small) 0 0}.yc-card-hoverable:hover{box-shadow:0 4px 10px rgb(var(--gray-2))}.yc-card-loading .yc-card-body .yc-spin{width:100%}.yc-card.yc-card-contain-grid>.yc-card-body{margin:0 -1px;padding:0;display:flex;flex-wrap:wrap}.yc-card-size-mini .yc-card-header{height:40px;padding:10px 16px}.yc-card-size-mini .yc-card-body{padding:16px 16px}.yc-card-size-small .yc-card-header{height:40px;padding:8px 16px}.yc-card-size-small .yc-card-body{padding:12px 16px}.yc-card-size-medium .yc-card-header{height:46px;padding:10px 16px}.yc-card-size-medium .yc-card-body{padding:16px 16px}.yc-card-size-large .yc-card-header{height:40px;padding:10px 16px}.yc-card-size-large .yc-card-body{padding:16px 16px}.yc-card-meta{display:flex;flex-direction:column;gap:20px}.yc-card-meta .yc-card-meta-content{display:flex;flex-direction:column;gap:4px}.yc-card-meta .yc-card-meta-content .yc-card-meta-title{font-size:16px;color:var(--color-text-1);font-weight:500;line-height:24px}.yc-card-meta .yc-card-meta-content .yc-card-meta-description{font-size:14px;color:var(--color-text-2);font-weight:500;line-height:21px}.yc-card-meta .yc-card-meta-footer{display:flex;justify-content:space-between}.yc-card-meta .yc-card-meta-footer .yc-card-actions{display:flex;align-items:center;justify-content:flex-end}.yc-card-meta .yc-card-meta-footer .yc-card-actions .yc-card-actions-right{cursor:pointer;color:var(--color-text-2);transition:color .2s cubic-bezier(0, 0, 1, 1);display:flex;align-items:center;justify-content:center;gap:12px}.yc-card-grid{position:relative;width:33.33%;box-shadow:1px 0 0 0 var(--color-neutral-3),0 1px 0 0 var(--color-neutral-3),1px 1px 0 0 var(--color-neutral-3),1px 0 0 0 var(--color-neutral-3) inset,0 1px 0 0 var(--color-neutral-3) inset}.yc-card-grid::before{content:'';pointer-events:none;position:absolute;height:100%;width:100%;transition:box-shadow .2s cubic-bezier(0, 0, 1, 1)}.yc-card-grid .yc-card{background:none;box-shadow:none}.yc-card-grid-hoverable:hover{z-index:1}.yc-card-grid-hoverable:hover::before{box-shadow:0 4px 10px rgb(var(--gray-2))}.yc-card-grid-hoverable:hover::before body[yc-design-theme='dark']{box-shadow:0 4px 10px rgba(var(--gray-1), 40%)}
|
@@ -3,7 +3,9 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../_shared/utils/locale.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
|
+
/* empty css */
|
8
|
+
/* empty css */
|
7
9
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
8
10
|
import useContext from "./hooks/useContext.js";
|
9
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
package/es/Carousel/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
@keyframes carousel-slide-x-in{from{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes carousel-slide-x-in-reverse{from{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes carousel-slide-x-out{from{transform:translateX(0)}to{transform:translateX(-100%)}}@keyframes carousel-slide-x-out-reverse{from{transform:translateX(0)}to{transform:translateX(100%)}}@keyframes carousel-slide-y-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes carousel-slide-y-out{from{transform:translateY(0)}to{transform:translateY(-100%)}}@keyframes carousel-slide-y-in-reverse{from{transform:translateY(-100%)}to{transform:translateY(0)}}@keyframes carousel-slide-y-out-reverse{from{transform:translateY(0)}to{transform:translateY(100%)}}.yc-carousel-slide-x-in{animation-name:carousel-slide-x-in}.yc-carousel-slide-x-in-reverse{animation-name:carousel-slide-x-in-reverse}.yc-carousel-slide-x-out{visibility:visible;animation-name:carousel-slide-x-out}.yc-carousel-slide-x-out-reverse{visibility:visible;animation-name:carousel-slide-x-out-reverse}.yc-carousel-slide-y-in{animation-name:carousel-slide-y-in}.yc-carousel-slide-y-in-reverse{animation-name:carousel-slide-y-in-reverse}.yc-carousel-slide-y-out{visibility:visible;animation-name:carousel-slide-y-out}.yc-carousel-slide-y-out-reverse{visibility:visible;animation-name:carousel-slide-y-out-reverse}.yc-carousel{position:relative}.yc-carousel:hover .yc-carousel-arrow-show-hover{opacity:1}.yc-carousel .yc-carousel-slide{overflow:hidden;position:relative;width:100%;height:100%;display:flex}.yc-carousel .yc-carousel-slide .yc-carousel-item{position:absolute;height:100%;width:100%;user-select:none;flex-shrink:0}.yc-carousel-animation-slide .yc-carousel-item{visibility:hidden}.yc-carousel-animation-slide .yc-carousel-item.yc-carousel-item-current{visibility:visible}.yc-carousel-animation-fade .yc-carousel-item{opacity:0}.yc-carousel-animation-fade .yc-carousel-item.yc-carousel-item-current{opacity:1}.yc-carousel-direction-vertical{flex-direction:column}.yc-carousel-indicator-outer{margin-bottom:30px}.yc-carousel-arrow{cursor:pointer;position:absolute;z-index:2;display:flex;justify-content:center;align-items:center;width:24px;height:24px;background-color:rgba(255,255,255,0.3);border-radius:
|
1
|
+
@keyframes carousel-slide-x-in{from{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes carousel-slide-x-in-reverse{from{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes carousel-slide-x-out{from{transform:translateX(0)}to{transform:translateX(-100%)}}@keyframes carousel-slide-x-out-reverse{from{transform:translateX(0)}to{transform:translateX(100%)}}@keyframes carousel-slide-y-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes carousel-slide-y-out{from{transform:translateY(0)}to{transform:translateY(-100%)}}@keyframes carousel-slide-y-in-reverse{from{transform:translateY(-100%)}to{transform:translateY(0)}}@keyframes carousel-slide-y-out-reverse{from{transform:translateY(0)}to{transform:translateY(100%)}}.yc-carousel-slide-x-in{animation-name:carousel-slide-x-in}.yc-carousel-slide-x-in-reverse{animation-name:carousel-slide-x-in-reverse}.yc-carousel-slide-x-out{visibility:visible;animation-name:carousel-slide-x-out}.yc-carousel-slide-x-out-reverse{visibility:visible;animation-name:carousel-slide-x-out-reverse}.yc-carousel-slide-y-in{animation-name:carousel-slide-y-in}.yc-carousel-slide-y-in-reverse{animation-name:carousel-slide-y-in-reverse}.yc-carousel-slide-y-out{visibility:visible;animation-name:carousel-slide-y-out}.yc-carousel-slide-y-out-reverse{visibility:visible;animation-name:carousel-slide-y-out-reverse}.yc-carousel{position:relative}.yc-carousel:hover .yc-carousel-arrow-show-hover{opacity:1}.yc-carousel .yc-carousel-slide{overflow:hidden;position:relative;width:100%;height:100%;display:flex}.yc-carousel .yc-carousel-slide .yc-carousel-item{position:absolute;height:100%;width:100%;user-select:none;flex-shrink:0}.yc-carousel-animation-slide .yc-carousel-item{visibility:hidden}.yc-carousel-animation-slide .yc-carousel-item.yc-carousel-item-current{visibility:visible}.yc-carousel-animation-fade .yc-carousel-item{opacity:0}.yc-carousel-animation-fade .yc-carousel-item.yc-carousel-item-current{opacity:1}.yc-carousel-direction-vertical{flex-direction:column}.yc-carousel-indicator-outer{margin-bottom:30px}.yc-carousel-arrow{cursor:pointer;position:absolute;z-index:2;display:flex;justify-content:center;align-items:center;width:24px;height:24px;background-color:rgba(255,255,255,0.3);border-radius:var(--border-radius-circle);color:var(--color-white)}.yc-carousel-arrow:hover{background-color:rgba(255,255,255,0.5)}body[yc-design-theme='dark'] .yc-carousel-arrow{background-color:rgba(23,23,26,0.3)}body[yc-design-theme='dark'] .yc-carousel-arrow:hover{background-color:rgba(23,23,26,0.5)}.yc-carousel-arrow-show-hover{opacity:0;transition:all .3s}.yc-carousel-arrow-left,.yc-carousel-arrow-right{transform:translateY(-50%);top:50%}.yc-carousel-arrow-left.yc-carousel-arrow-left,.yc-carousel-arrow-right.yc-carousel-arrow-left{left:12px}.yc-carousel-arrow-left.yc-carousel-arrow-right,.yc-carousel-arrow-right.yc-carousel-arrow-right{right:12px}.yc-carousel-arrow-top,.yc-carousel-arrow-bottom{left:50%;transform:translateX(-50%)}.yc-carousel-arrow-top.yc-carousel-arrow-top,.yc-carousel-arrow-bottom.yc-carousel-arrow-top{top:12px}.yc-carousel-arrow-top.yc-carousel-arrow-bottom,.yc-carousel-arrow-bottom.yc-carousel-arrow-bottom{bottom:12px}.yc-carousel-indicator{position:absolute;display:flex}.yc-carousel-indicator.yc-carousel-indicator-position-outer .yc-carousel-indicator-item{background-color:rgba(var(--gray-4), .5)}.yc-carousel-indicator.yc-carousel-indicator-position-outer .yc-carousel-indicator-item:hover,.yc-carousel-indicator.yc-carousel-indicator-position-outer .yc-carousel-indicator-item.yc-carousel-indicator-item-active{background-color:var(--color-fill-4)}.yc-carousel-indicator.yc-carousel-indicator-position-outer.yc-carousel-indicator-shape-slider{background-color:rgba(var(--gray-4), .5)}.yc-carousel-indicator.yc-carousel-indicator-position-outer.yc-carousel-indicator-shape-slider .yc-carousel-indicator-item-slider{background-color:var(--color-fill-4)}.yc-carousel-indicator .yc-carousel-indicator-item{background-color:rgba(255,255,255,0.3);border-radius:var(--border-radius-medium);cursor:pointer}.yc-carousel-indicator .yc-carousel-indicator-item:hover,.yc-carousel-indicator .yc-carousel-indicator-item.yc-carousel-indicator-item-active{background-color:var(--color-white)}.yc-carousel-indicator-position-top,.yc-carousel-indicator-position-bottom{z-index:2;top:12px;left:50%;transform:translateX(-50%)}.yc-carousel-indicator-position-top.yc-carousel-indicator-position-bottom,.yc-carousel-indicator-position-bottom.yc-carousel-indicator-position-bottom{top:unset;bottom:12px}.yc-carousel-indicator-position-left,.yc-carousel-indicator-position-right{left:12px;top:50%;transform:translateY(-50%);flex-direction:column}.yc-carousel-indicator-position-left.yc-carousel-indicator-position-right,.yc-carousel-indicator-position-right.yc-carousel-indicator-position-right{left:unset;right:12px}.yc-carousel-indicator-position-outer{left:50%;transform:translateX(-50%)}.yc-carousel-indicator-position-outer.yc-carousel-indicator-shape-slider{bottom:-16px}.yc-carousel-indicator-position-outer.yc-carousel-indicator-shape-dot{bottom:-22px}.yc-carousel-indicator-position-outer.yc-carousel-indicator-shape-line{bottom:-20px}.yc-carousel-indicator-shape-dot{gap:8px}.yc-carousel-indicator-shape-dot .yc-carousel-indicator-item{width:6px;height:6px;border-radius:var(--border-radius-circle)}.yc-carousel-indicator-shape-line{gap:8px}.yc-carousel-indicator-shape-line.yc-carousel-indicator-position-left .yc-carousel-indicator-item,.yc-carousel-indicator-shape-line.yc-carousel-indicator-position-right .yc-carousel-indicator-item{height:12px;width:4px}.yc-carousel-indicator-shape-line.yc-carousel-indicator-position-top .yc-carousel-indicator-item,.yc-carousel-indicator-shape-line.yc-carousel-indicator-position-bottom .yc-carousel-indicator-item,.yc-carousel-indicator-shape-line.yc-carousel-indicator-position-outer .yc-carousel-indicator-item{width:12px;height:4px}.yc-carousel-indicator-shape-slider{cursor:pointer;border-radius:var(--border-radius-medium);background-color:rgba(255,255,255,0.3)}.yc-carousel-indicator-shape-slider.yc-carousel-indicator-position-left,.yc-carousel-indicator-shape-slider.yc-carousel-indicator-position-right{height:48px;width:4px}.yc-carousel-indicator-shape-slider.yc-carousel-indicator-position-left .yc-carousel-indicator-item-slider,.yc-carousel-indicator-shape-slider.yc-carousel-indicator-position-right .yc-carousel-indicator-item-slider,.yc-carousel-indicator-shape-slider.yc-carousel-indicator-position-left .yc-carousel-indicator-item-slider,.yc-carousel-indicator-shape-slider.yc-carousel-indicator-position-right .yc-carousel-indicator-item-slider{width:100%}.yc-carousel-indicator-shape-slider.yc-carousel-indicator-position-top,.yc-carousel-indicator-shape-slider.yc-carousel-indicator-position-bottom,.yc-carousel-indicator-shape-slider.yc-carousel-indicator-position-outer{width:48px;height:4px}.yc-carousel-indicator-shape-slider.yc-carousel-indicator-position-top .yc-carousel-indicator-item,.yc-carousel-indicator-shape-slider.yc-carousel-indicator-position-bottom .yc-carousel-indicator-item,.yc-carousel-indicator-shape-slider.yc-carousel-indicator-position-outer .yc-carousel-indicator-item,.yc-carousel-indicator-shape-slider.yc-carousel-indicator-position-top .yc-carousel-indicator-item-slider,.yc-carousel-indicator-shape-slider.yc-carousel-indicator-position-bottom .yc-carousel-indicator-item-slider,.yc-carousel-indicator-shape-slider.yc-carousel-indicator-position-outer .yc-carousel-indicator-item-slider{height:100%}.yc-carousel-indicator-shape-slider .yc-carousel-indicator-item{flex-shrink:0;flex:1;opacity:0}.yc-carousel-indicator-shape-slider .yc-carousel-indicator-item-slider{position:absolute;border-radius:var(--border-radius-medium);transition:transform .3s;background-color:var(--color-white)}@keyframes carousel-slide-x-in{from{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes carousel-slide-x-in-reverse{from{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes carousel-slide-x-out{from{transform:translateX(0)}to{transform:translateX(-100%)}}@keyframes carousel-slide-x-out-reverse{from{transform:translateX(0)}to{transform:translateX(100%)}}@keyframes carousel-slide-y-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes carousel-slide-y-out{from{transform:translateY(0)}to{transform:translateY(-100%)}}@keyframes carousel-slide-y-in-reverse{from{transform:translateY(-100%)}to{transform:translateY(0)}}@keyframes carousel-slide-y-out-reverse{from{transform:translateY(0)}to{transform:translateY(100%)}}.yc-carousel-slide-x-in{animation-name:carousel-slide-x-in}.yc-carousel-slide-x-in-reverse{animation-name:carousel-slide-x-in-reverse}.yc-carousel-slide-x-out{visibility:visible;animation-name:carousel-slide-x-out}.yc-carousel-slide-x-out-reverse{visibility:visible;animation-name:carousel-slide-x-out-reverse}.yc-carousel-slide-y-in{animation-name:carousel-slide-y-in}.yc-carousel-slide-y-in-reverse{animation-name:carousel-slide-y-in-reverse}.yc-carousel-slide-y-out{visibility:visible;animation-name:carousel-slide-y-out}.yc-carousel-slide-y-out-reverse{visibility:visible;animation-name:carousel-slide-y-out-reverse}
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { defineComponent, resolveComponent, createBlock, createElementBlock, openBlock, unref, createSlots, withCtx, resolveDynamicComponent, Fragment, createElementVNode, createCommentVNode, withModifiers } from "vue";
|
2
2
|
import useContext from "./hooks/useContext.js";
|
3
3
|
import _sfc_main$1 from "../_shared/icons/IconArrowDown.vue.js";
|
4
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
|
5
|
+
/* empty css */
|
4
6
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
7
|
import "../_shared/utils/dom.js";
|
6
8
|
import "../_shared/utils/time.js";
|
7
9
|
import "../_shared/utils/locale.js";
|
8
|
-
/* empty css
|
9
|
-
|
10
|
-
/* empty css */
|
11
|
-
/* empty css */
|
10
|
+
/* empty css */
|
11
|
+
/* empty css */
|
12
12
|
import Spin from "../Spin/index.js";
|
13
13
|
const _hoisted_1 = { class: "yc-cascader-suffix-icon" };
|
14
14
|
const _hoisted_2 = {
|
@@ -2,11 +2,11 @@ import { CascaderOptionProps, CascaderOptionValue } from './type';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<CascaderOptionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CascaderOptionProps> & Readonly<{}>, {
|
3
3
|
disabled: boolean;
|
4
4
|
value: CascaderOptionValue;
|
5
|
-
label: string;
|
6
5
|
children: import('./type').CascaderOption[];
|
6
|
+
label: string;
|
7
|
+
index: number;
|
7
8
|
render: import('vue').RenderFunction;
|
8
9
|
tagProps: import('..').TagProps;
|
9
|
-
index: number;
|
10
10
|
isLeaf: boolean;
|
11
11
|
level: number;
|
12
12
|
nodePath: CascaderOptionProps[];
|
@@ -4,7 +4,9 @@ import { sleep } from "../_shared/utils/dom.js";
|
|
4
4
|
import { isFunction } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
|
+
/* empty css */
|
9
|
+
/* empty css */
|
8
10
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
9
11
|
import _sfc_main$2 from "../_shared/icons/IconLoading.vue.js";
|
10
12
|
import Checkbox from "../Checkbox/index.js";
|
package/es/Cascader/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-cascader-panel{overflow:hidden;height:200px;background-color:var(--color-bg-popup);border-radius:
|
1
|
+
.yc-cascader-panel{overflow:hidden;height:200px;background-color:var(--color-bg-popup);border-radius:var(--border-radius-medium);border:1px solid var(--color-fill-3);box-shadow:0 4px 10px rgba(0,0,0,0.1);display:inline-flex}.yc-cascader-panel .yc-cascader-panel-column{position:relative;min-width:120px;border-right:1px solid transparent;background-color:var(--color-bg-popup);display:inline-flex;flex-direction:column}.yc-cascader-panel .yc-cascader-panel-column:not(:last-child){border-right-color:var(--color-fill-3)}.yc-cascader-panel .yc-scrollbar .yc-scrollbar-container{max-height:200px;overflow-y:auto}.yc-cascader-panel .yc-spin{height:100%;min-width:120px;display:flex;justify-content:center;align-items:center}.yc-cascader-panel .yc-empty{min-width:120px}.yc-cascader-search-panel{position:relative;width:100%}.yc-cascader-search-panel .yc-scrollbar{width:100%}.yc-cascader-search-panel .yc-cascader-empty{position:absolute;height:100%;width:100%;display:flex;justify-content:center;align-items:center}.yc-cascader-option{cursor:pointer;position:relative;height:36px;padding-left:12px;min-width:100px;background-color:transparent;color:var(--color-text-1);font-size:14px;line-height:36px;transition:all .2s cubic-bezier(0, 0, 1, 1);display:flex;align-items:center;gap:8px}.yc-cascader-option:not(.yc-cascader-option-disabled):hover{background-color:var(--color-fill-2)}.yc-cascader-option .yc-checkbox{padding-left:0}.yc-cascader-option .yc-cascader-option-label{flex:1;padding-right:34px}.yc-cascader-option .yc-cascader-option-label .yc-icon{position:absolute;top:calc((100% - 12px) / 2);right:10px;color:var(--color-text-2);font-size:12px}.yc-cascader-option-selected{background-color:var(--color-fill-2)}.yc-cascader-option-disabled{color:var(--color-text-4);background-color:transparent;cursor:not-allowed}.yc-cascader{width:100%;display:inline-flex;align-items:center}.yc-cascader .yc-input-outer .yc-input-wrapper .yc-input::placeholder{color:var(--color-text-1)}.yc-cascader .yc-input-placeholder{color:var(--color-text-3)}.yc-cascader .yc-cascader-suffix-icon,.yc-cascader .yc-cascader-search-icon,.yc-cascader .yc-cascader-clear-icon,.yc-cascader .yc-spin{font-size:12px;color:inherit;flex-shrink:0}.yc-cascader-allow-search .yc-cascader-search-icon{display:none}.yc-cascader-allow-search:focus-within .yc-cascader-clear-icon,.yc-cascader-allow-search:focus-within .yc-cascader-suffix-icon{display:none}.yc-cascader-allow-search:focus-within .yc-cascader-search-icon{display:block}.yc-cascader-allow-search .yc-input-outer .yc-input-wrapper .yc-input::placeholder{color:var(--color-text-3)}.yc-cascader-allow-clear .yc-cascader-clear-icon{display:none}.yc-cascader-allow-clear:hover .yc-cascader-search-icon,.yc-cascader-allow-clear:hover .yc-cascader-suffix-icon{display:none}.yc-cascader-allow-clear:hover .yc-cascader-clear-icon{display:flex}
|
@@ -6,11 +6,11 @@ import "../_shared/utils/time.js";
|
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import useControlValue from "../_shared/utils/control.js";
|
8
8
|
import useContext from "./hooks/useContext.js";
|
9
|
-
|
9
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
10
|
+
/* empty css */
|
11
|
+
/* empty css */
|
12
|
+
/* empty css */
|
10
13
|
import _sfc_main$2 from "../_shared/icons/IconCheckboxChecked.vue.js";
|
11
|
-
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
12
|
-
/* empty css */
|
13
|
-
/* empty css */
|
14
14
|
const _hoisted_1 = ["value", "disabled", "checked"];
|
15
15
|
const _hoisted_2 = { class: "yc-checkbox-icon" };
|
16
16
|
const _hoisted_3 = {
|
package/es/Checkbox/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-checkbox{position:relative;cursor:pointer;padding-left:5px;font-size:14px;line-height:unset;display:inline-flex;align-items:center;gap:8px}.yc-checkbox .yc-checkbox-target{position:absolute;left:0;top:0;width:0;height:0;visibility:hidden}.yc-checkbox .yc-checkbox-icon,.yc-checkbox .yc-checkbox-label{flex-shrink:0}.yc-checkbox .yc-checkbox-icon{position:relative;width:14px;height:14px;border:2px solid var(--color-border-2);border-radius:
|
1
|
+
.yc-checkbox{position:relative;cursor:pointer;padding-left:5px;font-size:14px;line-height:unset;display:inline-flex;align-items:center;gap:8px}.yc-checkbox .yc-checkbox-target{position:absolute;left:0;top:0;width:0;height:0;visibility:hidden}.yc-checkbox .yc-checkbox-icon,.yc-checkbox .yc-checkbox-label{flex-shrink:0}.yc-checkbox .yc-checkbox-icon{position:relative;width:14px;height:14px;border:2px solid var(--color-border-2);border-radius:var(--border-radius-small);color:var(--color-white);display:flex;justify-content:center;align-items:center}.yc-checkbox .yc-checkbox-icon::after{content:'';position:absolute;top:50%;left:50%;display:block;width:6px;height:2px;background:var(--color-white);border-radius:1px;transform:translateX(-50%) translateY(-50%) scale(0)}.yc-checkbox .yc-checkbox-label{user-select:none;flex:1;color:var(--color-text-1)}.yc-checkbox-checked .yc-checkbox-icon .yc-icon{visibility:visible}.yc-checkbox-unchecked .yc-checkbox-icon .yc-icon,.yc-checkbox-indeterminate .yc-checkbox-icon .yc-icon{visibility:hidden}.yc-checkbox-unchecked:not(.yc-checkbox-disabled):hover .yc-icon-button::before{background-color:var(--color-fill-2)}.yc-checkbox-unchecked:not(.yc-checkbox-disabled):hover .yc-icon-button .yc-checkbox-icon{border-color:var(--color-border-3)}.yc-checkbox-checked .yc-checkbox-icon,.yc-checkbox-indeterminate .yc-checkbox-icon{border-color:transparent;background-color:rgb(var(--primary-6))}.yc-checkbox-checked.yc-checkbox-disabled .yc-icon-button .yc-checkbox-icon,.yc-checkbox-indeterminate.yc-checkbox-disabled .yc-icon-button .yc-checkbox-icon{border-color:transparent;background-color:rgb(var(--primary-3))}.yc-checkbox-indeterminate .yc-checkbox-icon{transition:transform .3s cubic-bezier(.3, 1.3, .3, 1)}.yc-checkbox-indeterminate .yc-checkbox-icon::after{transform:translateX(-50%) translateY(-50%) scale(1)}.yc-checkbox-disabled{cursor:not-allowed}.yc-checkbox-disabled .yc-icon-button{cursor:not-allowed}.yc-checkbox-disabled .yc-icon-button .yc-checkbox-icon{border-color:var(--color-border-2);background-color:var(--color-fill-2)}.yc-checkbox-disabled .yc-checkbox-label{color:var(--color-text-4)}.yc-checkbox-group-direction-horizontal{display:inline-flex;align-items:center;gap:16px}.yc-checkbox-group-direction-vertical{display:flex;flex-direction:column}.yc-checkbox-group-direction-vertical .yc-checkbox{line-height:32px}
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent, toRefs, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createVNode, createBlock, createCommentVNode, withCtx, renderSlot, resolveDynamicComponent, createTextVNode, toDisplayString, withDirectives, vShow } from "vue";
|
2
2
|
import useContext from "./hooks/useContext.js";
|
3
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
4
|
+
/* empty css */
|
5
|
+
import _sfc_main$3 from "../_shared/components/ExpandTransition/index.vue2.js";
|
6
|
+
/* empty css */
|
3
7
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
4
8
|
import "../_shared/utils/dom.js";
|
5
9
|
import "../_shared/utils/time.js";
|
6
10
|
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css
|
11
|
+
/* empty css */
|
8
12
|
import _sfc_main$2 from "../_shared/icons/IconRight.vue.js";
|
9
|
-
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
10
|
-
/* empty css */
|
11
|
-
import _sfc_main$3 from "../_shared/components/ExpandTransition.vue.js";
|
12
|
-
/* empty css */
|
13
13
|
const _hoisted_1 = { class: "yc-collapse-item-header-title text-ellipsis" };
|
14
14
|
const _hoisted_2 = {
|
15
15
|
key: 1,
|
package/es/Collapse/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-collapse{width:100%;overflow:hidden;line-height:1.5715;border-radius:
|
1
|
+
.yc-collapse{width:100%;overflow:hidden;line-height:1.5715;border-radius:var(--border-radius-medium)}.yc-collapse .yc-collapse-item:last-child{border-bottom:none}.yc-collapse-bordered{border:1px solid var(--color-neutral-3)}.yc-collapse-item{display:flex;flex-direction:column;border-bottom:1px solid var(--color-border-2)}.yc-collapse-item .yc-collapse-item-header{overflow:hidden;cursor:pointer;position:relative;padding:8px 12px;background-color:var(--color-bg-2);border-bottom:1px solid transparent;color:var(--color-text-1);font-size:14px;line-height:24px;transition:border-color .2s ease;display:flex;align-items:center;gap:8px}.yc-collapse-item .yc-collapse-item-header .yc-collapse-item-header-icon{position:absolute}.yc-collapse-item .yc-collapse-item-header .yc-collapse-item-header-title{flex:1;font-weight:500}.yc-collapse-item .yc-collapse-item-content{position:relative;overflow:hidden;background-color:var(--color-fill-1);color:var(--color-text-1);font-size:14px}.yc-collapse-item .yc-collapse-item-content .yc-collapse-item-content-box{padding:8px 0}.yc-collapse-item-expand-icon-left .yc-collapse-item-header,.yc-collapse-item-expand-icon-left .yc-collapse-item-content{padding-left:34px;padding-right:13px}.yc-collapse-item-expand-icon-left .yc-collapse-item-header .yc-collapse-item-header-icon,.yc-collapse-item-expand-icon-left .yc-collapse-item-content .yc-collapse-item-header-icon{left:13px}.yc-collapse-item-expand-icon-right .yc-collapse-item-header,.yc-collapse-item-expand-icon-right .yc-collapse-item-content{padding-left:13px;padding-right:34px}.yc-collapse-item-expand-icon-right .yc-collapse-item-header .yc-collapse-item-header-icon,.yc-collapse-item-expand-icon-right .yc-collapse-item-content .yc-collapse-item-header-icon{right:13px}.yc-collapse-item-disabled .yc-collapse-item-header{color:var(--color-text-4);background-color:var(--color-bg-2);cursor:not-allowed}.yc-collapse-item-open .yc-collapse-item-header{border-color:var(--color-neutral-3)}
|
package/es/ColorPicker/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-color-picker-panel{overflow:hidden;width:260px;background-color:var(--color-bg-1);border-radius:
|
1
|
+
.yc-color-picker-panel{overflow:hidden;width:260px;background-color:var(--color-bg-1);border-radius:var(--border-radius-small);box-shadow:0 8px 20px 0 rgba(0,0,0,0.1)}.yc-color-picker-panel .yc-color-picker-palette{overflow:hidden;position:relative;cursor:pointer;width:100%;height:178px;background-image:linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, rgba(255,255,255,0));border:1px solid var(--color-border-2);border-bottom:0}.yc-color-picker-panel .yc-color-picker-palette .yc-color-picker-handler{position:absolute;width:16px;height:16px;border:2px solid #fff;border-radius:var(--border-radius-circle);background-color:transparent;transform:translate(-50%, -50%)}.yc-color-picker-panel .yc-color-picker-panel-control{padding:12px;display:flex;flex-direction:column;gap:12px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper{display:flex;justify-content:space-between;align-items:center}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper:not(.yc-color-picker-preview)>div{display:flex;flex-direction:column;gap:12px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar{cursor:pointer;position:relative;width:182px;height:14px;border-radius:10px;border:1px solid var(--color-border-2);background-image:linear-gradient(90deg, #f00 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00)}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar .yc-color-picker-control-bar-handler{user-select:none;position:absolute;top:50%;transform:translate(-50%, -50%);width:16px;height:16px;border-radius:var(--border-radius-circle);border:1px solid var(--color-border-2)}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar .yc-color-picker-control-bar-handler::before{display:block;content:'';position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:8px;height:8px;background:currentColor;border-radius:var(--border-radius-circle)}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar .yc-color-picker-control-bar-handler::after{display:block;content:'';width:100%;height:100%;background:var(--color-bg-white);border-radius:var(--border-radius-circle)}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar-bg{width:fit-content;height:fit-content;background-image:conic-gradient(rgba(0,0,0,0.06) 0 25%, transparent 0 50%, rgba(0,0,0,0.06) 0 75%, transparent 0);background-size:8px 8px;border-radius:10px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-preview{width:40px;height:40px;border:1px solid var(--color-border-2);border-radius:var(--border-radius-medium)}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper{display:flex;align-items:center;gap:20px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-input-outer .yc-input-wrapper{padding:0 6px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-input-outer .yc-input-wrapper .yc-input-suffix{padding-left:0}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-format .yc-select{width:58px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color{flex:1;overflow:hidden;display:flex;align-items:center}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .yc-input-outer:first-child .yc-input-wrapper{border-top-left-radius:2px;border-bottom-left-radius:2px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .yc-input-outer:last-child .yc-input-wrapper{border-right-color:var(--color-border-2);border-top-right-radius:2px;border-bottom-right-radius:2px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .yc-input-outer .yc-input-wrapper{border-radius:var(--border-radius-none);border-color:var(--color-border-2);border-right-color:transparent}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .yc-input-outer .yc-input-wrapper:not(.yc-input-disabled):focus-within{border-radius:var(--border-radius-small);border-color:rgb(var(--primary-6))}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .yc-input-outer .yc-input-wrapper .yc-input-prefix{padding-right:6px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .yc-input-number .yc-input{text-align:center}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .rgb-input,.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .hex-input{flex:1}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .alpha-input{width:52px}.yc-color-picker-panel .yc-color-picker-panel-colors{padding:12px;border-top:1px solid var(--color-border-2);display:flex;flex-direction:column;gap:12px}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section{display:flex;flex-direction:column;gap:6px}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-text{color:var(--color-text-1);font-weight:400;font-size:12px}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-empty{margin:6px 0 0 0;color:var(--color-text-3);font-size:12px}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-list{display:flex;flex-wrap:wrap;gap:6px 4px}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-list .yc-color-picker-color-block{cursor:pointer;width:16px;height:16px;overflow:hidden;background-image:conic-gradient(rgba(0,0,0,0.06) 0 25%, transparent 0 50%, rgba(0,0,0,0.06) 0 75%, transparent 0);background-size:8px 8px;border-radius:var(--border-radius-small);transition:transform ease-out 60ms}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-list .yc-color-picker-color-block:hover{transform:scale(1.1)}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-list .yc-color-picker-color-block .yc-color-picker-block{height:100%;width:100%}.yc-color-picker-panel-disabled{cursor:not-allowed}.yc-color-picker-panel-disabled .yc-color-picker-palette{cursor:not-allowed}.yc-color-picker-panel-disabled .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar{cursor:not-allowed}.yc-color-picker{cursor:pointer;background-color:var(--color-fill-2);border-radius:var(--border-radius-small);display:inline-flex;align-items:center;gap:4px}.yc-color-picker:not(.yc-color-picker-disabled):hover{background-color:var(--color-fill-3)}.yc-color-picker .yc-color-picker-value{color:var(--color-text-1);font-weight:400}.yc-color-picker.yc-color-picker-disabled{cursor:not-allowed;background-color:var(--color-fill-2)}.yc-color-picker.yc-color-picker-disabled .yc-color-picker-value{color:var(--color-text-4)}.yc-color-picker-size-mini{height:24px;padding:4px;font-size:12px}.yc-color-picker-size-mini .yc-color-picker-preview{height:100%;width:calc(24px - 8px)}.yc-color-picker-size-small{height:28px;padding:3px 4px;font-size:14px}.yc-color-picker-size-small .yc-color-picker-preview{height:100%;width:calc(28px - 8px)}.yc-color-picker-size-medium{height:32px;padding:4px;font-size:14px}.yc-color-picker-size-medium .yc-color-picker-preview{height:100%;width:calc(32px - 8px)}.yc-color-picker-size-large{height:36px;padding:5px;font-size:14px}.yc-color-picker-size-large .yc-color-picker-preview{height:100%;width:calc(36px - 10px)}.yc-color-picker-format-popup-content .yc-select-option{font-size:12px;line-height:24px}
|
@@ -1 +1 @@
|
|
1
|
-
.yc-descriptions{display:flex;flex-direction:column}.yc-descriptions .yc-descriptions-title{color:var(--color-text-1);font-weight:500;font-size:16px;line-height:1.5715}.yc-descriptions .yc-descriptions-body .yc-descriptions-table{width:100%;border-collapse:collapse}.yc-descriptions .yc-descriptions-body .yc-descriptions-table tbody{display:table-row-group;vertical-align:middle;unicode-bidi:isolate;border-color:inherit}.yc-descriptions .yc-descriptions-body .yc-descriptions-table tbody tr{display:table-row;vertical-align:inherit;unicode-bidi:isolate;border-color:inherit}.yc-descriptions-table-layout-fixed .yc-descriptions-body .yc-descriptions-table{table-layout:fixed}.yc-descriptions-table-layout-fixed .yc-descriptions-body .yc-descriptions-table .yc-descriptions-item-label{width:auto}.yc-descriptions-layout-horizontal .yc-descriptions-item-label,.yc-descriptions-layout-vertical .yc-descriptions-item-label{width:1px;white-space:nowrap}.yc-descriptions-layout-horizontal .yc-descriptions-item-value,.yc-descriptions-layout-vertical .yc-descriptions-item-value{white-space:pre-wrap;word-break:break-word}.yc-descriptions-layout-inline-horizontal .yc-descriptions-item{padding:7px 20px}.yc-descriptions-layout-inline-horizontal .yc-descriptions-item>div{display:inline-block}.yc-descriptions-layout-inline-horizontal .yc-descriptions-item>div:last-child{margin-left:4px}.yc-descriptions-layout-inline-vertical .yc-descriptions-item>div:last-child{margin-top:2px}.yc-descriptions-bordered .yc-descriptions-body{overflow:hidden;border:1px solid var(--color-border);border-radius:
|
1
|
+
.yc-descriptions{display:flex;flex-direction:column}.yc-descriptions .yc-descriptions-title{color:var(--color-text-1);font-weight:500;font-size:16px;line-height:1.5715}.yc-descriptions .yc-descriptions-body .yc-descriptions-table{width:100%;border-collapse:collapse}.yc-descriptions .yc-descriptions-body .yc-descriptions-table tbody{display:table-row-group;vertical-align:middle;unicode-bidi:isolate;border-color:inherit}.yc-descriptions .yc-descriptions-body .yc-descriptions-table tbody tr{display:table-row;vertical-align:inherit;unicode-bidi:isolate;border-color:inherit}.yc-descriptions-table-layout-fixed .yc-descriptions-body .yc-descriptions-table{table-layout:fixed}.yc-descriptions-table-layout-fixed .yc-descriptions-body .yc-descriptions-table .yc-descriptions-item-label{width:auto}.yc-descriptions-layout-horizontal .yc-descriptions-item-label,.yc-descriptions-layout-vertical .yc-descriptions-item-label{width:1px;white-space:nowrap}.yc-descriptions-layout-horizontal .yc-descriptions-item-value,.yc-descriptions-layout-vertical .yc-descriptions-item-value{white-space:pre-wrap;word-break:break-word}.yc-descriptions-layout-inline-horizontal .yc-descriptions-item{padding:7px 20px}.yc-descriptions-layout-inline-horizontal .yc-descriptions-item>div{display:inline-block}.yc-descriptions-layout-inline-horizontal .yc-descriptions-item>div:last-child{margin-left:4px}.yc-descriptions-layout-inline-vertical .yc-descriptions-item>div:last-child{margin-top:2px}.yc-descriptions-bordered .yc-descriptions-body{overflow:hidden;border:1px solid var(--color-border);border-radius:var(--border-radius-medium)}.yc-descriptions-bordered .yc-descriptions-body .yc-descriptions-row:not(:last-child){border-bottom:1px solid var(--color-border)}.yc-descriptions-bordered .yc-descriptions-item{border-right:1px solid var(--color-border)}.yc-descriptions-bordered.yc-descriptions-layout-horizontal .yc-descriptions-item-value:last-child{border-right:none}.yc-descriptions-bordered.yc-descriptions-layout-vertical .yc-descriptions-item-label:last-child,.yc-descriptions-bordered.yc-descriptions-layout-vertical .yc-descriptions-item-value:last-child{border-right:none}.yc-descriptions-bordered.yc-descriptions-layout-horizontal .yc-descriptions-item-label,.yc-descriptions-bordered.yc-descriptions-layout-vertical .yc-descriptions-item-label,.yc-descriptions-bordered.yc-descriptions-layout-horizontal .yc-descriptions-item-value,.yc-descriptions-bordered.yc-descriptions-layout-vertical .yc-descriptions-item-value{border-right:1px solid var(--color-border)}.yc-descriptions-bordered.yc-descriptions-layout-horizontal .yc-descriptions-item-label,.yc-descriptions-bordered.yc-descriptions-layout-vertical .yc-descriptions-item-label{background-color:var(--color-fill-1)}.yc-descriptions-bordered.yc-descriptions-layout-inline-vertical .yc-descriptions-item:last-child,.yc-descriptions-bordered.yc-descriptions-layout-inline-horizontal .yc-descriptions-item:last-child{border-right:none}.yc-descriptions-size-mini{gap:6px}.yc-descriptions-size-mini.yc-descriptions-layout-inline-vertical .yc-descriptions-item{padding:8px 20px}.yc-descriptions-size-small{gap:8px}.yc-descriptions-size-small.yc-descriptions-layout-inline-vertical .yc-descriptions-item{padding:8px 20px}.yc-descriptions-size-medium{gap:10px}.yc-descriptions-size-medium.yc-descriptions-layout-inline-vertical .yc-descriptions-item{padding:10px 20px}.yc-descriptions-size-large{gap:12px}.yc-descriptions-size-large.yc-descriptions-layout-inline-vertical .yc-descriptions-item{padding:14px 20px}.yc-descriptions-item-label,.yc-descriptions-item-value{line-height:1.5715}.yc-descriptions-item-label{color:var(--color-text-3);font-weight:500}.yc-descriptions-item-value{color:var(--color-text-1);font-weight:400}.yc-descriptions-item-cell-size-mini{font-size:12px;padding:0 20px 2px 0}.yc-descriptions-item-cell-size-mini.yc-descriptions-item-cell-bordered{padding:3px 20px}.yc-descriptions-item-cell-size-small{font-size:14px;padding:0 20px 4px 0}.yc-descriptions-item-cell-size-small.yc-descriptions-item-cell-bordered{padding:3px 20px}.yc-descriptions-item-cell-size-medium{font-size:14px;padding:0 20px 8px 0}.yc-descriptions-item-cell-size-medium.yc-descriptions-item-cell-bordered{padding:5px 20px}.yc-descriptions-item-cell-size-large{font-size:14px;padding:0 20px 16px 0}.yc-descriptions-item-cell-size-large.yc-descriptions-item-cell-bordered{padding:9px 20px}
|
package/es/Drawer/Drawer.vue.js
CHANGED
@@ -6,10 +6,10 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
|
6
6
|
import { useI18n } from "../_shared/utils/locale.js";
|
7
7
|
import useModalClose from "../Modal/hooks/useModalClose.js";
|
8
8
|
import Button from "../Button/index.js";
|
9
|
-
import _sfc_main$1 from "../_shared/components/IconButton.
|
10
|
-
/* empty css
|
11
|
-
/* empty css
|
12
|
-
/* empty css
|
9
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
10
|
+
/* empty css */
|
11
|
+
/* empty css */
|
12
|
+
/* empty css */
|
13
13
|
const _hoisted_1 = {
|
14
14
|
key: 0,
|
15
15
|
class: "yc-drawer-header"
|
@@ -3,7 +3,9 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../_shared/utils/locale.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
|
+
/* empty css */
|
8
|
+
/* empty css */
|
7
9
|
import _sfc_main$3 from "../_shared/icons/IconMore.vue.js";
|
8
10
|
import _sfc_main$2 from "./Dropdown.vue.js";
|
9
11
|
/* empty css */
|
@@ -6,7 +6,9 @@ import { isBoolean, isUndefined } from "../_shared/utils/is.js";
|
|
6
6
|
import "../_shared/utils/time.js";
|
7
7
|
import "../_shared/utils/locale.js";
|
8
8
|
import useControlValue from "../_shared/utils/control.js";
|
9
|
-
/* empty css
|
9
|
+
/* empty css */
|
10
|
+
/* empty css */
|
11
|
+
/* empty css */
|
10
12
|
import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
|
11
13
|
import "./index.js";
|
12
14
|
import Trigger from "../Trigger/index.js";
|
package/es/Dropdown/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-dropdown-popup .yc-dropdown{padding:4px 0;background-color:var(--color-bg-popup);border:1px solid var(--color-fill-3);border-radius:
|
1
|
+
.yc-dropdown-popup .yc-dropdown{padding:4px 0;background-color:var(--color-bg-popup);border:1px solid var(--color-fill-3);border-radius:var(--border-radius-medium);box-shadow:0 4px 10px #0000001a}.yc-dropdown-popup .yc-dropdown .yc-dropdown-list{display:flex;flex-direction:column}.yc-dropdown-popup .yc-dropdown .yc-dropdown-footer{border-top:1px solid var(--color-fill-3)}.yc-dropdown-popup .yc-trigger-arrow{z-index:0;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3)}.yc-dropdown-option{position:relative;z-index:1;padding:0 12px;line-height:36px;font-size:14px;color:var(--color-text-1);text-align:left;display:flex;align-items:center;transition:all .1s cubic-bezier(0, 0, 1, 1)}.yc-dropdown-option:not(.yc-dropdown-option-disabled).yc-dropdown-option-active,.yc-dropdown-option:not(.yc-dropdown-option-disabled):hover{background-color:var(--color-fill-2)}.yc-dropdown-option.yc-dropdown-option-disabled{cursor:not-allowed;background-color:transparent;color:var(--color-text-4)}.yc-dropdown-option .yc-dropdown-option-icon,.yc-dropdown-option .yc-dropdown-option-content,.yc-dropdown-option .yc-dropdown-option-suffix{flex-shrink:0;display:flex;align-items:center}.yc-dropdown-option .yc-dropdown-option-icon{margin-right:8px;color:inherit}.yc-dropdown-option .yc-dropdown-option-suffix{color:inherit;margin-left:12px}.yc-dropdown-option .yc-dropdown-option-content{flex:1;overflow:hidden}.yc-dropdown-group-title{margin-top:8px;padding:0 12px;color:var(--color-text-3);font-size:12px;line-height:20px}
|
package/es/Empty/index.vue.js
CHANGED
@@ -3,7 +3,9 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import { useI18n } from "../_shared/utils/locale.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
|
+
/* empty css */
|
8
|
+
/* empty css */
|
7
9
|
import _sfc_main$1 from "../_shared/icons/IconEmpty.vue.js";
|
8
10
|
const _hoisted_1 = { class: "yc-empty" };
|
9
11
|
const _hoisted_2 = { class: "yc-empty-image" };
|
package/es/Image/Image.vue.js
CHANGED
@@ -4,7 +4,9 @@ import { valueToPx } from "../_shared/utils/dom.js";
|
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import { useI18n } from "../_shared/utils/locale.js";
|
6
6
|
import useControlValue from "../_shared/utils/control.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
|
+
/* empty css */
|
9
|
+
/* empty css */
|
8
10
|
import _sfc_main$2 from "../_shared/icons/IconImageClose.vue.js";
|
9
11
|
import useContext from "./hooks/useContext.js";
|
10
12
|
import Spin from "../Spin/index.js";
|