@erplora/outfitkit 0.1.22 → 0.1.24

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/layout.css CHANGED
@@ -18,7 +18,11 @@
18
18
 
19
19
  :root {
20
20
  --ok-grid-gap: clamp(0.75rem, 1.5vw, 1.25rem);
21
- --ok-section-pad-y: clamp(3rem, 7vw, 5.5rem);
21
+ --ok-section-pad-y-compact: clamp(2rem, 4vw, 3rem);
22
+ --ok-section-pad-y-standard: clamp(2.5rem, 5vw, 4.5rem);
23
+ --ok-section-pad-y-featured: clamp(3.5rem, 6vw, 5.5rem);
24
+ --ok-section-pad-y: var(--ok-section-pad-y-standard);
25
+ --ok-section-head-space: clamp(1.75rem, 3vw, 2.5rem);
22
26
  }
23
27
 
24
28
  /* ===== Container (web pública; en dashboard NO: ahí el ancho lo da el split-pane) ===== */
@@ -117,6 +121,24 @@
117
121
  font-family: var(--ok-font, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif);
118
122
  }
119
123
 
124
+ /* Ritmo vertical compartido. .ok-section-content permite conservar un
125
+ .ok-container explícito dentro de superficies full-bleed. Los modificadores
126
+ pueden vivir en el propio bloque o en un wrapper y se heredan por tokens. */
127
+ .ok-section-content {
128
+ box-sizing: border-box;
129
+ padding-block: var(--ok-section-pad-y);
130
+ }
131
+
132
+ .ok-section--compact {
133
+ --ok-section-pad-y: var(--ok-section-pad-y-compact);
134
+ --ok-section-head-space: clamp(1.5rem, 2.5vw, 2rem);
135
+ }
136
+
137
+ .ok-section--featured {
138
+ --ok-section-pad-y: var(--ok-section-pad-y-featured);
139
+ --ok-section-head-space: clamp(2rem, 4vw, 3rem);
140
+ }
141
+
120
142
  .ok-section--divider {
121
143
  border-top: 1px solid color-mix(in oklab, var(--ok-text, var(--ion-text-color, #18181b)) 8%, transparent);
122
144
  }
@@ -136,7 +158,7 @@
136
158
  display: flex;
137
159
  flex-direction: column;
138
160
  gap: 0.9rem;
139
- margin-bottom: clamp(2rem, 4vw, 3rem);
161
+ margin-bottom: var(--ok-section-head-space);
140
162
  max-width: 56ch;
141
163
  }
142
164
 
@@ -151,7 +151,7 @@ class OkDataTable extends LitElement {
151
151
  .tk-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.18); z-index: 19; }
152
152
  .drawer { position: absolute; top: 0; right: 0; height: 100%; width: 340px; max-width: 88%;
153
153
  background: var(--background); border-left: 1px solid var(--border-color);
154
- box-shadow: -10px 0 28px rgba(0, 0, 0, 0.10); display: flex; flex-direction: column; z-index: 20;
154
+ display: flex; flex-direction: column; z-index: 20;
155
155
  animation: tk-slide-in 0.18s ease; }
156
156
  @keyframes tk-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
157
157
  .drawer .dh { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between;
package/dist/ok-navbar.js CHANGED
@@ -26,7 +26,9 @@ function adoptPanelSheet() {
26
26
  --height: 100%;
27
27
  --border-radius: 0;
28
28
  --background: var(--ok-surface, var(--ion-card-background, #ffffff));
29
- --box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
29
+ /* Sin sombra lateral (decisión 2026-07-19, paneles laterales de SaaS y Hub): "none"
30
+ explícito para no caer al default de ion-modal; el backdrop separa. */
31
+ --box-shadow: none;
30
32
  /* El host del modal es un flex que centra el wrapper: lo anclamos a la derecha. */
31
33
  justify-content: flex-end;
32
34
  align-items: stretch;
@@ -1130,7 +1130,7 @@ class z extends g {
1130
1130
  .tk-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.18); z-index: 19; }
1131
1131
  .drawer { position: absolute; top: 0; right: 0; height: 100%; width: 340px; max-width: 88%;
1132
1132
  background: var(--background); border-left: 1px solid var(--border-color);
1133
- box-shadow: -10px 0 28px rgba(0, 0, 0, 0.10); display: flex; flex-direction: column; z-index: 20;
1133
+ display: flex; flex-direction: column; z-index: 20;
1134
1134
  animation: tk-slide-in 0.18s ease; }
1135
1135
  @keyframes tk-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
1136
1136
  .drawer .dh { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between;
@@ -14258,7 +14258,9 @@ function sd() {
14258
14258
  --height: 100%;
14259
14259
  --border-radius: 0;
14260
14260
  --background: var(--ok-surface, var(--ion-card-background, #ffffff));
14261
- --box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
14261
+ /* Sin sombra lateral (decisión 2026-07-19, paneles laterales de SaaS y Hub): "none"
14262
+ explícito para no caer al default de ion-modal; el backdrop separa. */
14263
+ --box-shadow: none;
14262
14264
  /* El host del modal es un flex que centra el wrapper: lo anclamos a la derecha. */
14263
14265
  justify-content: flex-end;
14264
14266
  align-items: stretch;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erplora/outfitkit",
3
- "version": "0.1.22",
3
+ "version": "0.1.24",
4
4
  "description": "OutfitKit — librería de Web Components (Lit) que CONSTRUYE lo que Ionic no tiene (tree, data-table rica, inline-feedback, kpi/stat, stepper/wizard, calendar, kanban…) sobre primitivos de Ionic. Ionic es la base; OutfitKit cubre los huecos. npm + CDN, imports individuales, CSP-safe. Tema vía tokens --ok-* (fallback a --ion-*).",
5
5
  "type": "module",
6
6
  "license": "MIT",