@ax-design/reveal-highlight 0.5.2 → 0.5.3

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.
Files changed (74) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +75 -75
  3. package/build/BaseConfig.d.ts +5 -1
  4. package/build/BaseConfig.d.ts.map +1 -1
  5. package/build/CanvasConfig.d.ts +7 -1
  6. package/build/CanvasConfig.d.ts.map +1 -1
  7. package/build/ComputedStyleStorage.d.ts.map +1 -1
  8. package/build/CustomElements.d.ts +20 -4
  9. package/build/CustomElements.d.ts.map +1 -1
  10. package/build/RevealBoundryStore.d.ts +4 -0
  11. package/build/RevealBoundryStore.d.ts.map +1 -1
  12. package/build/RevealStateManager.d.ts +5 -1
  13. package/build/RevealStateManager.d.ts.map +1 -1
  14. package/build/main.js +113 -82
  15. package/build/utils/types.d.ts +2 -10
  16. package/build/utils/types.d.ts.map +1 -1
  17. package/es/BaseConfig.d.ts +46 -42
  18. package/es/BaseConfig.d.ts.map +1 -1
  19. package/es/BaseConfig.js +241 -219
  20. package/es/BaseConfig.js.map +1 -1
  21. package/es/CanvasConfig.d.ts +21 -15
  22. package/es/CanvasConfig.d.ts.map +1 -1
  23. package/es/CanvasConfig.js +332 -320
  24. package/es/CanvasConfig.js.map +1 -1
  25. package/es/ComputedStyleStorage.d.ts +8 -8
  26. package/es/ComputedStyleStorage.d.ts.map +1 -1
  27. package/es/ComputedStyleStorage.js +68 -58
  28. package/es/ComputedStyleStorage.js.map +1 -1
  29. package/es/CustomElements.d.ts +75 -59
  30. package/es/CustomElements.d.ts.map +1 -1
  31. package/es/CustomElements.js +296 -233
  32. package/es/CustomElements.js.map +1 -1
  33. package/es/Profiler.d.ts +12 -12
  34. package/es/Profiler.js +31 -31
  35. package/es/RevealBoundryStore.d.ts +80 -76
  36. package/es/RevealBoundryStore.d.ts.map +1 -1
  37. package/es/RevealBoundryStore.js +269 -248
  38. package/es/RevealBoundryStore.js.map +1 -1
  39. package/es/RevealStateManager.d.ts +19 -15
  40. package/es/RevealStateManager.d.ts.map +1 -1
  41. package/es/RevealStateManager.js +99 -73
  42. package/es/RevealStateManager.js.map +1 -1
  43. package/es/SvgConfig.d.ts +16 -16
  44. package/es/SvgConfig.js +345 -345
  45. package/es/config.d.ts +4 -4
  46. package/es/config.js +21 -21
  47. package/es/index.d.ts +5 -5
  48. package/es/index.js +205 -205
  49. package/es/tsconfig.tsbuildinfo +1 -1
  50. package/es/utils/extractRGBValue.d.ts +1 -1
  51. package/es/utils/extractRGBValue.js +47 -47
  52. package/es/utils/isValidateBorderDecorationType.d.ts +2 -2
  53. package/es/utils/isValidateBorderDecorationType.js +9 -9
  54. package/es/utils/types.d.ts +94 -102
  55. package/es/utils/types.d.ts.map +1 -1
  56. package/es/utils/types.js +1 -1
  57. package/es/variables.d.ts +1 -1
  58. package/es/variables.js +1 -1
  59. package/package.json +36 -35
  60. package/src/BaseConfig.ts +332 -310
  61. package/src/CanvasConfig.ts +420 -415
  62. package/src/ComputedStyleStorage.ts +102 -89
  63. package/src/CustomElements.ts +344 -272
  64. package/src/Profiler.ts +44 -44
  65. package/src/RevealBoundryStore.ts +315 -291
  66. package/src/RevealStateManager.ts +109 -86
  67. package/src/SvgConfig.ts +422 -422
  68. package/src/config.ts +26 -26
  69. package/src/cssTypedOM.d.ts +52 -52
  70. package/src/index.ts +219 -219
  71. package/src/utils/extractRGBValue.ts +58 -58
  72. package/src/utils/isValidateBorderDecorationType.ts +8 -8
  73. package/src/utils/types.ts +97 -105
  74. package/src/variables.ts +1 -1
