igniteui-dockmanager 2.0.0-RC.0 → 2.0.0-RC.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.
Files changed (42) hide show
  1. package/README.md +41 -3
  2. package/custom-elements.json +2390 -2429
  3. package/dist/CHANGELOG.md +31 -1
  4. package/dist/README.md +41 -3
  5. package/dist/components/context-menu/context-menu.d.ts +4 -3
  6. package/dist/components/dockmanager/backfill-types-dockmanager.d.ts +11 -0
  7. package/dist/components/dockmanager/backfill-types-dockmanager.js +1 -0
  8. package/dist/components/dockmanager/docking/edge-docking-indicator-component.d.ts +3 -2
  9. package/dist/components/dockmanager/docking/joystick-icon-component.d.ts +2 -2
  10. package/dist/components/dockmanager/docking/root-docking-indicator-component.d.ts +2 -2
  11. package/dist/components/dockmanager/docking/splitter-docking-indicator-component.d.ts +2 -2
  12. package/dist/components/dockmanager/dockmanager-component.d.ts +5 -4
  13. package/dist/components/dockmanager/dockmanager.interfaces.d.ts +22 -0
  14. package/dist/components/dockmanager/dockmanager.service.d.ts +10 -9
  15. package/dist/components/dockmanager/panes/resizer-component.d.ts +2 -2
  16. package/dist/components/dockmanager/panes/split-pane-component.d.ts +3 -3
  17. package/dist/components/dockmanager/panes/split-pane-component.js +1 -1
  18. package/dist/components/dockmanager/panes/splitter-component.css.js +1 -1
  19. package/dist/components/dockmanager/panes/splitter-component.d.ts +4 -4
  20. package/dist/components/dockmanager/panes/unpinned-pane-header-component.d.ts +3 -3
  21. package/dist/components/drag-drop/drag.service.d.ts +2 -2
  22. package/dist/components/sample-component/sample-component.js +1 -1
  23. package/dist/components/tabs/tab-header-component.d.ts +4 -3
  24. package/dist/components/tabs/tabs-component.d.ts +4 -3
  25. package/dist/custom-elements.json +2390 -2429
  26. package/dist/igniteui-dockmanager.html-data.json +1 -1
  27. package/dist/index.d.ts +1 -4
  28. package/dist/index.js +0 -4
  29. package/dist/package.json +9 -1
  30. package/dist/utils/locale.js +0 -6
  31. package/dist/utils/test-utils.d.ts +4 -3
  32. package/dist/utils/utils.d.ts +7 -6
  33. package/dist/web-types.json +1 -1
  34. package/package.json +5 -2
  35. package/dist/i18n/resources.en.d.ts +0 -9
  36. package/dist/i18n/resources.en.js +0 -3
  37. package/dist/i18n/resources.es.d.ts +0 -9
  38. package/dist/i18n/resources.es.js +0 -11
  39. package/dist/i18n/resources.jp.d.ts +0 -9
  40. package/dist/i18n/resources.jp.js +0 -11
  41. package/dist/i18n/resources.ko.d.ts +0 -9
  42. package/dist/i18n/resources.ko.js +0 -11
package/README.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  [Ignite UI Dock Manager Web Component](https://www.infragistics.com/) provides means to manage the layout of your application through panes, allowing your end-users to customize it further by pinning, resizing, moving and hiding panes.
4
4
 
5
+ > [!IMPORTANT]
6
+ > **Version 2.0+ Notice:** The Dock Manager has been migrated from Stencil to **Lit**. For the legacy Stencil-based version, please refer to the [1.18.x branch](https://github.com/IgniteUI/dock-manager/tree/1.18.x).
7
+
5
8
  ## NPM Package
6
9
 
7
10
  You can include the Ignite UI Dock Manager Web Component in your project as a dependency using the NPM package.
@@ -12,12 +15,26 @@ npm install igniteui-dockmanager --save
12
15
 
13
16
  ## Usage
14
17
 
15
- In order to use the Ignite UI Dock Manager Web Component it is necessary to import it and call the `defineComponents()` function:
18
+ ### Lit Version (v2.0+)
19
+
20
+ In the new Lit-based version, you simply import the component and call the `defineComponents()` function:
16
21
 
17
22
  ```ts
18
- import { defineComponents, IgcDockManagerComponent } from 'igniteui-dockmanager';
23
+ import IgcDockManagerComponent, { defineComponents } from 'igniteui-dockmanager';
19
24
 
20
25
  defineComponents(IgcDockManagerComponent);
26
+
27
+ ```
28
+
29
+ ### Legacy Stencil Version (v1.18.x)
30
+
31
+ If you are using the version from the `1.18.x` branch, it is necessary to import and call the `defineCustomElements()` function:
32
+
33
+ ```ts
34
+ import { defineCustomElements } from 'igniteui-dockmanager/loader';
35
+
36
+ defineCustomElements();
37
+
21
38
  ```
22
39
 
23
40
  Once the Dock Manager is imported, you can add it on the page:
@@ -29,6 +46,27 @@ Once the Dock Manager is imported, you can add it on the page:
29
46
 
30
47
  More information on how to use the Ignite UI Dock Manager Web Component can be found [here](https://infragistics.com/products/ignite-ui-web-components/web-components/components/dock-manager.html).
31
48
 
49
+ ### Localization
50
+
51
+ To localize the Dock Manager strings, install the peer dependency `igniteui-i18n-resources` and register a language bundle with `igniteui-i18n-core`:
52
+
53
+ ```ts
54
+ import { registerI18n } from 'igniteui-i18n-core';
55
+ import { DockManagerResourceStringsES } from 'igniteui-i18n-resources';
56
+
57
+ registerI18n(DockManagerResourceStringsES, 'es');
58
+ ```
59
+
60
+ ## Branching & Maintenance
61
+
62
+ To ensure stability for our customers, we maintain the following branch structure:
63
+
64
+ | Branch | Status | Framework | Support |
65
+ | --- | --- | --- | --- |
66
+ | `master` | Stable | **Lit** | Active Development |
67
+ | `develop` | Bleeding Edge | **Lit** | Integration |
68
+ | `1.18.x` | Legacy LTS | **Stencil** | Security & Critical Bug fixes Only |
69
+
32
70
  ## Support
33
71
 
34
72
  Developer support is provided as part of the commercial, paid-for license via [Infragistics Forums](https://www.infragistics.com/community/forums/), or via Chat & Phone with a Priority Support license. To acquire a license for paid support or Priority Support, please visit this [page](https://www.infragistics.com/how-to-buy/product-pricing#developers).
@@ -43,4 +81,4 @@ To acquire a license for commercial usage, please [register for trial](https://w
43
81
 
44
82
  © Copyright 2020 INFRAGISTICS. All Rights Reserved.
45
83
  The Infragistics Ultimate license & copyright applies to this distribution.
46
- For information on that license, please go to our website [https://www.infragistics.com/legal/license](https://www.infragistics.com/legal/license).
84
+ For information on that license, please go to our website [https://www.infragistics.com/legal/license](https://www.infragistics.com/legal/license).