@coffic/cosy-ui 0.9.85 → 0.9.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.css +1 -1
- package/dist/index-vue.ts +2 -0
- package/dist/src/assets/iconData.d.ts +0 -1
- package/dist/src/assets/iconData.js +0 -1
- package/dist/src/assets/icons-data/alertTriangle.d.ts +0 -1
- package/dist/src/assets/icons-data/alertTriangle.js +0 -1
- package/dist/src/assets/icons-data/appstore.d.ts +0 -1
- package/dist/src/assets/icons-data/appstore.js +0 -1
- package/dist/src/assets/icons-data/calendar.d.ts +0 -1
- package/dist/src/assets/icons-data/calendar.js +0 -1
- package/dist/src/assets/icons-data/chart.d.ts +0 -1
- package/dist/src/assets/icons-data/chart.js +0 -1
- package/dist/src/assets/icons-data/check.d.ts +0 -1
- package/dist/src/assets/icons-data/check.js +0 -1
- package/dist/src/assets/icons-data/checkCircle.d.ts +0 -1
- package/dist/src/assets/icons-data/checkCircle.js +0 -1
- package/dist/src/assets/icons-data/chevronDown.d.ts +0 -1
- package/dist/src/assets/icons-data/chevronDown.js +0 -1
- package/dist/src/assets/icons-data/chevronLeft.d.ts +0 -1
- package/dist/src/assets/icons-data/chevronLeft.js +0 -1
- package/dist/src/assets/icons-data/chevronRight.d.ts +0 -1
- package/dist/src/assets/icons-data/chevronRight.js +0 -1
- package/dist/src/assets/icons-data/clipboard.d.ts +0 -1
- package/dist/src/assets/icons-data/clipboard.js +0 -1
- package/dist/src/assets/icons-data/close.d.ts +0 -1
- package/dist/src/assets/icons-data/close.js +0 -1
- package/dist/src/assets/icons-data/code.d.ts +0 -1
- package/dist/src/assets/icons-data/code.js +0 -1
- package/dist/src/assets/icons-data/dashboard.d.ts +0 -1
- package/dist/src/assets/icons-data/dashboard.js +0 -1
- package/dist/src/assets/icons-data/delete.d.ts +0 -1
- package/dist/src/assets/icons-data/delete.js +0 -1
- package/dist/src/assets/icons-data/document.d.ts +0 -1
- package/dist/src/assets/icons-data/document.js +0 -1
- package/dist/src/assets/icons-data/download.d.ts +0 -1
- package/dist/src/assets/icons-data/download.js +0 -1
- package/dist/src/assets/icons-data/edit.d.ts +0 -1
- package/dist/src/assets/icons-data/edit.js +0 -1
- package/dist/src/assets/icons-data/facebook.d.ts +0 -1
- package/dist/src/assets/icons-data/facebook.js +0 -1
- package/dist/src/assets/icons-data/folder.d.ts +0 -1
- package/dist/src/assets/icons-data/folder.js +0 -1
- package/dist/src/assets/icons-data/github.d.ts +0 -1
- package/dist/src/assets/icons-data/github.js +0 -1
- package/dist/src/assets/icons-data/globe.d.ts +0 -1
- package/dist/src/assets/icons-data/globe.js +0 -1
- package/dist/src/assets/icons-data/heart.d.ts +0 -1
- package/dist/src/assets/icons-data/heart.js +0 -1
- package/dist/src/assets/icons-data/home.d.ts +0 -1
- package/dist/src/assets/icons-data/home.js +0 -1
- package/dist/src/assets/icons-data/inboxArchive.d.ts +0 -1
- package/dist/src/assets/icons-data/inboxArchive.js +0 -1
- package/dist/src/assets/icons-data/index.d.ts +0 -1
- package/dist/src/assets/icons-data/index.js +0 -1
- package/dist/src/assets/icons-data/info.d.ts +0 -1
- package/dist/src/assets/icons-data/info.js +0 -1
- package/dist/src/assets/icons-data/infoCircle.d.ts +0 -1
- package/dist/src/assets/icons-data/infoCircle.js +0 -1
- package/dist/src/assets/icons-data/iphoneBattery.d.ts +0 -1
- package/dist/src/assets/icons-data/iphoneBattery.js +0 -1
- package/dist/src/assets/icons-data/iphoneSignal.d.ts +0 -1
- package/dist/src/assets/icons-data/iphoneSignal.js +0 -1
- package/dist/src/assets/icons-data/iphoneWifi.d.ts +0 -1
- package/dist/src/assets/icons-data/iphoneWifi.js +0 -1
- package/dist/src/assets/icons-data/link.d.ts +0 -1
- package/dist/src/assets/icons-data/link.js +0 -1
- package/dist/src/assets/icons-data/linkedin.d.ts +0 -1
- package/dist/src/assets/icons-data/linkedin.js +0 -1
- package/dist/src/assets/icons-data/logOut.d.ts +0 -1
- package/dist/src/assets/icons-data/logOut.js +0 -1
- package/dist/src/assets/icons-data/mail.d.ts +0 -1
- package/dist/src/assets/icons-data/mail.js +0 -1
- package/dist/src/assets/icons-data/mapPin.d.ts +0 -1
- package/dist/src/assets/icons-data/mapPin.js +0 -1
- package/dist/src/assets/icons-data/menu.d.ts +0 -1
- package/dist/src/assets/icons-data/menu.js +0 -1
- package/dist/src/assets/icons-data/message.d.ts +0 -1
- package/dist/src/assets/icons-data/message.js +0 -1
- package/dist/src/assets/icons-data/notification.d.ts +0 -1
- package/dist/src/assets/icons-data/notification.js +0 -1
- package/dist/src/assets/icons-data/phone.d.ts +0 -1
- package/dist/src/assets/icons-data/phone.js +0 -1
- package/dist/src/assets/icons-data/refresh.d.ts +0 -1
- package/dist/src/assets/icons-data/refresh.js +0 -1
- package/dist/src/assets/icons-data/report.d.ts +0 -1
- package/dist/src/assets/icons-data/report.js +0 -1
- package/dist/src/assets/icons-data/save.d.ts +0 -1
- package/dist/src/assets/icons-data/save.js +0 -1
- package/dist/src/assets/icons-data/search.d.ts +0 -1
- package/dist/src/assets/icons-data/search.js +0 -1
- package/dist/src/assets/icons-data/security.d.ts +0 -1
- package/dist/src/assets/icons-data/security.js +0 -1
- package/dist/src/assets/icons-data/settings.d.ts +0 -1
- package/dist/src/assets/icons-data/settings.js +0 -1
- package/dist/src/assets/icons-data/star.d.ts +0 -1
- package/dist/src/assets/icons-data/star.js +0 -1
- package/dist/src/assets/icons-data/sunCloudy.d.ts +0 -1
- package/dist/src/assets/icons-data/sunCloudy.js +0 -1
- package/dist/src/assets/icons-data/tools.d.ts +0 -1
- package/dist/src/assets/icons-data/tools.js +0 -1
- package/dist/src/assets/icons-data/twitter.d.ts +0 -1
- package/dist/src/assets/icons-data/twitter.js +0 -1
- package/dist/src/assets/icons-data/upload.d.ts +0 -1
- package/dist/src/assets/icons-data/upload.js +0 -1
- package/dist/src/assets/icons-data/user.d.ts +0 -1
- package/dist/src/assets/icons-data/user.js +0 -1
- package/dist/src/assets/icons-data/users.d.ts +0 -1
- package/dist/src/assets/icons-data/users.js +0 -1
- package/dist/src/assets/icons-data/view.d.ts +0 -1
- package/dist/src/assets/icons-data/view.js +0 -1
- package/dist/src/assets/icons-data/wallet.d.ts +0 -1
- package/dist/src/assets/icons-data/wallet.js +0 -1
- package/dist/src/assets/icons-data/website.d.ts +0 -1
- package/dist/src/assets/icons-data/website.js +0 -1
- package/dist/src/assets/icons-data/wechat.d.ts +0 -1
- package/dist/src/assets/icons-data/wechat.js +0 -1
- package/dist/src/assets/icons-data/whatsapp.d.ts +0 -1
- package/dist/src/assets/icons-data/whatsapp.js +0 -1
- package/dist/src/assets/icons-data/xCircle.d.ts +0 -1
- package/dist/src/assets/icons-data/xCircle.js +0 -1
- package/dist/src/class/builders/BackgroundBuilder.d.ts +69 -0
- package/dist/src/class/builders/BackgroundBuilder.js +80 -0
- package/dist/src/class/builders/BorderBuilder.d.ts +167 -0
- package/dist/src/class/builders/BorderBuilder.js +199 -0
- package/dist/src/class/builders/CursorBuilder.d.ts +48 -0
- package/dist/src/class/builders/CursorBuilder.js +63 -0
- package/dist/src/class/builders/DisplayBuilder.d.ts +66 -0
- package/dist/src/class/builders/DisplayBuilder.js +87 -0
- package/dist/src/class/builders/FilterBuilder.d.ts +81 -0
- package/dist/src/class/builders/FilterBuilder.js +98 -0
- package/dist/src/class/builders/LayoutBuilder.d.ts +40 -1
- package/dist/src/class/builders/LayoutBuilder.js +53 -1
- package/dist/src/class/builders/ListBuilder.d.ts +0 -1
- package/dist/src/class/builders/ListBuilder.js +0 -1
- package/dist/src/class/builders/ObjectBuilder.d.ts +55 -0
- package/dist/src/class/builders/ObjectBuilder.js +70 -0
- package/dist/src/class/builders/OpacityBuilder.d.ts +8 -1
- package/dist/src/class/builders/OpacityBuilder.js +14 -1
- package/dist/src/class/builders/OverflowBuilder.d.ts +64 -0
- package/dist/src/class/builders/OverflowBuilder.js +82 -0
- package/dist/src/class/builders/PositionBuilder.d.ts +247 -15
- package/dist/src/class/builders/PositionBuilder.js +279 -24
- package/dist/src/class/builders/ShadowBuilder.d.ts +57 -0
- package/dist/src/class/builders/ShadowBuilder.js +72 -0
- package/dist/src/class/builders/SizeBuilder.d.ts +6 -1
- package/dist/src/class/builders/SizeBuilder.js +6 -1
- package/dist/src/class/builders/SpaceBuilder.d.ts +55 -0
- package/dist/src/class/builders/SpaceBuilder.js +64 -0
- package/dist/src/class/builders/SpacingBuilder.d.ts +5 -1
- package/dist/src/class/builders/SpacingBuilder.js +8 -1
- package/dist/src/class/builders/TextBuilder.d.ts +60 -3
- package/dist/src/class/builders/TextBuilder.js +101 -3
- package/dist/src/class/builders/TransformBuilder.d.ts +121 -0
- package/dist/src/class/builders/TransformBuilder.js +150 -0
- package/dist/src/class/builders/ZIndexBuilder.d.ts +53 -0
- package/dist/src/class/builders/ZIndexBuilder.js +74 -0
- package/dist/src/class/classBuilder.d.ts +301 -7
- package/dist/src/class/classBuilder.js +614 -2
- package/dist/src/class/index.d.ts +0 -1
- package/dist/src/class/index.js +0 -1
- package/dist/src/class/presets.d.ts +0 -1
- package/dist/src/class/presets.js +0 -1
- package/dist/src/common/backgrounds.d.ts +0 -1
- package/dist/src/common/backgrounds.js +0 -1
- package/dist/src/common/border.d.ts +0 -1
- package/dist/src/common/border.js +0 -1
- package/dist/src/common/fitmode.d.ts +0 -1
- package/dist/src/common/fitmode.js +0 -1
- package/dist/src/common/height.d.ts +0 -1
- package/dist/src/common/height.js +0 -1
- package/dist/src/common/hover.d.ts +0 -1
- package/dist/src/common/hover.js +0 -1
- package/dist/src/common/index.d.ts +0 -1
- package/dist/src/common/index.js +0 -1
- package/dist/src/common/layout-utils.d.ts +0 -1
- package/dist/src/common/layout-utils.js +0 -1
- package/dist/src/common/layout.d.ts +0 -1
- package/dist/src/common/layout.js +0 -1
- package/dist/src/common/loading.d.ts +0 -1
- package/dist/src/common/loading.js +0 -1
- package/dist/src/common/margin.d.ts +0 -1
- package/dist/src/common/margin.js +0 -1
- package/dist/src/common/mask.d.ts +0 -1
- package/dist/src/common/mask.js +0 -1
- package/dist/src/common/meta.d.ts +0 -1
- package/dist/src/common/meta.js +0 -1
- package/dist/src/common/padding-axis.d.ts +0 -1
- package/dist/src/common/padding-axis.js +0 -1
- package/dist/src/common/padding.d.ts +0 -1
- package/dist/src/common/padding.js +0 -1
- package/dist/src/common/rounded.d.ts +0 -1
- package/dist/src/common/rounded.js +0 -1
- package/dist/src/common/shadow.d.ts +0 -1
- package/dist/src/common/shadow.js +0 -1
- package/dist/src/common/sidebar.d.ts +0 -1
- package/dist/src/common/sidebar.js +0 -1
- package/dist/src/common/size.d.ts +0 -1
- package/dist/src/common/size.js +0 -1
- package/dist/src/common/textAlign.d.ts +0 -1
- package/dist/src/common/textAlign.js +0 -1
- package/dist/src/common/textColors.d.ts +0 -1
- package/dist/src/common/textColors.js +0 -1
- package/dist/src/common/textSizes.d.ts +0 -1
- package/dist/src/common/textSizes.js +0 -1
- package/dist/src/common/textWeights.d.ts +0 -1
- package/dist/src/common/textWeights.js +0 -1
- package/dist/src/common/themes.d.ts +0 -1
- package/dist/src/common/themes.js +0 -1
- package/dist/src/common/width.d.ts +0 -1
- package/dist/src/common/width.js +0 -1
- package/dist/src/components/alert/AlertPropsBuilder.d.ts +0 -1
- package/dist/src/components/alert/AlertPropsBuilder.js +0 -1
- package/dist/src/components/alert/alertPropsBase.d.ts +0 -1
- package/dist/src/components/alert/alertPropsBase.js +0 -1
- package/dist/src/components/alert/class-all.d.ts +0 -1
- package/dist/src/components/alert/class-all.js +0 -1
- package/dist/src/components/alert/class-base.d.ts +0 -1
- package/dist/src/components/alert/class-base.js +0 -1
- package/dist/src/components/alert/class-margin.d.ts +0 -1
- package/dist/src/components/alert/class-margin.js +0 -1
- package/dist/src/components/alert/class-type.d.ts +0 -1
- package/dist/src/components/alert/class-type.js +0 -1
- package/dist/src/components/alert/class-variant.d.ts +0 -1
- package/dist/src/components/alert/class-variant.js +0 -1
- package/dist/src/components/alert/index.d.ts +0 -1
- package/dist/src/components/alert/index.js +0 -1
- package/dist/src/components/alert/renderAlert.d.ts +0 -1
- package/dist/src/components/alert/renderAlert.js +1 -2
- package/dist/src/components/apple-phone/applePhonePropsBase.d.ts +0 -1
- package/dist/src/components/apple-phone/applePhonePropsBase.js +0 -1
- package/dist/src/components/apple-phone/constants.d.ts +0 -1
- package/dist/src/components/apple-phone/constants.js +0 -1
- package/dist/src/components/avatar/avatarPropsBase.d.ts +0 -1
- package/dist/src/components/avatar/avatarPropsBase.js +0 -1
- package/dist/src/components/avatar/avatarUtils.d.ts +0 -1
- package/dist/src/components/avatar/avatarUtils.js +0 -1
- package/dist/src/components/avatar/index.d.ts +0 -1
- package/dist/src/components/avatar/index.js +0 -1
- package/dist/src/components/badge/badgePropsBase.d.ts +0 -1
- package/dist/src/components/badge/badgePropsBase.js +0 -1
- package/dist/src/components/badge/class-all.d.ts +0 -1
- package/dist/src/components/badge/class-all.js +0 -1
- package/dist/src/components/badge/class-base.d.ts +0 -1
- package/dist/src/components/badge/class-base.js +0 -1
- package/dist/src/components/badge/class-outline.d.ts +0 -1
- package/dist/src/components/badge/class-outline.js +0 -1
- package/dist/src/components/badge/class-size.d.ts +0 -1
- package/dist/src/components/badge/class-size.js +0 -1
- package/dist/src/components/badge/class-variant.d.ts +0 -1
- package/dist/src/components/badge/class-variant.js +0 -1
- package/dist/src/components/badge/index.d.ts +0 -1
- package/dist/src/components/badge/index.js +0 -1
- package/dist/src/components/badge/renderBadge.d.ts +0 -1
- package/dist/src/components/badge/renderBadge.js +0 -1
- package/dist/src/components/banner/bannerPropsBase.d.ts +0 -1
- package/dist/src/components/banner/bannerPropsBase.js +0 -1
- package/dist/src/components/banner/class-all.d.ts +0 -1
- package/dist/src/components/banner/class-all.js +17 -4
- package/dist/src/components/banner/class-animation.d.ts +0 -1
- package/dist/src/components/banner/class-animation.js +0 -1
- package/dist/src/components/banner/index.d.ts +0 -1
- package/dist/src/components/banner/index.js +0 -1
- package/dist/src/components/banner/renderBanner.d.ts +0 -1
- package/dist/src/components/banner/renderBanner.js +0 -1
- package/dist/src/components/button/buttonPropsBase.d.ts +0 -1
- package/dist/src/components/button/buttonPropsBase.js +0 -1
- package/dist/src/components/button/class-all.d.ts +0 -1
- package/dist/src/components/button/class-all.js +0 -1
- package/dist/src/components/button/class-base.d.ts +0 -1
- package/dist/src/components/button/class-base.js +0 -1
- package/dist/src/components/button/class-gradient.d.ts +0 -1
- package/dist/src/components/button/class-gradient.js +0 -1
- package/dist/src/components/button/class-modifiers.d.ts +0 -1
- package/dist/src/components/button/class-modifiers.js +0 -1
- package/dist/src/components/button/class-shape.d.ts +0 -1
- package/dist/src/components/button/class-shape.js +0 -1
- package/dist/src/components/button/class-size.d.ts +0 -1
- package/dist/src/components/button/class-size.js +0 -1
- package/dist/src/components/button/class-variant.d.ts +0 -1
- package/dist/src/components/button/class-variant.js +0 -1
- package/dist/src/components/card/cardPropsBase.d.ts +0 -1
- package/dist/src/components/card/cardPropsBase.js +0 -1
- package/dist/src/components/card/class-all.d.ts +0 -1
- package/dist/src/components/card/class-all.js +17 -10
- package/dist/src/components/container/ContainerPropsBuilder.d.ts +0 -1
- package/dist/src/components/container/ContainerPropsBuilder.js +0 -1
- package/dist/src/components/container/class-all.d.ts +0 -1
- package/dist/src/components/container/class-all.js +0 -1
- package/dist/src/components/container/class-background.d.ts +0 -1
- package/dist/src/components/container/class-background.js +0 -1
- package/dist/src/components/container/class-border.d.ts +0 -1
- package/dist/src/components/container/class-border.js +0 -1
- package/dist/src/components/container/class-flex.d.ts +0 -1
- package/dist/src/components/container/class-flex.js +0 -1
- package/dist/src/components/container/class-height.d.ts +0 -1
- package/dist/src/components/container/class-height.js +0 -1
- package/dist/src/components/container/class-margin.d.ts +0 -1
- package/dist/src/components/container/class-margin.js +0 -1
- package/dist/src/components/container/class-muted.d.ts +0 -1
- package/dist/src/components/container/class-muted.js +0 -1
- package/dist/src/components/container/class-padding.d.ts +0 -1
- package/dist/src/components/container/class-padding.js +0 -1
- package/dist/src/components/container/class-rounded.d.ts +0 -1
- package/dist/src/components/container/class-rounded.js +0 -1
- package/dist/src/components/container/class-shadow.d.ts +0 -1
- package/dist/src/components/container/class-shadow.js +0 -1
- package/dist/src/components/container/class-width.d.ts +0 -1
- package/dist/src/components/container/class-width.js +0 -1
- package/dist/src/components/container/containerPropsBase.d.ts +0 -1
- package/dist/src/components/container/containerPropsBase.js +0 -1
- package/dist/src/components/container/validate-padding.d.ts +0 -1
- package/dist/src/components/container/validate-padding.js +0 -1
- package/dist/src/components/container/validate-sizing.d.ts +0 -1
- package/dist/src/components/container/validate-sizing.js +0 -1
- package/dist/src/components/container/validate.d.ts +0 -1
- package/dist/src/components/container/validate.js +0 -1
- package/dist/src/components/errors/class-all.d.ts +125 -0
- package/dist/src/components/errors/class-all.js +162 -0
- package/dist/src/components/errors/errorPropsBase.d.ts +104 -0
- package/dist/src/components/errors/errorPropsBase.js +1 -0
- package/dist/src/components/errors/index.d.ts +45 -0
- package/dist/src/components/errors/index.js +40 -0
- package/dist/src/components/footer/types.d.ts +0 -1
- package/dist/src/components/footer/types.js +0 -1
- package/dist/src/components/header/types.d.ts +0 -1
- package/dist/src/components/header/types.js +0 -1
- package/dist/src/components/heading/class-align.d.ts +0 -1
- package/dist/src/components/heading/class-align.js +0 -1
- package/dist/src/components/heading/class-all.d.ts +0 -1
- package/dist/src/components/heading/class-all.js +0 -1
- package/dist/src/components/heading/class-background.d.ts +0 -1
- package/dist/src/components/heading/class-background.js +0 -1
- package/dist/src/components/heading/class-color.d.ts +0 -1
- package/dist/src/components/heading/class-color.js +0 -1
- package/dist/src/components/heading/class-margin.d.ts +0 -1
- package/dist/src/components/heading/class-margin.js +0 -1
- package/dist/src/components/heading/class-padding.d.ts +0 -1
- package/dist/src/components/heading/class-padding.js +0 -1
- package/dist/src/components/heading/class-size.d.ts +0 -1
- package/dist/src/components/heading/class-size.js +0 -1
- package/dist/src/components/heading/class-underline.d.ts +0 -1
- package/dist/src/components/heading/class-underline.js +0 -1
- package/dist/src/components/heading/class-weight.d.ts +0 -1
- package/dist/src/components/heading/class-weight.js +0 -1
- package/dist/src/components/heading/headingPropsBase.d.ts +0 -1
- package/dist/src/components/heading/headingPropsBase.js +0 -1
- package/dist/src/components/layout-app/AppLayoutPropsBuilder.d.ts +0 -1
- package/dist/src/components/layout-app/AppLayoutPropsBuilder.js +0 -1
- package/dist/src/components/layout-app/appLayoutPropsBase.d.ts +0 -1
- package/dist/src/components/layout-app/appLayoutPropsBase.js +0 -1
- package/dist/src/components/link/class-align.d.ts +0 -1
- package/dist/src/components/link/class-align.js +0 -1
- package/dist/src/components/link/class-all.d.ts +0 -1
- package/dist/src/components/link/class-all.js +0 -1
- package/dist/src/components/link/class-animation.d.ts +0 -1
- package/dist/src/components/link/class-animation.js +0 -1
- package/dist/src/components/link/class-base.d.ts +0 -1
- package/dist/src/components/link/class-base.js +0 -1
- package/dist/src/components/link/class-modifiers.d.ts +0 -1
- package/dist/src/components/link/class-modifiers.js +0 -1
- package/dist/src/components/link/class-rounded.d.ts +0 -1
- package/dist/src/components/link/class-rounded.js +0 -1
- package/dist/src/components/link/class-size.d.ts +0 -1
- package/dist/src/components/link/class-size.js +0 -1
- package/dist/src/components/link/class-variant.d.ts +0 -1
- package/dist/src/components/link/class-variant.js +0 -1
- package/dist/src/components/link/linkPropsBase.d.ts +0 -1
- package/dist/src/components/link/linkPropsBase.js +0 -1
- package/dist/src/components/login/class-all.d.ts +34 -0
- package/dist/src/components/login/class-all.js +181 -0
- package/dist/src/components/login/index.d.ts +34 -0
- package/dist/src/components/login/index.js +29 -0
- package/dist/src/components/login/loginPropsBase.d.ts +66 -0
- package/dist/src/components/login/loginPropsBase.js +1 -0
- package/dist/src/components/mac-window/macWindowPropsBase.d.ts +0 -1
- package/dist/src/components/mac-window/macWindowPropsBase.js +0 -1
- package/dist/src/components/main/types.d.ts +0 -1
- package/dist/src/components/main/types.js +0 -1
- package/dist/src/components/placeholder/class-all.d.ts +0 -1
- package/dist/src/components/placeholder/class-all.js +0 -1
- package/dist/src/components/placeholder/class-background.d.ts +0 -1
- package/dist/src/components/placeholder/class-background.js +0 -1
- package/dist/src/components/placeholder/class-border.d.ts +0 -1
- package/dist/src/components/placeholder/class-border.js +0 -1
- package/dist/src/components/placeholder/class-height.d.ts +0 -1
- package/dist/src/components/placeholder/class-height.js +0 -1
- package/dist/src/components/placeholder/class-muted.d.ts +0 -1
- package/dist/src/components/placeholder/class-muted.js +0 -1
- package/dist/src/components/placeholder/class-padding.d.ts +0 -1
- package/dist/src/components/placeholder/class-padding.js +0 -1
- package/dist/src/components/placeholder/class-width.d.ts +0 -1
- package/dist/src/components/placeholder/class-width.js +0 -1
- package/dist/src/components/placeholder/index.d.ts +0 -1
- package/dist/src/components/placeholder/index.js +0 -1
- package/dist/src/components/placeholder/placeholderPropsBase.d.ts +0 -1
- package/dist/src/components/placeholder/placeholderPropsBase.js +0 -1
- package/dist/src/components/products/class-muted.d.ts +0 -1
- package/dist/src/components/products/class-muted.js +0 -1
- package/dist/src/components/review/reviewPropsBase.d.ts +0 -1
- package/dist/src/components/review/reviewPropsBase.js +0 -1
- package/dist/src/components/review/reviewsPropsBase.d.ts +0 -1
- package/dist/src/components/review/reviewsPropsBase.js +0 -1
- package/dist/src/components/text/textProps.d.ts +0 -1
- package/dist/src/components/text/textProps.js +0 -1
- package/dist/src/components/text/textUtils.d.ts +0 -1
- package/dist/src/components/text/textUtils.js +15 -8
- package/dist/src/utils/PropsBuilder.d.ts +0 -1
- package/dist/src/utils/PropsBuilder.js +0 -1
- package/dist/src/utils/component.d.ts +0 -1
- package/dist/src/utils/component.js +0 -1
- package/dist/src/utils/i18n.d.ts +0 -1
- package/dist/src/utils/i18n.js +0 -1
- package/dist/src/utils/image.d.ts +0 -1
- package/dist/src/utils/image.js +0 -1
- package/dist/src/utils/lang_entry.d.ts +0 -1
- package/dist/src/utils/lang_entry.js +0 -1
- package/dist/src/utils/lang_package.d.ts +0 -1
- package/dist/src/utils/lang_package.js +0 -1
- package/dist/src/utils/language.d.ts +0 -1
- package/dist/src/utils/language.js +0 -1
- package/dist/src/utils/link.d.ts +0 -1
- package/dist/src/utils/link.js +0 -1
- package/dist/src/utils/logger.d.ts +0 -1
- package/dist/src/utils/logger.js +0 -1
- package/dist/src/utils/mac-window-bg.d.ts +0 -1
- package/dist/src/utils/mac-window-bg.js +0 -1
- package/dist/src/utils/path.d.ts +0 -1
- package/dist/src/utils/path.js +0 -1
- package/dist/src/utils/social.d.ts +0 -1
- package/dist/src/utils/social.js +0 -1
- package/dist/src/utils/theme.d.ts +0 -1
- package/dist/src/utils/theme.js +0 -1
- package/dist/src/utils/url.d.ts +0 -1
- package/dist/src/utils/url.js +0 -1
- package/dist/src-astro/alert/Alert.astro +0 -5
- package/dist/src-astro/apple-phone/StatusBarContent.astro +0 -5
- package/dist/src-astro/article/Article.astro +0 -5
- package/dist/src-astro/avatar/Avatar.astro +10 -10
- package/dist/src-astro/banner/Banner.astro +0 -5
- package/dist/src-astro/button/Button.astro +0 -5
- package/dist/src-astro/card/Card.astro +20 -6
- package/dist/src-astro/card-book/CardBook.astro +0 -5
- package/dist/src-astro/card-course/CardCourse.astro +0 -5
- package/dist/src-astro/code-container/CodeContainer.astro +28 -10
- package/dist/src-astro/code-container/components/Preview.astro +16 -8
- package/dist/src-astro/code-container/toolbar/CodeToolbar.astro +3 -1
- package/dist/src-astro/code-container/toolbar/ModeSwitcher.astro +91 -15
- package/dist/src-astro/code-panel/CodePanel.astro +6 -3
- package/dist/src-astro/contact/AddressItem.astro +0 -5
- package/dist/src-astro/contact/ContactItem.astro +0 -5
- package/dist/src-astro/contact/EmailItem.astro +0 -5
- package/dist/src-astro/contact/PhoneItem.astro +0 -5
- package/dist/src-astro/contact/SocialLink.astro +0 -5
- package/dist/src-astro/contact/SocialMediaItem.astro +0 -5
- package/dist/src-astro/container/Container.astro +0 -5
- package/dist/src-astro/cosy.d.ts +0 -1
- package/dist/src-astro/cosy.js +0 -1
- package/dist/src-astro/errors/403.astro +27 -29
- package/dist/src-astro/errors/404.astro +24 -26
- package/dist/src-astro/errors/404Basic.astro +0 -3
- package/dist/src-astro/errors/500.astro +31 -35
- package/dist/src-astro/errors/503.astro +40 -38
- package/dist/src-astro/errors/ErrorPage.astro +0 -5
- package/dist/src-astro/features/FeatureCard.astro +0 -5
- package/dist/src-astro/footer/Footer.astro +0 -5
- package/dist/src-astro/footer/FooterAboutNavigation.astro +0 -5
- package/dist/src-astro/footer/FooterLegalNavigation.astro +0 -5
- package/dist/src-astro/footer/FooterNavigation.astro +3 -1
- package/dist/src-astro/footer/FooterResourcesNavigation.astro +0 -5
- package/dist/src-astro/grid/Grid.astro +22 -19
- package/dist/src-astro/heading/Heading.astro +4 -6
- package/dist/src-astro/hero/HeroContent.astro +4 -9
- package/dist/src-astro/hero/HeroImage.astro +13 -13
- package/dist/src-astro/hero/HeroOverlay.astro +3 -2
- package/dist/src-astro/hero/HeroTextContent.astro +17 -12
- package/dist/src-astro/image/Image.astro +16 -7
- package/dist/src-astro/image/ImagePlaceholder.astro +0 -5
- package/dist/src-astro/image/RemoteImage.astro +0 -5
- package/dist/src-astro/image/types.d.ts +0 -1
- package/dist/src-astro/image/types.js +0 -1
- package/dist/src-astro/language-switcher/LanguageSwitcher.astro +17 -7
- package/dist/src-astro/layout-app/AppLayoutMainContent.astro +5 -2
- package/dist/src-astro/layout-basic/BaseLayoutHtml.astro +0 -5
- package/dist/src-astro/loading-overlay/LoadingOverlay.astro +15 -10
- package/dist/src-astro/login/Login.astro +54 -41
- package/dist/src-astro/mac-window/MacWindow.astro +58 -26
- package/dist/src-astro/main/Main.astro +15 -84
- package/dist/src-astro/modal/Modal.astro +5 -7
- package/dist/src-astro/picture-book/PictureBookPage.astro +0 -5
- package/dist/src-astro/register/Register.astro +0 -5
- package/dist/src-astro/review/Review.astro +5 -1
- package/dist/src-astro/sidebar/NavItem.astro +0 -5
- package/dist/src-astro/sidebar/SidebarNav.astro +0 -5
- package/dist/src-astro/team-member/TeamMember.astro +5 -7
- package/dist/src-astro/team-member/TeamMembers.astro +6 -9
- package/dist/src-astro/text/Text.astro +0 -5
- package/dist/src-astro/toast/Toast.astro +12 -17
- package/dist/src-astro/toc/TableOfContents.astro +5 -3
- package/dist/src-astro/types/nav.d.ts +0 -1
- package/dist/src-astro/types/nav.js +0 -1
- package/dist/src-astro/types/product.d.ts +0 -1
- package/dist/src-astro/types/product.js +0 -1
- package/dist/src-vue/errors/Error403.vue +144 -0
- package/dist/src-vue/errors/Error404.vue +125 -0
- package/dist/src-vue/errors/Error500.vue +162 -0
- package/dist/src-vue/errors/Error503.vue +181 -0
- package/dist/src-vue/errors/ErrorPage.vue +104 -0
- package/dist/src-vue/errors/index.ts +14 -0
- package/dist/src-vue/errors/props.ts +32 -0
- package/dist/src-vue/grid/Grid.vue +8 -0
- package/dist/src-vue/login/Login.vue +205 -0
- package/dist/src-vue/login/index.ts +4 -0
- package/dist/src-vue/login/props.ts +6 -0
- package/package.json +1 -1
- package/dist/src/assets/iconData.d.ts.map +0 -1
- package/dist/src/assets/iconData.js.map +0 -1
- package/dist/src/assets/icons-data/alertTriangle.d.ts.map +0 -1
- package/dist/src/assets/icons-data/alertTriangle.js.map +0 -1
- package/dist/src/assets/icons-data/appstore.d.ts.map +0 -1
- package/dist/src/assets/icons-data/appstore.js.map +0 -1
- package/dist/src/assets/icons-data/calendar.d.ts.map +0 -1
- package/dist/src/assets/icons-data/calendar.js.map +0 -1
- package/dist/src/assets/icons-data/chart.d.ts.map +0 -1
- package/dist/src/assets/icons-data/chart.js.map +0 -1
- package/dist/src/assets/icons-data/check.d.ts.map +0 -1
- package/dist/src/assets/icons-data/check.js.map +0 -1
- package/dist/src/assets/icons-data/checkCircle.d.ts.map +0 -1
- package/dist/src/assets/icons-data/checkCircle.js.map +0 -1
- package/dist/src/assets/icons-data/chevronDown.d.ts.map +0 -1
- package/dist/src/assets/icons-data/chevronDown.js.map +0 -1
- package/dist/src/assets/icons-data/chevronLeft.d.ts.map +0 -1
- package/dist/src/assets/icons-data/chevronLeft.js.map +0 -1
- package/dist/src/assets/icons-data/chevronRight.d.ts.map +0 -1
- package/dist/src/assets/icons-data/chevronRight.js.map +0 -1
- package/dist/src/assets/icons-data/clipboard.d.ts.map +0 -1
- package/dist/src/assets/icons-data/clipboard.js.map +0 -1
- package/dist/src/assets/icons-data/close.d.ts.map +0 -1
- package/dist/src/assets/icons-data/close.js.map +0 -1
- package/dist/src/assets/icons-data/code.d.ts.map +0 -1
- package/dist/src/assets/icons-data/code.js.map +0 -1
- package/dist/src/assets/icons-data/dashboard.d.ts.map +0 -1
- package/dist/src/assets/icons-data/dashboard.js.map +0 -1
- package/dist/src/assets/icons-data/delete.d.ts.map +0 -1
- package/dist/src/assets/icons-data/delete.js.map +0 -1
- package/dist/src/assets/icons-data/document.d.ts.map +0 -1
- package/dist/src/assets/icons-data/document.js.map +0 -1
- package/dist/src/assets/icons-data/download.d.ts.map +0 -1
- package/dist/src/assets/icons-data/download.js.map +0 -1
- package/dist/src/assets/icons-data/edit.d.ts.map +0 -1
- package/dist/src/assets/icons-data/edit.js.map +0 -1
- package/dist/src/assets/icons-data/facebook.d.ts.map +0 -1
- package/dist/src/assets/icons-data/facebook.js.map +0 -1
- package/dist/src/assets/icons-data/folder.d.ts.map +0 -1
- package/dist/src/assets/icons-data/folder.js.map +0 -1
- package/dist/src/assets/icons-data/github.d.ts.map +0 -1
- package/dist/src/assets/icons-data/github.js.map +0 -1
- package/dist/src/assets/icons-data/globe.d.ts.map +0 -1
- package/dist/src/assets/icons-data/globe.js.map +0 -1
- package/dist/src/assets/icons-data/heart.d.ts.map +0 -1
- package/dist/src/assets/icons-data/heart.js.map +0 -1
- package/dist/src/assets/icons-data/home.d.ts.map +0 -1
- package/dist/src/assets/icons-data/home.js.map +0 -1
- package/dist/src/assets/icons-data/inboxArchive.d.ts.map +0 -1
- package/dist/src/assets/icons-data/inboxArchive.js.map +0 -1
- package/dist/src/assets/icons-data/index.d.ts.map +0 -1
- package/dist/src/assets/icons-data/index.js.map +0 -1
- package/dist/src/assets/icons-data/info.d.ts.map +0 -1
- package/dist/src/assets/icons-data/info.js.map +0 -1
- package/dist/src/assets/icons-data/infoCircle.d.ts.map +0 -1
- package/dist/src/assets/icons-data/infoCircle.js.map +0 -1
- package/dist/src/assets/icons-data/iphoneBattery.d.ts.map +0 -1
- package/dist/src/assets/icons-data/iphoneBattery.js.map +0 -1
- package/dist/src/assets/icons-data/iphoneSignal.d.ts.map +0 -1
- package/dist/src/assets/icons-data/iphoneSignal.js.map +0 -1
- package/dist/src/assets/icons-data/iphoneWifi.d.ts.map +0 -1
- package/dist/src/assets/icons-data/iphoneWifi.js.map +0 -1
- package/dist/src/assets/icons-data/link.d.ts.map +0 -1
- package/dist/src/assets/icons-data/link.js.map +0 -1
- package/dist/src/assets/icons-data/linkedin.d.ts.map +0 -1
- package/dist/src/assets/icons-data/linkedin.js.map +0 -1
- package/dist/src/assets/icons-data/logOut.d.ts.map +0 -1
- package/dist/src/assets/icons-data/logOut.js.map +0 -1
- package/dist/src/assets/icons-data/mail.d.ts.map +0 -1
- package/dist/src/assets/icons-data/mail.js.map +0 -1
- package/dist/src/assets/icons-data/mapPin.d.ts.map +0 -1
- package/dist/src/assets/icons-data/mapPin.js.map +0 -1
- package/dist/src/assets/icons-data/menu.d.ts.map +0 -1
- package/dist/src/assets/icons-data/menu.js.map +0 -1
- package/dist/src/assets/icons-data/message.d.ts.map +0 -1
- package/dist/src/assets/icons-data/message.js.map +0 -1
- package/dist/src/assets/icons-data/notification.d.ts.map +0 -1
- package/dist/src/assets/icons-data/notification.js.map +0 -1
- package/dist/src/assets/icons-data/phone.d.ts.map +0 -1
- package/dist/src/assets/icons-data/phone.js.map +0 -1
- package/dist/src/assets/icons-data/refresh.d.ts.map +0 -1
- package/dist/src/assets/icons-data/refresh.js.map +0 -1
- package/dist/src/assets/icons-data/report.d.ts.map +0 -1
- package/dist/src/assets/icons-data/report.js.map +0 -1
- package/dist/src/assets/icons-data/save.d.ts.map +0 -1
- package/dist/src/assets/icons-data/save.js.map +0 -1
- package/dist/src/assets/icons-data/search.d.ts.map +0 -1
- package/dist/src/assets/icons-data/search.js.map +0 -1
- package/dist/src/assets/icons-data/security.d.ts.map +0 -1
- package/dist/src/assets/icons-data/security.js.map +0 -1
- package/dist/src/assets/icons-data/settings.d.ts.map +0 -1
- package/dist/src/assets/icons-data/settings.js.map +0 -1
- package/dist/src/assets/icons-data/star.d.ts.map +0 -1
- package/dist/src/assets/icons-data/star.js.map +0 -1
- package/dist/src/assets/icons-data/sunCloudy.d.ts.map +0 -1
- package/dist/src/assets/icons-data/sunCloudy.js.map +0 -1
- package/dist/src/assets/icons-data/tools.d.ts.map +0 -1
- package/dist/src/assets/icons-data/tools.js.map +0 -1
- package/dist/src/assets/icons-data/twitter.d.ts.map +0 -1
- package/dist/src/assets/icons-data/twitter.js.map +0 -1
- package/dist/src/assets/icons-data/upload.d.ts.map +0 -1
- package/dist/src/assets/icons-data/upload.js.map +0 -1
- package/dist/src/assets/icons-data/user.d.ts.map +0 -1
- package/dist/src/assets/icons-data/user.js.map +0 -1
- package/dist/src/assets/icons-data/users.d.ts.map +0 -1
- package/dist/src/assets/icons-data/users.js.map +0 -1
- package/dist/src/assets/icons-data/view.d.ts.map +0 -1
- package/dist/src/assets/icons-data/view.js.map +0 -1
- package/dist/src/assets/icons-data/wallet.d.ts.map +0 -1
- package/dist/src/assets/icons-data/wallet.js.map +0 -1
- package/dist/src/assets/icons-data/website.d.ts.map +0 -1
- package/dist/src/assets/icons-data/website.js.map +0 -1
- package/dist/src/assets/icons-data/wechat.d.ts.map +0 -1
- package/dist/src/assets/icons-data/wechat.js.map +0 -1
- package/dist/src/assets/icons-data/whatsapp.d.ts.map +0 -1
- package/dist/src/assets/icons-data/whatsapp.js.map +0 -1
- package/dist/src/assets/icons-data/xCircle.d.ts.map +0 -1
- package/dist/src/assets/icons-data/xCircle.js.map +0 -1
- package/dist/src/class/builders/LayoutBuilder.d.ts.map +0 -1
- package/dist/src/class/builders/LayoutBuilder.js.map +0 -1
- package/dist/src/class/builders/ListBuilder.d.ts.map +0 -1
- package/dist/src/class/builders/ListBuilder.js.map +0 -1
- package/dist/src/class/builders/OpacityBuilder.d.ts.map +0 -1
- package/dist/src/class/builders/OpacityBuilder.js.map +0 -1
- package/dist/src/class/builders/PositionBuilder.d.ts.map +0 -1
- package/dist/src/class/builders/PositionBuilder.js.map +0 -1
- package/dist/src/class/builders/SizeBuilder.d.ts.map +0 -1
- package/dist/src/class/builders/SizeBuilder.js.map +0 -1
- package/dist/src/class/builders/SpacingBuilder.d.ts.map +0 -1
- package/dist/src/class/builders/SpacingBuilder.js.map +0 -1
- package/dist/src/class/builders/TextBuilder.d.ts.map +0 -1
- package/dist/src/class/builders/TextBuilder.js.map +0 -1
- package/dist/src/class/classBuilder.d.ts.map +0 -1
- package/dist/src/class/classBuilder.js.map +0 -1
- package/dist/src/class/index.d.ts.map +0 -1
- package/dist/src/class/index.js.map +0 -1
- package/dist/src/class/presets.d.ts.map +0 -1
- package/dist/src/class/presets.js.map +0 -1
- package/dist/src/common/backgrounds.d.ts.map +0 -1
- package/dist/src/common/backgrounds.js.map +0 -1
- package/dist/src/common/border.d.ts.map +0 -1
- package/dist/src/common/border.js.map +0 -1
- package/dist/src/common/fitmode.d.ts.map +0 -1
- package/dist/src/common/fitmode.js.map +0 -1
- package/dist/src/common/height.d.ts.map +0 -1
- package/dist/src/common/height.js.map +0 -1
- package/dist/src/common/hover.d.ts.map +0 -1
- package/dist/src/common/hover.js.map +0 -1
- package/dist/src/common/index.d.ts.map +0 -1
- package/dist/src/common/index.js.map +0 -1
- package/dist/src/common/layout-utils.d.ts.map +0 -1
- package/dist/src/common/layout-utils.js.map +0 -1
- package/dist/src/common/layout.d.ts.map +0 -1
- package/dist/src/common/layout.js.map +0 -1
- package/dist/src/common/loading.d.ts.map +0 -1
- package/dist/src/common/loading.js.map +0 -1
- package/dist/src/common/margin.d.ts.map +0 -1
- package/dist/src/common/margin.js.map +0 -1
- package/dist/src/common/mask.d.ts.map +0 -1
- package/dist/src/common/mask.js.map +0 -1
- package/dist/src/common/meta.d.ts.map +0 -1
- package/dist/src/common/meta.js.map +0 -1
- package/dist/src/common/padding-axis.d.ts.map +0 -1
- package/dist/src/common/padding-axis.js.map +0 -1
- package/dist/src/common/padding.d.ts.map +0 -1
- package/dist/src/common/padding.js.map +0 -1
- package/dist/src/common/rounded.d.ts.map +0 -1
- package/dist/src/common/rounded.js.map +0 -1
- package/dist/src/common/shadow.d.ts.map +0 -1
- package/dist/src/common/shadow.js.map +0 -1
- package/dist/src/common/sidebar.d.ts.map +0 -1
- package/dist/src/common/sidebar.js.map +0 -1
- package/dist/src/common/size.d.ts.map +0 -1
- package/dist/src/common/size.js.map +0 -1
- package/dist/src/common/textAlign.d.ts.map +0 -1
- package/dist/src/common/textAlign.js.map +0 -1
- package/dist/src/common/textColors.d.ts.map +0 -1
- package/dist/src/common/textColors.js.map +0 -1
- package/dist/src/common/textSizes.d.ts.map +0 -1
- package/dist/src/common/textSizes.js.map +0 -1
- package/dist/src/common/textWeights.d.ts.map +0 -1
- package/dist/src/common/textWeights.js.map +0 -1
- package/dist/src/common/themes.d.ts.map +0 -1
- package/dist/src/common/themes.js.map +0 -1
- package/dist/src/common/width.d.ts.map +0 -1
- package/dist/src/common/width.js.map +0 -1
- package/dist/src/components/alert/AlertPropsBuilder.d.ts.map +0 -1
- package/dist/src/components/alert/AlertPropsBuilder.js.map +0 -1
- package/dist/src/components/alert/alertPropsBase.d.ts.map +0 -1
- package/dist/src/components/alert/alertPropsBase.js.map +0 -1
- package/dist/src/components/alert/class-all.d.ts.map +0 -1
- package/dist/src/components/alert/class-all.js.map +0 -1
- package/dist/src/components/alert/class-base.d.ts.map +0 -1
- package/dist/src/components/alert/class-base.js.map +0 -1
- package/dist/src/components/alert/class-margin.d.ts.map +0 -1
- package/dist/src/components/alert/class-margin.js.map +0 -1
- package/dist/src/components/alert/class-type.d.ts.map +0 -1
- package/dist/src/components/alert/class-type.js.map +0 -1
- package/dist/src/components/alert/class-variant.d.ts.map +0 -1
- package/dist/src/components/alert/class-variant.js.map +0 -1
- package/dist/src/components/alert/index.d.ts.map +0 -1
- package/dist/src/components/alert/index.js.map +0 -1
- package/dist/src/components/alert/renderAlert.d.ts.map +0 -1
- package/dist/src/components/alert/renderAlert.js.map +0 -1
- package/dist/src/components/apple-phone/applePhonePropsBase.d.ts.map +0 -1
- package/dist/src/components/apple-phone/applePhonePropsBase.js.map +0 -1
- package/dist/src/components/apple-phone/constants.d.ts.map +0 -1
- package/dist/src/components/apple-phone/constants.js.map +0 -1
- package/dist/src/components/avatar/avatarPropsBase.d.ts.map +0 -1
- package/dist/src/components/avatar/avatarPropsBase.js.map +0 -1
- package/dist/src/components/avatar/avatarUtils.d.ts.map +0 -1
- package/dist/src/components/avatar/avatarUtils.js.map +0 -1
- package/dist/src/components/avatar/index.d.ts.map +0 -1
- package/dist/src/components/avatar/index.js.map +0 -1
- package/dist/src/components/badge/badgePropsBase.d.ts.map +0 -1
- package/dist/src/components/badge/badgePropsBase.js.map +0 -1
- package/dist/src/components/badge/class-all.d.ts.map +0 -1
- package/dist/src/components/badge/class-all.js.map +0 -1
- package/dist/src/components/badge/class-base.d.ts.map +0 -1
- package/dist/src/components/badge/class-base.js.map +0 -1
- package/dist/src/components/badge/class-outline.d.ts.map +0 -1
- package/dist/src/components/badge/class-outline.js.map +0 -1
- package/dist/src/components/badge/class-size.d.ts.map +0 -1
- package/dist/src/components/badge/class-size.js.map +0 -1
- package/dist/src/components/badge/class-variant.d.ts.map +0 -1
- package/dist/src/components/badge/class-variant.js.map +0 -1
- package/dist/src/components/badge/index.d.ts.map +0 -1
- package/dist/src/components/badge/index.js.map +0 -1
- package/dist/src/components/badge/renderBadge.d.ts.map +0 -1
- package/dist/src/components/badge/renderBadge.js.map +0 -1
- package/dist/src/components/banner/bannerPropsBase.d.ts.map +0 -1
- package/dist/src/components/banner/bannerPropsBase.js.map +0 -1
- package/dist/src/components/banner/class-all.d.ts.map +0 -1
- package/dist/src/components/banner/class-all.js.map +0 -1
- package/dist/src/components/banner/class-animation.d.ts.map +0 -1
- package/dist/src/components/banner/class-animation.js.map +0 -1
- package/dist/src/components/banner/index.d.ts.map +0 -1
- package/dist/src/components/banner/index.js.map +0 -1
- package/dist/src/components/banner/renderBanner.d.ts.map +0 -1
- package/dist/src/components/banner/renderBanner.js.map +0 -1
- package/dist/src/components/button/buttonPropsBase.d.ts.map +0 -1
- package/dist/src/components/button/buttonPropsBase.js.map +0 -1
- package/dist/src/components/button/class-all.d.ts.map +0 -1
- package/dist/src/components/button/class-all.js.map +0 -1
- package/dist/src/components/button/class-base.d.ts.map +0 -1
- package/dist/src/components/button/class-base.js.map +0 -1
- package/dist/src/components/button/class-gradient.d.ts.map +0 -1
- package/dist/src/components/button/class-gradient.js.map +0 -1
- package/dist/src/components/button/class-modifiers.d.ts.map +0 -1
- package/dist/src/components/button/class-modifiers.js.map +0 -1
- package/dist/src/components/button/class-shape.d.ts.map +0 -1
- package/dist/src/components/button/class-shape.js.map +0 -1
- package/dist/src/components/button/class-size.d.ts.map +0 -1
- package/dist/src/components/button/class-size.js.map +0 -1
- package/dist/src/components/button/class-variant.d.ts.map +0 -1
- package/dist/src/components/button/class-variant.js.map +0 -1
- package/dist/src/components/card/cardPropsBase.d.ts.map +0 -1
- package/dist/src/components/card/cardPropsBase.js.map +0 -1
- package/dist/src/components/card/class-all.d.ts.map +0 -1
- package/dist/src/components/card/class-all.js.map +0 -1
- package/dist/src/components/container/ContainerPropsBuilder.d.ts.map +0 -1
- package/dist/src/components/container/ContainerPropsBuilder.js.map +0 -1
- package/dist/src/components/container/class-all.d.ts.map +0 -1
- package/dist/src/components/container/class-all.js.map +0 -1
- package/dist/src/components/container/class-background.d.ts.map +0 -1
- package/dist/src/components/container/class-background.js.map +0 -1
- package/dist/src/components/container/class-border.d.ts.map +0 -1
- package/dist/src/components/container/class-border.js.map +0 -1
- package/dist/src/components/container/class-flex.d.ts.map +0 -1
- package/dist/src/components/container/class-flex.js.map +0 -1
- package/dist/src/components/container/class-height.d.ts.map +0 -1
- package/dist/src/components/container/class-height.js.map +0 -1
- package/dist/src/components/container/class-margin.d.ts.map +0 -1
- package/dist/src/components/container/class-margin.js.map +0 -1
- package/dist/src/components/container/class-muted.d.ts.map +0 -1
- package/dist/src/components/container/class-muted.js.map +0 -1
- package/dist/src/components/container/class-padding.d.ts.map +0 -1
- package/dist/src/components/container/class-padding.js.map +0 -1
- package/dist/src/components/container/class-rounded.d.ts.map +0 -1
- package/dist/src/components/container/class-rounded.js.map +0 -1
- package/dist/src/components/container/class-shadow.d.ts.map +0 -1
- package/dist/src/components/container/class-shadow.js.map +0 -1
- package/dist/src/components/container/class-width.d.ts.map +0 -1
- package/dist/src/components/container/class-width.js.map +0 -1
- package/dist/src/components/container/containerPropsBase.d.ts.map +0 -1
- package/dist/src/components/container/containerPropsBase.js.map +0 -1
- package/dist/src/components/container/validate-padding.d.ts.map +0 -1
- package/dist/src/components/container/validate-padding.js.map +0 -1
- package/dist/src/components/container/validate-sizing.d.ts.map +0 -1
- package/dist/src/components/container/validate-sizing.js.map +0 -1
- package/dist/src/components/container/validate.d.ts.map +0 -1
- package/dist/src/components/container/validate.js.map +0 -1
- package/dist/src/components/footer/types.d.ts.map +0 -1
- package/dist/src/components/footer/types.js.map +0 -1
- package/dist/src/components/header/types.d.ts.map +0 -1
- package/dist/src/components/header/types.js.map +0 -1
- package/dist/src/components/heading/class-align.d.ts.map +0 -1
- package/dist/src/components/heading/class-align.js.map +0 -1
- package/dist/src/components/heading/class-all.d.ts.map +0 -1
- package/dist/src/components/heading/class-all.js.map +0 -1
- package/dist/src/components/heading/class-background.d.ts.map +0 -1
- package/dist/src/components/heading/class-background.js.map +0 -1
- package/dist/src/components/heading/class-color.d.ts.map +0 -1
- package/dist/src/components/heading/class-color.js.map +0 -1
- package/dist/src/components/heading/class-margin.d.ts.map +0 -1
- package/dist/src/components/heading/class-margin.js.map +0 -1
- package/dist/src/components/heading/class-padding.d.ts.map +0 -1
- package/dist/src/components/heading/class-padding.js.map +0 -1
- package/dist/src/components/heading/class-size.d.ts.map +0 -1
- package/dist/src/components/heading/class-size.js.map +0 -1
- package/dist/src/components/heading/class-underline.d.ts.map +0 -1
- package/dist/src/components/heading/class-underline.js.map +0 -1
- package/dist/src/components/heading/class-weight.d.ts.map +0 -1
- package/dist/src/components/heading/class-weight.js.map +0 -1
- package/dist/src/components/heading/headingPropsBase.d.ts.map +0 -1
- package/dist/src/components/heading/headingPropsBase.js.map +0 -1
- package/dist/src/components/layout-app/AppLayoutPropsBuilder.d.ts.map +0 -1
- package/dist/src/components/layout-app/AppLayoutPropsBuilder.js.map +0 -1
- package/dist/src/components/layout-app/appLayoutPropsBase.d.ts.map +0 -1
- package/dist/src/components/layout-app/appLayoutPropsBase.js.map +0 -1
- package/dist/src/components/link/class-align.d.ts.map +0 -1
- package/dist/src/components/link/class-align.js.map +0 -1
- package/dist/src/components/link/class-all.d.ts.map +0 -1
- package/dist/src/components/link/class-all.js.map +0 -1
- package/dist/src/components/link/class-animation.d.ts.map +0 -1
- package/dist/src/components/link/class-animation.js.map +0 -1
- package/dist/src/components/link/class-base.d.ts.map +0 -1
- package/dist/src/components/link/class-base.js.map +0 -1
- package/dist/src/components/link/class-modifiers.d.ts.map +0 -1
- package/dist/src/components/link/class-modifiers.js.map +0 -1
- package/dist/src/components/link/class-rounded.d.ts.map +0 -1
- package/dist/src/components/link/class-rounded.js.map +0 -1
- package/dist/src/components/link/class-size.d.ts.map +0 -1
- package/dist/src/components/link/class-size.js.map +0 -1
- package/dist/src/components/link/class-variant.d.ts.map +0 -1
- package/dist/src/components/link/class-variant.js.map +0 -1
- package/dist/src/components/link/linkPropsBase.d.ts.map +0 -1
- package/dist/src/components/link/linkPropsBase.js.map +0 -1
- package/dist/src/components/mac-window/macWindowPropsBase.d.ts.map +0 -1
- package/dist/src/components/mac-window/macWindowPropsBase.js.map +0 -1
- package/dist/src/components/main/types.d.ts.map +0 -1
- package/dist/src/components/main/types.js.map +0 -1
- package/dist/src/components/placeholder/class-all.d.ts.map +0 -1
- package/dist/src/components/placeholder/class-all.js.map +0 -1
- package/dist/src/components/placeholder/class-background.d.ts.map +0 -1
- package/dist/src/components/placeholder/class-background.js.map +0 -1
- package/dist/src/components/placeholder/class-border.d.ts.map +0 -1
- package/dist/src/components/placeholder/class-border.js.map +0 -1
- package/dist/src/components/placeholder/class-height.d.ts.map +0 -1
- package/dist/src/components/placeholder/class-height.js.map +0 -1
- package/dist/src/components/placeholder/class-muted.d.ts.map +0 -1
- package/dist/src/components/placeholder/class-muted.js.map +0 -1
- package/dist/src/components/placeholder/class-padding.d.ts.map +0 -1
- package/dist/src/components/placeholder/class-padding.js.map +0 -1
- package/dist/src/components/placeholder/class-width.d.ts.map +0 -1
- package/dist/src/components/placeholder/class-width.js.map +0 -1
- package/dist/src/components/placeholder/index.d.ts.map +0 -1
- package/dist/src/components/placeholder/index.js.map +0 -1
- package/dist/src/components/placeholder/placeholderPropsBase.d.ts.map +0 -1
- package/dist/src/components/placeholder/placeholderPropsBase.js.map +0 -1
- package/dist/src/components/products/class-muted.d.ts.map +0 -1
- package/dist/src/components/products/class-muted.js.map +0 -1
- package/dist/src/components/review/reviewPropsBase.d.ts.map +0 -1
- package/dist/src/components/review/reviewPropsBase.js.map +0 -1
- package/dist/src/components/review/reviewsPropsBase.d.ts.map +0 -1
- package/dist/src/components/review/reviewsPropsBase.js.map +0 -1
- package/dist/src/components/text/textProps.d.ts.map +0 -1
- package/dist/src/components/text/textProps.js.map +0 -1
- package/dist/src/components/text/textUtils.d.ts.map +0 -1
- package/dist/src/components/text/textUtils.js.map +0 -1
- package/dist/src/utils/PropsBuilder.d.ts.map +0 -1
- package/dist/src/utils/PropsBuilder.js.map +0 -1
- package/dist/src/utils/component.d.ts.map +0 -1
- package/dist/src/utils/component.js.map +0 -1
- package/dist/src/utils/i18n.d.ts.map +0 -1
- package/dist/src/utils/i18n.js.map +0 -1
- package/dist/src/utils/image.d.ts.map +0 -1
- package/dist/src/utils/image.js.map +0 -1
- package/dist/src/utils/lang_entry.d.ts.map +0 -1
- package/dist/src/utils/lang_entry.js.map +0 -1
- package/dist/src/utils/lang_package.d.ts.map +0 -1
- package/dist/src/utils/lang_package.js.map +0 -1
- package/dist/src/utils/language.d.ts.map +0 -1
- package/dist/src/utils/language.js.map +0 -1
- package/dist/src/utils/link.d.ts.map +0 -1
- package/dist/src/utils/link.js.map +0 -1
- package/dist/src/utils/logger.d.ts.map +0 -1
- package/dist/src/utils/logger.js.map +0 -1
- package/dist/src/utils/mac-window-bg.d.ts.map +0 -1
- package/dist/src/utils/mac-window-bg.js.map +0 -1
- package/dist/src/utils/path.d.ts.map +0 -1
- package/dist/src/utils/path.js.map +0 -1
- package/dist/src/utils/social.d.ts.map +0 -1
- package/dist/src/utils/social.js.map +0 -1
- package/dist/src/utils/theme.d.ts.map +0 -1
- package/dist/src/utils/theme.js.map +0 -1
- package/dist/src/utils/url.d.ts.map +0 -1
- package/dist/src/utils/url.js.map +0 -1
- package/dist/src-astro/cosy.d.ts.map +0 -1
- package/dist/src-astro/cosy.js.map +0 -1
- package/dist/src-astro/image/types.d.ts.map +0 -1
- package/dist/src-astro/image/types.js.map +0 -1
- package/dist/src-astro/types/nav.d.ts.map +0 -1
- package/dist/src-astro/types/nav.js.map +0 -1
- package/dist/src-astro/types/product.d.ts.map +0 -1
- package/dist/src-astro/types/product.js.map +0 -1
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* PositionBuilder - 定位相关的类名构建
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* 负责构建 position 相关的类名,包括 position、top/right/bottom/left、
|
|
5
|
+
* inset、z-index、pointer-events 等
|
|
5
6
|
*/
|
|
6
|
-
//
|
|
7
|
+
// Position 类名映射表
|
|
8
|
+
const positionMap = {
|
|
9
|
+
static: "cosy:static",
|
|
10
|
+
fixed: "cosy:fixed",
|
|
11
|
+
absolute: "cosy:absolute",
|
|
12
|
+
relative: "cosy:relative",
|
|
13
|
+
sticky: "cosy:sticky",
|
|
14
|
+
};
|
|
15
|
+
// Inset 类名映射表(top、right、bottom、left 同时设置)
|
|
7
16
|
const insetMap = {
|
|
8
17
|
0: "cosy:inset-0",
|
|
18
|
+
"0.5": "cosy:inset-0.5",
|
|
9
19
|
1: "cosy:inset-1",
|
|
20
|
+
"1.5": "cosy:inset-1.5",
|
|
10
21
|
2: "cosy:inset-2",
|
|
22
|
+
"2.5": "cosy:inset-2.5",
|
|
11
23
|
3: "cosy:inset-3",
|
|
12
24
|
4: "cosy:inset-4",
|
|
13
25
|
5: "cosy:inset-5",
|
|
@@ -17,11 +29,27 @@ const insetMap = {
|
|
|
17
29
|
12: "cosy:inset-12",
|
|
18
30
|
16: "cosy:inset-16",
|
|
19
31
|
auto: "cosy:inset-auto",
|
|
32
|
+
"1/2": "cosy:inset-1/2",
|
|
33
|
+
"1/3": "cosy:inset-1/3",
|
|
34
|
+
"2/3": "cosy:inset-2/3",
|
|
35
|
+
"1/4": "cosy:inset-1/4",
|
|
36
|
+
"3/4": "cosy:inset-3/4",
|
|
37
|
+
full: "cosy:inset-full",
|
|
38
|
+
"-full": "cosy:-inset-full",
|
|
39
|
+
"-1/2": "cosy:-inset-1/2",
|
|
40
|
+
"-1/3": "cosy:-inset-1/3",
|
|
41
|
+
"-2/3": "cosy:-inset-2/3",
|
|
42
|
+
"-1/4": "cosy:-inset-1/4",
|
|
43
|
+
"-3/4": "cosy:-inset-3/4",
|
|
20
44
|
};
|
|
45
|
+
// Inset X 类名映射表(left 和 right)
|
|
21
46
|
const insetXMap = {
|
|
22
47
|
0: "cosy:inset-x-0",
|
|
48
|
+
"0.5": "cosy:inset-x-0.5",
|
|
23
49
|
1: "cosy:inset-x-1",
|
|
50
|
+
"1.5": "cosy:inset-x-1.5",
|
|
24
51
|
2: "cosy:inset-x-2",
|
|
52
|
+
"2.5": "cosy:inset-x-2.5",
|
|
25
53
|
3: "cosy:inset-x-3",
|
|
26
54
|
4: "cosy:inset-x-4",
|
|
27
55
|
5: "cosy:inset-x-5",
|
|
@@ -31,11 +59,27 @@ const insetXMap = {
|
|
|
31
59
|
12: "cosy:inset-x-12",
|
|
32
60
|
16: "cosy:inset-x-16",
|
|
33
61
|
auto: "cosy:inset-x-auto",
|
|
62
|
+
"1/2": "cosy:inset-x-1/2",
|
|
63
|
+
"1/3": "cosy:inset-x-1/3",
|
|
64
|
+
"2/3": "cosy:inset-x-2/3",
|
|
65
|
+
"1/4": "cosy:inset-x-1/4",
|
|
66
|
+
"3/4": "cosy:inset-x-3/4",
|
|
67
|
+
full: "cosy:inset-x-full",
|
|
68
|
+
"-full": "cosy:-inset-x-full",
|
|
69
|
+
"-1/2": "cosy:-inset-x-1/2",
|
|
70
|
+
"-1/3": "cosy:-inset-x-1/3",
|
|
71
|
+
"-2/3": "cosy:-inset-x-2/3",
|
|
72
|
+
"-1/4": "cosy:-inset-x-1/4",
|
|
73
|
+
"-3/4": "cosy:-inset-x-3/4",
|
|
34
74
|
};
|
|
75
|
+
// Inset Y 类名映射表(top 和 bottom)
|
|
35
76
|
const insetYMap = {
|
|
36
77
|
0: "cosy:inset-y-0",
|
|
78
|
+
"0.5": "cosy:inset-y-0.5",
|
|
37
79
|
1: "cosy:inset-y-1",
|
|
80
|
+
"1.5": "cosy:inset-y-1.5",
|
|
38
81
|
2: "cosy:inset-y-2",
|
|
82
|
+
"2.5": "cosy:inset-y-2.5",
|
|
39
83
|
3: "cosy:inset-y-3",
|
|
40
84
|
4: "cosy:inset-y-4",
|
|
41
85
|
5: "cosy:inset-y-5",
|
|
@@ -45,10 +89,21 @@ const insetYMap = {
|
|
|
45
89
|
12: "cosy:inset-y-12",
|
|
46
90
|
16: "cosy:inset-y-16",
|
|
47
91
|
auto: "cosy:inset-y-auto",
|
|
92
|
+
"1/2": "cosy:inset-y-1/2",
|
|
93
|
+
"1/3": "cosy:inset-y-1/3",
|
|
94
|
+
"2/3": "cosy:inset-y-2/3",
|
|
95
|
+
"1/4": "cosy:inset-y-1/4",
|
|
96
|
+
"3/4": "cosy:inset-y-3/4",
|
|
97
|
+
full: "cosy:inset-y-full",
|
|
98
|
+
"-full": "cosy:-inset-y-full",
|
|
99
|
+
"-1/2": "cosy:-inset-y-1/2",
|
|
100
|
+
"-1/3": "cosy:-inset-y-1/3",
|
|
101
|
+
"-2/3": "cosy:-inset-y-2/3",
|
|
102
|
+
"-1/4": "cosy:-inset-y-1/4",
|
|
103
|
+
"-3/4": "cosy:-inset-y-3/4",
|
|
48
104
|
};
|
|
49
|
-
// Z-index
|
|
105
|
+
// Z-index 类名映射表
|
|
50
106
|
const zIndexMap = {
|
|
51
|
-
"-10": "cosy:-z-10",
|
|
52
107
|
0: "cosy:z-0",
|
|
53
108
|
10: "cosy:z-10",
|
|
54
109
|
20: "cosy:z-20",
|
|
@@ -56,54 +111,255 @@ const zIndexMap = {
|
|
|
56
111
|
40: "cosy:z-40",
|
|
57
112
|
50: "cosy:z-50",
|
|
58
113
|
auto: "cosy:z-auto",
|
|
114
|
+
"-10": "cosy:-z-10",
|
|
115
|
+
"-20": "cosy:-z-20",
|
|
116
|
+
"-30": "cosy:-z-30",
|
|
117
|
+
"-40": "cosy:-z-40",
|
|
118
|
+
"-50": "cosy:-z-50",
|
|
119
|
+
1: "cosy:z-1", // 自定义值,常用于小幅度层级调整
|
|
59
120
|
};
|
|
60
|
-
// Pointer events
|
|
121
|
+
// Pointer events 类名映射表
|
|
61
122
|
const pointerEventsMap = {
|
|
62
123
|
none: "cosy:pointer-events-none",
|
|
63
124
|
auto: "cosy:pointer-events-auto",
|
|
64
125
|
};
|
|
126
|
+
// Position 值类名映射表
|
|
127
|
+
const positionValueMap = {
|
|
128
|
+
0: {
|
|
129
|
+
top: "cosy:top-0",
|
|
130
|
+
right: "cosy:right-0",
|
|
131
|
+
bottom: "cosy:bottom-0",
|
|
132
|
+
left: "cosy:left-0",
|
|
133
|
+
},
|
|
134
|
+
"0.5": {
|
|
135
|
+
top: "cosy:top-0.5",
|
|
136
|
+
right: "cosy:right-0.5",
|
|
137
|
+
bottom: "cosy:bottom-0.5",
|
|
138
|
+
left: "cosy:left-0.5",
|
|
139
|
+
},
|
|
140
|
+
1: {
|
|
141
|
+
top: "cosy:top-1",
|
|
142
|
+
right: "cosy:right-1",
|
|
143
|
+
bottom: "cosy:bottom-1",
|
|
144
|
+
left: "cosy:left-1",
|
|
145
|
+
},
|
|
146
|
+
"1.5": {
|
|
147
|
+
top: "cosy:top-1.5",
|
|
148
|
+
right: "cosy:right-1.5",
|
|
149
|
+
bottom: "cosy:bottom-1.5",
|
|
150
|
+
left: "cosy:left-1.5",
|
|
151
|
+
},
|
|
152
|
+
2: {
|
|
153
|
+
top: "cosy:top-2",
|
|
154
|
+
right: "cosy:right-2",
|
|
155
|
+
bottom: "cosy:bottom-2",
|
|
156
|
+
left: "cosy:left-2",
|
|
157
|
+
},
|
|
158
|
+
"2.5": {
|
|
159
|
+
top: "cosy:top-2.5",
|
|
160
|
+
right: "cosy:right-2.5",
|
|
161
|
+
bottom: "cosy:bottom-2.5",
|
|
162
|
+
left: "cosy:left-2.5",
|
|
163
|
+
},
|
|
164
|
+
3: {
|
|
165
|
+
top: "cosy:top-3",
|
|
166
|
+
right: "cosy:right-3",
|
|
167
|
+
bottom: "cosy:bottom-3",
|
|
168
|
+
left: "cosy:left-3",
|
|
169
|
+
},
|
|
170
|
+
4: {
|
|
171
|
+
top: "cosy:top-4",
|
|
172
|
+
right: "cosy:right-4",
|
|
173
|
+
bottom: "cosy:bottom-4",
|
|
174
|
+
left: "cosy:left-4",
|
|
175
|
+
},
|
|
176
|
+
5: {
|
|
177
|
+
top: "cosy:top-5",
|
|
178
|
+
right: "cosy:right-5",
|
|
179
|
+
bottom: "cosy:bottom-5",
|
|
180
|
+
left: "cosy:left-5",
|
|
181
|
+
},
|
|
182
|
+
6: {
|
|
183
|
+
top: "cosy:top-6",
|
|
184
|
+
right: "cosy:right-6",
|
|
185
|
+
bottom: "cosy:bottom-6",
|
|
186
|
+
left: "cosy:left-6",
|
|
187
|
+
},
|
|
188
|
+
8: {
|
|
189
|
+
top: "cosy:top-8",
|
|
190
|
+
right: "cosy:right-8",
|
|
191
|
+
bottom: "cosy:bottom-8",
|
|
192
|
+
left: "cosy:left-8",
|
|
193
|
+
},
|
|
194
|
+
10: {
|
|
195
|
+
top: "cosy:top-10",
|
|
196
|
+
right: "cosy:right-10",
|
|
197
|
+
bottom: "cosy:bottom-10",
|
|
198
|
+
left: "cosy:left-10",
|
|
199
|
+
},
|
|
200
|
+
12: {
|
|
201
|
+
top: "cosy:top-12",
|
|
202
|
+
right: "cosy:right-12",
|
|
203
|
+
bottom: "cosy:bottom-12",
|
|
204
|
+
left: "cosy:left-12",
|
|
205
|
+
},
|
|
206
|
+
16: {
|
|
207
|
+
top: "cosy:top-16",
|
|
208
|
+
right: "cosy:right-16",
|
|
209
|
+
bottom: "cosy:bottom-16",
|
|
210
|
+
left: "cosy:left-16",
|
|
211
|
+
},
|
|
212
|
+
20: {
|
|
213
|
+
top: "cosy:top-20",
|
|
214
|
+
right: "cosy:right-20",
|
|
215
|
+
bottom: "cosy:bottom-20",
|
|
216
|
+
left: "cosy:left-20",
|
|
217
|
+
},
|
|
218
|
+
24: {
|
|
219
|
+
top: "cosy:top-24",
|
|
220
|
+
right: "cosy:right-24",
|
|
221
|
+
bottom: "cosy:bottom-24",
|
|
222
|
+
left: "cosy:left-24",
|
|
223
|
+
},
|
|
224
|
+
auto: {
|
|
225
|
+
top: "cosy:top-auto",
|
|
226
|
+
right: "cosy:right-auto",
|
|
227
|
+
bottom: "cosy:bottom-auto",
|
|
228
|
+
left: "cosy:left-auto",
|
|
229
|
+
},
|
|
230
|
+
"1/2": {
|
|
231
|
+
top: "cosy:top-1/2",
|
|
232
|
+
right: "cosy:right-1/2",
|
|
233
|
+
bottom: "cosy:bottom-1/2",
|
|
234
|
+
left: "cosy:left-1/2",
|
|
235
|
+
},
|
|
236
|
+
"1/3": {
|
|
237
|
+
top: "cosy:top-1/3",
|
|
238
|
+
right: "cosy:right-1/3",
|
|
239
|
+
bottom: "cosy:bottom-1/3",
|
|
240
|
+
left: "cosy:left-1/3",
|
|
241
|
+
},
|
|
242
|
+
"2/3": {
|
|
243
|
+
top: "cosy:top-2/3",
|
|
244
|
+
right: "cosy:right-2/3",
|
|
245
|
+
bottom: "cosy:bottom-2/3",
|
|
246
|
+
left: "cosy:left-2/3",
|
|
247
|
+
},
|
|
248
|
+
"1/4": {
|
|
249
|
+
top: "cosy:top-1/4",
|
|
250
|
+
right: "cosy:right-1/4",
|
|
251
|
+
bottom: "cosy:bottom-1/4",
|
|
252
|
+
left: "cosy:left-1/4",
|
|
253
|
+
},
|
|
254
|
+
"3/4": {
|
|
255
|
+
top: "cosy:top-3/4",
|
|
256
|
+
right: "cosy:right-3/4",
|
|
257
|
+
bottom: "cosy:bottom-3/4",
|
|
258
|
+
left: "cosy:left-3/4",
|
|
259
|
+
},
|
|
260
|
+
full: {
|
|
261
|
+
top: "cosy:top-full",
|
|
262
|
+
right: "cosy:right-full",
|
|
263
|
+
bottom: "cosy:bottom-full",
|
|
264
|
+
left: "cosy:left-full",
|
|
265
|
+
},
|
|
266
|
+
};
|
|
65
267
|
export class PositionBuilder {
|
|
66
268
|
classes = [];
|
|
67
269
|
/**
|
|
68
|
-
*
|
|
270
|
+
* 设置定位方式
|
|
271
|
+
* @param type 定位类型
|
|
69
272
|
*/
|
|
70
|
-
|
|
71
|
-
this.classes.push(
|
|
273
|
+
position(type) {
|
|
274
|
+
this.classes.push(positionMap[type]);
|
|
72
275
|
return this;
|
|
73
276
|
}
|
|
74
277
|
/**
|
|
75
|
-
*
|
|
278
|
+
* 设置绝对定位
|
|
76
279
|
*/
|
|
77
|
-
|
|
78
|
-
this.classes.push(
|
|
280
|
+
absolute() {
|
|
281
|
+
this.classes.push(positionMap.absolute);
|
|
79
282
|
return this;
|
|
80
283
|
}
|
|
81
284
|
/**
|
|
82
|
-
*
|
|
285
|
+
* 设置相对定位
|
|
83
286
|
*/
|
|
84
|
-
|
|
85
|
-
this.classes.push(
|
|
287
|
+
relative() {
|
|
288
|
+
this.classes.push(positionMap.relative);
|
|
86
289
|
return this;
|
|
87
290
|
}
|
|
88
291
|
/**
|
|
89
|
-
*
|
|
292
|
+
* 设置固定定位
|
|
90
293
|
*/
|
|
91
|
-
|
|
92
|
-
this.classes.push(
|
|
294
|
+
fixed() {
|
|
295
|
+
this.classes.push(positionMap.fixed);
|
|
93
296
|
return this;
|
|
94
297
|
}
|
|
95
298
|
/**
|
|
96
|
-
*
|
|
299
|
+
* 设置粘性定位
|
|
97
300
|
*/
|
|
98
|
-
|
|
99
|
-
this.classes.push(
|
|
301
|
+
sticky() {
|
|
302
|
+
this.classes.push(positionMap.sticky);
|
|
100
303
|
return this;
|
|
101
304
|
}
|
|
102
305
|
/**
|
|
103
|
-
*
|
|
306
|
+
* 设置顶部位置
|
|
307
|
+
* @param value 位置值
|
|
104
308
|
*/
|
|
105
|
-
|
|
106
|
-
this.classes.push(
|
|
309
|
+
top(value) {
|
|
310
|
+
this.classes.push(positionValueMap[value].top);
|
|
311
|
+
return this;
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* 设置右侧位置
|
|
315
|
+
* @param value 位置值
|
|
316
|
+
*/
|
|
317
|
+
right(value) {
|
|
318
|
+
this.classes.push(positionValueMap[value].right);
|
|
319
|
+
return this;
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* 设置底部位置
|
|
323
|
+
* @param value 位置值
|
|
324
|
+
*/
|
|
325
|
+
bottom(value) {
|
|
326
|
+
this.classes.push(positionValueMap[value].bottom);
|
|
327
|
+
return this;
|
|
328
|
+
}
|
|
329
|
+
/**
|
|
330
|
+
* 设置左侧位置
|
|
331
|
+
* @param value 位置值
|
|
332
|
+
*/
|
|
333
|
+
left(value) {
|
|
334
|
+
this.classes.push(positionValueMap[value].left);
|
|
335
|
+
return this;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* 设置所有方向为 0
|
|
339
|
+
*/
|
|
340
|
+
inset0() {
|
|
341
|
+
this.classes.push("cosy:top-0", "cosy:right-0", "cosy:bottom-0", "cosy:left-0");
|
|
342
|
+
return this;
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* 设置 margin-left: auto(常用于右对齐)
|
|
346
|
+
*/
|
|
347
|
+
auto() {
|
|
348
|
+
this.classes.push("cosy:ml-auto");
|
|
349
|
+
return this;
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* 设置 margin-right: auto(常用于左对齐)
|
|
353
|
+
*/
|
|
354
|
+
autoRight() {
|
|
355
|
+
this.classes.push("cosy:mr-auto");
|
|
356
|
+
return this;
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* 设置 margin: auto(常用于居中)
|
|
360
|
+
*/
|
|
361
|
+
autoCenter() {
|
|
362
|
+
this.classes.push("cosy:m-auto");
|
|
107
363
|
return this;
|
|
108
364
|
}
|
|
109
365
|
/**
|
|
@@ -159,4 +415,3 @@ export class PositionBuilder {
|
|
|
159
415
|
this.classes = [];
|
|
160
416
|
}
|
|
161
417
|
}
|
|
162
|
-
//# sourceMappingURL=PositionBuilder.js.map
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ShadowBuilder - 阴影相关的类名构建
|
|
3
|
+
*
|
|
4
|
+
* 负责构建阴影相关的类名
|
|
5
|
+
*/
|
|
6
|
+
declare const shadowMap: {
|
|
7
|
+
readonly sm: "cosy:shadow-sm";
|
|
8
|
+
readonly "": "cosy:shadow";
|
|
9
|
+
readonly md: "cosy:shadow-md";
|
|
10
|
+
readonly lg: "cosy:shadow-lg";
|
|
11
|
+
readonly xl: "cosy:shadow-xl";
|
|
12
|
+
readonly "2xl": "cosy:shadow-2xl";
|
|
13
|
+
readonly inner: "cosy:shadow-inner";
|
|
14
|
+
readonly none: "cosy:shadow-none";
|
|
15
|
+
};
|
|
16
|
+
declare const shadowColorMap: {
|
|
17
|
+
readonly "base-100": "cosy:shadow-base-100";
|
|
18
|
+
readonly "base-200": "cosy:shadow-base-200";
|
|
19
|
+
readonly "base-300": "cosy:shadow-base-300";
|
|
20
|
+
readonly "base-content": "cosy:shadow-base-content";
|
|
21
|
+
readonly primary: "cosy:shadow-primary";
|
|
22
|
+
readonly secondary: "cosy:shadow-secondary";
|
|
23
|
+
readonly accent: "cosy:shadow-accent";
|
|
24
|
+
readonly neutral: "cosy:shadow-neutral";
|
|
25
|
+
readonly info: "cosy:shadow-info";
|
|
26
|
+
readonly success: "cosy:shadow-success";
|
|
27
|
+
readonly warning: "cosy:shadow-warning";
|
|
28
|
+
readonly error: "cosy:shadow-error";
|
|
29
|
+
readonly black: "cosy:shadow-black";
|
|
30
|
+
readonly white: "cosy:shadow-white";
|
|
31
|
+
readonly "slate-500": "cosy:shadow-slate-500";
|
|
32
|
+
readonly "gray-500": "cosy:shadow-gray-500";
|
|
33
|
+
};
|
|
34
|
+
export type ShadowSize = keyof typeof shadowMap;
|
|
35
|
+
export type ShadowColor = keyof typeof shadowColorMap;
|
|
36
|
+
export declare class ShadowBuilder {
|
|
37
|
+
private classes;
|
|
38
|
+
/**
|
|
39
|
+
* 设置阴影大小
|
|
40
|
+
* @param size 阴影大小,不传参数则使用默认阴影
|
|
41
|
+
*/
|
|
42
|
+
shadow(size?: ShadowSize): this;
|
|
43
|
+
/**
|
|
44
|
+
* 设置阴影颜色
|
|
45
|
+
* @param color 阴影颜色值
|
|
46
|
+
*/
|
|
47
|
+
shadowColor(color: ShadowColor): this;
|
|
48
|
+
/**
|
|
49
|
+
* 获取构建的类名数组
|
|
50
|
+
*/
|
|
51
|
+
getClasses(): string[];
|
|
52
|
+
/**
|
|
53
|
+
* 清空类名
|
|
54
|
+
*/
|
|
55
|
+
clear(): void;
|
|
56
|
+
}
|
|
57
|
+
export {};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ShadowBuilder - 阴影相关的类名构建
|
|
3
|
+
*
|
|
4
|
+
* 负责构建阴影相关的类名
|
|
5
|
+
*/
|
|
6
|
+
// 阴影类名映射表 - 确保 Tailwind 能够扫描到所有类名
|
|
7
|
+
const shadowMap = {
|
|
8
|
+
sm: "cosy:shadow-sm",
|
|
9
|
+
"": "cosy:shadow",
|
|
10
|
+
md: "cosy:shadow-md",
|
|
11
|
+
lg: "cosy:shadow-lg",
|
|
12
|
+
xl: "cosy:shadow-xl",
|
|
13
|
+
"2xl": "cosy:shadow-2xl",
|
|
14
|
+
inner: "cosy:shadow-inner",
|
|
15
|
+
none: "cosy:shadow-none",
|
|
16
|
+
};
|
|
17
|
+
// 投影颜色类名映射表
|
|
18
|
+
const shadowColorMap = {
|
|
19
|
+
// 基础色系
|
|
20
|
+
"base-100": "cosy:shadow-base-100",
|
|
21
|
+
"base-200": "cosy:shadow-base-200",
|
|
22
|
+
"base-300": "cosy:shadow-base-300",
|
|
23
|
+
"base-content": "cosy:shadow-base-content",
|
|
24
|
+
// 主题色系
|
|
25
|
+
primary: "cosy:shadow-primary",
|
|
26
|
+
secondary: "cosy:shadow-secondary",
|
|
27
|
+
accent: "cosy:shadow-accent",
|
|
28
|
+
neutral: "cosy:shadow-neutral",
|
|
29
|
+
// 状态色系
|
|
30
|
+
info: "cosy:shadow-info",
|
|
31
|
+
success: "cosy:shadow-success",
|
|
32
|
+
warning: "cosy:shadow-warning",
|
|
33
|
+
error: "cosy:shadow-error",
|
|
34
|
+
// 基础颜色
|
|
35
|
+
black: "cosy:shadow-black",
|
|
36
|
+
white: "cosy:shadow-white",
|
|
37
|
+
// 灰度色系
|
|
38
|
+
"slate-500": "cosy:shadow-slate-500",
|
|
39
|
+
"gray-500": "cosy:shadow-gray-500",
|
|
40
|
+
};
|
|
41
|
+
export class ShadowBuilder {
|
|
42
|
+
classes = [];
|
|
43
|
+
/**
|
|
44
|
+
* 设置阴影大小
|
|
45
|
+
* @param size 阴影大小,不传参数则使用默认阴影
|
|
46
|
+
*/
|
|
47
|
+
shadow(size) {
|
|
48
|
+
const sizeKey = size ?? "";
|
|
49
|
+
this.classes.push(shadowMap[sizeKey]);
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* 设置阴影颜色
|
|
54
|
+
* @param color 阴影颜色值
|
|
55
|
+
*/
|
|
56
|
+
shadowColor(color) {
|
|
57
|
+
this.classes.push(shadowColorMap[color]);
|
|
58
|
+
return this;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* 获取构建的类名数组
|
|
62
|
+
*/
|
|
63
|
+
getClasses() {
|
|
64
|
+
return this.classes;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* 清空类名
|
|
68
|
+
*/
|
|
69
|
+
clear() {
|
|
70
|
+
this.classes = [];
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -56,6 +56,7 @@ declare const minWidthMap: {
|
|
|
56
56
|
declare const minHeightMap: {
|
|
57
57
|
readonly 0: "cosy:min-h-0";
|
|
58
58
|
readonly full: "cosy:min-h-full";
|
|
59
|
+
readonly screen: "cosy:min-h-screen";
|
|
59
60
|
readonly 10: "cosy:min-h-10";
|
|
60
61
|
readonly 20: "cosy:min-h-20";
|
|
61
62
|
readonly 40: "cosy:min-h-40";
|
|
@@ -64,6 +65,11 @@ declare const minHeightMap: {
|
|
|
64
65
|
declare const maxWidthMap: {
|
|
65
66
|
readonly none: "cosy:max-w-none";
|
|
66
67
|
readonly full: "cosy:max-w-full";
|
|
68
|
+
readonly sm: "cosy:max-w-sm";
|
|
69
|
+
readonly md: "cosy:max-w-md";
|
|
70
|
+
readonly lg: "cosy:max-w-lg";
|
|
71
|
+
readonly xl: "cosy:max-w-xl";
|
|
72
|
+
readonly "2xl": "cosy:max-w-2xl";
|
|
67
73
|
readonly 20: "cosy:max-w-20";
|
|
68
74
|
readonly 40: "cosy:max-w-40";
|
|
69
75
|
readonly 60: "cosy:max-w-60";
|
|
@@ -127,4 +133,3 @@ export declare class SizeBuilder {
|
|
|
127
133
|
clear(): void;
|
|
128
134
|
}
|
|
129
135
|
export {};
|
|
130
|
-
//# sourceMappingURL=SizeBuilder.d.ts.map
|
|
@@ -57,6 +57,7 @@ const minWidthMap = {
|
|
|
57
57
|
const minHeightMap = {
|
|
58
58
|
0: "cosy:min-h-0",
|
|
59
59
|
full: "cosy:min-h-full",
|
|
60
|
+
screen: "cosy:min-h-screen",
|
|
60
61
|
10: "cosy:min-h-10",
|
|
61
62
|
20: "cosy:min-h-20",
|
|
62
63
|
40: "cosy:min-h-40",
|
|
@@ -65,6 +66,11 @@ const minHeightMap = {
|
|
|
65
66
|
const maxWidthMap = {
|
|
66
67
|
none: "cosy:max-w-none",
|
|
67
68
|
full: "cosy:max-w-full",
|
|
69
|
+
sm: "cosy:max-w-sm",
|
|
70
|
+
md: "cosy:max-w-md",
|
|
71
|
+
lg: "cosy:max-w-lg",
|
|
72
|
+
xl: "cosy:max-w-xl",
|
|
73
|
+
"2xl": "cosy:max-w-2xl",
|
|
68
74
|
20: "cosy:max-w-20",
|
|
69
75
|
40: "cosy:max-w-40",
|
|
70
76
|
60: "cosy:max-w-60",
|
|
@@ -143,4 +149,3 @@ export class SizeBuilder {
|
|
|
143
149
|
this.classes = [];
|
|
144
150
|
}
|
|
145
151
|
}
|
|
146
|
-
//# sourceMappingURL=SizeBuilder.js.map
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SpaceBuilder - 子元素间距相关的类名构建
|
|
3
|
+
*
|
|
4
|
+
* 负责构建 space-x 和 space-y 相关的类名
|
|
5
|
+
*/
|
|
6
|
+
declare const spaceXMap: {
|
|
7
|
+
readonly 0: "cosy:space-x-0";
|
|
8
|
+
readonly 1: "cosy:space-x-1";
|
|
9
|
+
readonly 2: "cosy:space-x-2";
|
|
10
|
+
readonly 3: "cosy:space-x-3";
|
|
11
|
+
readonly 4: "cosy:space-x-4";
|
|
12
|
+
readonly 5: "cosy:space-x-5";
|
|
13
|
+
readonly 6: "cosy:space-x-6";
|
|
14
|
+
readonly 8: "cosy:space-x-8";
|
|
15
|
+
readonly 10: "cosy:space-x-10";
|
|
16
|
+
readonly 12: "cosy:space-x-12";
|
|
17
|
+
readonly 16: "cosy:space-x-16";
|
|
18
|
+
};
|
|
19
|
+
declare const spaceYMap: {
|
|
20
|
+
readonly 0: "cosy:space-y-0";
|
|
21
|
+
readonly 1: "cosy:space-y-1";
|
|
22
|
+
readonly 2: "cosy:space-y-2";
|
|
23
|
+
readonly 3: "cosy:space-y-3";
|
|
24
|
+
readonly 4: "cosy:space-y-4";
|
|
25
|
+
readonly 5: "cosy:space-y-5";
|
|
26
|
+
readonly 6: "cosy:space-y-6";
|
|
27
|
+
readonly 8: "cosy:space-y-8";
|
|
28
|
+
readonly 10: "cosy:space-y-10";
|
|
29
|
+
readonly 12: "cosy:space-y-12";
|
|
30
|
+
readonly 16: "cosy:space-y-16";
|
|
31
|
+
};
|
|
32
|
+
export type SpaceXSize = keyof typeof spaceXMap;
|
|
33
|
+
export type SpaceYSize = keyof typeof spaceYMap;
|
|
34
|
+
export declare class SpaceBuilder {
|
|
35
|
+
private classes;
|
|
36
|
+
/**
|
|
37
|
+
* 设置水平方向子元素间距
|
|
38
|
+
* @param size 间距大小
|
|
39
|
+
*/
|
|
40
|
+
spaceX(size: SpaceXSize): this;
|
|
41
|
+
/**
|
|
42
|
+
* 设置垂直方向子元素间距
|
|
43
|
+
* @param size 间距大小
|
|
44
|
+
*/
|
|
45
|
+
spaceY(size: SpaceYSize): this;
|
|
46
|
+
/**
|
|
47
|
+
* 获取构建的类名数组
|
|
48
|
+
*/
|
|
49
|
+
getClasses(): string[];
|
|
50
|
+
/**
|
|
51
|
+
* 清空类名
|
|
52
|
+
*/
|
|
53
|
+
clear(): void;
|
|
54
|
+
}
|
|
55
|
+
export {};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SpaceBuilder - 子元素间距相关的类名构建
|
|
3
|
+
*
|
|
4
|
+
* 负责构建 space-x 和 space-y 相关的类名
|
|
5
|
+
*/
|
|
6
|
+
// Space X 类名映射表
|
|
7
|
+
const spaceXMap = {
|
|
8
|
+
0: "cosy:space-x-0",
|
|
9
|
+
1: "cosy:space-x-1",
|
|
10
|
+
2: "cosy:space-x-2",
|
|
11
|
+
3: "cosy:space-x-3",
|
|
12
|
+
4: "cosy:space-x-4",
|
|
13
|
+
5: "cosy:space-x-5",
|
|
14
|
+
6: "cosy:space-x-6",
|
|
15
|
+
8: "cosy:space-x-8",
|
|
16
|
+
10: "cosy:space-x-10",
|
|
17
|
+
12: "cosy:space-x-12",
|
|
18
|
+
16: "cosy:space-x-16",
|
|
19
|
+
};
|
|
20
|
+
// Space Y 类名映射表
|
|
21
|
+
const spaceYMap = {
|
|
22
|
+
0: "cosy:space-y-0",
|
|
23
|
+
1: "cosy:space-y-1",
|
|
24
|
+
2: "cosy:space-y-2",
|
|
25
|
+
3: "cosy:space-y-3",
|
|
26
|
+
4: "cosy:space-y-4",
|
|
27
|
+
5: "cosy:space-y-5",
|
|
28
|
+
6: "cosy:space-y-6",
|
|
29
|
+
8: "cosy:space-y-8",
|
|
30
|
+
10: "cosy:space-y-10",
|
|
31
|
+
12: "cosy:space-y-12",
|
|
32
|
+
16: "cosy:space-y-16",
|
|
33
|
+
};
|
|
34
|
+
export class SpaceBuilder {
|
|
35
|
+
classes = [];
|
|
36
|
+
/**
|
|
37
|
+
* 设置水平方向子元素间距
|
|
38
|
+
* @param size 间距大小
|
|
39
|
+
*/
|
|
40
|
+
spaceX(size) {
|
|
41
|
+
this.classes.push(spaceXMap[size]);
|
|
42
|
+
return this;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* 设置垂直方向子元素间距
|
|
46
|
+
* @param size 间距大小
|
|
47
|
+
*/
|
|
48
|
+
spaceY(size) {
|
|
49
|
+
this.classes.push(spaceYMap[size]);
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* 获取构建的类名数组
|
|
54
|
+
*/
|
|
55
|
+
getClasses() {
|
|
56
|
+
return this.classes;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* 清空类名
|
|
60
|
+
*/
|
|
61
|
+
clear() {
|
|
62
|
+
this.classes = [];
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -260,6 +260,11 @@ export declare class SpacingBuilder {
|
|
|
260
260
|
* @param size 内边距大小
|
|
261
261
|
*/
|
|
262
262
|
padding(size: PaddingSize): this;
|
|
263
|
+
/**
|
|
264
|
+
* 设置内边距(简写)
|
|
265
|
+
* @param size 内边距大小
|
|
266
|
+
*/
|
|
267
|
+
p(size: PaddingSize): this;
|
|
263
268
|
/**
|
|
264
269
|
* 设置外边距
|
|
265
270
|
* @param size 外边距大小
|
|
@@ -345,4 +350,3 @@ export declare class SpacingBuilder {
|
|
|
345
350
|
clear(): void;
|
|
346
351
|
}
|
|
347
352
|
export {};
|
|
348
|
-
//# sourceMappingURL=SpacingBuilder.d.ts.map
|