@@ -1,48 +1,48 @@
1
- export const extractRGBValue = (x) => {
2
- if (x === '') {
3
- return '';
4
- }
5
- if (x[0] === '#') {
6
- // Thanks bro:
7
- // https://stackoverflow.com/a/11508164/3931936
8
- const hexVal = parseInt(x.substring(1), 16);
9
- var r = (hexVal >> 16) & 255;
10
- var g = (hexVal >> 8) & 255;
11
- var b = hexVal & 255;
12
- return r + ',' + g + ',' + b;
13
- }
14
- else {
15
- let result = '';
16
- let beginSearch = false;
17
- let numberPointer = 0;
18
- for (let i = 0; i < x.length; i++) {
19
- const char = x[i];
20
- const charCode = char.charCodeAt(0) - 48;
21
- const charIsNumber = charCode >= 0 && charCode < 10;
22
- if (char === ' ') {
23
- continue;
24
- }
25
- if (beginSearch && !charIsNumber && char !== ',' && char !== ')') {
26
- throw new SyntaxError(`${x} is not a validate color value!`);
27
- }
28
- if (!beginSearch && char === '(') {
29
- beginSearch = true;
30
- continue;
31
- }
32
- if (numberPointer < 2 && char === ')') {
33
- throw new SyntaxError(`${x} should have at least three color channel`);
34
- }
35
- if (char === ',') {
36
- numberPointer++;
37
- }
38
- if (char === ')') {
39
- return result;
40
- }
41
- if (beginSearch) {
42
- result += char;
43
- }
44
- }
45
- return result;
46
- }
47
- };
1
+ export const extractRGBValue = (x) => {
2
+ if (x === '') {
3
+ return '';
4
+ }
5
+ if (x[0] === '#') {
6
+ // Thanks bro:
7
+ // https://stackoverflow.com/a/11508164/3931936
8
+ const hexVal = parseInt(x.substring(1), 16);
9
+ var r = (hexVal >> 16) & 255;
10
+ var g = (hexVal >> 8) & 255;
11
+ var b = hexVal & 255;
12
+ return r + ',' + g + ',' + b;
13
+ }
14
+ else {
15
+ let result = '';
16
+ let beginSearch = false;
17
+ let numberPointer = 0;
18
+ for (let i = 0; i < x.length; i++) {
19
+ const char = x[i];
20
+ const charCode = char.charCodeAt(0) - 48;
21
+ const charIsNumber = charCode >= 0 && charCode < 10;
22
+ if (char === ' ') {
23
+ continue;
24
+ }
25
+ if (beginSearch && !charIsNumber && char !== ',' && char !== ')') {
26
+ throw new SyntaxError(`${x} is not a validate color value!`);
27
+ }
28
+ if (!beginSearch && char === '(') {
29
+ beginSearch = true;
30
+ continue;
31
+ }
32
+ if (numberPointer < 2 && char === ')') {
33
+ throw new SyntaxError(`${x} should have at least three color channel`);
34
+ }
35
+ if (char === ',') {
36
+ numberPointer++;
37
+ }
38
+ if (char === ')') {
39
+ return result;
40
+ }
41
+ if (beginSearch) {
42
+ result += char;
43
+ }
44
+ }
45
+ return result;
46
+ }
47
+ };
48
48
  //# sourceMappingURL=extractRGBValue.js.map
@@ -1,3 +1,3 @@
1
- import type { BorderDecoration } from './types.js';
2
- export declare const isValidateBorderDecorationType: (x: string) => x is BorderDecoration;
1
+ import type { BorderDecoration } from './types.js';
2
+ export declare const isValidateBorderDecorationType: (x: string) => x is BorderDecoration;
3
3
  //# sourceMappingURL=isValidateBorderDecorationType.d.ts.map
@@ -1,10 +1,10 @@
1
- export const isValidateBorderDecorationType = (x) => {
2
- if (x === 'round')
3
- return true;
4
- if (x === 'bevel')
5
- return true;
6
- if (x === 'miter')
7
- return true;
8
- return false;
9
- };
1
+ export const isValidateBorderDecorationType = (x) => {
2
+ if (x === 'round')
3
+ return true;
4
+ if (x === 'bevel')
5
+ return true;
6
+ if (x === 'miter')
7
+ return true;
8
+ return false;
9
+ };
10
10
  //# sourceMappingURL=isValidateBorderDecorationType.js.map
