@northlight/ui 1.5.0 → 1.5.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.
package/package.json CHANGED
@@ -1,37 +1,28 @@
1
1
  {
2
2
  "name": "@northlight/ui",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "Northlight UI library, based on Chakra-ui",
5
5
  "license": "MIT",
6
6
  "author": "Mediatool",
7
7
  "exports": {
8
8
  "./package.json": "./package.json",
9
9
  ".": {
10
- "types": "./dist/es/mediatool-ui-framework.d.mts",
11
- "import": "./dist/es/mediatool-ui-framework.mjs",
12
- "require": "./dist/umd/mediatool-ui-framework.js"
13
- },
14
- "./sandbox": {
15
- "types": "./dist/es/sandbox.d.mts",
16
- "import": "./dist/es/sandbox.mjs"
10
+ "types": "./dist/es/northlight.d.mts",
11
+ "import": "./dist/es/northlight.mjs",
12
+ "require": "./dist/umd/northlight.js"
17
13
  }
18
14
  },
19
- "main": "./dist/es/mediatool-ui-framework.mjs",
15
+ "main": "./dist/es/northlight.mjs",
20
16
  "types": "./dist/ts/types.d.ts",
21
17
  "files": [
22
18
  "dist"
23
19
  ],
24
20
  "scripts": {
25
- "build": "yarn build-docs && vite build",
26
21
  "clean": "rm -rf dist",
27
- "demo": "vite",
28
- "lint": "eslint --ext ts,tsx lib/ sandbox/ test",
22
+ "lint": "eslint --ext ts,tsx lib/ test/",
29
23
  "prepublishOnly": "yarn clean && yarn transpile",
30
- "test": "mocha",
31
- "tokens": "node sd-build.js",
32
- "transpile": "rollup -c",
33
- "build-docs": "node sandbox/reference/utils/generate-doc.mjs",
34
- "watch-docs": "run-when-changed --watch \"lib/**/*.tsx\" --exec \"node sandbox/reference/utils/rebuild-page.mjs %s \""
24
+ "test": "yarn mtft test",
25
+ "transpile": "rollup -c"
35
26
  },
36
27
  "dependencies": {
37
28
  "@chakra-ui/clickable": "^2.0.14",
@@ -59,69 +50,49 @@
59
50
  "@react-stately/checkbox": "^3.3.2",
60
51
  "@react-stately/datepicker": "^3.2.1",
61
52
  "@react-stately/radio": "^3.6.2",
62
- "@shopify/react-i18n": "^7.6.0",
63
53
  "@types/mocha": "^10.0.1",
64
54
  "@types/ramda": "^0.28.15",
65
55
  "@types/react-avatar-editor": "^13.0.0",
56
+ "@types/react-router-dom": "^5.3.2",
66
57
  "@types/react-virtualized-auto-sizer": "^1.0.1",
67
58
  "@types/react-window": "^1.8.5",
68
59
  "chakra-react-select": "4.4.3",
69
60
  "framer-motion": "^4",
70
- "lodash.debounce": "^4.0.8",
71
- "markdown-to-jsx": "^7.2.0",
72
61
  "ramda": "^0.15.1",
73
62
  "react-avatar-editor": "^13.0.0",
74
63
  "react-hook-form": "^7.43.1",
75
64
  "react-input-mask": "2.0.4",
76
- "react-live": "^3.2.0",
65
+ "react-router-dom": "5.2.0",
77
66
  "react-virtualized": "^9.22.3",
78
67
  "react-virtualized-auto-sizer": "^1.0.7",
79
- "react-window": "^1.8.8",
80
- "style-dictionary": "^3.7.1"
68
+ "react-window": "^1.8.8"
81
69
  },
82
70
  "devDependencies": {
83
- "@esbuild-kit/cjs-loader": "^2.4.2",
84
- "@esbuild-kit/esm-loader": "^2.5.5",
85
- "@rollup/plugin-commonjs": "^24.0.1",
86
- "@rollup/plugin-image": "^3.0.2",
87
- "@rollup/plugin-json": "^6.0.0",
88
- "@rollup/plugin-node-resolve": "^15.0.1",
89
- "@rollup/plugin-typescript": "^11.0.0",
71
+ "@mediatool/frontend-tools": "^1.2.2",
90
72
  "@testing-library/react": "^14.0.0",
91
73
  "@testing-library/user-event": "^14.4.3",
92
74
  "@types/chai": "^4.3.4",
93
- "@types/lodash.debounce": "^4.0.7",
94
- "@types/prettier": "^2.7.2",
95
75
  "@types/react": "^18.0.28",
96
76
  "@types/react-dom": "^18.0.11",
97
77
  "@types/react-input-mask": "3.0.2",
98
- "@types/react-router-dom": "^5.3.2",
99
- "@vitejs/plugin-react-refresh": "^1.3.6",
100
78
  "chai": "^4.3.7",
101
79
  "esbuild": "^0.17.10",
102
80
  "eslint": "^8.37.0",
103
- "fuse.js": "^6.6.2",
104
81
  "global-jsdom": "^8.7.0",
105
82
  "jsdom": "^21.1.0",
106
83
  "mocha": "^10.2.0",
107
- "prettier": "^2.8.7",
108
- "prism-react-renderer": "^1.3.5",
109
84
  "react": "^18.1.0",
110
- "react-docgen-typescript": "^2.2.2",
111
85
  "react-dom": "^18.1.0",
112
- "react-router-dom": "5.2.0",
113
86
  "rollup": "^3.17.2",
114
87
  "rollup-plugin-dts": "^5.2.0",
115
88
  "rollup-plugin-esbuild": "^5.0.0",
116
- "run-when-changed": "^2.1.0",
117
89
  "typescript": "^4.9.5",
118
- "vite": "4.1.3",
119
- "yarn-dedupe": "^0.2.3"
90
+ "vite": "4.1.3"
120
91
  },
121
92
  "peerDependencies": {
122
93
  "react": ">=18.0.0",
123
94
  "react-dom": ">=18.0.0",
124
95
  "react-router-dom": "^5.0.0"
125
96
  },
126
- "gitHead": "a739ea770c3e164072b36f9e10efa59f94339bc6"
97
+ "gitHead": "20876bc9e44f6e6d023c84e94f393ef2942b7af9"
127
98
  }