Socket
Socket
Sign inDemoInstall

@vonage/vvd-foundation

Package Overview
Dependencies
Maintainers
14
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vonage/vvd-foundation - npm Package Compare versions

Comparing version 0.17.0 to 0.17.1

scss/functions/_index.scss

9

CHANGELOG.md

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

## [0.17.1](https://github.com/vonage/vivid/compare/v0.17.0...v0.17.1) (2020-12-15)
### Features
* **connotation:** adding support for warning connotation ([#488](https://github.com/vonage/vivid/issues/488)) ([245a9b9](https://github.com/vonage/vivid/commit/245a9b9c095b2af4f3d9a088d0c6219370199c2d))
# [0.17.0](https://github.com/vonage/vivid/compare/v0.16.2...v0.17.0) (2020-12-06)

@@ -2,0 +11,0 @@

@@ -6,2 +6,3 @@ export declare enum Connotation {

Alert = "alert",
Warning = "warning",
Info = "info",

@@ -14,1 +15,12 @@ Announcement = "announcement"

}
export declare enum Size {
Small = "sm",
Medium = "md",
Large = "lg"
}
export declare enum Layout {
Text = "text",
Filled = "filled",
Outlined = "outlined",
Soft = "soft"
}

@@ -8,2 +8,3 @@ /* eslint-disable no-shadow */

Connotation["Alert"] = "alert";
Connotation["Warning"] = "warning";
Connotation["Info"] = "info";

@@ -18,2 +19,16 @@ Connotation["Announcement"] = "announcement";

})(Shape || (Shape = {}));
export var Size;
(function (Size) {
Size["Small"] = "sm";
Size["Medium"] = "md";
Size["Large"] = "lg";
})(Size || (Size = {}));
/* eslint-disable no-shadow */
export var Layout;
(function (Layout) {
Layout["Text"] = "text";
Layout["Filled"] = "filled";
Layout["Outlined"] = "outlined";
Layout["Soft"] = "soft";
})(Layout || (Layout = {}));
//# sourceMappingURL=constants.js.map

1

general-utils.d.ts
export declare function handleAutofocus(targetElement: HTMLElement): void;
export declare function handleMultipleDenseProps(targetElement: any, changes: Map<string, boolean>): void;

@@ -11,2 +11,17 @@ export function handleAutofocus(targetElement) {

}
export function handleMultipleDenseProps(
// eslint-disable-next-line
targetElement, changes) {
if (changes.has('dense')) {
if (targetElement.dense && targetElement.enlarged) {
targetElement.enlarged = false;
}
}
if (changes.has('enlarged')) {
if (targetElement.enlarged && targetElement.dense) {
targetElement.removeAttribute('dense');
targetElement.dense = false;
}
}
}
//# sourceMappingURL=general-utils.js.map

7

package.json
{
"name": "@vonage/vvd-foundation",
"version": "0.17.0",
"version": "0.17.1",
"description": "internal package to hold constants, definitions and primitives to be used in the rest of Vivid ecosystem",

@@ -28,3 +28,6 @@ "homepage": "https://github.com/Vonage/vivid/tree/master/components/foundation#readme",

},
"gitHead": "66beb3bbccfd57c62abe9fcab0d1adf86efdada9"
"devDependencies": {
"@vonage/vvd-design-tokens": "^0.17.1"
},
"gitHead": "c7fc1f23e0baaed1c069c3d767f50b28e4a95872"
}

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