@budibase/bbui 3.26.0 → 3.26.2
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/bbui",
|
|
3
3
|
"description": "A UI solution used in the different Budibase projects.",
|
|
4
|
-
"version": "3.26.
|
|
4
|
+
"version": "3.26.2",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"module": "dist/bbui.mjs",
|
|
7
7
|
"exports": {
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "908ec20f1124a11b0cbe3bed8d2bc4a04e856cfe"
|
|
111
111
|
}
|
package/src/Button/Button.svelte
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
export let quiet = false
|
|
16
16
|
export let icon = undefined
|
|
17
17
|
export let iconColor = undefined
|
|
18
|
+
export let iconWeight = "regular"
|
|
18
19
|
export let active = false
|
|
19
20
|
export let tooltip = undefined
|
|
20
21
|
export let newStyles = true
|
|
@@ -51,7 +52,12 @@
|
|
|
51
52
|
{/if}
|
|
52
53
|
{#if icon}
|
|
53
54
|
<span class="icon">
|
|
54
|
-
<Icon
|
|
55
|
+
<Icon
|
|
56
|
+
name={icon}
|
|
57
|
+
size={size.toUpperCase()}
|
|
58
|
+
color={iconColor}
|
|
59
|
+
weight={iconWeight}
|
|
60
|
+
/>
|
|
55
61
|
</span>
|
|
56
62
|
{/if}
|
|
57
63
|
{#if $$slots && !reverse}
|
|
@@ -76,7 +82,7 @@
|
|
|
76
82
|
white-space: nowrap;
|
|
77
83
|
overflow: hidden;
|
|
78
84
|
text-overflow: ellipsis;
|
|
79
|
-
font-weight:
|
|
85
|
+
font-weight: 500;
|
|
80
86
|
line-height: 20px;
|
|
81
87
|
letter-spacing: -0.02em;
|
|
82
88
|
}
|