anentrypoint-design 0.0.314 → 0.0.316

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/app-shell.css CHANGED
@@ -277,8 +277,13 @@ body.canvas-host { background: transparent !important; }
277
277
  .brand .slash { color: var(--accent-ink); font-weight: 700; margin: 0 3px; }
278
278
 
279
279
  .app-search {
280
- display: inline-flex; align-items: center; gap: 10px;
281
- padding: 9px 16px; background: var(--bg-2);
280
+ display: inline-flex; align-items: center; gap: var(--space-2-5);
281
+ /* Snap to the single-line control ladder (--field-height == --ctl-md, 34px,
282
+ density-scaled) so the topbar search aligns with sibling topbar controls and
283
+ shrinks under [data-density]. Was raw 9px 16px padding off the ladder — the
284
+ one front-door input the control-height port missed. */
285
+ height: var(--field-height);
286
+ padding: 0 var(--space-3); background: var(--bg-2);
282
287
  border-radius: var(--r-pill);
283
288
  font-size: var(--fs-sm); color: var(--fg-3);
284
289
  max-width: 360px;
@@ -1170,7 +1175,9 @@ table tr.clickable:focus-visible td { background: var(--bg-2); }
1170
1175
  }
1171
1176
  .ds-barchart-label { font-size: var(--fs-sm); color: var(--fg-2); }
1172
1177
  .ds-barchart-track {
1173
- height: var(--space-2); border-radius: var(--r-pill);
1178
+ /* 6px unifies with the system's other bar tracks (.ds-upload-bar,
1179
+ .ds-bar-bg); was --space-2 (8px), the lone thicker slab in the bar family. */
1180
+ height: var(--space-1-75); border-radius: var(--r-pill);
1174
1181
  background: var(--bg-3); overflow: hidden;
1175
1182
  }
1176
1183
  .ds-barchart-fill {
@@ -3333,10 +3340,33 @@ hr.rule-dotted { border-top: 1px dotted var(--rule-strong); }
3333
3340
  }
3334
3341
  .ds-field--lg textarea { height: auto; padding: var(--space-2-5) var(--space-4); font-size: var(--fs-body); }
3335
3342
  .ds-search-input::placeholder { color: var(--fg-3); }
3336
- /* Only present when SearchInput is passed resultCount - transparent to any
3337
- flex/grid layout the bare input previously sat in directly. */
3343
+ /* Only present when SearchInput is passed resultCount or has a value (clear
3344
+ button) - transparent to any flex/grid layout the bare input previously
3345
+ sat in directly. */
3338
3346
  .ds-search-input-wrap { display: contents; }
3339
3347
 
3348
+ /* Visible clear (X) button for SearchInput - mirrors .ds-alert-dismiss's
3349
+ ghost-icon treatment but sized to the kit's 44px touch-target floor
3350
+ (app-shell.css already establishes this convention for .ds-file-check /
3351
+ .ds-density-btn / .ds-upload-act etc). Positioned by the consumer's own
3352
+ flex/grid context (ds-search-input-wrap is display:contents), so it simply
3353
+ sits after the input in DOM order. */
3354
+ .ds-search-clear {
3355
+ display: inline-flex;
3356
+ align-items: center; justify-content: center;
3357
+ min-width: 44px; min-height: 44px;
3358
+ flex-shrink: 0;
3359
+ cursor: pointer;
3360
+ color: var(--fg-3);
3361
+ background: transparent;
3362
+ border: 0;
3363
+ padding: 0;
3364
+ border-radius: var(--r-1);
3365
+ transition: background var(--dur-snap) var(--ease), color var(--dur-snap) var(--ease);
3366
+ }
3367
+ .ds-search-clear:hover { background: var(--bg-2); color: var(--fg); }
3368
+ .ds-search-clear:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
3369
+
3340
3370
  .ds-field input:focus-visible,
3341
3371
  .ds-field textarea:focus-visible,
3342
3372
  .ds-field .ds-select:focus-visible,
package/dist/247420.css CHANGED
@@ -829,8 +829,13 @@
829
829
  .ds-247420 .brand .slash { color: var(--accent-ink); font-weight: 700; margin: 0 3px; }
830
830
 
