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

@internetstiftelsen/styleguide

Package Overview
Dependencies
Maintainers
2
Versions
672
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@internetstiftelsen/styleguide - npm Package Compare versions

Comparing version 1.10.4 to 1.10.5-beta.0

dist/organisms/mailchimp/mailchimp.js

1

dist/components.js

@@ -10,2 +10,3 @@ 'use strict';

require('./organisms/tabs/tabs');
require('./organisms/mailchimp/mailchimp');
require('./organisms/domain-search/domain-search');

@@ -12,0 +13,0 @@ require('./organisms/mega-menu/mega-menu');

2

docs/01-index.md

@@ -130,2 +130,2 @@ ---

To be able to deploy you need to build a static version of the styleguide.
The command `npm run build` will build the static site in the `build` directory in the root of the your project.
The command `npm run build` will build the static site in the `build` directory in the root of the your project. NOTE: Always run this command before pushing your to git.
{
"name": "@internetstiftelsen/styleguide",
"version": "1.10.4",
"version": "1.10.5-beta.0",
"main": "dist/components.js",

@@ -32,2 +32,3 @@ "ports": {

"copy:zip": "copyfiles -f src/assets/zip/* public/assets/zip",
"copy:local-assets": "npm run copy:images && npm run copy:fonts && npm run copy:zip",
"copy:images:build": "copyfiles -f src/assets/images/* build/assets/images",

@@ -38,3 +39,3 @@ "copy:zip:build": "copyfiles -f src/assets/zip/* build/assets/zip",

"build": "npm run build:css && npm run build:js && npm run build:fractal && npm run htmlhint && npm run copy:build",
"dev": "concurrently \"npm:start:fractal\" \"npm:watch\"",
"dev": "concurrently \"npm:start:fractal\" \"npm:watch\" \"npm:copy:local-assets\"",
"package-js": "NODE_ENV=production babel src --out-dir dist --ignore src/**/*.config.js,src/app.js"

@@ -41,0 +42,0 @@ },

@@ -99,2 +99,2 @@ # Internetstiftelsen Styleguide

To be able to deploy you need to build a static version of the styleguide.
The command `npm run build` will build the static site in the `build` directory in the root of the your project.
The command `npm run build` will build the static site in the `build` directory in the root of the your project. NOTE: Always run this command before pushing your to git.
module.exports = {
status: 'wip',
status: 'ready',

@@ -4,0 +4,0 @@ context: {

@@ -8,2 +8,3 @@ require('./utilities/tab-highlighting/tab-highlighting');

require('./organisms/tabs/tabs');
require('./organisms/mailchimp/mailchimp');
require('./organisms/domain-search/domain-search');

@@ -10,0 +11,0 @@ require('./organisms/mega-menu/mega-menu');

module.exports = {
status: 'ready',
status: "ready",
context: {
alt: 'Hands typing on laptop',
img_url: '/assets/images/ALX_0876.jpg',
title: 'Gymnasieskolor med hög bandbredd har bättre skolresultat',
url: 'http://www.google.se',
exerpt: 'Eget nulla <strong>facilisi etiam</strong> dignissim diam quis enim lobortis scelerisque. Faucibus a pellentesque sit amet porttitor.',
alt: "Hands typing on laptop",
img_url: "/assets/images/ALX_0876.jpg",
title: "Gymnasieskolor med hög bandbredd har bättre skolresultat",
url: "http://www.google.se",
exerpt:
"Eget nulla <strong>facilisi etiam</strong> dignissim diam quis enim lobortis scelerisque. Faucibus a pellentesque sit amet porttitor.",
is_padded: true,

@@ -14,5 +15,45 @@ is_wide: true,

has_button: false,
has_border: false,
has_meta: true,
read_time: true,
has_border: false
}
}
date: true,
has_map: false,
has_contact_info: false,
has_icon_overlay: false,
overlay_icon: false,
},
variants: [
{
name: "Without meta",
context: {
has_meta: false,
},
},
{
name: "With button",
context: {
has_button: true,
},
},
{
name: "With map and contact",
context: {
has_meta: false,
img_url: false,
url: false,
exerpt: false,
has_map: true,
has_contact_info: true,
},
},
{
name: "With image overlay icon",
context: {
date: true,
read_time: false,
has_icon_overlay: true,
overlay_icon: "play",
},
},
],
};

@@ -13,3 +13,3 @@ module.exports = {

title: 'Gymnasieskolor med hög bandbredd har bättre skolresultat',
exerpt: 'Eget nulla <strong>facilisi etiam</strong> dignissim diam quis enim lobortis scelerisque. Faucibus a pellentesque sit amet porttitor.',
excerpt: 'Eget nulla <strong>facilisi etiam</strong> dignissim diam quis enim lobortis scelerisque. Faucibus a pellentesque sit amet porttitor.',
is_padded: true,

@@ -19,4 +19,31 @@ is_wide: true,

has_button: false,
read_time: true
}
read_time: true,
role: "default",
link: true
},
variants: [
{
name: 'excerpt-button',
context: {
url: 'http://www.iis.se',
content_text: 'Nätneutraliteten och den svenska lagstiftningen',
background_image: '/assets/images/KPA_5090-5-4.jpg',
icon: 'arrow-forwards',
alt: 'Hands typing on laptop',
img_url: '/assets/images/ALX_0876.jpg',
title: 'Gymnasieskolor med hög bandbredd har bättre skolresultat',
excerpt: 'Eget nulla facilisi etiam dignissim diam quis enim lobortis scelerisque. Faucibus a pellentesque sit amet porttitor.',
button_text: 'lorem ipsum',
is_padded: true,
is_wide: true,
has_shadow: false,
has_button: false,
read_time: true,
role: "excerpt-button",
excerpt_button: true
}
}
]
}
module.exports = {
status: 'wip',
status: 'ready',

@@ -4,0 +4,0 @@ context: {

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