react-luminus-components 1.3.73 → 1.3.74

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 +349 -349
  2. package/dist/.vite/manifest.json +77 -77
  3. package/dist/{PrimaryButton-BzO8ClHw.cjs → PrimaryButton-FXXv2Wbd.cjs} +1 -1
  4. package/dist/{PrimaryButton-B-MpWl40.js → PrimaryButton-sTpzum-P.js} +1 -1
  5. package/dist/{SimpleTooltip-SvZmB1iR.js → SimpleTooltip-BAxkz6a7.js} +1 -1
  6. package/dist/{SimpleTooltip-CqwlzEd1.cjs → SimpleTooltip-UaAWQrJL.cjs} +1 -1
  7. package/dist/components/Form/NumericStepperInput/NumericStepperInput.d.ts +1 -1
  8. package/dist/components/Form/NumericTextInput/NumericTextInput.d.ts +1 -1
  9. package/dist/components/HookForm/NumericStepperInput/HookFormNumericStepperInput.d.ts +1 -1
  10. package/dist/components/HookForm/NumericTextInput/HookFormNumericTextInput.d.ts +1 -1
  11. package/dist/contexts.cjs.js +1 -1
  12. package/dist/contexts.es.js +13 -13
  13. package/dist/{dateUtils-Cq_Yx7X4.js → dateUtils-S7NJ7UD_.js} +16 -16
  14. package/dist/{dateUtils-DjyMZMXh.cjs → dateUtils-UFhEJRC6.cjs} +1 -1
  15. package/dist/hooks.cjs.js +1 -1
  16. package/dist/hooks.es.js +7 -7
  17. package/dist/layout.cjs.js +1 -1
  18. package/dist/layout.es.js +3 -3
  19. package/dist/main.cjs.js +2 -2
  20. package/dist/main.es.js +2859 -2847
  21. package/dist/models/prop-types/InputProps/NumericInputProps.d.ts +4 -2
  22. package/dist/{nivo-pie.es-CZf3RHFP.cjs → nivo-pie.es-D1g0-QTH.cjs} +2 -2
  23. package/dist/{nivo-pie.es-Cj3cmphI.js → nivo-pie.es-D3ITtTCt.js} +65 -65
  24. package/dist/searchUtils-DgDmhIGE.js +14 -0
  25. package/dist/searchUtils-HjxGUlP0.cjs +1 -0
  26. package/dist/style.css +1 -1
  27. package/dist/{useClipboard-BgXlET49.cjs → useClipboard-BP1jlKVP.cjs} +1 -1
  28. package/dist/{useClipboard-BCnSMq0_.js → useClipboard-BeJHkcn6.js} +5 -5
  29. package/dist/{useConfirm-D-uO3XMi.js → useConfirm-B6VMDXBQ.js} +1 -1
  30. package/dist/{useConfirm-CBVtSwJU.cjs → useConfirm-Dcfr-ysl.cjs} +1 -1
  31. package/dist/{useLocalStorageState-BlBna_X9.cjs → useLocalStorageState-BF73Yq40.cjs} +1 -1
  32. package/dist/{useLocalStorageState-BnKY2Pzb.js → useLocalStorageState-ChfdeyJl.js} +8 -8
  33. package/dist/{usePermissions-bPdhRYyB.js → usePermissions-BB9gUeci.js} +1 -1
  34. package/dist/{usePermissions-DnjA3XsN.cjs → usePermissions-BvkCXn2U.cjs} +1 -1
  35. package/dist/utils/index.d.ts +7 -6
  36. package/dist/utils/number/numberUtils.d.ts +1 -0
  37. package/dist/utils.cjs.js +1 -1
  38. package/dist/utils.es.js +48 -47
  39. package/dist/variables.scss +171 -171
  40. package/package.json +109 -109
  41. package/dist/searchUtils-VtyKY_Sh.cjs +0 -1
  42. package/dist/searchUtils-yQNEdev8.js +0 -10
