mountain-ui 1.0.103 → 1.0.105

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mountain-ui",
3
3
  "private": false,
4
- "version": "1.0.103",
4
+ "version": "1.0.105",
5
5
  "description": "A comprehensive UI component library for ERP systems with field types, entities, and registry management built with Svelte",
6
6
  "type": "module",
7
7
  "module": "index.js",
@@ -67,7 +67,7 @@
67
67
  </div>
68
68
  <TargetProjectSubscriptionCard {getProjectHref}></TargetProjectSubscriptionCard>
69
69
  <div class="content">
70
- <Button href={settingsHref} variant="ghost" style="width:100%;">
70
+ <Button href={settingsHref} variant="ghost" style="width:100%;column-gap: var(--pad-m);">
71
71
  <svg
72
72
  width="24"
73
73
  height="24"
@@ -88,7 +88,7 @@
88
88
  <h5>Paramètres</h5>
89
89
  </Button>
90
90
  <span class="separator"></span>
91
- <Button href={reportHref} variant="ghost" style="width:100%;">
91
+ <Button href={reportHref} variant="ghost" style="width:100%;column-gap: var(--pad-m);">
92
92
  <svg
93
93
  width="24"
94
94
  height="24"
@@ -112,37 +112,39 @@
112
112
 
113
113
  <h5>Signaler un problème</h5>
114
114
  </Button>