831
831
  .ds-247420 .app-search {
832
- display: inline-flex; align-items: center; gap: 10px;
833
- padding: 9px 16px; background: var(--bg-2);
832
+ display: inline-flex; align-items: center; gap: var(--space-2-5);
833
+ /* Snap to the single-line control ladder (--field-height == --ctl-md, 34px,
834
+ density-scaled) so the topbar search aligns with sibling topbar controls and
835
+ shrinks under [data-density]. Was raw 9px 16px padding off the ladder — the
836
+ one front-door input the control-height port missed. */
837
+ height: var(--field-height);
838
+ padding: 0 var(--space-3); background: var(--bg-2);
834
839
  border-radius: var(--r-pill);
835
840
  font-size: var(--fs-sm); color: var(--fg-3);
836
841
  max-width: 360px;
@@ -1722,7 +1727,9 @@
1722
1727
  }
1723
1728
  .ds-247420 .ds-barchart-label { font-size: var(--fs-sm); color: var(--fg-2); }
1724
1729
  .ds-247420 .ds-barchart-track {
1725
- height: var(--space-2); border-radius: var(--r-pill);
1730
+ /* 6px unifies with the system's other bar tracks (.ds-upload-bar,
1731
+ .ds-bar-bg); was --space-2 (8px), the lone thicker slab in the bar family. */
1732
+ height: var(--space-1-75); border-radius: var(--r-pill);
1726
1733
  background: var(--bg-3); overflow: hidden;
1727
1734
  }
1728
1735
  .ds-247420 .ds-barchart-fill {
@@ -3877,10 +3884,33 @@
3877
3884
  }
3878
3885
  .ds-247420 .ds-field--lg textarea { height: auto; padding: var(--space-2-5) var(--space-4); font-size: var(--fs-body); }
3879
3886
  .ds-247420 .ds-search-input::placeholder { color: var(--fg-3); }
3880
- /* Only present when SearchInput is passed resultCount - transparent to any
3881
- flex/grid layout the bare input previously sat in directly. */
3887
+ /* Only present when SearchInput is passed resultCount or has a value (clear
3888
+ button) - transparent to any flex/grid layout the bare input previously
3889
+ sat in directly. */
3882
3890
  .ds-247420 .ds-search-input-wrap { display: contents; }
3883
3891
 
3892
+ /* Visible clear (X) button for SearchInput - mirrors .ds-alert-dismiss's
3893
+ ghost-icon treatment but sized to the kit's 44px touch-target floor
3894
+ (app-shell.css already establishes this convention for .ds-file-check /
3895
+ .ds-density-btn / .ds-upload-act etc). Positioned by the consumer's own
3896
+ flex/grid context (ds-search-input-wrap is display:contents), so it simply
3897
+ sits after the input in DOM order. */
3898
+ .ds-247420 .ds-search-clear {
3899
+ display: inline-flex;
3900
+ align-items: center; justify-content: center;
3901
+ min-width: 44px; min-height: 44px;
3902
+ flex-shrink: 0;
3903
+ cursor: pointer;
3904
+ color: var(--fg-3);
3905
+ background: transparent;
3906
+ border: 0;
3907
+ padding: 0;
3908
+ border-radius: var(--r-1);
3909
+ transition: background var(--dur-snap) var(--ease), color var(--dur-snap) var(--ease);
3910
+ }
3911
+ .ds-247420 .ds-search-clear:hover { background: var(--bg-2); color: var(--fg); }
3912
+ .ds-247420 .ds-search-clear:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
3913
+
3884
3914
  .ds-247420 .ds-field input:focus-visible,
3885
3915
  .ds-247420 .ds-field textarea:focus-visible,
3886
3916
  .ds-247420 .ds-field .ds-select:focus-visible,
@@ -8994,8 +9024,8 @@
8994
9024
  color: var(--panel-text, var(--fg-text));
8995
9025
  border: 1px solid var(--rule);
8996
9026
  border-radius: var(--r-1, 6px);
8997
- padding: 6px 10px;
8998
- font-size: 12px;
9027
+ padding: var(--space-1-75) var(--space-2-5);
9028
+ font-size: var(--fs-micro);
8999
9029
  line-height: 1.4;
9000
9030
  max-width: 280px;
9001
9031
  box-shadow: var(--shadow-3);