@talxis/base-controls 1.2509.1 → 1.2509.2

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 (3) hide show
  1. package/LICENSE.md +49 -0
  2. package/README.md +3 -40
  3. package/package.json +1 -1
package/LICENSE.md ADDED
@@ -0,0 +1,49 @@
1
+ # TALXIS License
2
+
3
+ ## Definitions
4
+
5
+ “**Software**” means the source code and all related materials provided under this license.
6
+
7
+ “**Commercial Use**” means any use of the software for the purpose of generating revenue or economic benefit.
8
+
9
+ “**Licensor**” is NETWORG, the copyright holder and provider of the Software.
10
+
11
+ ## Non-Commercial Use
12
+
13
+ The Software may be used free of charge for any non-Commercial Use, whether in open-source or closed-source applications.
14
+
15
+ ## Commercial Use
16
+
17
+ 1. Organizations with an annual revenue below 1,000,000 CZK may use the Software for Commercial Use free of charge, provided that all modifications to the Software remain open-source as specified in Section 4.
18
+ 2. For determining the revenue threshold, the total revenue of a group of affiliated entities shall be considered.
19
+ 3. Organizations with an annual revenue of 1,000,000 CZK or more must obtain a paid license from Licensor before any Commercial Use.
20
+
21
+ ## Modifications and Redistribution
22
+
23
+ Any modification of the Software must be made publicly available under this license or a compatible open source license.
24
+
25
+ Distribution of the Software or modified versions of the Software is permitted only if:
26
+
27
+ 1. this licence remains intact
28
+ 2. a clear link to the original source code is provided with a link to the Licensor GitHub repository.
29
+ 3. all terms of this license are complied with
30
+
31
+ ## Commercial Closed-Source Use
32
+
33
+ Using the Software in closed-source Commercial Use (where modifications to the Software are not made publicly available) is permitted only under a separate licensing agreement with Licensor, regardless of the organization's revenue.
34
+
35
+ ## Liability Limitation
36
+
37
+ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT, THE SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY KIND OF WARRANTY, EXPRESS OR IMPLIED. In any case, whether in a contract, tort, or other action, the authors, Licensor or copyright holders will not be held accountable for any claims, damages, or other liabilities resulting from, out of, or connected to the Software or the use or other dealings in the Software.
38
+
39
+ ## Area of Cover
40
+
41
+ This licence applies worldwide.
42
+
43
+ ## Termination
44
+
45
+ Any breach of this license's terms immediately terminate your right to use the Software and could lead to legal action.
46
+
47
+ ## Contribution
48
+
49
+ By contributing to the Software, you agree that your contributions will be licensed under the same terms as this license.
package/README.md CHANGED
@@ -1,41 +1,4 @@
1
- # Running locally build package in PCF
2
-
3
- 1. Run `npm install` inside the root directory.
4
- 1. Run `npm run build`.
5
- 1. Run `pnpm link --global`
6
- 1. Navigate to the PCF root directory
7
- 1. Run `pnpm link --global @talxis/base-controls`
8
- 1. Run `npm start watch`.
9
-
10
- If you make any changes in the package and re-build it with `npm run build`, it will automatically re-build the PCF and show your changes.
11
-
12
- # Running locally build package in Portal
13
-
14
- 1. Run `npm install` inside the root directory.
15
- 1. Run `npm run build`.
16
- 1. Run `npm link`.
17
- 1. Navigate to the `Portal.Web.Frontend` directory.
18
- 1. Add the following prop in the `vite.config.mts` file under `defineConfig`:
19
-
20
- ```typescript
21
- optimizeDeps: {
22
- exclude: ['@talxis/base-controls']
23
- }
24
- ```
25
- 8. Run `npm install`
26
- 9. Run `npm link @talxis/base-controls`
27
- 10. Run `npm start`
28
-
29
- These steps only need to be done once. If you want to see any future changes you made in the package, you need to run `npm run build` in package root directory and Portal will automatically reload with your changes applied.
30
-
31
- **Don't forget to revert the `vite.config.mts` file to the original version before pushing any changes to the Portal repo!**
32
-
33
- ## Troubleshooting
34
-
35
- If your PCF/Portal builds, but you get an `Hooks can only be called inside of the body of a function component` error during runtime, you need to link the version of React from your PCF/Portal to the package:
36
-
37
- 1. Navigate to the root directory.
38
- 2. Run `npm` link `<path-to-react> <path-to-react-dom>`
39
-
40
- Easiest way to do this is drag the `react` and `react-dom` folders from your PCF/Portal `node_modules` folder into the terminal window where you write the `npm link` command.
1
+ # @talxis/base-controls
41
2
 
3
+ ## Developing
4
+ Refer to [Developing](./docs/developing.md) for more information.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talxis/base-controls",
3
- "version": "1.2509.1",
3
+ "version": "1.2509.2",
4
4
  "description": "Set of React components that natively work with Power Apps Component Framework API's",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",