@@ -1,103 +1,95 @@
1
- export declare type BorderDecoration = 'round' | 'bevel' | 'miter';
2
- export interface CachedBoundingRect {
3
- top: number;
4
- left: number;
5
- width: number;
6
- height: number;
7
- }
8
- export interface CachedStyle {
9
- color: string;
10
- opacity: number;
11
- trueFillRadius: [number, number];
12
- borderColor: string;
13
- borderFillRadius: number;
14
- borderDecorationType: BorderDecoration;
15
- borderDecorationRadius: number;
16
- topLeftBorderDecorationRadius: number;
17
- topRightBorderDecorationRadius: number;
18
- bottomLeftBorderDecorationRadius: number;
19
- bottomRightBorderDecorationRadius: number;
20
- /**
21
- * @param withLeftBorderFactor
22
- * If the left border is shown, this value is 1, or the value is 0.
23
- */
24
- withLeftBorderFactor: number;
25
- /**
26
- * @param withRightBorderFactor
27
- * If the right border is shown, this value is 1, or the value is 0.
28
- */
29
- withRightBorderFactor: number;
30
- /**
31
- * @param withTopBorderFactor
32
- * If the top border is shown, this value is 1, or the value is 0.
33
- */
34
- withTopBorderFactor: number;
35
- /**
36
- * @param withBottomBorderFactor
37
- * If the bottom border is shown, this value is 1, or the value is 0.
38
- */
39
- withBottomBorderFactor: number;
40
- borderWidth: number;
41
- hoverLight: boolean;
42
- hoverLightColor: string;
43
- hoverLightFillMode: string;
44
- hoverLightFillRadius: number;
45
- diffuse: boolean;
46
- pressAnimation: boolean;
47
- pressAnimationFillMode: string;
48
- pressAnimationColor: string;
49
- pressAnimationSpeed: number;
50
- releaseAnimationAccelerateRate: number;
51
- }
52
- interface CachedReveal {
53
- radius: number;
54
- radiusFactor: number;
55
- color: string;
56
- opacity: number;
57
- pattern: CanvasPattern | null;
58
- }
59
- /**
60
- * Cached border and body pattern, for faster painting on the canvas.
61
- * @interface CachedRevealBitmap
62
- */
63
- export interface CachedRevealBitmap {
64
- cachedReveal: {
65
- borderReveal: CachedReveal;
66
- fillReveal: CachedReveal;
67
- };
68
- cachedCanvas: {
69
- borderReveal: HTMLCanvasElement;
70
- fillReveal: HTMLCanvasElement;
71
- };
72
- cachedCtx: {
73
- borderReveal: CanvasRenderingContext2D | null;
74
- fillReveal: CanvasRenderingContext2D | null;
75
- };
76
- }
77
- /**
78
- * Cached border and body pattern, just to store something in similar way.
79
- * @interface CachedRevealPath
80
- */
81
- export interface CachedRevealPath {
82
- cachedReveal: {
83
- readonly borderReveal: CachedReveal;
84
- readonly fillReveal: CachedReveal;
85
- };
86
- cachedPath: {
87
- readonly borderReveal: SVGPathElement;
88
- readonly fillReveal: SVGPathElement;
89
- readonly rippleReveal: SVGPathElement;
90
- };
91
- cachedGradient: {
92
- readonly borderReveal: SVGRadialGradientElement;
93
- readonly fillReveal: SVGRadialGradientElement;
94
- readonly rippleReveal: SVGRadialGradientElement;
95
- };
96
- cachedGradientStop: {
97
- readonly borderReveal: Readonly<[SVGStopElement, SVGStopElement]>;
98
- readonly fillReveal: Readonly<[SVGStopElement, SVGStopElement]>;
99
- readonly rippleReveal: Readonly<[SVGStopElement, SVGStopElement, SVGStopElement]>;
100
- };
101
- }
102
- export {};
1
+ export declare type BorderDecoration = 'round' | 'bevel' | 'miter';
2
+ export interface CachedBoundingRect {
3
+ top: number;
4
+ left: number;
5
+ width: number;
6
+ height: number;
7
+ }
8
+ export interface CachedStyle {
9
+ color: string;
10
+ opacity: number;
11
+ trueFillRadius: [number, number];
12
+ borderColor: string;
13
+ borderFillRadius: number;
14
+ borderDecorationType: BorderDecoration;
15
+ borderDecorationRadius: number;
16
+ topLeftBorderDecorationRadius: number;
17
+ topRightBorderDecorationRadius: number;
18
+ bottomLeftBorderDecorationRadius: number;
19
+ bottomRightBorderDecorationRadius: number;
20
+ /**
21
+ * @param withLeftBorderFactor
22
+ * If the left border is shown, this value is 1, or the value is 0.
23
+ */
24
+ withLeftBorderFactor: number;
25
+ /**
26
+ * @param withRightBorderFactor
27
+ * If the right border is shown, this value is 1, or the value is 0.
28
+ */
29
+ withRightBorderFactor: number;
30
+ /**
31
+ * @param withTopBorderFactor
32
+ * If the top border is shown, this value is 1, or the value is 0.
33
+ */
34
+ withTopBorderFactor: number;
35
+ /**
36
+ * @param withBottomBorderFactor
37
+ * If the bottom border is shown, this value is 1, or the value is 0.
38
+ */
39
+ withBottomBorderFactor: number;
40
+ borderWidth: number;
41
+ hoverLight: boolean;
42
+ hoverLightColor: string;
43
+ hoverLightFillMode: string;
44
+ hoverLightFillRadius: number;
45
+ diffuse: boolean;
46
+ pressAnimation: boolean;
47
+ pressAnimationFillMode: string;
48
+ pressAnimationColor: string;
49
+ pressAnimationSpeed: number;
50
+ releaseAnimationAccelerateRate: number;
51
+ }
52
+ interface CachedReveal {
53
+ radius: number;
54
+ radiusFactor: number;
55
+ color: string;
56
+ opacity: number;
57
+ pattern: CanvasGradient | null;
58
+ }
59
+ /**
60
+ * Cached border and body gradient, for faster painting on the canvas.
61
+ * @interface CachedRevealBitmap
62
+ */
63
+ export interface CachedRevealBitmap {
64
+ cachedReveal: {
65
+ borderReveal: CachedReveal;
66
+ fillReveal: CachedReveal;
67
+ };
68
+ }
69
+ /**
70
+ * Cached border and body pattern, just to store something in similar way.
71
+ * @interface CachedRevealPath
72
+ */
73
+ export interface CachedRevealPath {
74
+ cachedReveal: {
75
+ readonly borderReveal: CachedReveal;
76
+ readonly fillReveal: CachedReveal;
77
+ };
78
+ cachedPath: {
79
+ readonly borderReveal: SVGPathElement;
80
+ readonly fillReveal: SVGPathElement;
81
+ readonly rippleReveal: SVGPathElement;
82
+ };
83
+ cachedGradient: {
84
+ readonly borderReveal: SVGRadialGradientElement;
85
+ readonly fillReveal: SVGRadialGradientElement;
86
+ readonly rippleReveal: SVGRadialGradientElement;
87
+ };
88
+ cachedGradientStop: {
89
+ readonly borderReveal: Readonly<[SVGStopElement, SVGStopElement]>;
90
+ readonly fillReveal: Readonly<[SVGStopElement, SVGStopElement]>;
91
+ readonly rippleReveal: Readonly<[SVGStopElement, SVGStopElement, SVGStopElement]>;
92
+ };
93
+ }
94
+ export {};
103
95
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/utils/types.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AAE3D,MAAM,WAAW,kBAAkB;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,WAAW;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,oBAAoB,EAAE,gBAAgB,CAAC;IACvC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,6BAA6B,EAAE,MAAM,CAAC;IACtC,8BAA8B,EAAE,MAAM,CAAC;IACvC,gCAAgC,E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AAC,UAAU,EAAE,cAAc,CAAC;QACpC,QAAQ,CAAC,YAAY,EAAE,cAAc,CAAC;KACzC,CAAC;IACF,cAAc,EAAE;QACZ,QAAQ,CAAC,YAAY,EAAE,wBAAwB,CAAC;QAChD,QAAQ,CAAC,UAAU,EAAE,wBAAwB,CAAC;QAC9C,QAAQ,CAAC,YAAY,EAAE,wBAAwB,CAAC;KACnD,CAAC;IACF,kBAAkB,EAAE;QAChB,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC,CAAC;QAClE,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC,CAAC;QAChE,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC,cAAc,EAAE,cAAc,EAAE,cAAc,CAAC,CAAC,CAAC;KACrF,CAAC;CACL"}
package/es/utils/types.js CHANGED
@@ -1,2 +1,2 @@
1
- export {};
1
+ export {};
2
2
  //# sourceMappingURL=types.js.map
