mountain-ui 1.0.105 → 1.0.107

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.105",
4
+ "version": "1.0.107",
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",
@@ -20,6 +20,7 @@
20
20
  const navigation = navigationRegistry.selectNavbarState();
21
21
 
22
22
  const navigationGroups = navigationRegistry.getAllGroup();
23
+ const allEntitiesWithNoGroup = navigationRegistry.getAllWithNoGroup();
23
24
 
24
25
  const targetProjectHref = projectRegistry.selectTargetProjectHref();
25
26
  </script>
@@ -139,7 +140,8 @@
139
140
  ></NavbarIcon>
140
141
  </NavbarGroup>
141
142
  {/each}
142
- {#each $allEntities as entity}
143
+ {#each $allEntitiesWithNoGroup as el}
144
+ {@const entity = entityRegistry.get(el.entity_id)}
143
145
  <NavbarBtn href="{$targetProjectHref}/{entity.slug}" text={entity.plural_name}
144
146
  ></NavbarBtn>
145
147
  {/each}
@@ -313,7 +315,7 @@
313
315
 
314
316
  .content.settings {
315
317
  animation: apear 0.2s ease-out;
316
- padding: 0px;
318
+ padding: 0px;
317
319
  }
318
320
 
319
321
  .bottom {
@@ -123,7 +123,7 @@
123
123
  }
124
124
 
125
125
  .btn.active {
126
- background-color: var(--bg-2);
126
+ background-color: var(--bg-3);
127
127
  }
128
128
 
129
129
  .btn h5 {
@@ -158,6 +158,13 @@
158
158
  :global(.navbar.close) .btn:has( :global( svg)) h5.in {
159
159
  display: none;
160
160
  }
161
+ .btn :global(svg) {
162
+ transform: translateX(0px);
163
+ transition: transform .2s ease-out;
164
+ }
165
+ :global(.navbar.close) .btn :global(svg) {
166
+ transform: translateX(2px);
167
+ }
161
168
 
162
169
  :global(.navbar.open) .btn::after {
163
170
  user-select: none;
@@ -134,6 +134,14 @@
134
134
  min-height: max-content;
135
135
  }
136
136
 
137
+ .btn :global(svg) {
138
+ transform: translateX(0px);
139
+ transition: transform .2s ease-out;
140
+ }
141
+ :global(.navbar.close) .btn :global(svg) {
142
+ transform: translateX(2px);
143
+ }
144
+
137
145
  .full {
138
146
  display: flex;
139
147
  align-items: center;