@difizen/libro-widget 0.3.16 → 1.0.1

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/es/module.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { ManaModule } from '@difizen/mana-app';
1
+ import { ManaModule } from '@difizen/libro-common/app';
2
2
  export declare const CommonWidgetsModule: ManaModule;
3
3
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAK/C,eAAO,MAAM,mBAAmB,YAQP,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAKvD,eAAO,MAAM,mBAAmB,YAQP,CAAC"}
package/es/module.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { WidgetModule } from '@difizen/libro-jupyter';
2
- import { ManaModule } from '@difizen/mana-app';
2
+ import { ManaModule } from '@difizen/libro-common/app';
3
3
  import { SilderWidgetContribution, SliderWidget } from "./slider/index.js";
4
4
  import { TextModelContribution, TextWidget } from "./text/index.js";
5
5
  export var CommonWidgetsModule = ManaModule.create().register(SliderWidget, SilderWidgetContribution, TextWidget, TextModelContribution).dependOn(WidgetModule);
@@ -1,6 +1,6 @@
1
1
  import type { IWidgetViewProps } from '@difizen/libro-jupyter';
2
2
  import { WidgetViewContribution } from '@difizen/libro-jupyter';
3
- import { ViewManager } from '@difizen/mana-app';
3
+ import { ViewManager } from '@difizen/libro-common/app';
4
4
  import { SliderWidget } from './view.js';
