@gridui/grid 0.3.0 → 1.0.0

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/README.md CHANGED
@@ -36,8 +36,9 @@ Band still defaults to nodes. Set `decoration` explicitly to choose an edge trea
36
36
 
37
37
  At a section seam, a non-neutral tone takes precedence over neutral; between
38
38
  two non-neutral tones, the lower section supplies the color. The lower section
39
- still draws the only separator. This works across Astro islands and section
40
- groups without changing either region's content palette. The page filler uses
39
+ still draws the only separator. This works across React section groups without
40
+ changing either region's content palette. Astro host elements require an
41
+ [application-owned adapter](../../docs/usage/framework-adapters.md). The page filler uses
41
42
  the final section's tone for its leading line.
42
43
  Grid `frame="cells"` owns outer and cell edges; `frame="internal"` owns seams
43
44
  inside an existing frame. Use `fillLastRow` with direct GridItem children to
@@ -15,5 +15,5 @@ export { FrameRail, FrameRailGroup } from "./rail/rail";
15
15
  export type { FrameSectionProps } from "./section";
16
16
  export { FrameSection } from "./section";
17
17
  export type { FrameTone } from "./style";
18
- export type { FrameTextureStyle } from "./texture/texture";
18
+ export type { FrameTextureProps, FrameTextureStyle } from "./texture/texture";
19
19
  export { FrameTexture } from "./texture/texture";
package/dist/styles.css CHANGED
@@ -206,18 +206,6 @@
206
206
  --gridui-page-gutter-start: var(--gridui-main-gutter-start-lg, var(--gridui-page-gutter));
207
207
  }
208
208
  }
209
- }
210
- .gridui-frame-sections > astro-island {
211
- display: grid;
212
- min-width: 0;
213
- grid-template-columns: subgrid;
214
- grid-auto-rows: max-content;
215
- }
216
- .gridui-frame-sections > astro-island > .gridui-container {
217
- grid-column: full-start / full-end;
218
- grid-template-columns: subgrid;
219
- }
220
- @layer components {
221
209
  .gridui-frame-rail-group {
222
210
  --gridui-frame-rail-width: var(--gridui-rail-width-base);
223
211
  --gridui-frame-rail-display: var(--gridui-rail-display-base);
@@ -255,19 +243,19 @@
255
243
  --gridui-frame-rail-display: var(--gridui-rail-display-lg);
256
244
  }
257
245
  }
258
- :where(.gridui-frame-section, .gridui-frame-footer, .gridui-frame-fill, .gridui-frame-sections, .gridui-frame-sections > astro-island) {
246
+ :where(.gridui-frame-section, .gridui-frame-footer, .gridui-frame-fill, .gridui-frame-sections) {
259
247
  --gridui-frame-previous-border: initial;
260
248
  }
261
- :where(.gridui-frame-sections, .gridui-frame-sections > astro-island) > :first-child {
249
+ .gridui-frame-sections > :first-child {
262
250
  --gridui-frame-previous-border: inherit;
263
251
  }
264
- :where( .gridui-frame-brand, :is(.gridui-frame-sections, astro-island):has(> .gridui-frame-brand:last-child), .gridui-frame-sections:has(> astro-island:last-child > .gridui-frame-brand:last-child), astro-island:has(> .gridui-frame-sections:last-child > .gridui-frame-brand:last-child), .gridui-frame-sections:has(> astro-island:last-child > .gridui-frame-sections:last-child > .gridui-frame-brand:last-child) ) + :where(.gridui-frame-section, .gridui-frame-footer, .gridui-frame-fill, .gridui-frame-sections, astro-island) {
252
+ :where(.gridui-frame-brand, .gridui-frame-sections:has(> .gridui-frame-brand:last-child)) + :where(.gridui-frame-section, .gridui-frame-footer, .gridui-frame-fill, .gridui-frame-sections) {
265
253
  --gridui-frame-previous-border: var(--gridui-brand-border);
266
254
  }
267
- :where( .gridui-frame-warning, :is(.gridui-frame-sections, astro-island):has(> .gridui-frame-warning:last-child), .gridui-frame-sections:has(> astro-island:last-child > .gridui-frame-warning:last-child), astro-island:has(> .gridui-frame-sections:last-child > .gridui-frame-warning:last-child), .gridui-frame-sections:has(> astro-island:last-child > .gridui-frame-sections:last-child > .gridui-frame-warning:last-child) ) + :where(.gridui-frame-section, .gridui-frame-footer, .gridui-frame-fill, .gridui-frame-sections, astro-island) {
255
+ :where(.gridui-frame-warning, .gridui-frame-sections:has(> .gridui-frame-warning:last-child)) + :where(.gridui-frame-section, .gridui-frame-footer, .gridui-frame-fill, .gridui-frame-sections) {
268
256
  --gridui-frame-previous-border: var(--gridui-warning-border);
269
257
  }
270
- :where( .gridui-frame-danger, :is(.gridui-frame-sections, astro-island):has(> .gridui-frame-danger:last-child), .gridui-frame-sections:has(> astro-island:last-child > .gridui-frame-danger:last-child), astro-island:has(> .gridui-frame-sections:last-child > .gridui-frame-danger:last-child), .gridui-frame-sections:has(> astro-island:last-child > .gridui-frame-sections:last-child > .gridui-frame-danger:last-child) ) + :where(.gridui-frame-section, .gridui-frame-footer, .gridui-frame-fill, .gridui-frame-sections, astro-island) {
258
+ :where(.gridui-frame-danger, .gridui-frame-sections:has(> .gridui-frame-danger:last-child)) + :where(.gridui-frame-section, .gridui-frame-footer, .gridui-frame-fill, .gridui-frame-sections) {
271
259
  --gridui-frame-previous-border: var(--gridui-danger-border);
272
260
  }
273
261
  .gridui-container > .gridui-frame-boundary {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridui/grid",
3
- "version": "0.3.0",
3
+ "version": "1.0.0",
4
4
  "description": "GridUI React grid",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -27,8 +27,8 @@
27
27
  "access": "public"
28
28
  },
29
29
  "dependencies": {
30
- "@gridui/style-utils": "0.3.0",
31
- "@gridui/theme": "0.3.0",
30
+ "@gridui/style-utils": "1.0.0",
31
+ "@gridui/theme": "1.0.0",
32
32
  "@radix-ui/react-slot": "1.5.0",
33
33
  "class-variance-authority": "0.7.1"
34
34
  },