@aastrika/ai-elements 0.5.0 → 0.6.0

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/CHANGELOG.md CHANGED
@@ -6,6 +6,55 @@ see at a glance what to expect when they upgrade.
6
6
  Versions follow semver: a **minor** adds something, a **patch** fixes something,
7
7
  and neither removes anything a host was using.
8
8
 
9
+ ## 0.6.0
10
+
11
+ Adds behaviour rather than API: the tags, attributes and events are exactly
12
+ those of 0.5.0, so a host upgrades without touching a line. What changed is what
13
+ the elements do while someone is using them.
14
+
15
+ **Added**
16
+ - A run survives leaving the screen. The work already happened server-side; the
17
+ job id is now remembered, so coming back to Content Studio or Assessment picks
18
+ the run up again instead of showing an empty form beside a job that is still
19
+ producing
20
+ - Drop a file on the Content Studio upload zone. It said "choose a file" and
21
+ accepted nothing else; it now takes a drop, and says so
22
+ - Steps you have finished collapse to one line naming what you chose, with a way
23
+ back in that reopens the step as it stands. Five open forms made you hunt for
24
+ the one you were on
25
+ - Reports opens with a shimmer skeleton shaped like the page it is loading,
26
+ rather than the word "Loading"
27
+ - Reports pages its tables, ten rows at a time, and switches between videos and
28
+ assessments with a filter instead of stacking both
29
+ - `--aastrika-accent-2` and `--aastrika-accent-3` name the second and third
30
+ hues. A spend split drawn in one hue at two darknesses reads as one bar; two
31
+ hues read as a comparison
32
+
33
+ **Changed**
34
+ - Reports is one screen rather than four stacked tables: the figures carry their
35
+ own context, spend carries its own breakdown, and picking a person is a
36
+ control in the header rather than a table whose job was to be clicked
37
+ - A column appears only when it has something to say — an empty "Feedback
38
+ rounds" column took width from the titles, which need it
39
+ - "Production" is now "Creating your video", and "Your video" is "Finished
40
+ video"
41
+
42
+ **Fixed**
43
+ - A focused field drew two borders. `:focus` and `:focus-visible` both applied,
44
+ because a text field matches `:focus-visible` on a plain click
45
+ - Resting the cursor on the field you just clicked reset its edge to grey:
46
+ `:hover` outranked `:focus`
47
+ - The actions column in Reports collapsed to nothing. `width: 1%` is taken
48
+ literally under `table-layout: fixed`, so View, Export and Delete were clipped
49
+ out of sight; the buttons also sat above their row's centre line
50
+ - The confirmation dialog's buttons were unstyled — a bare red rectangle and a
51
+ line of plain text — because that component never had the shared stylesheet
52
+ in scope
53
+ - Content Studio's progress panel had no styling at all: it lived in
54
+ Assessment's stylesheet while both screens used it
55
+ - Colour fallbacks carried the palette from before 0.4.2, so a token that failed
56
+ to resolve would have rendered in a dead colour scheme
57
+
9
58
  ## 0.5.0
10
59
 
11
60
  A visual pass over all three elements. Nothing a host calls has changed — same