@linzjs/windows 1.4.0 → 1.4.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/index.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "./src";
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "panel",
13
13
  "popout"
14
14
  ],
15
- "version": "1.4.0",
15
+ "version": "1.4.2",
16
16
  "peerDependencies": {
17
17
  "@linzjs/lui": "^17",
18
18
  "lodash-es": ">=4",
@@ -26,6 +26,21 @@
26
26
  "engines": {
27
27
  "node": ">=16"
28
28
  },
29
+ "scripts": {
30
+ "build": "run-s clean stylelint lint lint-circular-deps bundle",
31
+ "yalc": "run-s clean css bundle && yalc publish",
32
+ "clean": "rimraf dist && mkdirp ./dist",
33
+ "bundle": "rollup -c",
34
+ "test": "jest",
35
+ "stylelint": "stylelint src/**/*.scss src/**/*.css --fix",
36
+ "lint": "eslint ./src --ext .js,.ts,.tsx --fix --cache --ignore-path .gitignore",
37
+ "lint-circular-deps": "npx madge --circular --extensions ts,tsx ./",
38
+ "storybook": "storybook dev -p 6006",
39
+ "build-storybook": "storybook build",
40
+ "deploy-storybook": "npx --yes -p @storybook/storybook-deployer storybook-to-ghpages",
41
+ "chromatic": "chromatic --exit-zero-on-changes",
42
+ "semantic-release": "semantic-release"
43
+ },
29
44
  "dependencies": {
30
45
  "@emotion/cache": "^11.11.0",
31
46
  "@emotion/react": "^11.11.1",
@@ -105,21 +120,6 @@
105
120
  "typescript": "^4.9.5",
106
121
  "vite": "^4.4.4"
107
122
  },
108
- "scripts": {
109
- "build": "run-s clean stylelint lint lint-circular-deps bundle",
110
- "yalc": "run-s clean css bundle && yalc publish",
111
- "clean": "rimraf dist && mkdirp ./dist",
112
- "bundle": "rollup -c",
113
- "test": "jest",
114
- "stylelint": "stylelint src/**/*.scss src/**/*.css --fix",
115
- "lint": "eslint ./src --ext .js,.ts,.tsx --fix --cache --ignore-path .gitignore",
116
- "lint-circular-deps": "npx madge --circular --extensions ts,tsx ./",
117
- "storybook": "storybook dev -p 6006",
118
- "build-storybook": "storybook build",
119
- "deploy-storybook": "npx --yes -p @storybook/storybook-deployer storybook-to-ghpages",
120
- "chromatic": "chromatic --exit-zero-on-changes",
121
- "semantic-release": "semantic-release"
122
- },
123
123
  "eslintConfig": {
124
124
  "extends": [
125
125
  "react-app",
package/rollup.config.cjs CHANGED
@@ -13,12 +13,23 @@ module.exports = {
13
13
  expandDirectories: true,
14
14
  onlyFiles: true,
15
15
  },
16
+ {
17
+ src: ["src/panel/*", "!**/*.test.ts*"],
18
+ dest: outputDir,
19
+ expandDirectories: true,
20
+ onlyFiles: true,
21
+ },
16
22
  {
17
23
  src: ["src/util/*", "!**/*.test.ts*"],
18
24
  dest: outputDir,
19
25
  expandDirectories: true,
20
26
  onlyFiles: true,
21
27
  },
28
+ {
29
+ src: ["src/index.ts"],
30
+ dest: outputDir,
31
+ onlyFiles: true,
32
+ },
22
33
  ],
23
34
  flatten: false,
24
35
  }),
package/src/index.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from "./modal";
2
+ export * from "./panel";
@@ -0,0 +1,6 @@
1
+ export * from "./Modal";
2
+ export * from "./ModalContext";
3
+ export * from "./ModalContextProvider";
4
+ export * from "./ModalInstanceContext";
5
+ export * from "./PrefabModal";
6
+ export * from "./useShowModal";
@@ -0,0 +1,11 @@
1
+ export * from "./OpenPanelButton";
2
+ export * from "./OpenPanelIcon";
3
+ export * from "./Panel";
4
+ export * from "./PanelContext";
5
+ export * from "./PanelDock";
6
+ export * from "./PanelHeader";
7
+ export * from "./PanelHeaderButton";
8
+ export * from "./PanelInstanceContext";
9
+ export * from "./PanelInstanceContextProvider";
10
+ export * from "./PanelsContext";
11
+ export * from "./PanelsContextProvider";
@@ -28,7 +28,7 @@ button:focus {
28
28
  }
29
29
 
30
30
  dialog::backdrop {
31
- background: rgba(0,0,0,0.6);
31
+ background: rgb(0 0 0 / 60%);
32
32
  }
33
33
 
34
34
  dialog {
@@ -7,6 +7,7 @@
7
7
  .panelDock {
8
8
  margin-top: 16px;
9
9
  border: 2px solid black;
10
+
10
11
  .panelDock-empty {
11
12
  padding: 16px;
12
13
  }