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

baseframe-js

Package Overview
Dependencies
Maintainers
1
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baseframe-js - npm Package Compare versions

Comparing version 4.7.5 to 4.7.6

6

build/js/modal.js

@@ -123,8 +123,8 @@ import $ from 'cash-dom';

getModalObj() {
const _ = this, { ariaLabel, ariaLabelledby, closeBtnIconCss, modalCss } = _.params, modalID = _.modalID, modalAttr = {
class: 'modal' + (modalCss ? ' ' + modalCss : ''),
const _ = this, { ariaLabel, ariaLabelledby, closeBtnIconCss, cssPrefix, modalCss } = _.params, modalID = _.modalID, modalAttr = {
class: cssPrefix + (modalCss ? ' ' + modalCss : ''),
'aria-label': (ariaLabel || _.element.dataset.ariaLabel) || '',
'aria-labelledby': (ariaLabelledby || _.element.dataset.ariaLabelledby) || '',
id: modalID
}, closeBtnAttrs = { class: 'modal__btn-dismiss', type: 'button', 'aria-label': 'Close' }, $closeBtn = $('<button>').attr(closeBtnAttrs).append(`<i class="${closeBtnIconCss}"></i>`), $dialogContent = $('<div/>').attr({ class: 'modal__dialog-content' }), $dialog = $('<div/>').attr({ class: 'modal__dialog' }).append($closeBtn, $dialogContent), $backdrop = $('<div/>').attr({ class: 'modal__backdrop' }), $modal = $('<div/>').attr(modalAttr).append($backdrop, $dialog), $content = $(_.params.src || _.element.hash || _.element.dataset.modalSrc);
}, closeBtnAttrs = { class: cssPrefix + '__btn-dismiss', type: 'button', 'aria-label': 'Close' }, $closeBtn = $('<button>').attr(closeBtnAttrs).append(`<i class="${closeBtnIconCss}"></i>`), $dialogContent = $('<div/>').attr({ class: cssPrefix + '__dialog-content' }), $dialog = $('<div/>').attr({ class: cssPrefix + '__dialog' }).append($closeBtn, $dialogContent), $backdrop = $('<div/>').attr({ class: cssPrefix + '__backdrop' }), $modal = $('<div/>').attr(modalAttr).append($backdrop, $dialog), $content = $(_.params.src || _.element.hash || _.element.dataset.modalSrc);
return {

@@ -131,0 +131,0 @@ $backdrop,

{
"name": "baseframe-js",
"version": "4.7.5",
"version": "4.7.6",
"description": "A suite of useful Javascript plugins and functions to help with Front-end Development on websites",

@@ -5,0 +5,0 @@ "repository": {

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