@ship-ui/core 0.13.10 → 0.13.12

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/README.md CHANGED
@@ -15,7 +15,7 @@ npm i -S @ship-ui/core
15
15
  ### Add styles inside your src/styles.scss
16
16
 
17
17
  ```scss
18
- @use 'ship-ui/styles';
18
+ @use 'ship-ui/core/styles';
19
19
  ```
20
20
 
21
21
  ### Inside your angular.json file
@@ -27,7 +27,7 @@ you need to add the ship assets to your assets array this is to add the ship def
27
27
  "src/assets",
28
28
  {
29
29
  "glob": "**/*",
30
- "input": "./node_modules/ship-ui/assets",
30
+ "input": "./node_modules/ship-ui/core/assets",
31
31
  "output": "./ship-ui-assets/"
32
32
  }
33
33
  ]
@@ -16,7 +16,7 @@ const run = async (PROJECT_SRC, LIB_ICONS, PROJECT_PUBLIC, GLYPH_MAP, TARGET_FON
16
16
  const startTime = performance.now();
17
17
 
18
18
  const regex = /<sh-icon[^>]*>\s*((?!{{.*?}})[^<]*?)\s*<\/sh-icon>/g;
19
- const regex2 = /sh:([^']+)/g;
19
+ const regex2 = /shicon:([^']+)/g;
20
20
  const iconsFound = new Set(LIB_ICONS);
21
21
  const missingIcons = new Set();
22
22
 
@@ -24,7 +24,7 @@ const run = async (
24
24
  const glob = new Glob('**/*.html');
25
25
  const tsGlob = new Glob('**/*.ts');
26
26
  const regex = /<sh-icon[^>]*>\s*((?!{{.*?}})[^<]*?)\s*<\/sh-icon>/g;
27
- const regex2 = /sh:([^']+)/g;
27
+ const regex2 = /shicon:([^']+)/g;
28
28
  const iconsFound = new Set<string>(LIB_ICONS);
29
29
  const missingIcons = new Set<string>();
30
30
 
@@ -3340,13 +3340,15 @@ class ShipSelectComponent {
3340
3340
  this.updateInputElValue();
3341
3341
  return;
3342
3342
  }
3343
- const inputValue = options
3343
+ const newInputValue = options
3344
3344
  .map((option) => {
3345
3345
  const optionValue = valueKey ? this.#getProperty(option, valueKey) : option;
3346
3346
  return optionValue;
3347
3347
  })
3348
3348
  .join(',');
3349
- this.inputValue.set(inputValue);
3349
+ if (newInputValue === this.inputValue())
3350
+ return;
3351
+ this.inputValue.set(newInputValue);
3350
3352
  this.updateInputElValue();
3351
3353
  }
3352
3354
  getLabel(option) {