@ibis-design/css 1.0.0-alpha.1 → 1.0.0-alpha.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.
@@ -0,0 +1,39 @@
1
+ .ibis-app-layout {
2
+ min-height: 100vh;
3
+ display: flex;
4
+ flex-direction: column;
5
+ background-color: var(--color-surface-page);
6
+ font-family: var(--font-family-sans);
7
+ }
8
+
9
+ .ibis-app-layout__header {
10
+ flex: 0 0 auto;
11
+ z-index: var(--z-index-sticky);
12
+ }
13
+
14
+ .ibis-app-layout__body {
15
+ flex: 1 1 auto;
16
+ display: flex;
17
+ min-height: 0;
18
+ }
19
+
20
+ .ibis-app-layout__sidebar {
21
+ flex: 0 0 auto;
22
+ width: 16rem;
23
+ background-color: var(--color-surface-subtle);
24
+ border-right: var(--border-width-thin) solid var(--border-color-default);
25
+ }
26
+
27
+ .ibis-app-layout__main {
28
+ flex: 1 1 auto;
29
+ overflow: auto;
30
+ padding: var(--spacing-6);
31
+ }
32
+
33
+ .ibis-app-layout__footer {
34
+ flex: 0 0 auto;
35
+ padding: var(--spacing-4);
36
+ border-top: var(--border-width-thin) solid var(--border-color-default);
37
+ font-size: var(--font-size-body-sm);
38
+ color: var(--color-text-secondary);
39
+ }
@@ -34,6 +34,11 @@
34
34
  padding: 0;
35
35
  }
36
36
 
37
+ /* 2 column variant — wider max-width */
38
+ .ibis-form-layout__inner--cols-2 {
39
+ max-width: 960px;
40
+ }
41
+
37
42
  .ibis-form-layout__header {
38
43
  display: flex;
39
44
  flex-direction: column;
@@ -61,6 +66,7 @@
61
66
  gap: var(--spacing-6);
62
67
  }
63
68
 
69
+ /* Section */
64
70
  .ibis-form-layout__section {
65
71
  display: flex;
66
72
  flex-direction: column;
@@ -77,6 +83,7 @@
77
83
  border-bottom: var(--border-width-thin) solid var(--border-color-subtle);
78
84
  }
79
85
 
86
+ /* Footer */
80
87
  .ibis-form-layout__footer {
81
88
  display: flex;
82
89
  flex-direction: row;
@@ -86,3 +93,35 @@
86
93
  padding-top: var(--spacing-4);
87
94
  border-top: var(--border-width-thin) solid var(--border-color-subtle);
88
95
  }
96
+
97
+ /* ===== RESPONSIVE 2-COLUMN GRID ===== */
98
+
99
+ @media (min-width: 768px) {
100
+ .ibis-form-layout__inner--cols-2 .ibis-form-layout__body {
101
+ display: grid;
102
+ grid-template-columns: 1fr 1fr;
103
+ gap: var(--spacing-4) var(--spacing-6);
104
+ align-items: start;
105
+ }
106
+
107
+ /* Section spans both columns */
108
+ .ibis-form-layout__inner--cols-2 .ibis-form-layout__section {
109
+ display: grid;
110
+ grid-template-columns: 1fr 1fr;
111
+ gap: var(--spacing-4) var(--spacing-6);
112
+ align-items: start;
113
+ grid-column: 1 / -1;
114
+ }
115
+
116
+ /* Section label spans both columns and is centered */
117
+ .ibis-form-layout__inner--cols-2 .ibis-form-layout__section-label {
118
+ grid-column: 1 / -1;
119
+ text-align: center;
120
+ }
121
+
122
+ /* Header and footer always span both columns */
123
+ .ibis-form-layout__inner--cols-2 .ibis-form-layout__header--span,
124
+ .ibis-form-layout__inner--cols-2 .ibis-form-layout__footer--span {
125
+ grid-column: 1 / -1;
126
+ }
127
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibis-design/css",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.2",
4
4
  "description": "Design tokens, CSS variables, and Tailwind preset for the IBIS design system.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -32,6 +32,6 @@
32
32
  "tsx": "^4.22.4"
33
33
  },
34
34
  "dependencies": {
35
- "@ibis-design/css": "^1.0.0-alpha.0"
35
+ "@ibis-design/css": "^1.0.0-alpha.2"
36
36
  }
37
37
  }