package/package.json CHANGED
@@ -1,109 +1,109 @@
1
- {
2
- "name": "react-luminus-components",
3
- "version": "1.3.73",
4
- "description": "Library of React Components reusable in Luminus projects (Fleetman, CAFM)",
5
- "type": "module",
6
- "repository": {
7
- "type": "git",
8
- "url": "git+https://github.com/BenefitCZ/react-luminus-components.git"
9
- },
10
- "author": "triskacik",
11
- "homepage": "https://github.com/BenefitCZ/react-luminus-components#readme",
12
- "main": "./dist/main.cjs.js",
13
- "module": "./dist/main.es.js",
14
- "typings": "./dist/main.d.ts",
15
- "exports": {
16
- ".": {
17
- "import": "./dist/main.es.js",
18
- "require": "./dist/main.cjs.js",
19
- "types": "./dist/main.d.ts"
20
- },
21
- "./layout": {
22
- "import": "./dist/layout.es.js",
23
- "require": "./dist/layout.cjs.js",
24
- "types": "./dist/layout.d.ts"
25
- },
26
- "./contexts": {
27
- "import": "./dist/contexts.es.js",
28
- "require": "./dist/contexts.cjs.js",
29
- "types": "./dist/contexts.d.ts"
30
- },
31
- "./hooks": {
32
- "import": "./dist/hooks.es.js",
33
- "require": "./dist/hooks.cjs.js",
34
- "types": "./dist/hooks.d.ts"
35
- },
36
- "./utils": {
37
- "import": "./dist/utils.es.js",
38
- "require": "./dist/utils.cjs.js",
39
- "types": "./dist/utils.d.ts"
40
- },
41
- "./types": "./dist/models/index.d.ts",
42
- "./styles": "./dist/style.css"
43
- },
44
- "files": [
45
- "dist"
46
- ],
47
- "scripts": {
48
- "build": "tsc && vite build",
49
- "build:watch": "tsc && vite build --watch",
50
- "dev": "vite",
51
- "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --cache",
52
- "compile": "tsc --noEmit"
53
- },
54
- "peerDependencies": {
55
- "@azure/msal-browser": "^3.14.0",
56
- "@azure/msal-react": "^2.0.16",
57
- "axios": "^1.6.8",
58
- "bootstrap": "^5.3.3",
59
- "react": ">=18",
60
- "react-bootstrap": ">=2",
61
- "react-hook-form": ">=7",
62
- "react-icons": "^5.0.1",
63
- "react-router-dom": ">=6",
64
- "zod": ">=3.22.4"
65
- },
66
- "dependencies": {
67
- "@nivo/core": "^0.87.0",
68
- "@nivo/pie": "^0.87.0",
69
- "classnames": "^2.5.1",
70
- "date-fns": "^3.6.0",
71
- "latinize": "^2.0.0",
72
- "react-cookie": "^7.1.4",
73
- "react-hot-toast": "^2.4.1",
74
- "react-number-format": "^5.4.0",
75
- "react-portal": "^4.2.2",
76
- "use-debounce": "^10.0.0",
77
- "uuid": "^9.0.1"
78
- },
79
- "devDependencies": {
80
- "@rollup/plugin-typescript": "^11.1.6",
81
- "@types/latinize": "^0.2.18",
82
- "@types/node": "^20.11.29",
83
- "@types/react": "^18.2.56",
84
- "@types/react-dom": "^18.2.19",
85
- "@types/react-portal": "^4.0.7",
86
- "@types/uuid": "^9.0.8",
87
- "@typescript-eslint/eslint-plugin": "^7.3.1",
88
- "@typescript-eslint/parser": "^7.3.1",
89
- "@vitejs/plugin-react": "^4.2.1",
90
- "eslint": "^8.57.0",
91
- "eslint-config-airbnb": "^19.0.4",
92
- "eslint-config-airbnb-typescript": "^18.0.0",
93
- "eslint-config-prettier": "^9.1.0",
94
- "eslint-plugin-import": "^2.29.1",
95
- "eslint-plugin-jsx-a11y": "^6.8.0",
96
- "eslint-plugin-prettier": "^5.1.3",
97
- "eslint-plugin-react": "^7.34.1",
98
- "eslint-plugin-react-hooks": "^4.6.0",
99
- "eslint-plugin-react-refresh": "^0.4.6",
100
- "prettier": "^3.2.5",
101
- "rollup-plugin-typescript-paths": "^1.5.0",
102
- "sass": "^1.72.0",
103
- "sass-loader": "^14.1.1",
104
- "tslib": "^2.6.2",
105
- "typescript": "^5.2.2",
106
- "vite": "^5.1.4",
107
- "vite-plugin-dts": "^3.7.3"
108
- }
109
- }
1
+ {
2
+ "name": "react-luminus-components",
3
+ "version": "1.3.74",
4
+ "description": "Library of React Components reusable in Luminus projects (Fleetman, CAFM)",
5
+ "type": "module",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/BenefitCZ/react-luminus-components.git"
9
+ },
10
+ "author": "triskacik",
11
+ "homepage": "https://github.com/BenefitCZ/react-luminus-components#readme",
12
+ "main": "./dist/main.cjs.js",
13
+ "module": "./dist/main.es.js",
14
+ "typings": "./dist/main.d.ts",
15
+ "exports": {
16
+ ".": {
17
+ "import": "./dist/main.es.js",
18
+ "require": "./dist/main.cjs.js",
19
+ "types": "./dist/main.d.ts"
20
+ },
21
+ "./layout": {
22
+ "import": "./dist/layout.es.js",
23
+ "require": "./dist/layout.cjs.js",
24
+ "types": "./dist/layout.d.ts"
25
+ },
26
+ "./contexts": {
27
+ "import": "./dist/contexts.es.js",
28
+ "require": "./dist/contexts.cjs.js",
29
+ "types": "./dist/contexts.d.ts"
30
+ },
31
+ "./hooks": {
32
+ "import": "./dist/hooks.es.js",
33
+ "require": "./dist/hooks.cjs.js",
34
+ "types": "./dist/hooks.d.ts"
35
+ },
36
+ "./utils": {
37
+ "import": "./dist/utils.es.js",
38
+ "require": "./dist/utils.cjs.js",
39
+ "types": "./dist/utils.d.ts"
40
+ },
41
+ "./types": "./dist/models/index.d.ts",
42
+ "./styles": "./dist/style.css"
43
+ },
44
+ "files": [
45
+ "dist"
46
+ ],
47
+ "scripts": {
48
+ "build": "tsc && vite build",
49
+ "build:watch": "tsc && vite build --watch",
50
+ "dev": "vite",
51
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --cache",
52
+ "compile": "tsc --noEmit"
53
+ },
54
+ "peerDependencies": {
55
+ "@azure/msal-browser": "^3.14.0",
56
+ "@azure/msal-react": "^2.0.16",
57
+ "axios": "^1.6.8",
58
+ "bootstrap": "^5.3.3",
59
+ "react": ">=18",
60
+ "react-bootstrap": ">=2",
61
+ "react-hook-form": ">=7",
62
+ "react-icons": "^5.0.1",
63
+ "react-router-dom": ">=6",
64
+ "zod": ">=3.22.4"
65
+ },
66
+ "dependencies": {
67
+ "@nivo/core": "^0.87.0",
68
+ "@nivo/pie": "^0.87.0",
69
+ "classnames": "^2.5.1",
70
+ "date-fns": "^3.6.0",
71
+ "latinize": "^2.0.0",
72
+ "react-cookie": "^7.1.4",
73
+ "react-hot-toast": "^2.4.1",
74
+ "react-number-format": "^5.4.0",
75
+ "react-portal": "^4.2.2",
76
+ "use-debounce": "^10.0.0",
77
+ "uuid": "^9.0.1"
78
+ },
79
+ "devDependencies": {
80
+ "@rollup/plugin-typescript": "^11.1.6",
81
+ "@types/latinize": "^0.2.18",
82
+ "@types/node": "^20.11.29",
83
+ "@types/react": "^18.2.56",
84
+ "@types/react-dom": "^18.2.19",
85
+ "@types/react-portal": "^4.0.7",
86
+ "@types/uuid": "^9.0.8",
87
+ "@typescript-eslint/eslint-plugin": "^7.3.1",
88
+ "@typescript-eslint/parser": "^7.3.1",
89
+ "@vitejs/plugin-react": "^4.2.1",
90
+ "eslint": "^8.57.0",
91
+ "eslint-config-airbnb": "^19.0.4",
92
+ "eslint-config-airbnb-typescript": "^18.0.0",
93
+ "eslint-config-prettier": "^9.1.0",
94
+ "eslint-plugin-import": "^2.29.1",
95
+ "eslint-plugin-jsx-a11y": "^6.8.0",
96
+ "eslint-plugin-prettier": "^5.1.3",
97
+ "eslint-plugin-react": "^7.34.1",
98
+ "eslint-plugin-react-hooks": "^4.6.0",
99
+ "eslint-plugin-react-refresh": "^0.4.6",
100
+ "prettier": "^3.2.5",
101
+ "rollup-plugin-typescript-paths": "^1.5.0",
102
+ "sass": "^1.72.0",
103
+ "sass-loader": "^14.1.1",
104
+ "tslib": "^2.6.2",
105
+ "typescript": "^5.2.2",
106
+ "vite": "^5.1.4",
107
+ "vite-plugin-dts": "^3.7.3"
108
+ }
109
+ }
@@ -1 +0,0 @@
1
- "use strict";const t=require("./nivo-pie.es-CZf3RHFP.cjs"),o=(r,e)=>e?r?t.latinize(r).toLowerCase().includes(t.latinize(e.toLowerCase())):!1:!0,c=(r,e)=>e?r?t.latinize(r).toLowerCase().startsWith(t.latinize(e.toLowerCase())):!1:!0,l=(r,e,i)=>{const n=i!=null&&i.trimSpaces?e==null?void 0:e.replaceAll(" ",""):e,a=i!=null&&i.trimSpaces?r==null?void 0:r.replaceAll(" ",""):r;return n?n.startsWith("*")?o(a,n.substring(1)):c(a,n):!0};exports.stringContains=o;exports.stringSearchWithin=l;exports.stringStartsWith=c;
@@ -1,10 +0,0 @@
1
- import { aV as n } from "./nivo-pie.es-Cj3cmphI.js";
2
- const c = (r, e) => e ? r ? n(r).toLowerCase().includes(n(e.toLowerCase())) : !1 : !0, t = (r, e) => e ? r ? n(r).toLowerCase().startsWith(n(e.toLowerCase())) : !1 : !0, f = (r, e, a) => {
3
- const o = a != null && a.trimSpaces ? e == null ? void 0 : e.replaceAll(" ", "") : e, i = a != null && a.trimSpaces ? r == null ? void 0 : r.replaceAll(" ", "") : r;
4
- return o ? o.startsWith("*") ? c(i, o.substring(1)) : t(i, o) : !0;
5
- };
6
- export {
7
- c as a,
8
- t as b,
9
- f as s
10
- };