fix: resolve svelte-check warnings (non-IDAA batch)

- Remove dead .field_editing_wrapper CSS rules from element_ae_crud_v2.svelte
  (template migrated to field_editing_wrapper_v2 with Tailwind)
- Fix TS error: use optional chaining on person_obj key in ae_comp__person_obj_tbl.svelte
- Fix state_referenced_locally: wrap data.user init with untrack() in users/[user_id]/+page.svelte
- Replace misused <label> with <span> for visual section headings (a11y) in:
  launcher_cfg_native_os.svelte, launcher_cfg_health.svelte,
  launcher_cfg_local_actions.svelte, launcher_cfg_template.svelte
This commit is contained in:
Scott Idem
2026-03-06 18:15:31 -05:00
parent 48d5fe8995
commit 3ca9503b88
7 changed files with 18 additions and 104 deletions

View File

@@ -368,8 +368,8 @@
></textarea>
{:else if field_type == 'tiptap'}
<div class="w-full min-w-96 text-left">
<AE_Comp_Editor_TipTap
bind:content={new_field_value}
<AE_Comp_Editor_TipTap
bind:content={new_field_value}
placeholder="Start typing..."
/>
</div>
@@ -470,92 +470,6 @@
transition-timing-function: linear;
}
.ae_crud .field_editing_wrapper {
/* outline: dashed thin pink; */
/* position: relative; */
/* contain: layout; */
/* contain: size; */
/* contain: none; */
contain: content;
box-shadow: 0.5em 0.5em 0.75em 0.75em hsla(0, 0%, 0%, 0.5);
/* color: hsla(0,0%,50%,.8); */
/* background-color: hsla(0,0%,50%,.5); */
/* border: dashed thin transparent; */
/* background-color: yellow; */
background-color: hsla(60, 50%, 80%, 0.95);
border: solid thin hsla(0, 50%, 50%, 0.5);
border-radius: 0.5em;
height: auto;
/* height: 100%; */
max-height: 100%;
min-width: fit-content;
width: auto;
max-width: 100%;
/* font-size: 1em; */
/* line-height: 1em; */
/* NOTE: transition when hover ends */
transition-property: background-color, border-color, color, height, width;
transition-delay: 0.75s; /* short delay */
transition-duration: 0.5s;
transition-timing-function: linear;
z-index: 1;
padding: 0.5em;
}
.ae_crud.show_crud.display_inline .field_editing_wrapper:hover {
background-color: hsla(60, 60%, 90%, 0.8);
z-index: 55;
}
.ae_crud.show_crud.display_inline .field_editing_wrapper {
/* display: block; */
display: inline-block;
/* display: inline; */
box-shadow: initial;
background-color: hsla(60, 50%, 80%, 0.4);
padding: 0.25em;
position: initial;
z-index: 0;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 0.5em;
width: 30%;
}
.ae_crud.show_crud.display_inline .field_editing_wrapper.display_block_edit {
/* display: block; */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 0.5em;
flex-grow: 1;
height: auto;
width: 100%;
}
.ae_crud textarea {
height: auto;
}