5
5
  export declare class SilderWidgetContribution implements WidgetViewContribution {
6
6
  viewManager: ViewManager;
@@ -1 +1 @@
1
- {"version":3,"file":"contribution.d.ts","sourceRoot":"","sources":["../../src/slider/contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAqB,MAAM,mBAAmB,CAAC;AAEnE,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,qBACa,wBAAyB,YAAW,sBAAsB;IAChD,WAAW,EAAE,WAAW,CAAC;IAC9C,SAAS,eAAgB,GAAG,aAW1B;IACF,OAAO,CAAC,KAAK,EAAE,gBAAgB;CAGhC"}
1
+ {"version":3,"file":"contribution.d.ts","sourceRoot":"","sources":["../../src/slider/contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAqB,MAAM,2BAA2B,CAAC;AAE3E,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,qBACa,wBAAyB,YAAW,sBAAsB;IAChD,WAAW,EAAE,WAAW,CAAC;IAC9C,SAAS,eAAgB,GAAG,aAW1B;IACF,OAAO,CAAC,KAAK,EAAE,gBAAgB;CAGhC"}
@@ -9,7 +9,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
9
9
  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
10
10
  function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
11
11
  import { WidgetViewContribution } from '@difizen/libro-jupyter';
12
- import { ViewManager, inject, singleton } from '@difizen/mana-app';
12
+ import { ViewManager, inject, singleton } from '@difizen/libro-common/app';
13
13
  import { SliderWidget } from "./view.js";
14
14
  export var SilderWidgetContribution = (_dec = singleton({
15
15
  contrib: WidgetViewContribution
package/es/slider/view.js CHANGED
@@ -21,7 +21,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
21
21
  import { LibroContextKey } from '@difizen/libro-core';
22
22
  import { WidgetView } from '@difizen/libro-jupyter';
23
23
  import { defaultWidgetState } from '@difizen/libro-jupyter';
24
- import { view, transient, useInject, ViewInstance, prop, inject, ViewOption } from '@difizen/mana-app';
24
+ import { view, transient, useInject, ViewInstance, prop, inject, ViewOption } from '@difizen/libro-common/app';
25
25
  import { Slider } from 'antd';
26
26
  import { forwardRef } from 'react';
27
27
  import "./index.less";
@@ -1,6 +1,6 @@
1
1
  import type { IWidgetViewProps } from '@difizen/libro-jupyter';
2
2
  import { WidgetViewContribution } from '@difizen/libro-jupyter';
3
- import { ViewManager } from '@difizen/mana-app';
3
+ import { ViewManager } from '@difizen/libro-common/app';
4
4
  import { TextWidget } from './view.js';
5
5
  export declare class TextModelContribution implements WidgetViewContribution {
6
6
  viewManager: ViewManager;
@@ -1 +1 @@
1
- {"version":3,"file":"contribution.d.ts","sourceRoot":"","sources":["../../src/text/contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAqB,MAAM,mBAAmB,CAAC;AAEnE,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,qBACa,qBAAsB,YAAW,sBAAsB;IAC7C,WAAW,EAAE,WAAW,CAAC;IAC9C,SAAS,eAAgB,GAAG,aAK1B;IACF,OAAO,CAAC,KAAK,EAAE,gBAAgB;CAGhC"}
1
+ {"version":3,"file":"contribution.d.ts","sourceRoot":"","sources":["../../src/text/contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAqB,MAAM,2BAA2B,CAAC;AAE3E,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,qBACa,qBAAsB,YAAW,sBAAsB;IAC7C,WAAW,EAAE,WAAW,CAAC;IAC9C,SAAS,eAAgB,GAAG,aAK1B;IACF,OAAO,CAAC,KAAK,EAAE,gBAAgB;CAGhC"}
@@ -9,7 +9,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
9
9
  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
10
10
  function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
11
11
  import { WidgetViewContribution } from '@difizen/libro-jupyter';
12
- import { ViewManager, inject, singleton } from '@difizen/mana-app';
12
+ import { ViewManager, inject, singleton } from '@difizen/libro-common/app';
13
13
  import { TextWidget } from "./view.js";
14
14
  export var TextModelContribution = (_dec = singleton({
15
15
  contrib: WidgetViewContribution
package/es/text/view.js CHANGED
@@ -17,7 +17,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
17
17
  function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
18
18
  import { LibroContextKey } from '@difizen/libro-core';
19
19
  import { WidgetView } from '@difizen/libro-jupyter';
20
- import { view, ViewOption, transient, useInject, ViewInstance, inject, prop } from '@difizen/mana-app';
20
+ import { view, ViewOption, transient, useInject, ViewInstance, inject, prop } from '@difizen/libro-common/app';
21
21
  import { Input } from 'antd';
22
22
  import { forwardRef } from 'react';
23
23
  import { jsxs as _jsxs } from "react/jsx-runtime";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@difizen/libro-widget",
3
- "version": "0.3.16",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "libro"
@@ -31,12 +31,11 @@
31
31
  "src"
32
32
  ],
33
33
  "dependencies": {
34
- "@difizen/libro-core": "^0.3.16",
35
- "@difizen/libro-common": "^0.3.16",
36
- "@difizen/libro-kernel": "^0.3.16",
37
- "@difizen/libro-rendermime": "^0.3.16",
38
- "@difizen/libro-jupyter": "^0.3.16",
39
- "@difizen/mana-app": "latest"
34
+ "@difizen/libro-core": "^1.0.1",
35
+ "@difizen/libro-common": "^1.0.1",
36
+ "@difizen/libro-kernel": "^1.0.1",
37
+ "@difizen/libro-rendermime": "^1.0.1",
38
+ "@difizen/libro-jupyter": "^1.0.1"
40
39
  },
41
40
  "peerDependencies": {
42
41
  "antd": "^5.8.6",
package/src/module.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { WidgetModule } from '@difizen/libro-jupyter';
2
- import { ManaModule } from '@difizen/mana-app';
2
+ import { ManaModule } from '@difizen/libro-common/app';
3
3
 
4
4
  import { SilderWidgetContribution, SliderWidget } from './slider/index.js';
5
5
  import { TextModelContribution, TextWidget } from './text/index.js';
@@ -1,6 +1,6 @@
1
1
  import type { IWidgetViewProps } from '@difizen/libro-jupyter';
2
2
  import { WidgetViewContribution } from '@difizen/libro-jupyter';
3
- import { ViewManager, inject, singleton } from '@difizen/mana-app';
3
+ import { ViewManager, inject, singleton } from '@difizen/libro-common/app';
4
4
 
5
5
  import { SliderWidget } from './view.js';
6
6
 
@@ -12,7 +12,7 @@ import {
12
12
  prop,
13
13
  inject,
14
14
  ViewOption,
15
- } from '@difizen/mana-app';
15
+ } from '@difizen/libro-common/app';
16
16
  import { Slider } from 'antd';
17
17
  import { forwardRef } from 'react';
18
18
 
@@ -1,6 +1,6 @@
1
1
  import type { IWidgetViewProps } from '@difizen/libro-jupyter';
2
2
  import { WidgetViewContribution } from '@difizen/libro-jupyter';
3
- import { ViewManager, inject, singleton } from '@difizen/mana-app';
3
+ import { ViewManager, inject, singleton } from '@difizen/libro-common/app';
4
4
 
5
5
  import { TextWidget } from './view.js';
6
6
 
package/src/text/view.tsx CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  ViewInstance,
10
10
  inject,
11
11
  prop,
12
- } from '@difizen/mana-app';
12
+ } from '@difizen/libro-common/app';
13
13
  import { Input } from 'antd';
14
14
  import { forwardRef } from 'react';
15
15