anentrypoint-design 0.0.451 → 0.0.452
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/247420.css +37 -23
- package/dist/247420.js +36 -29
- package/dist/index.html +20 -7
- package/package.json +1 -1
- package/src/css/app-shell/base.css +7 -1
- package/src/css/app-shell/states-interactions.css +30 -22
- package/src/page-html/client-script.js +12 -5
package/dist/247420.css
CHANGED
|
@@ -824,8 +824,13 @@
|
|
|
824
824
|
============================================================ */
|
|
825
825
|
.ds-247420 .skip-link {
|
|
826
826
|
position: absolute;
|
|
827
|
-
|
|
827
|
+
/* -40px alone left the 44px-tall pill (padding + min-height floor below)
|
|
828
|
+
poking ~4px into every page pre-focus -- measured live via
|
|
829
|
+
getBoundingClientRect(). The offset must clear the full rendered height,
|
|
830
|
+
not a guessed constant, so translateY pushes it out by its own box. */
|
|
831
|
+
top: 0;
|
|
828
832
|
left: 0;
|
|
833
|
+
transform: translateY(-100%);
|
|
829
834
|
background: var(--accent);
|
|
830
835
|
color: var(--accent-fg);
|
|
831
836
|
padding: var(--space-2) var(--space-3);
|
|
@@ -848,6 +853,7 @@
|
|
|
848
853
|
align-items: center;
|
|
849
854
|
}
|
|
850
855
|
.ds-247420 .skip-link:focus {
|
|
856
|
+
transform: translateY(0);
|
|
851
857
|
top: 10px;
|
|
852
858
|
outline: var(--focus-w) solid var(--focus-color);
|
|
853
859
|
outline-offset: var(--focus-offset);
|
|
@@ -4647,9 +4653,19 @@
|
|
|
4647
4653
|
instead of a browser-default boxed field. */
|
|
4648
4654
|
.ds-247420 .input {
|
|
4649
4655
|
display: block; width: 100%; box-sizing: border-box;
|
|
4656
|
+
/* appearance:none alone is not enough: with color-scheme:dark set on the
|
|
4657
|
+
page (colors_and_type.css), Chrome still paints its native dark
|
|
4658
|
+
form-control ring (an inset box-shadow) on <input> regardless of
|
|
4659
|
+
appearance -- confirmed live via getComputedStyle showing a real
|
|
4660
|
+
border-radius/box-shadow despite appearance computing to "none". Pin
|
|
4661
|
+
color-scheme:normal on the input itself to opt it out of that native
|
|
4662
|
+
dark styling, and zero box-shadow explicitly so nothing survives. */
|
|
4663
|
+
appearance: none; -webkit-appearance: none;
|
|
4664
|
+
color-scheme: normal;
|
|
4650
4665
|
border: 0; border-bottom: 1px solid var(--rule-strong);
|
|
4651
4666
|
border-radius: var(--r-0);
|
|
4652
4667
|
background: transparent;
|
|
4668
|
+
box-shadow: none;
|
|
4653
4669
|
padding: var(--space-2) var(--space-1);
|
|
4654
4670
|
font: inherit; color: var(--fg);
|
|
4655
4671
|
}
|
|
@@ -4708,8 +4724,15 @@
|
|
|
4708
4724
|
align-self: flex-end;
|
|
4709
4725
|
}
|
|
4710
4726
|
|
|
4711
|
-
.
|
|
4712
|
-
|
|
4727
|
+
/* :not(.input) guards, matching the bare-native-control pattern above: without
|
|
4728
|
+
them this descendant selector's (0,1,1) specificity out-ranks the hairline
|
|
4729
|
+
.input rule's (0,1,0), so any <input class="input"> inside .ds-field (every
|
|
4730
|
+
settings-kit field) got this boxed tonal-fill chrome instead -- confirmed
|
|
4731
|
+
live via getComputedStyle showing border-radius:8px + inset box-shadow on
|
|
4732
|
+
settings kit inputs despite .input declaring border-radius:var(--r-0) and
|
|
4733
|
+
box-shadow:none. */
|
|
4734
|
+
.ds-247420 .ds-field input:not(.input),
|
|
4735
|
+
.ds-247420 .ds-field textarea:not(.input),
|
|
4713
4736
|
.ds-247420 .ds-field .ds-select,
|
|
4714
4737
|
.ds-247420 .ds-search-input {
|
|
4715
4738
|
width: 100%;
|
|
@@ -4732,19 +4755,19 @@
|
|
|
4732
4755
|
}
|
|
4733
4756
|
/* textarea is multi-line: height is auto (min-height instead), keep symmetric
|
|
4734
4757
|
vertical padding so text doesn't sit flush to the top edge. */
|
|
4735
|
-
.ds-247420 .ds-field textarea { height: auto; min-height: calc(4 * 1.5em); padding: var(--space-2) var(--space-3); resize: vertical; }
|
|
4758
|
+
.ds-247420 .ds-field textarea:not(.input) { height: auto; min-height: calc(4 * 1.5em); padding: var(--space-2) var(--space-3); resize: vertical; }
|
|
4736
4759
|
|
|
4737
4760
|
/* Field size ladder (size prop on TextField/Select/SearchInput). md == base.
|
|
4738
4761
|
sm/lg retune height + h-padding + font off the --ctl-* ladder, matching the
|
|
4739
4762
|
button ladder so a form of mixed controls stays on one rhythm. */
|
|
4740
|
-
.ds-247420 .ds-field--sm input, .ds-247420 .ds-field--sm .ds-select, .ds-247420 .ds-field--sm .ds-search-input {
|
|
4763
|
+
.ds-247420 .ds-field--sm input:not(.input), .ds-247420 .ds-field--sm .ds-select, .ds-247420 .ds-field--sm .ds-search-input {
|
|
4741
4764
|
height: var(--ctl-sm); padding: 0 var(--space-2-5); font-size: var(--fs-tiny);
|
|
4742
4765
|
}
|
|
4743
|
-
.ds-247420 .ds-field--sm textarea { height: auto; padding: var(--space-1-75) var(--space-2-5); font-size: var(--fs-tiny); }
|
|
4744
|
-
.ds-247420 .ds-field--lg input, .ds-247420 .ds-field--lg .ds-select, .ds-247420 .ds-field--lg .ds-search-input {
|
|
4766
|
+
.ds-247420 .ds-field--sm textarea:not(.input) { height: auto; padding: var(--space-1-75) var(--space-2-5); font-size: var(--fs-tiny); }
|
|
4767
|
+
.ds-247420 .ds-field--lg input:not(.input), .ds-247420 .ds-field--lg .ds-select, .ds-247420 .ds-field--lg .ds-search-input {
|
|
4745
4768
|
height: var(--ctl-lg); padding: 0 var(--space-4); font-size: var(--fs-body);
|
|
4746
4769
|
}
|
|
4747
|
-
.ds-247420 .ds-field--lg textarea { height: auto; padding: var(--space-2-5) var(--space-4); font-size: var(--fs-body); }
|
|
4770
|
+
.ds-247420 .ds-field--lg textarea:not(.input) { height: auto; padding: var(--space-2-5) var(--space-4); font-size: var(--fs-body); }
|
|
4748
4771
|
.ds-247420 .ds-search-input::placeholder { color: var(--fg-3); }
|
|
4749
4772
|
/* Only present when SearchInput is passed resultCount or has a value (clear
|
|
4750
4773
|
button) - transparent to any flex/grid layout the bare input previously
|
|
@@ -4773,8 +4796,8 @@
|
|
|
4773
4796
|
.ds-247420 .ds-search-clear:hover { background: var(--bg-2); color: var(--fg); }
|
|
4774
4797
|
.ds-247420 .ds-search-clear:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
|
|
4775
4798
|
|
|
4776
|
-
.ds-247420 .ds-field input:focus-visible,
|
|
4777
|
-
.ds-247420 .ds-field textarea:focus-visible,
|
|
4799
|
+
.ds-247420 .ds-field input:not(.input):focus-visible,
|
|
4800
|
+
.ds-247420 .ds-field textarea:not(.input):focus-visible,
|
|
4778
4801
|
.ds-247420 .ds-field .ds-select:focus-visible,
|
|
4779
4802
|
.ds-247420 .ds-search-input:focus-visible {
|
|
4780
4803
|
outline: none;
|
|
@@ -4783,14 +4806,14 @@
|
|
|
4783
4806
|
box-shadow: inset 0 0 0 var(--bw-hair, 1px) var(--rule),
|
|
4784
4807
|
inset 0 calc(-1 * var(--bw-chunk)) 0 var(--accent);
|
|
4785
4808
|
}
|
|
4786
|
-
.ds-247420 .ds-field input:disabled,
|
|
4787
|
-
.ds-247420 .ds-field textarea:disabled,
|
|
4809
|
+
.ds-247420 .ds-field input:not(.input):disabled,
|
|
4810
|
+
.ds-247420 .ds-field textarea:not(.input):disabled,
|
|
4788
4811
|
.ds-247420 .ds-field .ds-select:disabled {
|
|
4789
4812
|
opacity: .55;
|
|
4790
4813
|
cursor: not-allowed;
|
|
4791
4814
|
}
|
|
4792
|
-
.ds-247420 .ds-field input[aria-invalid="true"],
|
|
4793
|
-
.ds-247420 .ds-field textarea[aria-invalid="true"] {
|
|
4815
|
+
.ds-247420 .ds-field input:not(.input)[aria-invalid="true"],
|
|
4816
|
+
.ds-247420 .ds-field textarea:not(.input)[aria-invalid="true"] {
|
|
4794
4817
|
box-shadow: inset 0 0 0 var(--bw-hair, 1px) var(--flame);
|
|
4795
4818
|
}
|
|
4796
4819
|
|
|
@@ -4839,15 +4862,6 @@
|
|
|
4839
4862
|
outline-offset: var(--focus-offset);
|
|
4840
4863
|
}
|
|
4841
4864
|
|
|
4842
|
-
/* Skip to main content link */
|
|
4843
|
-
.ds-247420 .skip-to-main {
|
|
4844
|
-
position: absolute; top: -40px; left: 0;
|
|
4845
|
-
background: var(--fg); color: var(--bg);
|
|
4846
|
-
padding: 8px 16px; border-radius: var(--r-1);
|
|
4847
|
-
text-decoration: none; z-index: var(--z-top);
|
|
4848
|
-
}
|
|
4849
|
-
.ds-247420 .skip-to-main:focus { top: 10px; }
|
|
4850
|
-
|
|
4851
4865
|
/* Reduced motion preferences — scoped to the DS surface so it doesn't reach
|
|
4852
4866
|
into and neutralize the host document's own motion.
|
|
4853
4867
|
The !important flags here are LOAD-BEARING and must not be "cleaned up":
|