@ship-ui/core 0.13.9 → 0.13.11
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
|
]
|
package/bin/src/ship-fg-node.js
CHANGED
|
@@ -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 = /
|
|
19
|
+
const regex2 = /shicon:([^']+)/g;
|
|
20
20
|
const iconsFound = new Set(LIB_ICONS);
|
|
21
21
|
const missingIcons = new Set();
|
|
22
22
|
|
package/bin/src/ship-fg.ts
CHANGED
|
@@ -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 = /
|
|
27
|
+
const regex2 = /shicon:([^']+)/g;
|
|
28
28
|
const iconsFound = new Set<string>(LIB_ICONS);
|
|
29
29
|
const missingIcons = new Set<string>();
|
|
30
30
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
@use '../helpers.scss' as *;
|
|
2
2
|
|
|
3
|
-
$
|
|
3
|
+
$shipTooltip: true !default;
|
|
4
4
|
|
|
5
5
|
%hoverState {
|
|
6
6
|
opacity: 1;
|
|
7
7
|
z-index: 0;
|
|
8
8
|
visibility: visible;
|
|
9
9
|
}
|
|
10
|
-
@if $
|
|
10
|
+
@if $shipTooltip == true {
|
|
11
11
|
.tooltip {
|
|
12
12
|
position: relative;
|
|
13
13
|
pointer-events: initial !important;
|
package/styles/index.scss
CHANGED
|
@@ -35,7 +35,7 @@ $shipList: true !default;
|
|
|
35
35
|
$shipRadio: true !default;
|
|
36
36
|
$shipButtonGroup: true !default;
|
|
37
37
|
$shipRangeSlider: true !default;
|
|
38
|
-
$
|
|
38
|
+
$shipTooltip: true !default;
|
|
39
39
|
$shipVirtualScroll: false !default;
|
|
40
40
|
$shipSelect: true !default;
|
|
41
41
|
$shipCard: true !default;
|
|
@@ -112,7 +112,7 @@ $shipFileUpload: true !default;
|
|
|
112
112
|
$shipRangeSlider: $shipRangeSlider
|
|
113
113
|
);
|
|
114
114
|
@use './components/ship-tooltip.component.scss' with (
|
|
115
|
-
$
|
|
115
|
+
$shipTooltip: $shipTooltip
|
|
116
116
|
);
|
|
117
117
|
@use './components/ship-virtual-scroll.component.scss' with (
|
|
118
118
|
$shipVirtualScroll: $shipVirtualScroll
|