@chakra-ui/c-alert
Advanced tools
Comparing version 1.0.0-alpha.3 to 1.0.0-alpha.4
# @chakra-ui/c-alert | ||
## 1.0.0-alpha.4 | ||
### Patch Changes | ||
- [#72](https://github.com/chakra-ui/chakra-ui-vue-next/pull/72) [`86045b1`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/86045b1c34a21c05f93015489a461887beffee27) Thanks [@koca](https://github.com/koca)! - Migrated layout packages to TSX \nMigrate test suite to esbuild-jest runner. \nAdded intellisense support for Chakra UI Vue components | ||
* [#76](https://github.com/chakra-ui/chakra-ui-vue-next/pull/76) [`52fa76a`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/52fa76ab461cf53ac619bcab0e591fe525a7a30b) Thanks [@codebender828](https://github.com/codebender828)! - Adds Drawer and AlertDialog components | ||
* Updated dependencies [[`86045b1`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/86045b1c34a21c05f93015489a461887beffee27), [`52fa76a`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/52fa76ab461cf53ac619bcab0e591fe525a7a30b)]: | ||
- @chakra-ui/c-icon@1.0.0-alpha.4 | ||
- @chakra-ui/vue-system@0.1.0-alpha.4 | ||
- @chakra-ui/vue-utils@0.1.0-alpha.4 | ||
## 1.0.0-alpha.3 | ||
@@ -4,0 +17,0 @@ |
"use strict"; | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
exports.__esModule = true; | ||
exports.CAlertIcon = exports.CAlertDescription = exports.CAlertTitle = exports.CAlert = void 0; | ||
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); | ||
var _vue = require("vue"); | ||
@@ -14,4 +18,2 @@ | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
var STATUSES = { | ||
@@ -92,3 +94,3 @@ info: { | ||
var alertStyles = (0, _vue.computed)(function () { | ||
return _extends({ | ||
return (0, _extends2["default"])({ | ||
width: '100%', | ||
@@ -104,3 +106,3 @@ display: 'flex', | ||
label: 'alert' | ||
}), _extends({ | ||
}), (0, _extends2["default"])({ | ||
role: 'alert' | ||
@@ -127,3 +129,3 @@ }, alertStyles.value, attrs), slots); | ||
label: 'alert__title' | ||
}), _extends({}, styles.value.title, attrs), slots); | ||
}), (0, _extends2["default"])({}, styles.value.title, attrs), slots); | ||
}; | ||
@@ -148,3 +150,3 @@ } | ||
label: 'alert__description' | ||
}), _extends({}, styles.value.description, attrs), slots); | ||
}), (0, _extends2["default"])({}, styles.value.description, attrs), slots); | ||
}; | ||
@@ -179,3 +181,3 @@ } | ||
return function () { | ||
return (0, _vue.h)(_cIcon.CIcon, _extends({ | ||
return (0, _vue.h)(_cIcon.CIcon, (0, _extends2["default"])({ | ||
"class": 'alert__icon', | ||
@@ -182,0 +184,0 @@ name: alertIcon.value |
@@ -1,3 +0,2 @@ | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
import _extends from "@babel/runtime/helpers/extends"; | ||
import { h, defineComponent, computed } from 'vue'; | ||
@@ -4,0 +3,0 @@ import { chakra, useMultiStyleConfig, useStyles, StylesProvider } from '@chakra-ui/vue-system'; |
@@ -31,2 +31,8 @@ import { PropType } from 'vue'; | ||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ | ||
as?: unknown; | ||
status?: unknown; | ||
colorScheme?: unknown; | ||
styleConfig?: unknown; | ||
variant?: unknown; | ||
} & { | ||
as: "a" | "b" | "article" | "aside" | "blockquote" | "button" | "caption" | "cite" | "circle" | "code" | "dd" | "div" | "dl" | "dt" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "header" | "hr" | "iframe" | "img" | "input" | "kbd" | "label" | "li" | "mark" | "main" | "nav" | "ol" | "p" | "path" | "pre" | "q" | "rect" | "s" | "svg" | "section" | "select" | "strong" | "small" | "span" | "sub" | "sup" | "table" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "tr" | "ul"; | ||
@@ -50,3 +56,3 @@ status: "info" | "warning" | "success" | "error"; | ||
[key: string]: any; | ||
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {}>, {}>; | ||
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>; | ||
/** | ||
@@ -59,3 +65,3 @@ * CAlertDescription component | ||
[key: string]: any; | ||
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {}>, {}>; | ||
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>; | ||
/** | ||
@@ -72,4 +78,6 @@ * CAlertIcon component | ||
[key: string]: any; | ||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & { | ||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ | ||
icon?: unknown; | ||
} & {} & { | ||
icon?: string | undefined; | ||
}>, {}>; |
{ | ||
"name": "@chakra-ui/c-alert", | ||
"version": "1.0.0-alpha.3", | ||
"version": "1.0.0-alpha.4", | ||
"main": "dist/cjs/index.js", | ||
@@ -26,3 +26,3 @@ "module": "dist/esm/index.js", | ||
"build:types": "cross-env tsc --emitDeclarationOnly --declaration --declarationDir dist/types", | ||
"watch": "concurrently yarn:watch:*", | ||
"watch": "yarn:watch:*", | ||
"watch:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps --watch", | ||
@@ -33,13 +33,9 @@ "watch:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps --watch", | ||
"dependencies": { | ||
"@chakra-ui/c-icon": "1.0.0-alpha.3", | ||
"@chakra-ui/vue-system": "0.1.0-alpha.3", | ||
"@chakra-ui/vue-utils": "0.1.0-alpha.3" | ||
"@chakra-ui/c-icon": "1.0.0-alpha.4", | ||
"@chakra-ui/vue-system": "0.1.0-alpha.4", | ||
"@chakra-ui/vue-utils": "0.1.0-alpha.4" | ||
}, | ||
"devDependencies": { | ||
"vue": ">=3.0.5" | ||
}, | ||
"peerDependencies": { | ||
"@chakra-ui/vue-system": "0.1.0-alpha.3", | ||
"vue": "^3.0.5" | ||
"vue": "^3.0.11" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36611
3
417
+ Added@chakra-ui/c-color-mode@0.1.0-alpha.3(transitive)
+ Added@chakra-ui/c-icon@1.0.0-alpha.4(transitive)
+ Added@chakra-ui/vue-system@0.1.0-alpha.4(transitive)
+ Added@chakra-ui/vue-utils@0.1.0-alpha.4(transitive)
- Removed@chakra-ui/c-color-mode@0.1.0-alpha.2(transitive)
- Removed@chakra-ui/c-icon@1.0.0-alpha.3(transitive)
- Removed@chakra-ui/utils@1.4.0(transitive)
- Removed@chakra-ui/vue-system@0.1.0-alpha.3(transitive)
- Removed@chakra-ui/vue-utils@0.1.0-alpha.3(transitive)
- Removed@types/object-assign@4.0.30(transitive)
- Removed@vue/compiler-core@3.5.13(transitive)
- Removed@vue/compiler-dom@3.5.13(transitive)
- Removed@vue/compiler-sfc@3.5.13(transitive)
- Removed@vue/compiler-ssr@3.5.13(transitive)
- Removed@vue/reactivity@3.5.13(transitive)
- Removed@vue/runtime-core@3.5.13(transitive)
- Removed@vue/runtime-dom@3.5.13(transitive)
- Removed@vue/server-renderer@3.5.13(transitive)
- Removed@vue/shared@3.5.13(transitive)
- Removedcsstype@3.1.3(transitive)
- Removedentities@4.5.0(transitive)
- Removedestree-walker@2.0.2(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedmagic-string@0.30.13(transitive)
- Removednanoid@3.3.7(transitive)
- Removedpostcss@8.4.49(transitive)
- Removedreact@18.3.1(transitive)
- Removedsource-map-js@1.2.1(transitive)
- Removedvue@3.5.13(transitive)