@gridui/panel 2.1.0 → 2.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
@@ -73,6 +73,9 @@
73
73
  .gridui-u-grid--border-border {
74
74
  border-color: var(--gridui-border);
75
75
  }
76
+ .gridui-u-grid--bg-background {
77
+ background-color: var(--gridui-background);
78
+ }
76
79
  .gridui-u-grid--bg-border {
77
80
  background-color: var(--gridui-border);
78
81
  }
@@ -484,6 +487,7 @@
484
487
  .gridui-frame-surface {
485
488
  position: relative;
486
489
  isolation: isolate;
490
+ z-index: var(--gridui-z-boundary);
487
491
  }
488
492
  .gridui-frame-surface:focus-within, .gridui-frame-surface:has(:where(a[href], button, input, select, textarea, summary, [tabindex], [role="button"], [role="link"]):hover) {
489
493
  z-index: var(--gridui-z-interaction);
@@ -516,6 +520,15 @@
516
520
  height: 5px;
517
521
  background: linear-gradient(var(--gridui-border), var(--gridui-border));
518
522
  }
523
+ .gridui-frame-decoration[data-decoration="rings"] {
524
+ --gridui-frame-decoration-width: 7px;
525
+ --gridui-frame-decoration-outset: 4px;
526
+ display: block;
527
+ inset-block: calc(0px - min(4px, var(--gridui-frame-decoration-block-clearance, 4px))) auto;
528
+ height: 7px;
529
+ border-radius: 50%;
530
+ box-shadow: inset 0 0 0 1px var(--gridui-border);
531
+ }
519
532
  @media (min-width: 40rem) {
520
533
  .gridui-frame-decoration {
521
534
  display: block;
@@ -590,10 +603,27 @@
590
603
  grid-column: var(--gridui-span);
591
604
  padding: var(--gridui-padding);
592
605
  }
593
- .gridui-grid-all > .gridui-grid-item {
606
+ .gridui-grid-all:where(:not([data-adaptive-frame])) > .gridui-grid-item {
594
607
  border-right: 1px solid var(--gridui-border);
595
608
  border-bottom: 1px solid var(--gridui-border);
596
609
  }
610
+ .gridui-grid[data-adaptive-frame] {
611
+ position: relative;
612
+ }
613
+ .gridui-grid[data-adaptive-frame="all"] {
614
+ border: 1px solid var(--gridui-border);
615
+ }
616
+ .gridui-grid[data-adaptive-frame]::before {
617
+ content: "";
618
+ position: absolute;
619
+ inset: 0;
620
+ pointer-events: none;
621
+ background-color: var(--gridui-border);
622
+ clip-path: var(--gridui-grid-seam-clip, inset(50%));
623
+ }
624
+ .gridui-grid[data-adaptive-frame]:dir(rtl)::before {
625
+ transform: scaleX(-1);
626
+ }
597
627
  .gridui-grid-internal > .gridui-grid-item {
598
628
  position: relative;
599
629
  background-color: var(--gridui-background);
package/docs/catalog.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "name": "@gridui/panel",
4
- "version": "2.1.0",
4
+ "version": "2.1.1",
5
5
  "category": "layout",
6
6
  "description": "GridUI React panel",
7
7
  "usage": "ContentPanel preserves a native div and forwards its props and ref. `padding` defaults to spacing token 24; `paddingInline` and `paddingBlock` independently override it. These values accept scalar or responsive spacing. An explicit caller style overrides the corresponding generated custom property. `tone` accepts `neutral` or `brand`, with neutral as the default.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridui/panel",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "GridUI React panel",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -32,14 +32,14 @@
32
32
  "react-dom": "^19.2.0"
33
33
  },
34
34
  "dependencies": {
35
- "@gridui/grid": "^3.2.0",
36
- "@gridui/style-utils": "^4.0.0",
37
- "@gridui/theme": "^4.0.0",
35
+ "@gridui/grid": "^3.3.0",
36
+ "@gridui/style-utils": "^4.1.0",
37
+ "@gridui/theme": "^5.0.0",
38
38
  "class-variance-authority": "0.7.1"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@gridui-internal/configuration": "0.0.0-internal",
42
- "@gridui/steps": "2.1.0",
42
+ "@gridui/steps": "2.2.0",
43
43
  "@jest/globals": "30.5.2",
44
44
  "@storybook/react-vite": "10.6.7",
45
45
  "@types/jest": "30.0.0",