ui-controls-react 0.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/README.md +36 -0
- package/docs/README.md +1 -0
- package/docs/ReleaseNotes.md +0 -0
- package/index.js +1 -0
- package/lib/components/index.d.ts +2 -0
- package/lib/components/index.d.ts.map +1 -0
- package/lib/components/index.js +1 -0
- package/lib/hooks/index.d.ts +2 -0
- package/lib/hooks/index.d.ts.map +1 -0
- package/lib/hooks/index.js +1 -0
- package/lib/index.d.ts +6 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +5 -0
- package/lib/models/index.d.ts +2 -0
- package/lib/models/index.d.ts.map +1 -0
- package/lib/models/index.js +1 -0
- package/lib/resources/index.d.ts +2 -0
- package/lib/resources/index.d.ts.map +1 -0
- package/lib/resources/index.js +1 -0
- package/lib/utilities/index.d.ts +2 -0
- package/lib/utilities/index.d.ts.map +1 -0
- package/lib/utilities/index.js +1 -0
- package/package.json +32 -0
- package/rspack.config.ts +66 -0
package/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# ui-controls-react
|
|
2
|
+
|
|
3
|
+
This is an UI controls library created on the design language of bootstrap and Microsoft fluent UI
|
|
4
|
+
|
|
5
|
+
This is built on top of Bootstrap and Fluent UI React which is a collection of robust components designed to make it simple for you to create consistent web experiences using the Fluent Design Language.
|
|
6
|
+
For information, see the [Fluent UI](https://fluent2.microsoft.design).
|
|
7
|
+
|
|
8
|
+
This library has reusable composite controls which will help creating rich UI easier and faster.
|
|
9
|
+
|
|
10
|
+
## Installation
|
|
11
|
+
|
|
12
|
+
The package can be installed as an npm package using the following command:
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
npm install --save @ui-controls-react@latest
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Components
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## Release Notes
|
|
22
|
+
|
|
23
|
+
For detailed release notes, please refer to our [version history](docs/ReleaseNotes.md)
|
|
24
|
+
|
|
25
|
+
## Code Repository
|
|
26
|
+
|
|
27
|
+
https://github.com/applicationsuite/ui-controls/ui-controls-react
|
|
28
|
+
|
|
29
|
+
## Authors and Contributors
|
|
30
|
+
|
|
31
|
+
The project is being initially developed and maintained by Chinmaya Kumar Panda.
|
|
32
|
+
|
|
33
|
+
The contribution to this libray is open, so any contribution is very welcome.
|
|
34
|
+
We welcome you to raise issues, add your new requirements or use cases, so that we will close them asap.
|
|
35
|
+
|
|
36
|
+
For contributing to this library, please [contact us](mailto:visit.chinmaya@gmail.com).
|
package/docs/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Documents
|
|
File without changes
|
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./lib";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}
|
package/lib/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utilities/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ui-controls-react",
|
|
3
|
+
"module": "lib/index.js",
|
|
4
|
+
"types": "lib/index.d.ts",
|
|
5
|
+
"version": "0.0.1",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"clean": "rimraf lib",
|
|
8
|
+
"build": "npm run clean && tsc -p tsconfig.prod.json",
|
|
9
|
+
"dev": "rspack dev",
|
|
10
|
+
"lint": "biome check .",
|
|
11
|
+
"format": "biome format .",
|
|
12
|
+
"lint-fix": "npx biome check . --write"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"react": "^19.2.3",
|
|
16
|
+
"react-dom": "^19.2.3"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@biomejs/biome": "^2.4.9",
|
|
20
|
+
"@rspack/cli": "^1.7.10",
|
|
21
|
+
"@rspack/core": "^1.7.10",
|
|
22
|
+
"@rspack/plugin-react-refresh": "^1.6.0",
|
|
23
|
+
"@types/react": "^19.2.8",
|
|
24
|
+
"@types/react-dom": "^19.2.3",
|
|
25
|
+
"react-refresh": "^0.18.0",
|
|
26
|
+
"rimraf": "^6.1.3",
|
|
27
|
+
"typescript": "^5.9.3"
|
|
28
|
+
},
|
|
29
|
+
"publishConfig": {
|
|
30
|
+
"access": "public"
|
|
31
|
+
}
|
|
32
|
+
}
|
package/rspack.config.ts
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { defineConfig } from "@rspack/cli";
|
|
2
|
+
import { rspack, type SwcLoaderOptions } from "@rspack/core";
|
|
3
|
+
import { ReactRefreshRspackPlugin } from "@rspack/plugin-react-refresh";
|
|
4
|
+
|
|
5
|
+
const isDev = process.env.NODE_ENV === "development";
|
|
6
|
+
|
|
7
|
+
// Target browsers, see: https://github.com/browserslist/browserslist
|
|
8
|
+
const targets = ["last 2 versions", "> 0.2%", "not dead", "Firefox ESR"];
|
|
9
|
+
|
|
10
|
+
export default defineConfig({
|
|
11
|
+
entry: {
|
|
12
|
+
main: "./src/main.tsx",
|
|
13
|
+
},
|
|
14
|
+
resolve: {
|
|
15
|
+
extensions: ["...", ".ts", ".tsx", ".jsx"],
|
|
16
|
+
},
|
|
17
|
+
module: {
|
|
18
|
+
rules: [
|
|
19
|
+
{
|
|
20
|
+
test: /\.svg$/,
|
|
21
|
+
type: "asset",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
test: /\.(jsx?|tsx?)$/,
|
|
25
|
+
use: [
|
|
26
|
+
{
|
|
27
|
+
loader: "builtin:swc-loader",
|
|
28
|
+
options: {
|
|
29
|
+
jsc: {
|
|
30
|
+
parser: {
|
|
31
|
+
syntax: "typescript",
|
|
32
|
+
tsx: true,
|
|
33
|
+
},
|
|
34
|
+
transform: {
|
|
35
|
+
react: {
|
|
36
|
+
runtime: "automatic",
|
|
37
|
+
development: isDev,
|
|
38
|
+
refresh: isDev,
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
env: { targets },
|
|
43
|
+
} satisfies SwcLoaderOptions,
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
},
|
|
49
|
+
plugins: [
|
|
50
|
+
new rspack.HtmlRspackPlugin({
|
|
51
|
+
template: "./public/index.html",
|
|
52
|
+
}),
|
|
53
|
+
isDev ? new ReactRefreshRspackPlugin() : null,
|
|
54
|
+
],
|
|
55
|
+
optimization: {
|
|
56
|
+
minimizer: [
|
|
57
|
+
new rspack.SwcJsMinimizerRspackPlugin(),
|
|
58
|
+
new rspack.LightningCssMinimizerRspackPlugin({
|
|
59
|
+
minimizerOptions: { targets },
|
|
60
|
+
}),
|
|
61
|
+
],
|
|
62
|
+
},
|
|
63
|
+
experiments: {
|
|
64
|
+
css: true,
|
|
65
|
+
},
|
|
66
|
+
});
|