gasp-components 1.0.14 → 1.0.15
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
CHANGED
|
@@ -1,30 +1,15 @@
|
|
|
1
|
-
#
|
|
1
|
+
# GASP Components
|
|
2
|
+
Standard React components for (General Authority for Statistics) projects
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
## Pre-requesite
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
- NodeJS latest iron version (v20.xx.xx)
|
|
7
|
+
- NPM v10.xx.xx
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
-
|
|
9
|
+
## Development Instructions
|
|
10
|
+
- To start the development: `npm run dev`
|
|
9
11
|
|
|
10
|
-
##
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
- Configure the top-level `parserOptions` property like this:
|
|
15
|
-
|
|
16
|
-
```js
|
|
17
|
-
export default {
|
|
18
|
-
// other rules...
|
|
19
|
-
parserOptions: {
|
|
20
|
-
ecmaVersion: 'latest',
|
|
21
|
-
sourceType: 'module',
|
|
22
|
-
project: ['./tsconfig.json', './tsconfig.node.json'],
|
|
23
|
-
tsconfigRootDir: __dirname,
|
|
24
|
-
},
|
|
25
|
-
}
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
|
|
29
|
-
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
|
|
30
|
-
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
|
|
12
|
+
## References
|
|
13
|
+
## References
|
|
14
|
+
- [Ant Design](https://ant.design/components/overview/) React Components
|
|
15
|
+
- [Tailwindcss](https://tailwindcss.com/docs/utility-first) for styling
|
|
@@ -4,5 +4,5 @@ interface AgGridTableProps extends AgGridReactProps {
|
|
|
4
4
|
containerClassName?: string;
|
|
5
5
|
containerStyle?: CSSProperties;
|
|
6
6
|
}
|
|
7
|
-
export declare
|
|
7
|
+
export declare function AgGridTable<TData = any>({ containerClassName, containerStyle, ...props }: AgGridTableProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -107379,11 +107379,11 @@ const Hle = "31.0.2", kle = {
|
|
|
107379
107379
|
};
|
|
107380
107380
|
Vi.registerModules([Fle]);
|
|
107381
107381
|
Vi.registerModules([kle]);
|
|
107382
|
-
|
|
107382
|
+
function Oce({
|
|
107383
107383
|
containerClassName: o,
|
|
107384
107384
|
containerStyle: e,
|
|
107385
107385
|
...t
|
|
107386
|
-
})
|
|
107386
|
+
}) {
|
|
107387
107387
|
const { locale: n } = s8(), i = n === "ar";
|
|
107388
107388
|
return /* @__PURE__ */ Fk(
|
|
107389
107389
|
"div",
|
|
@@ -107393,7 +107393,7 @@ const Oce = ({
|
|
|
107393
107393
|
children: /* @__PURE__ */ Fk(DW.AgGridReact, { enableRtl: i, ...t })
|
|
107394
107394
|
}
|
|
107395
107395
|
);
|
|
107396
|
-
}
|
|
107396
|
+
}
|
|
107397
107397
|
export {
|
|
107398
107398
|
Oce as AgGridTable
|
|
107399
107399
|
};
|
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gasp-components",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.15",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"dev": "
|
|
7
|
+
"dev": "npm run storybook",
|
|
8
8
|
"build": "tsc --p ./tsconfig.build.json && vite build",
|
|
9
9
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
10
|
-
"preview": "vite preview",
|
|
11
10
|
"prepublishOnly": "npm run build",
|
|
12
11
|
"storybook": "storybook dev -p 6006",
|
|
13
12
|
"build-storybook": "storybook build"
|