@kong-ui-public/entities-plugins-icon 0.0.3-pr.2114.d6a8378f0.0 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -3
- package/dist/entities-plugins-icon.es.js +39 -0
- package/dist/entities-plugins-icon.umd.js +1 -0
- package/dist/types/components/EntitiesPluginsIcon.vue.d.ts +3 -0
- package/dist/types/components/EntitiesPluginsIcon.vue.d.ts.map +1 -0
- package/dist/types/components/PluginIcon.vue.d.ts +10 -0
- package/dist/types/components/PluginIcon.vue.d.ts.map +1 -0
- package/dist/types/definitions/metadata.d.ts +14 -0
- package/dist/types/definitions/metadata.d.ts.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +2 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -7,6 +7,7 @@ Plugin icon package that provides a set of icons for Kong Gateway plugins.
|
|
|
7
7
|
- [Usage](#usage)
|
|
8
8
|
- [Install](#install)
|
|
9
9
|
- [Props](#props)
|
|
10
|
+
- [example](#example)
|
|
10
11
|
|
|
11
12
|
## Features
|
|
12
13
|
|
|
@@ -20,7 +21,6 @@ Plugin icon package that provides a set of icons for Kong Gateway plugins.
|
|
|
20
21
|
|
|
21
22
|
### Install
|
|
22
23
|
|
|
23
|
-
|
|
24
24
|
Install the package in your host application:
|
|
25
25
|
|
|
26
26
|
```sh
|
|
@@ -28,5 +28,16 @@ pnpm install @kong-ui-public/entities-plugins-icon
|
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
### Props
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
- name: `string` - The name of the plugin icon to display.
|
|
32
|
+
- size: `number` - The size of the icon in pixels. Default is `32`.
|
|
33
|
+
- alt: `string` - The alt text for the icon. Default is `''`.
|
|
34
|
+
|
|
35
|
+
### example
|
|
36
|
+
```vue
|
|
37
|
+
<template>
|
|
38
|
+
<PluginIcon
|
|
39
|
+
name="key-auth"
|
|
40
|
+
size="32"
|
|
41
|
+
/>
|
|
42
|
+
</template>
|
|
43
|
+
```
|