-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b71fd3d
commit e7bd847
Showing
5 changed files
with
46 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* | ||
* @package kzarshenas/crazyphp | ||
* @author kekefreedog <[email protected]> | ||
* @copyright 2022-2024 Kévin Zarshenas | ||
* @copyright 2022-2023 Kévin Zarshenas | ||
*/ | ||
|
||
/** | ||
|
@@ -23,7 +23,7 @@ import tippy, {animateFill} from 'tippy.js'; | |
* | ||
* @package kzarshenas/crazyphp | ||
* @author kekefreedog <[email protected]> | ||
* @copyright 2022-2024 Kévin Zarshenas | ||
* @copyright 2022-2023 Kévin Zarshenas | ||
*/ | ||
export default class RegularBtn extends Crazycomponent { | ||
|
||
|
@@ -51,7 +51,7 @@ export default class RegularBtn extends Crazycomponent { | |
size: { | ||
value: "large", | ||
type: "string", | ||
select: ["small", "normal", "large"], | ||
select: ["small", "normal", "large", "extra-large"], | ||
}, | ||
wave: { | ||
value: "light", | ||
|
@@ -74,6 +74,10 @@ export default class RegularBtn extends Crazycomponent { | |
value: "", | ||
type: "string", | ||
}, | ||
"icon-image-style": { | ||
value: "", | ||
type: "string", | ||
}, | ||
"icon-position": { | ||
value: "right", | ||
type: "string", | ||
|
@@ -102,7 +106,8 @@ export default class RegularBtn extends Crazycomponent { | |
* Observable Attributes | ||
*/ | ||
static get observedAttributes() { | ||
return Object.keys(["type", "depth", "shape", "size", "wave", "label", "icon-class", "icon-text", "icon-image", "icon-position", "color-primary", "color-secondary"]); | ||
/* return Object.keys(["type", "depth", "shape", "size", "wave", "label", "icon-class", "icon-text", "icon-image", "icon-image-style", "icon-position", "color-primary", "color-secondary"]); */ | ||
return ["type", "depth", "shape", "size", "wave", "label", "icon-class", "icon-text", "icon-image", "icon-image-style", "icon-position", "color-primary", "color-secondary"]; | ||
} | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters