Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@chakra-ui/c-alert

Package Overview
Dependencies
Maintainers
4
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/c-alert - npm Package Compare versions

Comparing version 1.0.0-alpha.3 to 1.0.0-alpha.4

13

CHANGELOG.md
# @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 @@

16

dist/cjs/alert.js
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc