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

agnostic-svelte

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agnostic-svelte - npm Package Compare versions

Comparing version 1.1.19 to 1.1.20

6

components/Menu/Menu.stories.d.ts

@@ -11,2 +11,8 @@ declare namespace _default {

export const Default: any;
export const Kebab: any;
export const KebabRight: any;
export const Meatball: any;
export const MeatballRight: any;
export const Burger: any;
export const BurgerRight: any;
export const NoCloseOnClickOutside: any;

@@ -13,0 +19,0 @@ export const NoCloseOnSelect: any;

@@ -49,2 +49,161 @@ import Menu from "./Menu.svelte";

export const Kebab = Template.bind({});
Kebab.args = {
id: "kebab1",
menuTitle: "Players",
type: "kebab",
menuItems: [
{
label: "Menu Item 1",
menuItemComponent: MenuItem
},
{
isDisabled: true,
label: "Menu Item 2",
menuItemComponent: MenuItem
},
{
label: "Menu Item 3",
menuItemComponent: MenuItem
},
{
label: "Menu Item 4",
menuItemComponent: MenuItem
},
],
};
export const KebabRight = Template.bind({});
KebabRight.args = {
id: "kebab2",
menuTitle: "Players",
type: "kebab",
isItemsRight: true,
menuItems: [
{
label: "Menu Item 1",
menuItemComponent: MenuItem
},
{
isDisabled: true,
label: "Menu Item 2",
menuItemComponent: MenuItem
},
{
label: "Menu Item 3",
menuItemComponent: MenuItem
},
{
label: "Menu Item 4",
menuItemComponent: MenuItem
},
],
};
export const Meatball = Template.bind({});
Meatball.args = {
id: "meatball1",
menuTitle: "Players",
type: "meatball",
menuItems: [
{
label: "Menu Item 1",
menuItemComponent: MenuItem
},
{
isDisabled: true,
label: "Menu Item 2",
menuItemComponent: MenuItem
},
{
label: "Menu Item 3",
menuItemComponent: MenuItem
},
{
label: "Menu Item 4",
menuItemComponent: MenuItem
},
],
};
export const MeatballRight = Template.bind({});
MeatballRight.args = {
id: "meatball2",
menuTitle: "Players",
type: "meatball",
isItemsRight: true,
menuItems: [
{
label: "Menu Item 1",
menuItemComponent: MenuItem
},
{
isDisabled: true,
label: "Menu Item 2",
menuItemComponent: MenuItem
},
{
label: "Menu Item 3",
menuItemComponent: MenuItem
},
{
label: "Menu Item 4",
menuItemComponent: MenuItem
},
],
};
export const Burger = Template.bind({});
Burger.args = {
id: "hamburger1",
menuTitle: "Players",
type: "hamburger",
menuItems: [
{
label: "Menu Item 1",
menuItemComponent: MenuItem
},
{
isDisabled: true,
label: "Menu Item 2",
menuItemComponent: MenuItem
},
{
label: "Menu Item 3",
menuItemComponent: MenuItem
},
{
label: "Menu Item 4",
menuItemComponent: MenuItem
},
],
};
export const BurgerRight = Template.bind({});
BurgerRight.args = {
id: "hamburger2",
menuTitle: "Players",
type: "hamburger",
isItemsRight: true,
menuItems: [
{
label: "Menu Item 1",
menuItemComponent: MenuItem
},
{
isDisabled: true,
label: "Menu Item 2",
menuItemComponent: MenuItem
},
{
label: "Menu Item 3",
menuItemComponent: MenuItem
},
{
label: "Menu Item 4",
menuItemComponent: MenuItem
},
],
};
export const NoCloseOnClickOutside = Template.bind({});

@@ -51,0 +210,0 @@ NoCloseOnClickOutside.args = {

@@ -10,6 +10,9 @@ /** @typedef {typeof __propDef.props} MenuProps */

isRounded?: boolean;
type?: string;
icon?: string;
size?: string;
isBordered?: boolean;
isDisabled?: boolean;
menuItems?: any[];
isItemsRight?: boolean;
closeOnClickOutside?: boolean;

@@ -32,6 +35,9 @@ closeOnSelect?: boolean;

isRounded?: boolean;
type?: string;
icon?: string;
size?: string;
isBordered?: boolean;
isDisabled?: boolean;
menuItems?: any[];
isItemsRight?: boolean;
closeOnClickOutside?: boolean;

@@ -38,0 +44,0 @@ closeOnSelect?: boolean;

4

components/Table/Table.svelte.d.ts

@@ -20,2 +20,4 @@ /** @typedef {typeof __propDef.props} TableProps */

}, {
sort: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;

@@ -46,2 +48,4 @@ }, {}> {

events: {
sort: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;

@@ -48,0 +52,0 @@ };

2

package.json
{
"name": "agnostic-svelte",
"version": "1.1.19",
"version": "1.1.20",
"description": "AgnosticUI (svelte)",

@@ -5,0 +5,0 @@ "author": "Rob Levin <roblevinillustration@gmail.com>",

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