New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mezzanine-ui/core

Package Overview
Dependencies
Maintainers
2
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mezzanine-ui/core - npm Package Compare versions

Comparing version 0.0.3 to 0.0.5

4

message/message.d.ts

@@ -1,3 +0,3 @@

import { SeverityForFeedback } from '@mezzanine-ui/system/severity';
export declare type MessageSeverity = SeverityForFeedback;
import { SeverityWithInfo } from '@mezzanine-ui/system/severity';
export declare type MessageSeverity = SeverityWithInfo;
export declare const messagePrefix = "mzn-message";

@@ -4,0 +4,0 @@ export declare const messageIcons: {

@@ -1,1 +0,1 @@

export { modalClasses, modalPrefix } from './modal.js';
export { modalClasses, modalPrefix, modalSeverityIcons } from './modal.js';

@@ -0,4 +1,12 @@

import { SeverityWithInfo } from '@mezzanine-ui/system/severity';
import { Size } from '@mezzanine-ui/system/size';
export declare type ModalSeverity = SeverityWithInfo;
export declare type ModalSize = Size | 'extraLarge';
export declare const modalPrefix = "mzn-modal";
export declare const modalSeverityIcons: {
readonly success: import("@mezzanine-ui/icons").IconDefinition;
readonly warning: import("@mezzanine-ui/icons").IconDefinition;
readonly error: import("@mezzanine-ui/icons").IconDefinition;
readonly info: import("@mezzanine-ui/icons").IconDefinition;
};
export declare const modalClasses: {

@@ -8,4 +16,4 @@ readonly host: "mzn-modal";

readonly closeIcon: "mzn-modal__close-icon";
readonly severity: (severity: ModalSeverity) => string;
readonly size: (size: ModalSize) => string;
readonly danger: "mzn-modal--danger";
readonly fullScreen: "mzn-modal--full-screen";

@@ -15,3 +23,3 @@ readonly withCloseIcon: "mzn-modal--close-icon";

readonly header: "mzn-modal__header";
readonly titleIcon: "mzn-modal__title-icon";
readonly severityIcon: "mzn-modal__severity-icon";
readonly title: "mzn-modal__title";

@@ -18,0 +26,0 @@ readonly titleLarge: "mzn-modal__title--large";

@@ -0,2 +1,10 @@

import { CheckCircleFilledIcon, ExclamationCircleFilledIcon, MinusCircleFilledIcon, InfoCircleFilledIcon } from '@mezzanine-ui/icons';
const modalPrefix = 'mzn-modal';
const modalSeverityIcons = {
success: CheckCircleFilledIcon,
warning: ExclamationCircleFilledIcon,
error: MinusCircleFilledIcon,
info: InfoCircleFilledIcon,
};
const modalClasses = {

@@ -6,4 +14,4 @@ host: modalPrefix,

closeIcon: `${modalPrefix}__close-icon`,
severity: (severity) => `${modalPrefix}--${severity}`,
size: (size) => `${modalPrefix}--${size === 'extraLarge' ? 'extra-large' : size}`,
danger: `${modalPrefix}--danger`,
fullScreen: `${modalPrefix}--full-screen`,

@@ -13,3 +21,3 @@ withCloseIcon: `${modalPrefix}--close-icon`,

header: `${modalPrefix}__header`,
titleIcon: `${modalPrefix}__title-icon`,
severityIcon: `${modalPrefix}__severity-icon`,
title: `${modalPrefix}__title`,

@@ -24,2 +32,2 @@ titleLarge: `${modalPrefix}__title--large`,

export { modalClasses, modalPrefix };
export { modalClasses, modalPrefix, modalSeverityIcons };
{
"name": "@mezzanine-ui/core",
"version": "0.0.3",
"version": "0.0.5",
"description": "Core for mezzanine-ui",

@@ -27,5 +27,5 @@ "author": "Mezzanine",

"@mezzanine-ui/icons": "^0.0.1",
"@mezzanine-ui/system": "^0.0.3",
"@mezzanine-ui/system": "^0.0.5",
"tslib": "^2.1.0"
}
}

@@ -14,2 +14,3 @@ import { Size } from '@mezzanine-ui/system/size';

readonly withSuffix: "mzn-text-field--suffix";
readonly placeholder: "mzn-text-field__placeholder";
readonly prefix: "mzn-text-field__prefix";

@@ -16,0 +17,0 @@ readonly suffix: "mzn-text-field__suffix";

@@ -12,2 +12,3 @@ const textFieldPrefix = 'mzn-text-field';

withSuffix: `${textFieldPrefix}--suffix`,
placeholder: `${textFieldPrefix}__placeholder`,
prefix: `${textFieldPrefix}__prefix`,

@@ -14,0 +15,0 @@ suffix: `${textFieldPrefix}__suffix`,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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