@siladev/qalam 0.1.13 → 0.1.15

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.
@@ -1 +1 @@
1
- {"version":3,"file":"QuranRefPopover.d.ts","sourceRoot":"","sources":["../../../src/editor/components/QuranRefPopover.tsx"],"names":[],"mappings":"AAMA,UAAU,oBAAoB;IAC5B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC/C,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IACjD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAiBD,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,YAAmB,EAAE,EAAE,oBAAoB,+BAqV/G"}
1
+ {"version":3,"file":"QuranRefPopover.d.ts","sourceRoot":"","sources":["../../../src/editor/components/QuranRefPopover.tsx"],"names":[],"mappings":"AAMA,UAAU,oBAAoB;IAC5B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC/C,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IACjD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAiBD,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,YAAmB,EAAE,EAAE,oBAAoB,+BAsW/G"}
@@ -1,4 +1,4 @@
1
- import { Q as o, a as Q } from "../QalamEditor-CFrgHZav.js";
1
+ import { Q as o, a as Q } from "../QalamEditor-DJFh0zOj.js";
2
2
  export {
3
3
  o as QalamEditor,
4
4
  Q as QuranRef
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { validateAST as e } from "./schema/index.js";
2
- import { Q as s, a as t } from "./QalamEditor-CFrgHZav.js";
2
+ import { Q as s, a as t } from "./QalamEditor-DJFh0zOj.js";
3
3
  import { Q as f } from "./QalamRenderer-h6i48SCj.js";
4
4
  import { resolveAST as d } from "./resolver/index.js";
5
5
  import { g as Q, a as p, b as u, i as S, l as g, r as i } from "./lookup-CFbcujyG.js";
package/dist/styles.css CHANGED
@@ -455,6 +455,38 @@
455
455
  .qalam-popover__checkbox input[type="checkbox"] {
456
456
  width: 14px;
457
457
  height: 14px;
458
+ accent-color: var(--qalam-accent);
459
+ }
460
+
461
+ .qalam-dark .qalam-popover__checkbox input[type="checkbox"] {
462
+ appearance: none;
463
+ -webkit-appearance: none;
464
+ width: 14px;
465
+ height: 14px;
466
+ border: 1.5px solid var(--qalam-border);
467
+ border-radius: 3px;
468
+ background: var(--qalam-bg-alt);
469
+ cursor: pointer;
470
+ position: relative;
471
+ flex-shrink: 0;
472
+ }
473
+
474
+ .qalam-dark .qalam-popover__checkbox input[type="checkbox"]:checked {
475
+ background: var(--qalam-accent);
476
+ border-color: var(--qalam-accent);
477
+ }
478
+
479
+ .qalam-dark .qalam-popover__checkbox input[type="checkbox"]:checked::after {
480
+ content: "";
481
+ position: absolute;
482
+ left: 3px;
483
+ top: 1px;
484
+ width: 5px;
485
+ height: 8px;
486
+ border: 2px solid #1a1a1a;
487
+ border-top: none;
488
+ border-left: none;
489
+ transform: rotate(45deg);
458
490
  }
459
491
 
460
492
  .qalam-popover__suggestions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@siladev/qalam",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "Islamic content editor with Quran verse references",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",