@oicl/openbridge-webcomponents-svelte 2.0.0-next.36 → 2.0.0-next.37
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.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {TagColor} from '@oicl/openbridge-webcomponents/dist/components/tag/tag.js';
|
|
3
|
+
export type {TagColor, TagSize} from '@oicl/openbridge-webcomponents/dist/components/tag/tag.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/tag/tag.js';
|
|
5
5
|
import { setProperties } from "../../util.js";
|
|
6
|
-
import type {TagColor} from '@oicl/openbridge-webcomponents/dist/components/tag/tag.js';
|
|
6
|
+
import type {TagColor, TagSize} from '@oicl/openbridge-webcomponents/dist/components/tag/tag.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
9
9
|
export interface Props {
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
style?: string;
|
|
12
12
|
label?: string;
|
|
13
13
|
color?: TagColor;
|
|
14
|
+
size?: TagSize;
|
|
14
15
|
hasIcon?: boolean
|
|
15
16
|
}
|
|
16
17
|
export interface Events {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/tag/tag.js';
|
|
2
|
-
import type { TagColor } from '@oicl/openbridge-webcomponents/dist/components/tag/tag.js';
|
|
2
|
+
import type { TagColor, TagSize } from '@oicl/openbridge-webcomponents/dist/components/tag/tag.js';
|
|
3
3
|
import type { Snippet } from 'svelte';
|
|
4
4
|
export interface Props {
|
|
5
5
|
class?: string;
|
|
6
6
|
style?: string;
|
|
7
7
|
label?: string;
|
|
8
8
|
color?: TagColor;
|
|
9
|
+
size?: TagSize;
|
|
9
10
|
hasIcon?: boolean;
|
|
10
11
|
}
|
|
11
12
|
export interface Events {
|
|
@@ -16,6 +17,7 @@ export interface Slots {
|
|
|
16
17
|
type $$ComponentProps = Props & Events & Slots;
|
|
17
18
|
declare const ObcTag: import("svelte").Component<$$ComponentProps, {
|
|
18
19
|
TagColor: typeof TagColor;
|
|
20
|
+
TagSize: typeof TagSize;
|
|
19
21
|
}, "">;
|
|
20
22
|
type ObcTag = ReturnType<typeof ObcTag>;
|
|
21
23
|
export default ObcTag;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oicl/openbridge-webcomponents-svelte",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.37",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite dev",
|
|
6
6
|
"build": "vite build && npm run prepack",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@oicl/openbridge-webcomponents": "^2.0.0-next.
|
|
34
|
+
"@oicl/openbridge-webcomponents": "^2.0.0-next.36"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"svelte": "^5.0.0"
|