@agnos-ui/svelte-bootstrap 0.6.0 → 0.7.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.
@@ -9,7 +9,7 @@ import {BROWSER as __AgnosUISveltePreprocess__BROWSER} from 'esm-env';
9
9
  let {state, directives} = widget;
10
10
  </script>
11
11
 
12
- {#each state.progressDisplayOptions as option}
12
+ {#each state.progressDisplayOptions as option (option.id)}
13
13
  <div use:directives.progressDisplayDirective={{option}} {...__AgnosUISveltePreprocess__BROWSER ? {} : __AgnosUISveltePreprocess__ssrAttributes([directives.progressDisplayDirective, {option}])}></div>
14
14
  {/each}
15
15
  <div use:directives.clickableAreaDirective {...__AgnosUISveltePreprocess__BROWSER ? {} : __AgnosUISveltePreprocess__ssrAttributes(directives.clickableAreaDirective)}></div>
@@ -318,9 +318,13 @@ export interface ProgressDisplayOptions {
318
318
  */
319
319
  width: number;
320
320
  /**
321
- * Height of hte progress in %
321
+ * Height of the progress in %
322
322
  */
323
323
  height: number;
324
+ /**
325
+ * Id of the progress
326
+ */
327
+ id: number;
324
328
  }
325
329
  /**
326
330
  * Options for displaying a handle in a slider component.
@@ -91,7 +91,7 @@ export interface TreeProps {
91
91
  * (node: HTMLElement) => node.querySelectorAll('button')
92
92
  * ```
93
93
  */
94
- navSelector(node: HTMLElement): NodeListOf<HTMLButtonElement>;
94
+ navSelector(node: HTMLElement): NodeListOf<HTMLElement>;
95
95
  /**
96
96
  * Return the value for the 'aria-label' attribute of the toggle
97
97
  * @param label - tree item label
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agnos-ui/svelte-bootstrap",
3
3
  "description": "Bootstrap-based component library for Svelte.",
4
- "version": "0.6.0",
4
+ "version": "0.7.0",
5
5
  "type": "module",
6
6
  "main": "./index.js",
7
7
  "module": "./index.js",
@@ -49,13 +49,13 @@
49
49
  }
50
50
  },
51
51
  "dependencies": {
52
- "@agnos-ui/core-bootstrap": "0.6.0",
53
- "@agnos-ui/svelte-headless": "0.6.0"
52
+ "@agnos-ui/core-bootstrap": "0.7.0",
53
+ "@agnos-ui/svelte-headless": "0.7.0"
54
54
  },
55
55
  "peerDependencies": {
56
- "@amadeus-it-group/tansu": "^1.0.0",
56
+ "@amadeus-it-group/tansu": "^2.0.0",
57
57
  "esm-env": "^1.2.1",
58
- "svelte": "^5.3.1"
58
+ "svelte": "^5.0.0"
59
59
  },
60
60
  "sideEffects": false,
61
61
  "homepage": "https://www.agnosui.dev/latest/",