-
-
Notifications
You must be signed in to change notification settings - Fork 170
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
8d0f80c
commit bd13a0e
Showing
19 changed files
with
45 additions
and
30 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1 +1 @@ | ||
{"displayName":"Button","description":"","tags":{"examples":[{"title":"example","content":"<k-button icon=\"check\">Save</k-button>"},{"title":"example","content":"<k-button icon=\"check\" size=\"sm\" variant=\"filled\">Save</k-button>"}]},"props":[{"name":"disabled","description":"A disabled button/link will have no pointer events and\nthe opacity is be reduced.","type":{"name":"boolean"}},{"name":"download","description":"Whether the link should be downloaded directly","type":{"name":"boolean"}},{"name":"rel","description":"`rel` attribute for the link","type":{"name":"string"}},{"name":"tabindex","description":"Custom tabindex; only use if you really know\nhow to adjust the order properly","type":{"name":"string|number"}},{"name":"target","description":"Set the target of the link","type":{"name":"string"}},{"name":"title","description":"The title attribute can be used to add additional text\nto the button/link, which is shown on mouseover.","type":{"name":"string"}},{"name":"autofocus","description":"Sets autofocus on button (when supported by element)","type":{"name":"boolean"}},{"name":"click","description":"Pass instead of a link URL to be triggered on clicking the button","type":{"name":"func"},"defaultValue":{"value":"() => {}"}},{"name":"current","description":"Sets the `aria-current` attribute.\nEspecially useful in connection with the `link` attribute.","type":{"name":"string|boolean"}},{"name":"dialog","description":"Name/path of a dialog to open on click","type":{"name":"string"}},{"name":"drawer","description":"Name/path of a drawer to open on click","type":{"name":"string"}},{"name":"dropdown","description":"Whether the button opens a dropdown","type":{"name":"boolean"}},{"name":"element","description":"Force which HTML element to use","type":{"name":"string"}},{"name":"icon","description":"Adds an icon to the button.","type":{"name":"string"}},{"name":"id","description":"A unique id for the HTML element","type":{"name":"string|number"}},{"name":"link","description":"If the link attribute is set, the button will be represented\nas a proper `a` tag with `link`'s value as `href` attribute.","type":{"name":"string"}},{"name":"responsive","description":"A responsive button will hide the button text on smaller screens\nautomatically and only keep the icon. An icon must be set in this case.\nIf set to `text`, the icon will be hidden instead.","type":{"name":"boolean|string"}},{"name":"role","description":"`role` attribute for the button","type":{"name":"string"}},{"name":"selected","description":"Sets the `aria-selected` attribute.","type":{"name":"string|boolean"}},{"name":"size","description":"Specific sizes for button styling","tags":{"since":[{"description":"4.0.0","title":"since"}]},"values":["\"xs\"","\"sm\""],"type":{"name":"string"}},{"name":"text","description":"The button text","type":{"name":"string|number"}},{"name":"theme","description":"With the theme you can control the general design of the button.","type":{"name":"string"}},{"name":"type","description":"The type attribute sets the button type like in HTML.","tags":{},"values":["\"button\"","\"submit\"","\"reset\""],"type":{"name":"string"},"defaultValue":{"value":"\"button\""}},{"name":"variant","description":"Styling variants for the button","tags":{"since":[{"description":"4.0.0","title":"since"}]},"values":["\"filled\"","\"dimmed\""],"type":{"name":"string"}}],"events":[{"name":"click","type":{"names":["undefined"]},"description":"The button has been clicked","properties":[{"type":{"names":["PointerEvent"]},"name":"event","description":"the native click event"}]}],"methods":[{"name":"focus","description":"Focus the button","tags":{"access":[{"description":"public"}]}}],"slots":[{"name":"default","description":"The Button text. You can also use the `text` prop. Leave empty for icon buttons."}],"component":"k-button","sourceFile":"src/components/Navigation/Button.vue"} | ||
{"displayName":"Button","description":"","tags":{"examples":[{"title":"example","content":"<k-button icon=\"check\">Save</k-button>"},{"title":"example","content":"<k-button icon=\"check\" size=\"sm\" variant=\"filled\">Save</k-button>"}]},"props":[{"name":"disabled","description":"A disabled button/link will have no pointer events and\nthe opacity is be reduced.","type":{"name":"boolean"}},{"name":"download","description":"Whether the link should be downloaded directly","type":{"name":"boolean"}},{"name":"rel","description":"`rel` attribute for the link","type":{"name":"string"}},{"name":"tabindex","description":"Custom tabindex; only use if you really know\nhow to adjust the order properly","type":{"name":"string|number"}},{"name":"target","description":"Set the target of the link","type":{"name":"string"}},{"name":"title","description":"The title attribute can be used to add additional text\nto the button/link, which is shown on mouseover.","type":{"name":"string"}},{"name":"autofocus","description":"Sets autofocus on button (when supported by element)","type":{"name":"boolean"}},{"name":"badge","description":"Display a (colored) badge on the top-right of the button","tags":{"value":[{"description":"{ text, theme }","title":"value"}],"example":[{"description":"{ text: 5, theme: \"positive\" }","title":"example"}],"since":[{"description":"5.0.0","title":"since"}]},"type":{"name":"object"}},{"name":"click","description":"Pass instead of a link URL to be triggered on clicking the button","type":{"name":"func"},"defaultValue":{"value":"() => {}"}},{"name":"current","description":"Sets the `aria-current` attribute.\nEspecially useful in connection with the `link` attribute.","type":{"name":"string|boolean"}},{"name":"dialog","description":"Name/path of a dialog to open on click","type":{"name":"string"}},{"name":"drawer","description":"Name/path of a drawer to open on click","type":{"name":"string"}},{"name":"dropdown","description":"Whether the button opens a dropdown","type":{"name":"boolean"}},{"name":"element","description":"Force which HTML element to use","type":{"name":"string"}},{"name":"icon","description":"Adds an icon to the button.","type":{"name":"string"}},{"name":"id","description":"A unique id for the HTML element","type":{"name":"string|number"}},{"name":"link","description":"If the link attribute is set, the button will be represented\nas a proper `a` tag with `link`'s value as `href` attribute.","type":{"name":"string"}},{"name":"responsive","description":"A responsive button will hide the button text on smaller screens\nautomatically and only keep the icon. An icon must be set in this case.\nIf set to `text`, the icon will be hidden instead.","type":{"name":"boolean|string"}},{"name":"role","description":"`role` attribute for the button","type":{"name":"string"}},{"name":"selected","description":"Sets the `aria-selected` attribute.","type":{"name":"string|boolean"}},{"name":"size","description":"Specific sizes for button styling","tags":{"since":[{"description":"4.0.0","title":"since"}]},"values":["\"xs\"","\"sm\""],"type":{"name":"string"}},{"name":"text","description":"The button text","type":{"name":"string|number"}},{"name":"theme","description":"With the theme you can control the general design of the button.","type":{"name":"string"}},{"name":"type","description":"The type attribute sets the button type like in HTML.","tags":{},"values":["\"button\"","\"submit\"","\"reset\""],"type":{"name":"string"},"defaultValue":{"value":"\"button\""}},{"name":"variant","description":"Styling variants for the button","tags":{"since":[{"description":"4.0.0","title":"since"}]},"values":["\"filled\"","\"dimmed\""],"type":{"name":"string"}}],"events":[{"name":"click","type":{"names":["undefined"]},"description":"The button has been clicked","properties":[{"type":{"names":["PointerEvent"]},"name":"event","description":"the native click event"}]}],"methods":[{"name":"focus","description":"Focus the button","tags":{"access":[{"description":"public"}]}}],"slots":[{"name":"default","description":"The Button text. You can also use the `text` prop. Leave empty for icon buttons."}],"component":"k-button","sourceFile":"src/components/Navigation/Button.vue"} |
Oops, something went wrong.