intelliwaketssveltekitv25 0.1.53 → 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
@@ -130,13 +130,14 @@
130
130
  {:else}
131
131
  {#each subItems as listItem, idx (getKey(listItem))}
132
132
  {#if listItem?.section && listItem.section !== subItems[idx - 1]?.section}
133
- <li class='listGroupHeader block w-full select-none font-bold p-1 cursor-pointer sticky top-0'
133
+ <li class='listGroupHeader block w-full select-none font-bold p-1 cursor-pointer sticky top-0 bg-primary-main text-white'
134
134
  class:mt-4={rounded}
135
135
  class:overflow-x-hidden={wrapText || ellipses}
136
136
  class:whitespace-nowrap={!wrapText}
137
137
  class:mt-1={idx > 0}
138
- class:bg-primary-main={!rounded}
139
- class:text-white={!rounded}
138
+ class:roundedListGroupItem={rounded}
139
+ class:rounded-lg={rounded}
140
+ class:px-2={rounded}
140
141
  title={listItem.hover_title}
141
142
  role='menuitem'
142
143
  tabindex={-1}
@@ -226,15 +227,15 @@
226
227
  class:row-span-2={listItem.bigIcon}>
227
228
  {#if !!listItem.faProps}
228
229
  <Icon fw
229
- class={`mr-2 inline-block ${!listItem.bigIcon ? '' : 'ml-2'}`}
230
230
  scale={!listItem.bigIcon ? 1 : 2}
231
- {...listItem.faProps} />
231
+ {...listItem.faProps}
232
+ class={`mr-2 inline-block ${!listItem.bigIcon ? '' : 'ml-2'} ${listItem.faProps.class ?? ''}`.trim()}/>
232
233
  {/if}
233
234
  {#if !!listItem.icon}
234
235
  <Icon fw
235
236
  icon={listItem.icon}
236
237
  scale={!listItem.bigIcon ? 1 : 2}
237
- 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()} />
238
239
  {/if}
239
240
  </div>
240
241
  <div class='overflow-hidden'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelliwaketssveltekitv25",
3
- "version": "0.1.53",
3
+ "version": "0.1.55",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./dist/index.d.ts",