@lavalogic/scoria 0.23.0 → 0.23.1

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 @@
9
9
  let {
10
10
  // name: _name, //FIXME why is this not implemented?
11
11
  tabComponent,
12
- options,
12
+ tabs,
13
13
  selected,
14
14
  noRadius = false,
15
15
  grow = false,
@@ -23,11 +23,11 @@
23
23
  >
24
24
  <div class="tabs">
25
25
  {#if tabComponent}
26
- {#each options as option (option)}
26
+ {#each tabs as option (option)}
27
27
  {@render tabComponent(option, selected === option)}
28
28
  {/each}
29
29
  {:else}
30
- {#each options as option (option)}
30
+ {#each tabs as option (option)}
31
31
  <HorizontalTabGroupButton
32
32
  {option}
33
33
  selected={selected === option}
@@ -47,7 +47,7 @@
47
47
  if (typeof option.visible === 'boolean') {
48
48
  visible = option.visible;
49
49
  } else if (option.visible == undefined) {
50
- visible = false;
50
+ visible = true;
51
51
  } else {
52
52
  option.visible
53
53
  .then((v) => {
@@ -5,6 +5,6 @@ export interface HorizontalTabGroupProps<CommonDenominator> {
5
5
  tabComponent?: Snippet<[TabOption<CommonDenominator>, boolean]>;
6
6
  noRadius?: boolean;
7
7
  grow?: boolean;
8
- options: Array<TabOption<CommonDenominator>>;
8
+ tabs: Array<TabOption<CommonDenominator>>;
9
9
  selected: TabOption<CommonDenominator> | undefined;
10
10
  }
@@ -45,7 +45,7 @@
45
45
  if (typeof option.visible === 'boolean') {
46
46
  visible = option.visible;
47
47
  } else if (option.visible == undefined) {
48
- visible = false;
48
+ visible = true;
49
49
  } else {
50
50
  option.visible
51
51
  .then((v) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lavalogic/scoria",
3
3
  "description": "Svelte components used for the FloWMS Web Frontend",
4
- "version": "0.23.0",
4
+ "version": "0.23.1",
5
5
  "publishConfig": {
6
6
  "access": "restricted"
7
7
  },