mountain-ui 1.0.132 → 1.0.134

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.132",
4
+ "version": "1.0.134",
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",
@@ -25,7 +25,7 @@ export function createFieldType(config) {
25
25
  },
26
26
 
27
27
  // entryViews
28
- tableAttributs: (props) => {},
28
+ tableAttributes: (props) => {},
29
29
 
30
30
 
31
31
  // bindings
@@ -33,7 +33,7 @@ export default createFieldType({
33
33
  properties: null
34
34
  },
35
35
 
36
- tableAttributs: (props) => {
36
+ tableAttributes: (props) => {
37
37
  let data = {
38
38
  searchChoices: []
39
39
  }
@@ -40,7 +40,7 @@ export default createFieldType({
40
40
  properties: null
41
41
  },
42
42
 
43
- tableAttributs: (props) => {
43
+ tableAttributes: (props) => {
44
44
  let data = {
45
45
  searchChoices: []
46
46
  }
@@ -32,7 +32,7 @@ export default createFieldType({
32
32
  properties: null
33
33
  },
34
34
 
35
- tableAttributs: {
35
+ tableAttributes: {
36
36
  datePicker: true
37
37
  },
38
38
 
@@ -33,7 +33,7 @@ export default createFieldType({
33
33
  properties: null
34
34
  },
35
35
 
36
- tableAttributs: {
36
+ tableAttributes: {
37
37
  datePicker: true
38
38
  },
39
39
 
@@ -33,7 +33,7 @@ export default createFieldType({
33
33
  properties: null
34
34
  },
35
35
 
36
- tableAttributs: {
36
+ tableAttributes: {
37
37
  datePicker: true
38
38
  },
39
39
 
@@ -33,7 +33,7 @@ export default createFieldType({
33
33
  properties: null
34
34
  },
35
35
 
36
- tableAttributs: {
36
+ tableAttributes: {
37
37
  monthPicker: true
38
38
  },
39
39
 
@@ -32,10 +32,10 @@ export default createFieldType({
32
32
  properties: null
33
33
  },
34
34
 
35
- tableAttributs: {
35
+ tableAttributes: {
36
36
  datePicker: true
37
37
  },
38
-
38
+
39
39
  allowBindings: ["time-datetime"],
40
40
  formatter: (value) => value,
41
41
  parser: (value) => value,
@@ -61,7 +61,8 @@
61
61
  {:else}
62
62
  {@const percent = getPercent()}
63
63
  {#if percent !== null}
64
- <h4 style="color: var(--green);">+{getPercent()} %</h4>
64
+ <h4 style="color: var(--{percent < 0 ? "red" : "green"});">
65
+ {percent > 0 ? "+" : ""}{percent} %</h4>
65
66
  <svg
66
67
  width="24"
67
68
  height="24"