quilt-react 0.1.0 → 0.1.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/dist/styles.css CHANGED
@@ -378,9 +378,6 @@
378
378
  border: 1px solid var(--layouts-line);
379
379
  background: var(--layouts-panel);
380
380
  }
381
- .layouts-menu:has(.layouts-submenu-content:not([hidden])) {
382
- min-width: 300px;
383
- }
384
381
  .layouts-corner {
385
382
  position: absolute;
386
383
  display: var(--layouts-corner-handle-display, block);
@@ -432,23 +429,17 @@
432
429
  }
433
430
 
434
431
  .layouts-menu:has(.layouts-submenu) {
435
- overflow: visible;
432
+ box-sizing: border-box;
436
433
  }
437
434
  .layouts-submenu-content {
438
- position: absolute;
439
- top: 0;
440
- left: calc(100% - 1px);
435
+ position: fixed;
436
+ z-index: 1;
437
+ box-sizing: border-box;
438
+ overflow: auto;
441
439
  width: 200px;
442
440
  box-shadow: 0 8px 24px #0005;
443
441
  border-radius: var(--layouts-radius, 5px);
444
442
  }
445
- .layouts-submenu[data-side='left'] .layouts-submenu-content {
446
- left: auto;
447
- right: calc(100% - 1px);
448
- }
449
- .layouts-menu:has(.layouts-submenu-content:not([hidden])) {
450
- min-width: 0;
451
- }
452
443
 
453
444
  .layouts-corner-overlay {
454
445
  position: fixed;
@@ -0,0 +1,2 @@
1
+ // Importing the stylesheet has side effects but exports no JavaScript values.
2
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quilt-react",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "React split panes and tabs with shared DOM chrome and browser window popouts",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -20,15 +20,18 @@
20
20
  "types": "./dist/index.d.ts",
21
21
  "import": "./dist/index.js"
22
22
  },
23
- "./styles.css": "./dist/styles.css"
23
+ "./styles.css": {
24
+ "types": "./dist/styles.css.d.ts",
25
+ "default": "./dist/styles.css"
26
+ }
24
27
  },
25
28
  "scripts": {
26
29
  "build": "node ../../scripts/build-package.mjs react",
27
30
  "prepack": "node ../../scripts/build-package.mjs react --dependencies"
28
31
  },
29
32
  "dependencies": {
30
- "quilt-core": "0.1.0",
31
- "quilt-vanilla": "0.1.0"
33
+ "quilt-core": "0.1.1",
34
+ "quilt-vanilla": "0.1.1"
32
35
  },
33
36
  "sideEffects": [
34
37
  "**/*.css"