package/es/variables.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const MAGIC_DEFAULT_COLOR = "magic";
1
+ export declare const MAGIC_DEFAULT_COLOR = "magic";
2
2
  //# sourceMappingURL=variables.d.ts.map
package/es/variables.js CHANGED
@@ -1,2 +1,2 @@
1
- export const MAGIC_DEFAULT_COLOR = 'magic';
1
+ export const MAGIC_DEFAULT_COLOR = 'magic';
2
2
  //# sourceMappingURL=variables.js.map
package/package.json CHANGED
@@ -1,35 +1,36 @@
1
- {
2
- "name": "@ax-design/reveal-highlight",
3
- "version": "0.5.2",
4
- "description": "Web component that implement Reveal Highlight of Axiom Design System.",
5
- "main": "build/main.js",
6
- "module": "es/index.js",
7
- "typings": "es/index.d.ts",
8
- "repository": "https://github.com/ax-design/reveal-highlight",
9
- "license": "MIT",
10
- "sideEffects": false,
11
- "devDependencies": {
12
- "npm-run-all": "^4.1.5",
13
- "prettier": "2.5.1",
14
- "rimraf": "^3.0.2",
15
- "rollup": "^2.62.0",
16
- "rollup-plugin-babel-minify": "^10.0.0",
17
- "rollup-plugin-typescript2": "^0.31.1",
18
- "typescript": "^4.5.4"
19
- },
20
- "scripts": {
21
- "start": "npm-run-all --parallel start-tsc start-rollup",
22
- "start-tsc": "tsc --watch",
23
- "start-rollup": "rollup -c -w",
24
- "build": "npm-run-all clean --parallel build-tsc build-rollup",
25
- "build-tsc": "tsc",
26
- "build-rollup": "rollup -c",
27
- "clean": "rimraf ./es ./build",
28
- "prepublishOnly": "npm run build"
29
- },
30
- "files": [
31
- "build",
32
- "es",
33
- "src"
34
- ]
35
- }
1
+ {
2
+ "name": "@ax-design/reveal-highlight",
3
+ "version": "0.5.3",
4
+ "description": "Web component that implement Reveal Highlight of Axiom Design System.",
5
+ "main": "build/main.js",
6
+ "module": "es/index.js",
7
+ "typings": "es/index.d.ts",
8
+ "repository": "https://github.com/ax-design/reveal-highlight",
9
+ "license": "MIT",
10
+ "sideEffects": false,
11
+ "devDependencies": {
12
+ "npm-run-all": "^4.1.5",
13
+ "prettier": "2.5.1",
14
+ "rimraf": "^3.0.2",
15
+ "rollup": "^2.62.0",
16
+ "rollup-plugin-babel-minify": "^10.0.0",
17
+ "rollup-plugin-typescript2": "^0.31.1",
18
+ "typescript": "^4.5.4"
19
+ },
20
+ "scripts": {
21
+ "start": "npm-run-all --parallel start-tsc start-rollup",
22
+ "start-tsc": "tsc --watch",
23
+ "start-rollup": "rollup -c -w",
24
+ "build": "npm-run-all clean --parallel build-tsc build-rollup",
25
+ "build-tsc": "tsc",
26
+ "build-rollup": "rollup -c",
27
+ "clean": "rimraf ./es ./build",
28
+ "prepublishOnly": "npm run build"
29
+ },
30
+ "files": [
31
+ "build",
32
+ "es",
33
+ "src"
34
+ ],
35
+ "packageManager": "yarn@3.8.7"
36
+ }