@ax-design/reveal-highlight 0.3.0-alpha.8 → 0.4.2
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 +8 -167
- package/build/BaseConfig.d.ts +43 -0
- package/build/BaseConfig.d.ts.map +1 -0
- package/build/CanvasConfig.d.ts +7 -92
- package/build/CanvasConfig.d.ts.map +1 -1
- package/build/CustomElements.d.ts +20 -4
- package/build/CustomElements.d.ts.map +1 -1
- package/build/RevealBoundryStore.d.ts +50 -10
- package/build/RevealBoundryStore.d.ts.map +1 -1
- package/build/RevealStateManager.d.ts +3 -0
- package/build/RevealStateManager.d.ts.map +1 -1
- package/build/SvgConfig.d.ts +17 -0
- package/build/SvgConfig.d.ts.map +1 -0
- package/build/index.d.ts.map +1 -1
- package/build/main.js +169 -17
- package/build/utils/extractRGBValue.d.ts +2 -0
- package/build/utils/extractRGBValue.d.ts.map +1 -0
- package/build/utils/isValidateBorderDecorationType.d.ts +3 -0
- package/build/utils/isValidateBorderDecorationType.d.ts.map +1 -0
- package/build/utils/types.d.ts +103 -0
- package/build/utils/types.d.ts.map +1 -0
- package/es/BaseConfig.d.ts +43 -0
- package/es/BaseConfig.d.ts.map +1 -0
- package/es/BaseConfig.js +220 -0
- package/es/BaseConfig.js.map +1 -0
- package/es/CanvasConfig.d.ts +7 -92
- package/es/CanvasConfig.d.ts.map +1 -1
- package/es/CanvasConfig.js +35 -233
- package/es/CanvasConfig.js.map +1 -1
- package/es/CustomElements.d.ts +20 -4
- package/es/CustomElements.d.ts.map +1 -1
- package/es/CustomElements.js +115 -18
- package/es/CustomElements.js.map +1 -1
- package/es/RevealBoundryStore.d.ts +50 -10
- package/es/RevealBoundryStore.d.ts.map +1 -1
- package/es/RevealBoundryStore.js +129 -35
- package/es/RevealBoundryStore.js.map +1 -1
- package/es/RevealStateManager.d.ts +3 -0
- package/es/RevealStateManager.d.ts.map +1 -1
- package/es/RevealStateManager.js +43 -8
- package/es/RevealStateManager.js.map +1 -1
- package/es/SvgConfig.d.ts +17 -0
- package/es/SvgConfig.d.ts.map +1 -0
- package/es/SvgConfig.js +346 -0
- package/es/SvgConfig.js.map +1 -0
- package/es/index.d.ts.map +1 -1
- package/es/index.js +10 -16
- package/es/index.js.map +1 -1
- package/es/tsconfig.tsbuildinfo +1 -0
- package/es/utils/extractRGBValue.d.ts +2 -0
- package/es/utils/extractRGBValue.d.ts.map +1 -0
- package/es/utils/extractRGBValue.js +48 -0
- package/es/utils/extractRGBValue.js.map +1 -0
- package/es/utils/isValidateBorderDecorationType.d.ts +3 -0
- package/es/utils/isValidateBorderDecorationType.d.ts.map +1 -0
- package/es/utils/isValidateBorderDecorationType.js +10 -0
- package/es/utils/isValidateBorderDecorationType.js.map +1 -0
- package/es/utils/types.d.ts +103 -0
- package/es/utils/types.d.ts.map +1 -0
- package/es/utils/types.js +2 -0
- package/es/utils/types.js.map +1 -0
- package/package.json +35 -30
- package/src/BaseConfig.ts +311 -0
- package/src/CanvasConfig.ts +66 -380
- package/src/CustomElements.ts +137 -29
- package/src/RevealBoundryStore.ts +138 -39
- package/src/RevealStateManager.ts +48 -10
- package/src/SvgConfig.ts +422 -0
- package/src/index.ts +10 -16
- package/src/utils/extractRGBValue.ts +58 -0
- package/src/utils/isValidateBorderDecorationType.ts +8 -0
- package/src/utils/types.ts +106 -0
- package/.prettierrc +0 -6
- package/.travis.yml +0 -26
- package/.yarnrc.yml +0 -1
- package/docs/demo/debug.html +0 -73
- package/docs/demo/index.html +0 -1065
- package/docs/demo/performance-inspector.html +0 -60
- package/docs/demo/shapes-demo.html +0 -93
- package/docs/demo/single-unit.html +0 -39
- package/docs/logo.png +0 -0
- package/docs/logo.svg +0 -1
- package/docs/screen-record.gif +0 -0
- package/docs/src/logo.afdesign +0 -0
- package/rollup.config.js +0 -14
- package/tsconfig.json +0 -18
package/.travis.yml
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
language: node_js
|
|
2
|
-
node_js: "11"
|
|
3
|
-
cache: yarn
|
|
4
|
-
before_script:
|
|
5
|
-
- yarn
|
|
6
|
-
script: yarn build
|
|
7
|
-
|
|
8
|
-
before_deploy:
|
|
9
|
-
- tar czvf umd.tar.gz -C build .
|
|
10
|
-
- tar czvf es.tar.gz -C es .
|
|
11
|
-
|
|
12
|
-
deploy:
|
|
13
|
-
- provider: releases
|
|
14
|
-
api_key: "$GITHUB_KEY"
|
|
15
|
-
file:
|
|
16
|
-
- "./umd.tar.gz"
|
|
17
|
-
- "./es.tar.gz"
|
|
18
|
-
skip_cleanup: true
|
|
19
|
-
on:
|
|
20
|
-
tags: true
|
|
21
|
-
- provider: npm
|
|
22
|
-
email: "$NPM_EMAIL"
|
|
23
|
-
api_key: "$NPM_KEY"
|
|
24
|
-
skip_cleanup: true
|
|
25
|
-
on:
|
|
26
|
-
tags: true
|
package/.yarnrc.yml
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
nodeLinker: "node-modules"
|
package/docs/demo/debug.html
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
|
|
3
|
-
<head>
|
|
4
|
-
<style>
|
|
5
|
-
.demo-block {
|
|
6
|
-
display: flex;
|
|
7
|
-
border-bottom: #aaa dashed 1px;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.demo {
|
|
11
|
-
width: 500px;
|
|
12
|
-
margin: 10px;
|
|
13
|
-
padding-top: 1em;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.code {
|
|
17
|
-
width: 100%;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.ax-reveal-container {
|
|
21
|
-
display: flex;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.ax-reveal-container > ax-reveal {
|
|
25
|
-
margin: 5px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.ax-reveal-button {
|
|
29
|
-
min-width: 120px;
|
|
30
|
-
padding: 15px 25px;
|
|
31
|
-
border: none;
|
|
32
|
-
background: none;
|
|
33
|
-
user-select: none;
|
|
34
|
-
}
|
|
35
|
-
</style>
|
|
36
|
-
</head>
|
|
37
|
-
|
|
38
|
-
<body>
|
|
39
|
-
<ax-reveal-provider>
|
|
40
|
-
<div class="demo">
|
|
41
|
-
<ax-reveal-bound class="detailed-color-adjustment">
|
|
42
|
-
<div class="ax-reveal-container">
|
|
43
|
-
<ax-reveal>
|
|
44
|
-
<button class="ax-reveal-button">Welcome</button>
|
|
45
|
-
</ax-reveal>
|
|
46
|
-
<ax-reveal>
|
|
47
|
-
<button class="ax-reveal-button">To</button>
|
|
48
|
-
</ax-reveal>
|
|
49
|
-
</div>
|
|
50
|
-
<div class="ax-reveal-container">
|
|
51
|
-
<ax-reveal>
|
|
52
|
-
<button class="ax-reveal-button">Project</button>
|
|
53
|
-
</ax-reveal>
|
|
54
|
-
<ax-reveal>
|
|
55
|
-
<button class="ax-reveal-button">Axiom!</button>
|
|
56
|
-
</ax-reveal>
|
|
57
|
-
</div>
|
|
58
|
-
</ax-reveal-bound>
|
|
59
|
-
</div>
|
|
60
|
-
<style>
|
|
61
|
-
.detailed-color-adjustment {
|
|
62
|
-
--reveal-border-decoration-type: round;
|
|
63
|
-
--reveal-border-decoration-top-left-radius: 4px;
|
|
64
|
-
}
|
|
65
|
-
</style>
|
|
66
|
-
</ax-reveal-provider>
|
|
67
|
-
|
|
68
|
-
<script type="module">
|
|
69
|
-
// For package developer.
|
|
70
|
-
import { register } from '../../../es/index.js';
|
|
71
|
-
register(true);
|
|
72
|
-
</script>
|
|
73
|
-
</body>
|