notations 0.0.69 → 1.0.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.
- package/dist/NotationView.css +20 -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 +17425 -23624
- package/dist/notations.umd.min.js +8 -3
- package/dist/notations.umd.min.js.LICENSE.txt +0 -14
- package/dist/notations.umd.min.js.map +1 -1
- package/lib/cjs/beats.d.ts +4 -0
- package/lib/cjs/beats.js +19 -2
- package/lib/cjs/beats.js.map +1 -1
- package/lib/cjs/block.d.ts +85 -0
- package/lib/cjs/block.js +310 -0
- package/lib/cjs/block.js.map +1 -0
- package/lib/cjs/carnatic/NotationView.d.ts +11 -4
- package/lib/cjs/carnatic/NotationView.js +25 -11
- package/lib/cjs/carnatic/NotationView.js.map +1 -1
- package/lib/cjs/commands.d.ts +25 -11
- package/lib/cjs/commands.js +83 -31
- package/lib/cjs/commands.js.map +1 -1
- package/lib/cjs/entity.d.ts +3 -7
- package/lib/cjs/entity.js +7 -37
- package/lib/cjs/entity.js.map +1 -1
- package/lib/cjs/grids.d.ts +32 -3
- package/lib/cjs/grids.js +96 -9
- package/lib/cjs/grids.js.map +1 -1
- 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/loader.js +1 -41
- package/lib/cjs/loader.js.map +1 -1
- package/lib/cjs/notation.d.ts +20 -36
- package/lib/cjs/notation.js +100 -133
- package/lib/cjs/notation.js.map +1 -1
- package/lib/cjs/parser.d.ts +21 -6
- package/lib/cjs/parser.js +122 -23
- package/lib/cjs/parser.js.map +1 -1
- package/lib/esm/beats.d.ts +4 -0
- package/lib/esm/beats.js +19 -2
- package/lib/esm/beats.js.map +1 -1
- package/lib/esm/block.d.ts +85 -0
- package/lib/esm/block.js +293 -0
- package/lib/esm/block.js.map +1 -0
- package/lib/esm/carnatic/NotationView.d.ts +11 -4
- package/lib/esm/carnatic/NotationView.js +25 -11
- package/lib/esm/carnatic/NotationView.js.map +1 -1
- package/lib/esm/commands.d.ts +25 -11
- package/lib/esm/commands.js +80 -31
- package/lib/esm/commands.js.map +1 -1
- package/lib/esm/entity.d.ts +3 -7
- package/lib/esm/entity.js +7 -37
- package/lib/esm/entity.js.map +1 -1
- package/lib/esm/grids.d.ts +32 -3
- package/lib/esm/grids.js +96 -9
- package/lib/esm/grids.js.map +1 -1
- 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/loader.js +1 -8
- package/lib/esm/loader.js.map +1 -1
- package/lib/esm/notation.d.ts +20 -36
- package/lib/esm/notation.js +84 -128
- package/lib/esm/notation.js.map +1 -1
- package/lib/esm/parser.d.ts +21 -6
- package/lib/esm/parser.js +122 -24
- package/lib/esm/parser.js.map +1 -1
- package/package.json +3 -2
- package/styles/NotationView.scss +22 -0
package/dist/NotationView.css
CHANGED
|
@@ -69,6 +69,26 @@
|
|
|
69
69
|
color: var(--notation-text-color);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
+
/* ========================================
|
|
73
|
+
Role-specific Styles
|
|
74
|
+
======================================== */
|
|
75
|
+
/* Swara (Sw) role - blue in light theme for distinction from Sahitya */
|
|
76
|
+
.role_sw text {
|
|
77
|
+
fill: #2563eb; /* Blue-600 */
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* Dark mode - red for swara */
|
|
81
|
+
:root.dark .role_sw text,
|
|
82
|
+
[data-theme=dark] .role_sw text {
|
|
83
|
+
fill: #ef4444; /* Red-500 */
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* System preference fallback for dark mode */
|
|
87
|
+
@media (prefers-color-scheme: dark) {
|
|
88
|
+
:root:not(.light):not([data-theme=light]) .role_sw text {
|
|
89
|
+
fill: #ef4444; /* Red-500 */
|
|
90
|
+
}
|
|
91
|
+
}
|
|
72
92
|
/* ========================================
|
|
73
93
|
Layout Styles
|
|
74
94
|
======================================== */
|
|
@@ -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;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;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)}.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)}.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,
|
|
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"}
|