115
- <Button href={guideHref} variant="ghost" style="width:100%;">
116
- <svg
117
- width="24"
118
- height="24"
119
- viewBox="0 0 24 24"
120
- fill="none"
121
- xmlns="http://www.w3.org/2000/svg"
122
- >
123
- <path
124
- d="M12 22.08C11.7 22.08 11.4 22.01 11.15 21.87C9.28 20.85 5.99 19.77 3.93 19.5L3.64 19.46C2.33 19.3 1.25 18.07 1.25 16.74V4.66001C1.25 3.87001 1.56 3.15001 2.13 2.63001C2.7 2.11001 3.44 1.86001 4.22 1.93001C6.42 2.10001 9.74 3.20001 11.62 4.38001L11.86 4.52001C11.93 4.56001 12.08 4.56001 12.14 4.53001L12.3 4.43001C14.18 3.25001 17.5 2.13001 19.71 1.94001C19.73 1.94001 19.81 1.94001 19.83 1.94001C20.56 1.87001 21.31 2.13001 21.87 2.65001C22.44 3.17001 22.75 3.89001 22.75 4.68001V16.75C22.75 18.09 21.67 19.31 20.35 19.47L20.02 19.51C17.96 19.78 14.66 20.87 12.83 21.88C12.59 22.02 12.3 22.08 12 22.08ZM3.98 3.42001C3.66 3.42001 3.37 3.53001 3.14 3.74001C2.89 3.97001 2.75 4.30001 2.75 4.66001V16.74C2.75 17.33 3.26 17.9 3.83 17.98L4.13 18.02C6.38 18.32 9.83 19.45 11.83 20.54C11.92 20.58 12.05 20.59 12.1 20.57C14.1 19.46 17.57 18.32 19.83 18.02L20.17 17.98C20.74 17.91 21.25 17.33 21.25 16.74V4.67001C21.25 4.30001 21.11 3.98001 20.86 3.74001C20.6 3.51001 20.27 3.40001 19.9 3.42001C19.88 3.42001 19.8 3.42001 19.78 3.42001C17.87 3.59001 14.79 4.62001 13.11 5.67001L12.95 5.78001C12.4 6.12001 11.62 6.12001 11.09 5.79001L10.85 5.65001C9.14 4.60001 6.06 3.58001 4.1 3.42001C4.06 3.42001 4.02 3.42001 3.98 3.42001Z"
125
- fill="#292D32"
126
- />
127
- <path
128
- d="M12 21.24C11.59 21.24 11.25 20.9 11.25 20.49V5.48999C11.25 5.07999 11.59 4.73999 12 4.73999C12.41 4.73999 12.75 5.07999 12.75 5.48999V20.49C12.75 20.91 12.41 21.24 12 21.24Z"
129
- fill="#292D32"
130
- />
131
- <path
132
- d="M7.75 9.23999H5.5C5.09 9.23999 4.75 8.89999 4.75 8.48999C4.75 8.07999 5.09 7.73999 5.5 7.73999H7.75C8.16 7.73999 8.5 8.07999 8.5 8.48999C8.5 8.89999 8.16 9.23999 7.75 9.23999Z"
133
- fill="#292D32"
134
- />
135
- <path
136
- d="M8.5 12.24H5.5C5.09 12.24 4.75 11.9 4.75 11.49C4.75 11.08 5.09 10.74 5.5 10.74H8.5C8.91 10.74 9.25 11.08 9.25 11.49C9.25 11.9 8.91 12.24 8.5 12.24Z"
137
- fill="#292D32"
138
- />
139
- </svg>
115
+ {#if guideHref}
116
+ <Button href={guideHref} variant="ghost" style="width:100%;column-gap: var(--pad-m);">
117
+ <svg
118
+ width="24"
119
+ height="24"
120
+ viewBox="0 0 24 24"
121
+ fill="none"
122
+ xmlns="http://www.w3.org/2000/svg"
123
+ >
124
+ <path
125
+ d="M12 22.08C11.7 22.08 11.4 22.01 11.15 21.87C9.28 20.85 5.99 19.77 3.93 19.5L3.64 19.46C2.33 19.3 1.25 18.07 1.25 16.74V4.66001C1.25 3.87001 1.56 3.15001 2.13 2.63001C2.7 2.11001 3.44 1.86001 4.22 1.93001C6.42 2.10001 9.74 3.20001 11.62 4.38001L11.86 4.52001C11.93 4.56001 12.08 4.56001 12.14 4.53001L12.3 4.43001C14.18 3.25001 17.5 2.13001 19.71 1.94001C19.73 1.94001 19.81 1.94001 19.83 1.94001C20.56 1.87001 21.31 2.13001 21.87 2.65001C22.44 3.17001 22.75 3.89001 22.75 4.68001V16.75C22.75 18.09 21.67 19.31 20.35 19.47L20.02 19.51C17.96 19.78 14.66 20.87 12.83 21.88C12.59 22.02 12.3 22.08 12 22.08ZM3.98 3.42001C3.66 3.42001 3.37 3.53001 3.14 3.74001C2.89 3.97001 2.75 4.30001 2.75 4.66001V16.74C2.75 17.33 3.26 17.9 3.83 17.98L4.13 18.02C6.38 18.32 9.83 19.45 11.83 20.54C11.92 20.58 12.05 20.59 12.1 20.57C14.1 19.46 17.57 18.32 19.83 18.02L20.17 17.98C20.74 17.91 21.25 17.33 21.25 16.74V4.67001C21.25 4.30001 21.11 3.98001 20.86 3.74001C20.6 3.51001 20.27 3.40001 19.9 3.42001C19.88 3.42001 19.8 3.42001 19.78 3.42001C17.87 3.59001 14.79 4.62001 13.11 5.67001L12.95 5.78001C12.4 6.12001 11.62 6.12001 11.09 5.79001L10.85 5.65001C9.14 4.60001 6.06 3.58001 4.1 3.42001C4.06 3.42001 4.02 3.42001 3.98 3.42001Z"
126
+ fill="#292D32"
127
+ />
128
+ <path
129
+ d="M12 21.24C11.59 21.24 11.25 20.9 11.25 20.49V5.48999C11.25 5.07999 11.59 4.73999 12 4.73999C12.41 4.73999 12.75 5.07999 12.75 5.48999V20.49C12.75 20.91 12.41 21.24 12 21.24Z"
130
+ fill="#292D32"
131
+ />
132
+ <path
133
+ d="M7.75 9.23999H5.5C5.09 9.23999 4.75 8.89999 4.75 8.48999C4.75 8.07999 5.09 7.73999 5.5 7.73999H7.75C8.16 7.73999 8.5 8.07999 8.5 8.48999C8.5 8.89999 8.16 9.23999 7.75 9.23999Z"
134
+ fill="#292D32"
135
+ />
136
+ <path
137
+ d="M8.5 12.24H5.5C5.09 12.24 4.75 11.9 4.75 11.49C4.75 11.08 5.09 10.74 5.5 10.74H8.5C8.91 10.74 9.25 11.08 9.25 11.49C9.25 11.9 8.91 12.24 8.5 12.24Z"
138
+ fill="#292D32"
139
+ />
140
+ </svg>
140
141
 
141
- <h5>Guide</h5>
142
- </Button>
142
+ <h5>Guide</h5>
143
+ </Button>
144
+ {/if}
143
145
  <span class="separator"></span>
144
146
  {#if hubHref}
145
- <Button href={hubHref} variant="ghost" style="width:100%;">
147
+ <Button href={hubHref} variant="ghost" style="width:100%;column-gap: var(--pad-m);">
146
148
  <svg
147
149
  width="24"
148
150
  height="24"
@@ -176,7 +178,7 @@
176
178
  </Button>
177
179
  <span class="separator"></span>
178
180
  {/if}
179
- <Button variant="ghost" style="width:100%;" onClick={handleLogout}>
181
+ <Button variant="ghost" style="width:100%;column-gap: var(--pad-m);" onClick={handleLogout}>
180
182
  <svg
181
183
  width="24"
182
184
  height="24"