@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/formkit.theme.mjs CHANGED
@@ -554,7 +554,8 @@ const classes = {
554
554
  'cursor-default': true,
555
555
  'rounded-sm': true,
556
556
  'text-xs': true,
557
- 'px-2': true,
557
+ 'pl-2': true,
558
+ 'pr-4': true,
558
559
  'py-1': true,
559
560
  'bg-primary-600': true,
560
561
  'text-white': true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wishbone-media/spark",
3
- "version": "0.43.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
- 'w-auto object-contain border border-gray-300 rounded-md cursor-pointer hover:opacity-80 transition-opacity',
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: faStar,
172
+ star: faStarSolid,
171
173
  trash: faTrash,
172
174
  fastForward: faAnglesRight,
173
175
  right: faChevronRight,