intelliwaketssveltekitv25 0.3.37 → 0.3.42
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/Definitions.d.ts +35 -0
- package/dist/ListGroupItems.svelte +1 -1
- package/package.json +5 -2
package/dist/Definitions.d.ts
CHANGED
|
@@ -61,6 +61,41 @@ export interface ISpinItem<T = number> {
|
|
|
61
61
|
style?: string;
|
|
62
62
|
classItem?: string | null;
|
|
63
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* Represents a List Group Item with various customizable properties and configurations.
|
|
66
|
+
* The object defines the structure and attributes for a single item in a list group.
|
|
67
|
+
*
|
|
68
|
+
* @typedef {Object} TListGroupItem
|
|
69
|
+
* @property {string} title - The main title of the list group item.
|
|
70
|
+
* @property {string} [sub_title] - Optional subtitle displayed beneath the title.
|
|
71
|
+
* @property {string} [hover_title] - Optional title displayed when the item is hovered over.
|
|
72
|
+
* @property {boolean} [hidden] - Indicates whether the item should be hidden.
|
|
73
|
+
* @property {IFAProps} [faProps] - Optional FontAwesome properties for the item.
|
|
74
|
+
* @property {IconDefinition} [icon] - Icon to display alongside the item.
|
|
75
|
+
* @property {boolean} [selected] - Indicates whether the item is selected.
|
|
76
|
+
* @property {string} [href] - URL to navigate to when the item is clicked, if set.
|
|
77
|
+
* @property {boolean} [strikeThrough] - Whether the title should be displayed with a strikethrough style.
|
|
78
|
+
* @property {Function} [linkClick] - Optional function to be triggered on link click.
|
|
79
|
+
* @property {number|string|null} [badgeValue] - Defines the badge value: undefined for no badge, null for badge with spinner, or number/string for specific value.
|
|
80
|
+
* @property {TDefaultColorPalate|null} [badgeColor] - Color of the badge, or null for default.
|
|
81
|
+
* @property {string|null} [badgeClass] - Additional class applied to badge styling.
|
|
82
|
+
* @property {string|null} [rightText] - Additional text displayed on the right of the item.
|
|
83
|
+
* @property {string} [paneName] - Identifier for a specific pane associated with the item.
|
|
84
|
+
* @property {string|null} [value] - A value related to the list item, if any.
|
|
85
|
+
* @property {string|null} [key] - Optional key used as a unique identifier for the list item.
|
|
86
|
+
* @property {string} [section] - Defines a section or grouping the item belongs to.
|
|
87
|
+
* @property {string|null} [parent_value] - The value of the parent item, if the item belongs to a nested structure.
|
|
88
|
+
* @property {string|null} [start_date] - Start date associated with the item.
|
|
89
|
+
* @property {string|null} [end_date] - End date associated with the item.
|
|
90
|
+
* @property {boolean|null} [disabled] - Whether the item is inactive or not clickable.
|
|
91
|
+
* @property {string[]|string|null} [feature] - Optional features associated with the item.
|
|
92
|
+
* @property {TListGroupItem[]} [subs] - Array of child items, defining a nested structure.
|
|
93
|
+
* @property {boolean} [collapsed] - Whether the item is collapsed in a nested structure.
|
|
94
|
+
* @property {'tap'|'hover'} [dataSvelteKitPreloadData] - Preload behavior for SvelteKit data ('tap' or 'hover').
|
|
95
|
+
* @property {boolean} [noLinkReplace] - Prevents link replacement when set to true.
|
|
96
|
+
* @property {boolean} [bigIcon] - Indicates if a larger icon should be used for this item.
|
|
97
|
+
* @property {string} [itemClass] - Custom class name for the item, used for additional styling.
|
|
98
|
+
*/
|
|
64
99
|
export type TListGroupItem = {
|
|
65
100
|
title: string;
|
|
66
101
|
sub_title?: string;
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
{/if}
|
|
268
268
|
</div>
|
|
269
269
|
{/if}
|
|
270
|
-
{#if
|
|
270
|
+
{#if listItem.pathFromItem && !listItem.linkClick}
|
|
271
271
|
<a href={listItem.pathFromItem}
|
|
272
272
|
tabindex={-1}
|
|
273
273
|
data-sveltekit-preload-data={listItem.dataSvelteKitPreloadData ?? "tap"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "intelliwaketssveltekitv25",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.42",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -62,6 +62,9 @@
|
|
|
62
62
|
"vite": "^6.3.5",
|
|
63
63
|
"vitest": "^3.1.3"
|
|
64
64
|
},
|
|
65
|
+
"publishConfig": {
|
|
66
|
+
"access": "public"
|
|
67
|
+
},
|
|
65
68
|
"svelte": "./dist/index.js",
|
|
66
69
|
"types": "./dist/index.d.ts",
|
|
67
70
|
"type": "module",
|
|
@@ -79,7 +82,7 @@
|
|
|
79
82
|
"lint": "prettier --check . && eslint .",
|
|
80
83
|
"format": "prettier --write .",
|
|
81
84
|
"Install-IntelliWake": "pnpm install && pnpm update -P @solidbasisventures/intelliwaketsfoundation",
|
|
82
|
-
"Publish": "pnpm version patch
|
|
85
|
+
"Publish": "pnpm version patch --no-git-tag-version && VER=`node -p \"require('./package.json').version\"` && git add -A && git commit -m \"chore: release v$VER\" && pnpm publish --access public && git tag \"v$VER\" && git push && git push --tags",
|
|
83
86
|
"Version-Minor-Advance": "pnpm version minor"
|
|
84
87
|
}
|
|
85
88
|
}
|