notations 1.0.4 → 1.0.7
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 +1 -0
- package/dist/NotationView.css +15 -0
- package/dist/NotationView.css.map +1 -1
- package/dist/NotationView.min.css +1 -1
- package/dist/NotationView.min.css.map +1 -1
- package/dist/notations.umd.js +469 -108
- package/dist/notations.umd.min.js +2 -2
- package/dist/notations.umd.min.js.map +1 -1
- package/lib/cjs/beats.js +1 -1
- package/lib/cjs/beats.js.map +1 -1
- package/lib/cjs/block.d.ts +4 -0
- package/lib/cjs/block.js +24 -0
- package/lib/cjs/block.js.map +1 -1
- package/lib/cjs/carnatic/NotationView.d.ts +1 -0
- package/lib/cjs/carnatic/NotationView.js +10 -0
- package/lib/cjs/carnatic/NotationView.js.map +1 -1
- package/lib/cjs/carnatic/atomviews.d.ts +4 -1
- package/lib/cjs/carnatic/atomviews.js +18 -2
- package/lib/cjs/carnatic/atomviews.js.map +1 -1
- package/lib/cjs/carnatic/embelishments.d.ts +18 -1
- package/lib/cjs/carnatic/embelishments.js +87 -1
- package/lib/cjs/carnatic/embelishments.js.map +1 -1
- package/lib/cjs/core.d.ts +18 -3
- package/lib/cjs/core.js +161 -21
- package/lib/cjs/core.js.map +1 -1
- package/lib/cjs/entity.d.ts +4 -0
- package/lib/cjs/entity.js +12 -0
- package/lib/cjs/entity.js.map +1 -1
- package/lib/cjs/events.d.ts +56 -0
- package/lib/cjs/events.js +27 -0
- package/lib/cjs/events.js.map +1 -0
- package/lib/cjs/index.d.ts +1 -0
- package/lib/cjs/index.js +1 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/shapes.d.ts +13 -1
- package/lib/cjs/shapes.js +35 -7
- package/lib/cjs/shapes.js.map +1 -1
- package/lib/esm/beats.js +1 -1
- package/lib/esm/beats.js.map +1 -1
- package/lib/esm/block.d.ts +4 -0
- package/lib/esm/block.js +24 -0
- package/lib/esm/block.js.map +1 -1
- package/lib/esm/carnatic/NotationView.d.ts +1 -0
- package/lib/esm/carnatic/NotationView.js +10 -0
- package/lib/esm/carnatic/NotationView.js.map +1 -1
- package/lib/esm/carnatic/atomviews.d.ts +4 -1
- package/lib/esm/carnatic/atomviews.js +19 -3
- package/lib/esm/carnatic/atomviews.js.map +1 -1
- package/lib/esm/carnatic/embelishments.d.ts +18 -1
- package/lib/esm/carnatic/embelishments.js +85 -0
- package/lib/esm/carnatic/embelishments.js.map +1 -1
- package/lib/esm/core.d.ts +18 -3
- package/lib/esm/core.js +161 -21
- package/lib/esm/core.js.map +1 -1
- package/lib/esm/entity.d.ts +4 -0
- package/lib/esm/entity.js +12 -0
- package/lib/esm/entity.js.map +1 -1
- package/lib/esm/events.d.ts +56 -0
- package/lib/esm/events.js +24 -0
- package/lib/esm/events.js.map +1 -0
- package/lib/esm/index.d.ts +1 -0
- package/lib/esm/index.js +1 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/shapes.d.ts +13 -1
- package/lib/esm/shapes.js +34 -7
- package/lib/esm/shapes.js.map +1 -1
- package/package.json +3 -1
- package/styles/NotationView.scss +15 -0
package/README.md
CHANGED
|
@@ -66,6 +66,7 @@ if (errors.length === 0) {
|
|
|
66
66
|
- **[API Reference](https://panyam.github.io/notations/api/)** - Full API documentation
|
|
67
67
|
- **[Integration Guide](https://panyam.github.io/notations/api/integration-guide/)** - React, Vue, Node.js integration
|
|
68
68
|
- **[Styling & Theming](https://panyam.github.io/notations/api/styling/)** - Customize appearance with CSS variables
|
|
69
|
+
- **[Visual Tests](https://panyam.github.io/notations/api/visual-tests/)** - Visual sanity tests for notation rendering
|
|
69
70
|
|
|
70
71
|
## License
|
|
71
72
|
|
package/dist/NotationView.css
CHANGED
|
@@ -55,6 +55,21 @@
|
|
|
55
55
|
fill: var(--notation-fill-color);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
+
/* Group bracket lines - top border of nested group containers */
|
|
59
|
+
.group-bracket-line {
|
|
60
|
+
stroke: var(--notation-stroke-color);
|
|
61
|
+
stroke-width: 1;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.group-bracket-circle {
|
|
65
|
+
fill: var(--notation-stroke-color);
|
|
66
|
+
stroke: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.group-bracket {
|
|
70
|
+
opacity: 0.8;
|
|
71
|
+
}
|
|
72
|
+
|
|
58
73
|
/* Text elements - target all SVG text within notation */
|
|
59
74
|
.notationsContentRootTable text,
|
|
60
75
|
.atomViewTextRoot,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../styles/NotationView.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAIA;AACE;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;AAEA;EACA;EACA;;;AAGF;AACA;AAAA;EAEE;EACA;EACA;EACA;;;AAGF;AACA;EACE;IACE;IACA;IACA;IACA;;;AAIJ;AAAA;AAAA;AAIA;AACA;EACE;EACA;;;AAGF;AACA;AAAA;EAEE;EACA;;;AAGF;AACA;EACE;EACA;;;AAGF;AACA;AAAA;AAAA;EAGE;;;AAGF;AACA;AAAA;AAAA;EAGE;;;AAGF;AAAA;AAAA;AAIA;AACA;EACE;;;AAGF;AACA;AAAA;EAEE;;;AAGF;AACA;EACE;IACE;;;AAIJ;AAAA;AAAA;AAIA;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;;;AAIF;EACE;;;AAGF;EACE;EACA;;;AAMF;EACE;EACA","file":"NotationView.css"}
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../styles/NotationView.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAIA;AACE;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;AAEA;EACA;EACA;;;AAGF;AACA;AAAA;EAEE;EACA;EACA;EACA;;;AAGF;AACA;EACE;IACE;IACA;IACA;IACA;;;AAIJ;AAAA;AAAA;AAIA;AACA;EACE;EACA;;;AAGF;AACA;AAAA;EAEE;EACA;;;AAGF;AACA;EACE;EACA;;;AAGF;AACA;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;AACA;AAAA;AAAA;EAGE;;;AAGF;AACA;AAAA;AAAA;EAGE;;;AAGF;AAAA;AAAA;AAIA;AACA;EACE;;;AAGF;AACA;AAAA;EAEE;;;AAGF;AACA;EACE;IACE;;;AAIJ;AAAA;AAAA;AAIA;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;;;AAIF;EACE;;;AAGF;EACE;EACA;;;AAMF;EACE;EACA","file":"NotationView.css"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--notation-stroke-color: black;--notation-fill-color: transparent;--notation-text-color: #1a1a1a;--notation-border-color: gray;--notation-stroke-width: 1;--notation-bar-line-width: 1;--notation-line-padding: 5px;--notation-annotation-padding: 10px}:root.dark,[data-theme=dark]{--notation-stroke-color: #e5e5e5;--notation-fill-color: transparent;--notation-text-color: #f0f0f0;--notation-border-color: #555}@media(prefers-color-scheme: dark){:root:not(.light):not([data-theme=light]){--notation-stroke-color: #e5e5e5;--notation-fill-color: transparent;--notation-text-color: #f0f0f0;--notation-border-color: #555}}.notation-octave-dot{stroke:var(--notation-stroke-color);stroke-width:var(--notation-stroke-width)}.bar-start-line,.bar-end-line{stroke:var(--notation-stroke-color);stroke-width:var(--notation-bar-line-width)}.notation-jaaru-path{stroke:var(--notation-stroke-color);fill:var(--notation-fill-color)}.notationsContentRootTable text,.atomViewTextRoot,.notation-embelishment-label{fill:var(--notation-text-color)}.notationsContentRootTable,.rawBlockContentCell,.rawBlockContentCell *{color:var(--notation-text-color)}.role_sw text{fill:#2563eb}:root.dark .role_sw text,[data-theme=dark] .role_sw text{fill:#ef4444}@media(prefers-color-scheme: dark){:root:not(.light):not([data-theme=light]) .role_sw text{fill:#ef4444}}.lineRow{border:none}.lineAnnotationCell{padding:0px;padding-left:10px;padding-right:10px;padding-top:10px;vertical-align:top}.lineContentCell{padding:0px;padding-top:5px;padding-bottom:5px}.rawBlockRow{border:none}.rawBlockContentCell{padding-top:5px;padding-bottom:5px}.notationsContentRootTable{border-top:solid 1px var(--notation-border-color);width:100%}/*# sourceMappingURL=NotationView.min.css.map */
|
|
1
|
+
:root{--notation-stroke-color: black;--notation-fill-color: transparent;--notation-text-color: #1a1a1a;--notation-border-color: gray;--notation-stroke-width: 1;--notation-bar-line-width: 1;--notation-line-padding: 5px;--notation-annotation-padding: 10px}:root.dark,[data-theme=dark]{--notation-stroke-color: #e5e5e5;--notation-fill-color: transparent;--notation-text-color: #f0f0f0;--notation-border-color: #555}@media(prefers-color-scheme: dark){:root:not(.light):not([data-theme=light]){--notation-stroke-color: #e5e5e5;--notation-fill-color: transparent;--notation-text-color: #f0f0f0;--notation-border-color: #555}}.notation-octave-dot{stroke:var(--notation-stroke-color);stroke-width:var(--notation-stroke-width)}.bar-start-line,.bar-end-line{stroke:var(--notation-stroke-color);stroke-width:var(--notation-bar-line-width)}.notation-jaaru-path{stroke:var(--notation-stroke-color);fill:var(--notation-fill-color)}.group-bracket-line{stroke:var(--notation-stroke-color);stroke-width:1}.group-bracket-circle{fill:var(--notation-stroke-color);stroke:none}.group-bracket{opacity:.8}.notationsContentRootTable text,.atomViewTextRoot,.notation-embelishment-label{fill:var(--notation-text-color)}.notationsContentRootTable,.rawBlockContentCell,.rawBlockContentCell *{color:var(--notation-text-color)}.role_sw text{fill:#2563eb}:root.dark .role_sw text,[data-theme=dark] .role_sw text{fill:#ef4444}@media(prefers-color-scheme: dark){:root:not(.light):not([data-theme=light]) .role_sw text{fill:#ef4444}}.lineRow{border:none}.lineAnnotationCell{padding:0px;padding-left:10px;padding-right:10px;padding-top:10px;vertical-align:top}.lineContentCell{padding:0px;padding-top:5px;padding-bottom:5px}.rawBlockRow{border:none}.rawBlockContentCell{padding-top:5px;padding-bottom:5px}.notationsContentRootTable{border-top:solid 1px var(--notation-border-color);width:100%}/*# sourceMappingURL=NotationView.min.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../styles/NotationView.scss"],"names":[],"mappings":"AAIA,MAEE,+BACA,mCACA,+BACA,8BAGA,2BACA,6BAGA,6BACA,oCAIF,6BAEE,iCACA,mCACA,+BACA,8BAIF,mCACE,0CACE,iCACA,mCACA,+BACA,+BASJ,qBACE,oCACA,0CAIF,8BAEE,oCACA,4CAIF,qBACE,oCACA,gCAIF,+EAGE,gCAIF,uEAGE,iCAQF,cACE,aAIF,yDAEE,aAIF,mCACE,wDACE,cAQJ,SACE,YAGF,oBACE,YACA,kBACA,mBACA,iBACA,mBAGF,iBACE,YACA,gBACA,mBAIF,aACE,YAGF,qBACE,gBACA,mBAMF,2BACE,kDACA","file":"NotationView.min.css"}
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../styles/NotationView.scss"],"names":[],"mappings":"AAIA,MAEE,+BACA,mCACA,+BACA,8BAGA,2BACA,6BAGA,6BACA,oCAIF,6BAEE,iCACA,mCACA,+BACA,8BAIF,mCACE,0CACE,iCACA,mCACA,+BACA,+BASJ,qBACE,oCACA,0CAIF,8BAEE,oCACA,4CAIF,qBACE,oCACA,gCAIF,oBACE,oCACA,eAGF,sBACE,kCACA,YAGF,eACE,WAIF,+EAGE,gCAIF,uEAGE,iCAQF,cACE,aAIF,yDAEE,aAIF,mCACE,wDACE,cAQJ,SACE,YAGF,oBACE,YACA,kBACA,mBACA,iBACA,mBAGF,iBACE,YACA,gBACA,mBAIF,aACE,YAGF,qBACE,gBACA,mBAMF,2BACE,kDACA","file":"NotationView.min.css"}
|