@soleil-se/config-svelte 1.8.2 → 1.8.4
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/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.8.4] - 2021-12-03
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Removable prop was not working on NodeSelector
|
|
13
|
+
|
|
14
|
+
## [1.8.3] - 2021-12-01
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- Remove hidden input for LinkSelector to fix bug with trashed / removed pages and files introduced in Sitevision 9.1.
|
|
19
|
+
|
|
8
20
|
## [1.8.2] - 2021-11-26
|
|
9
21
|
|
|
10
22
|
### Fixed
|
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
|
|
62
62
|
<Panel {heading} class={className} {required}>
|
|
63
63
|
<slot name="top" />
|
|
64
|
-
{#if name}<input type="hidden" name={`${name}Value`} value={value.value} />{/if}
|
|
65
64
|
{#if selectableTypes.length > 1}
|
|
66
65
|
<div class="sr-legend form-group">
|
|
67
66
|
<RadioGroup
|
|
@@ -77,6 +76,7 @@
|
|
|
77
76
|
|
|
78
77
|
<div class="sr-label form-group form-group--internal" use:show={isInternal}>
|
|
79
78
|
<NodeSelector
|
|
79
|
+
name={name && isInternal ? `${name}Value` : undefined}
|
|
80
80
|
bind:value={selected.internal}
|
|
81
81
|
{disabled}
|
|
82
82
|
type="page-selector"
|
|
@@ -87,6 +87,7 @@
|
|
|
87
87
|
</div>
|
|
88
88
|
<div class="sr-label form-group form-group--external" use:show={isExternal}>
|
|
89
89
|
<InputField
|
|
90
|
+
name={name && isExternal ? `${name}Value` : undefined}
|
|
90
91
|
bind:value={selected.external}
|
|
91
92
|
{disabled}
|
|
92
93
|
label={i18n('external')}
|
|
@@ -97,6 +98,7 @@
|
|
|
97
98
|
</div>
|
|
98
99
|
<div class="sr-label form-group form-group--file" use:show={isFile}>
|
|
99
100
|
<NodeSelector
|
|
101
|
+
name={name && isFile ? `${name}Value` : undefined}
|
|
100
102
|
bind:value={selected.file}
|
|
101
103
|
{disabled}
|
|
102
104
|
type="file-selector"
|
|
@@ -108,6 +110,7 @@
|
|
|
108
110
|
|
|
109
111
|
<div class="sr-label form-group form-group--mail" use:show={isMail}>
|
|
110
112
|
<InputField
|
|
113
|
+
name={name && isMail ? `${name}Value` : undefined}
|
|
111
114
|
bind:value={selected.mail}
|
|
112
115
|
{disabled}
|
|
113
116
|
label={i18n('mail')}
|
|
@@ -118,6 +121,7 @@
|
|
|
118
121
|
</div>
|
|
119
122
|
<div class="sr-label form-group form-group--tel" use:show={isTel}>
|
|
120
123
|
<InputField
|
|
124
|
+
name={name && isTel ? `${name}Value` : undefined}
|
|
121
125
|
bind:value={selected.tel}
|
|
122
126
|
{disabled}
|
|
123
127
|
label={i18n('tel')}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
export let required = false;
|
|
14
14
|
export let disabled = false;
|
|
15
15
|
export let readonly = false;
|
|
16
|
-
export let removable =
|
|
16
|
+
export let removable = true;
|
|
17
17
|
export let selectable = [];
|
|
18
18
|
export let value = '';
|
|
19
19
|
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
{required}
|
|
71
71
|
{disabled}
|
|
72
72
|
{readonly}
|
|
73
|
-
data-removable={removable}
|
|
73
|
+
data-removable={removable ? '' : undefined}
|
|
74
74
|
data-component={component}
|
|
75
75
|
data-types={selectable}
|
|
76
76
|
value={displayName}
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
width: 100%;
|
|
90
90
|
height: 34px;
|
|
91
91
|
margin-top: -34px;
|
|
92
|
-
background-color:
|
|
92
|
+
background-color: rgb(255 255 255 / 30%);
|
|
93
93
|
cursor: not-allowed;
|
|
94
94
|
}
|
|
95
95
|
</style>
|