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

@kvib/storybook

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kvib/storybook - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

.storybook/manager-head.html

8

.storybook/main.js
module.exports = {
staticDirs: ["../public"],
stories: ["../stories/**/*.mdx", "../stories/**/*.stories.@(js|jsx|ts|tsx)"],
addons: ["@storybook/addon-links", "@storybook/addon-essentials", "@storybook/addon-interactions"],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/addon-a11y",
],
framework: {

@@ -5,0 +11,0 @@ name: "@storybook/react-webpack5",

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

import { KvibProvider } from "@kvib/react/src/KvibProvider";
import { KvibProvider } from "@kvib/react/src/provider/KvibProvider";

@@ -11,2 +11,16 @@ export const parameters = {

},
options: {
storySort: {
method: "alphabetical",
order: [
"Info",
["Introduksjon", "Oppsett", "Bidra", ["Generelt", "Bygge", "Style", "Dokumentere", "Teste", "Publish"]],
"Playground",
"Design Fundament",
"Hooks",
"Komponenter",
["Data Display", "Layout", "Typografi"],
],
},
},
};

@@ -21,1 +35,68 @@

];
const STORYBOOK_DISABLE_CONTROL = { table: { disable: true } };
export const argTypes = {
as: STORYBOOK_DISABLE_CONTROL,
htmlTranslate: STORYBOOK_DISABLE_CONTROL,
_hover: STORYBOOK_DISABLE_CONTROL,
_active: STORYBOOK_DISABLE_CONTROL,
_focus: STORYBOOK_DISABLE_CONTROL,
_highlighted: STORYBOOK_DISABLE_CONTROL,
_focusWithin: STORYBOOK_DISABLE_CONTROL,
_focusVisible: STORYBOOK_DISABLE_CONTROL,
_disabled: STORYBOOK_DISABLE_CONTROL,
_readOnly: STORYBOOK_DISABLE_CONTROL,
_before: STORYBOOK_DISABLE_CONTROL,
_after: STORYBOOK_DISABLE_CONTROL,
_empty: STORYBOOK_DISABLE_CONTROL,
_expanded: STORYBOOK_DISABLE_CONTROL,
_checked: STORYBOOK_DISABLE_CONTROL,
_grabbed: STORYBOOK_DISABLE_CONTROL,
_pressed: STORYBOOK_DISABLE_CONTROL,
_invalid: STORYBOOK_DISABLE_CONTROL,
_valid: STORYBOOK_DISABLE_CONTROL,
_loading: STORYBOOK_DISABLE_CONTROL,
_selected: STORYBOOK_DISABLE_CONTROL,
_hidden: STORYBOOK_DISABLE_CONTROL,
_autofill: STORYBOOK_DISABLE_CONTROL,
_even: STORYBOOK_DISABLE_CONTROL,
_odd: STORYBOOK_DISABLE_CONTROL,
_first: STORYBOOK_DISABLE_CONTROL,
_firstLetter: STORYBOOK_DISABLE_CONTROL,
_last: STORYBOOK_DISABLE_CONTROL,
_notFirst: STORYBOOK_DISABLE_CONTROL,
_notLast: STORYBOOK_DISABLE_CONTROL,
_visited: STORYBOOK_DISABLE_CONTROL,
_activeLink: STORYBOOK_DISABLE_CONTROL,
_activeStep: STORYBOOK_DISABLE_CONTROL,
_indeterminate: STORYBOOK_DISABLE_CONTROL,
_groupHover: STORYBOOK_DISABLE_CONTROL,
_peerHover: STORYBOOK_DISABLE_CONTROL,
_groupFocus: STORYBOOK_DISABLE_CONTROL,
_peerFocus: STORYBOOK_DISABLE_CONTROL,
_groupFocusVisible: STORYBOOK_DISABLE_CONTROL,
_peerFocusVisible: STORYBOOK_DISABLE_CONTROL,
_groupActive: STORYBOOK_DISABLE_CONTROL,
_peerActive: STORYBOOK_DISABLE_CONTROL,
_groupDisabled: STORYBOOK_DISABLE_CONTROL,
_peerDisabled: STORYBOOK_DISABLE_CONTROL,
_groupInvalid: STORYBOOK_DISABLE_CONTROL,
_peerInvalid: STORYBOOK_DISABLE_CONTROL,
_groupChecked: STORYBOOK_DISABLE_CONTROL,
_peerChecked: STORYBOOK_DISABLE_CONTROL,
_groupFocusWithin: STORYBOOK_DISABLE_CONTROL,
_peerFocusWithin: STORYBOOK_DISABLE_CONTROL,
_peerPlaceholderShown: STORYBOOK_DISABLE_CONTROL,
_placeholder: STORYBOOK_DISABLE_CONTROL,
_placeholderShown: STORYBOOK_DISABLE_CONTROL,
_fullScreen: STORYBOOK_DISABLE_CONTROL,
_selection: STORYBOOK_DISABLE_CONTROL,
_rtl: STORYBOOK_DISABLE_CONTROL,
_ltr: STORYBOOK_DISABLE_CONTROL,
_mediaDark: STORYBOOK_DISABLE_CONTROL,
_mediaReduceMotion: STORYBOOK_DISABLE_CONTROL,
_dark: STORYBOOK_DISABLE_CONTROL,
_light: STORYBOOK_DISABLE_CONTROL,
_vertical: STORYBOOK_DISABLE_CONTROL,
_horizontal: STORYBOOK_DISABLE_CONTROL,
};

4

.storybook/theme.js

@@ -6,6 +6,6 @@ import { create } from "@storybook/theming";

base: "light",
brandTitle: "KVIB Components",
brandUrl: "https://kartverket.no",
brandTitle: "KVIB",
brandUrl: "https://kartverket.github.io/kvib/storybook",
brandImage: logo,
brandTarget: "_self",
});
{
"name": "@kvib/storybook",
"version": "1.0.0",
"version": "1.0.1",
"description": "",

@@ -10,3 +10,5 @@ "main": "index.js",

"build": "storybook build",
"postbuild": "mv storybook-static/index.html storybook-static/storybook.html && cp index.html storybook-static/index.html"
"build-storybook": "storybook build",
"postbuild": "mv storybook-static/index.html storybook-static/storybook.html && cp index.html storybook-static/index.html",
"test-storybook": "test-storybook"
},

@@ -28,6 +30,9 @@ "keywords": [],

"@storybook/react-webpack5": "^7.0.0-rc.4",
"@storybook/test-runner": "^0.11.0",
"@storybook/testing-library": "^0.0.14-next.1",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"axe-playwright": "^1.2.3",
"babel-loader": "^9.1.2",
"chromatic": "^6.20.0",
"react": "^18.2.0",

@@ -37,3 +42,6 @@ "react-dom": "^18.2.0",

"typescript": "^5.0.2"
},
"dependencies": {
"@storybook/addon-a11y": "^7.0.23"
}
}

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