@ax-design/reveal-highlight 0.3.0-alpha.9 → 0.4.0

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 (75) hide show
  1. package/README.md +0 -8
  2. package/build/BaseConfig.d.ts +43 -0
  3. package/build/BaseConfig.d.ts.map +1 -0
  4. package/build/CanvasConfig.d.ts +7 -93
  5. package/build/CanvasConfig.d.ts.map +1 -1
  6. package/build/CustomElements.d.ts +18 -4
  7. package/build/CustomElements.d.ts.map +1 -1
  8. package/build/RevealBoundryStore.d.ts +50 -10
  9. package/build/RevealBoundryStore.d.ts.map +1 -1
  10. package/build/RevealStateManager.d.ts +3 -0
  11. package/build/RevealStateManager.d.ts.map +1 -1
  12. package/build/SvgConfig.d.ts +17 -0
  13. package/build/SvgConfig.d.ts.map +1 -0
  14. package/build/index.d.ts.map +1 -1
  15. package/build/main.js +169 -17
  16. package/build/utils/extractRGBValue.d.ts +2 -0
  17. package/build/utils/extractRGBValue.d.ts.map +1 -0
  18. package/build/utils/isValidateBorderDecorationType.d.ts +3 -0
  19. package/build/utils/isValidateBorderDecorationType.d.ts.map +1 -0
  20. package/build/utils/types.d.ts +103 -0
  21. package/build/utils/types.d.ts.map +1 -0
  22. package/docs/demo/index.html +70 -143
  23. package/docs/demo/ng.html +992 -0
  24. package/es/BaseConfig.d.ts +43 -0
  25. package/es/BaseConfig.d.ts.map +1 -0
  26. package/es/BaseConfig.js +220 -0
  27. package/es/BaseConfig.js.map +1 -0
  28. package/es/CanvasConfig.d.ts +7 -93
  29. package/es/CanvasConfig.d.ts.map +1 -1
  30. package/es/CanvasConfig.js +35 -239
  31. package/es/CanvasConfig.js.map +1 -1
  32. package/es/CustomElements.d.ts +18 -4
  33. package/es/CustomElements.d.ts.map +1 -1
  34. package/es/CustomElements.js +82 -7
  35. package/es/CustomElements.js.map +1 -1
  36. package/es/RevealBoundryStore.d.ts +50 -10
  37. package/es/RevealBoundryStore.d.ts.map +1 -1
  38. package/es/RevealBoundryStore.js +129 -35
  39. package/es/RevealBoundryStore.js.map +1 -1
  40. package/es/RevealStateManager.d.ts +3 -0
  41. package/es/RevealStateManager.d.ts.map +1 -1
  42. package/es/RevealStateManager.js +35 -8
  43. package/es/RevealStateManager.js.map +1 -1
  44. package/es/SvgConfig.d.ts +17 -0
  45. package/es/SvgConfig.d.ts.map +1 -0
  46. package/es/SvgConfig.js +346 -0
  47. package/es/SvgConfig.js.map +1 -0
  48. package/es/index.d.ts.map +1 -1
  49. package/es/index.js +10 -16
  50. package/es/index.js.map +1 -1
  51. package/es/utils/extractRGBValue.d.ts +2 -0
  52. package/es/utils/extractRGBValue.d.ts.map +1 -0
  53. package/es/utils/extractRGBValue.js +48 -0
  54. package/es/utils/extractRGBValue.js.map +1 -0
  55. package/es/utils/isValidateBorderDecorationType.d.ts +3 -0
  56. package/es/utils/isValidateBorderDecorationType.d.ts.map +1 -0
  57. package/es/utils/isValidateBorderDecorationType.js +10 -0
  58. package/es/utils/isValidateBorderDecorationType.js.map +1 -0
  59. package/es/utils/types.d.ts +103 -0
  60. package/es/utils/types.d.ts.map +1 -0
  61. package/es/utils/types.js +2 -0
  62. package/es/utils/types.js.map +1 -0
  63. package/package.json +30 -30
  64. package/src/BaseConfig.ts +311 -0
  65. package/src/CanvasConfig.ts +66 -387
  66. package/src/CustomElements.ts +97 -14
  67. package/src/RevealBoundryStore.ts +138 -39
  68. package/src/RevealStateManager.ts +40 -10
  69. package/src/SvgConfig.ts +422 -0
  70. package/src/index.ts +10 -16
  71. package/src/utils/extractRGBValue.ts +58 -0
  72. package/src/utils/isValidateBorderDecorationType.ts +8 -0
  73. package/src/utils/types.ts +106 -0
  74. package/.yarnrc.yml +0 -1
  75. package/docs/demo/debug.html +0 -72
@@ -1,72 +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 data-top-left-border-radius="4">
44
- <button class="ax-reveal-button">Welcome</button>
45
- </ax-reveal>
46
- <ax-reveal data-top-right-border-radius="4">
47
- <button class="ax-reveal-button">To</button>
48
- </ax-reveal>
49
- </div>
50
- <div class="ax-reveal-container">
51
- <ax-reveal data-bottom-left-border-radius="4">
52
- <button class="ax-reveal-button">Project</button>
53
- </ax-reveal>
54
- <ax-reveal data-bottom-right-border-radius="4">
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
- }
64
- </style>
65
- </ax-reveal-provider>
66
-
67
- <script type="module">
68
- // For package developer.
69
- import { register } from '../../../es/index.js';
70
- register(true);
71
- </script>
72
- </body>