intelliwaketssveltekitv25 0.1.54 → 0.1.55

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.
@@ -20,6 +20,7 @@ export interface IFAProps {
20
20
  secondaryOpacity?: number;
21
21
  swapOpacity?: boolean;
22
22
  title?: string;
23
+ class?: string;
23
24
  }
24
25
  export interface IDDAction {
25
26
  hidden?: boolean;
package/dist/Icon.svelte CHANGED
@@ -49,6 +49,7 @@
49
49
  flip?: 'horizontal' | 'vertical' | 'both' | boolean
50
50
  spin?: boolean
51
51
  pulse?: boolean
52
+
52
53
  // Duotone Icons
53
54
  primaryColor?: string
54
55
  secondaryColor?: string
@@ -227,15 +227,15 @@
227
227
  class:row-span-2={listItem.bigIcon}>
228
228
  {#if !!listItem.faProps}
229
229
  <Icon fw
230
- class={`mr-2 inline-block ${!listItem.bigIcon ? '' : 'ml-2'}`}
231
230
  scale={!listItem.bigIcon ? 1 : 2}
232
- {...listItem.faProps} />
231
+ {...listItem.faProps}
232
+ class={`mr-2 inline-block ${!listItem.bigIcon ? '' : 'ml-2'} ${listItem.faProps.class ?? ''}`.trim()}/>
233
233
  {/if}
234
234
  {#if !!listItem.icon}
235
235
  <Icon fw
236
236
  icon={listItem.icon}
237
237
  scale={!listItem.bigIcon ? 1 : 2}
238
- class={`mr-2 inline-block top-1/2 -translate-y-1/2 absolute ${!listItem.bigIcon ? '' : 'left-1.5'}`} />
238
+ class={`mr-2 inline-block top-1/2 -translate-y-1/2 absolute ${!listItem.bigIcon ? '' : 'left-1.5'}`.trim()} />
239
239
  {/if}
240
240
  </div>
241
241
  <div class='overflow-hidden'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelliwaketssveltekitv25",
3
- "version": "0.1.54",
3
+ "version": "0.1.55",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./dist/index.d.ts",