@wishbone-media/spark 0.43.0 → 0.45.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/dist/index.js +576 -566
- package/formkit.theme.mjs +2 -1
- package/package.json +2 -1
- package/src/components/SparkImageUpload.vue +6 -1
- package/src/plugins/fontawesome.js +3 -1
package/formkit.theme.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wishbone-media/spark",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.45.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -97,6 +97,7 @@
|
|
|
97
97
|
"dependencies": {
|
|
98
98
|
"@fancyapps/ui": "^6.1.13",
|
|
99
99
|
"@floating-ui/vue": "^1.1.11",
|
|
100
|
+
"@fortawesome/pro-solid-svg-icons": "^7.2.0",
|
|
100
101
|
"@googlemaps/js-api-loader": "^2.0.2"
|
|
101
102
|
}
|
|
102
103
|
}
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
:alt="label || 'Image preview'"
|
|
9
9
|
:class="[
|
|
10
10
|
height,
|
|
11
|
-
'
|
|
11
|
+
circle ? 'aspect-square object-cover rounded-full' : 'w-auto object-contain rounded-md',
|
|
12
|
+
'border border-gray-300 cursor-pointer hover:opacity-80 transition-opacity',
|
|
12
13
|
]"
|
|
13
14
|
/>
|
|
14
15
|
</a>
|
|
@@ -93,6 +94,10 @@ const props = defineProps({
|
|
|
93
94
|
type: Boolean,
|
|
94
95
|
default: false,
|
|
95
96
|
},
|
|
97
|
+
circle: {
|
|
98
|
+
type: Boolean,
|
|
99
|
+
default: false,
|
|
100
|
+
},
|
|
96
101
|
responseParser: {
|
|
97
102
|
type: Function,
|
|
98
103
|
default: (response) => response.data.url || response.data,
|
|
@@ -69,6 +69,8 @@ import {
|
|
|
69
69
|
faSortUp as faSortUpDuotone,
|
|
70
70
|
} from '@fortawesome/pro-duotone-svg-icons'
|
|
71
71
|
|
|
72
|
+
import { faStar as faStarSolid } from '@fortawesome/pro-solid-svg-icons'
|
|
73
|
+
|
|
72
74
|
export const Icons = {
|
|
73
75
|
farArrowLeftToLine: faArrowLeftToLine,
|
|
74
76
|
farArrowRightToLine: faArrowRightToLine,
|
|
@@ -167,7 +169,7 @@ const genesisIconMapping = {
|
|
|
167
169
|
radioDecorator: faCircleDot, // Circle with dot for radio indicator
|
|
168
170
|
select: faChevronDown,
|
|
169
171
|
spinner: faSpinnerThird,
|
|
170
|
-
star:
|
|
172
|
+
star: faStarSolid,
|
|
171
173
|
trash: faTrash,
|
|
172
174
|
fastForward: faAnglesRight,
|
|
173
175
|
right: faChevronRight,
|