agnostic-svelte
Advanced tools
Comparing version 1.1.19 to 1.1.20
@@ -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; |
@@ -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 @@ }; |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
375023
4576