@difizen/libro-core 0.2.14 → 0.2.16

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":"libro-slot-manager.d.ts","sourceRoot":"","sources":["../../src/slot/libro-slot-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAE1E,qBACa,gBAAgB;IACF,eAAe,EAAE,eAAe,CAAC;IAC1D,SAAS,CAAC,QAAQ,CAAC,kBAAkB,EAAE,YAAY,CAAC,QAAQ,CAAC,8BAA8B,CAAC,CAAC;gBAG3F,kBAAkB,EAAE,YAAY,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IAK3E,WAAW,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,GAAG,MAAM;IAItD,KAAK,CAAC,KAAK,EAAE,SAAS;CAUvB"}
1
+ {"version":3,"file":"libro-slot-manager.d.ts","sourceRoot":"","sources":["../../src/slot/libro-slot-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAE1E,qBACa,gBAAgB;IACF,eAAe,EAAE,eAAe,CAAC;IAC1D,SAAS,CAAC,QAAQ,CAAC,kBAAkB,EAAE,YAAY,CAAC,QAAQ,CAAC,8BAA8B,CAAC,CAAC;gBAG3F,kBAAkB,EAAE,YAAY,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IAK3E,WAAW,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,GAAG,MAAM;IAItD,KAAK,CAAC,KAAK,EAAE,SAAS;CAavB"}
@@ -42,7 +42,10 @@ export var LibroSlotManager = (_dec = singleton(), _dec2 = inject(SlotViewManage
42
42
  case 2:
43
43
  extra = _context.sent;
44
44
  _this.slotViewManager.addView(extra, _this.getSlotName(libro, item.slot), item.viewOpenOption);
45
- case 4:
45
+ libro.onDisposed(function () {
46
+ extra.dispose();
47
+ });
48
+ case 5:
46
49
  case "end":
47
50
  return _context.stop();
48
51
  }
@@ -1 +1 @@
1
- {"version":3,"file":"libro-color-registry.d.ts","sourceRoot":"","sources":["../../src/theme/libro-color-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAGtD,qBACa,kBAAmB,YAAW,iBAAiB;IAC1D,cAAc,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI;CAkX5C"}
1
+ {"version":3,"file":"libro-color-registry.d.ts","sourceRoot":"","sources":["../../src/theme/libro-color-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAGtD,qBACa,kBAAmB,YAAW,iBAAiB;IAC1D,cAAc,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI;CA2X5C"}
@@ -473,6 +473,20 @@ export var LibroColorRegistry = (_dec = singleton({
473
473
  light: '#000000'
474
474
  },
475
475
  description: ''
476
+ }, {
477
+ id: 'libro.editor.search.match',
478
+ defaults: {
479
+ dark: '#8c4717',
480
+ light: '#ffb184'
481
+ },
482
+ description: ''
483
+ }, {
484
+ id: 'libro.editor.search.currentmatch',
485
+ defaults: {
486
+ dark: '#a87713',
487
+ light: '#fbde28'
488
+ },
489
+ description: ''
476
490
  }, {
477
491
  id: 'libro.editor.indent.marker.bg.color',
478
492
  defaults: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@difizen/libro-core",
3
- "version": "0.2.14",
3
+ "version": "0.2.16",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "libro",
@@ -34,10 +34,10 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@ant-design/icons": "^5.1.0",
37
- "@difizen/libro-code-editor": "^0.2.14",
38
- "@difizen/libro-common": "^0.2.14",
39
- "@difizen/libro-shared-model": "^0.2.14",
40
- "@difizen/libro-virtualized": "^0.2.14",
37
+ "@difizen/libro-code-editor": "^0.2.16",
38
+ "@difizen/libro-common": "^0.2.16",
39
+ "@difizen/libro-shared-model": "^0.2.16",
40
+ "@difizen/libro-virtualized": "^0.2.16",
41
41
  "@difizen/mana-app": "latest",
42
42
  "@difizen/mana-l10n": "latest",
43
43
  "@difizen/mana-react": "latest",
@@ -30,6 +30,9 @@ export class LibroSlotManager {
30
30
  this.getSlotName(libro, item.slot),
31
31
  item.viewOpenOption,
32
32
  );
33
+ libro.onDisposed(() => {
34
+ extra.dispose();
35
+ });
33
36
  });
34
37
  }
35
38
  }
@@ -356,6 +356,16 @@ export class LibroColorRegistry implements ColorContribution {
356
356
  defaults: { dark: '#FFFFFF', light: '#000000' },
357
357
  description: '',
358
358
  },
359
+ {
360
+ id: 'libro.editor.search.match',
361
+ defaults: { dark: '#8c4717', light: '#ffb184' },
362
+ description: '',
363
+ },
364
+ {
365
+ id: 'libro.editor.search.currentmatch',
366
+ defaults: { dark: '#a87713', light: '#fbde28' },
367
+ description: '',
368
+ },
359
369
  {
360
370
  id: 'libro.editor.indent.marker.bg.color',
361
371
  defaults: { dark: '#42444D', light: '#D6DBEB' },
@@ -366,7 +376,6 @@ export class LibroColorRegistry implements ColorContribution {
366
376
  defaults: { dark: '#788491', light: '#9f9f9f' },
367
377
  description: '',
368
378
  },
369
-
370
379
  {
371
380
  id: 'libro.cell.selected.bg.color',
372
381
  defaults: { dark: '#353638', light: '#F1FAFF' },