primer-css
released this
22 Nov 14:56
·
13 commits
to main
since this release
Minor Changes
-
#825
2c8e9240
Thanks @rezrah! - Switched to use CSS Logical Properties in compiled output.- Compiled styles now directly use CSS logical properties (e.g.,
margin-inline-start
,margin-inline-end
) instead of physical properties (margin-left
,margin-right
). - This change simplifies the stylesheet and reduces its overall size (
652kB
>593kB
)
Example of the change:
Source:
.selector { margin-inline-start: var(--base-size-20); }
Previous compiled output New compiled output [dir='ltr'] .selector { margin-left: 2px; } [dir='rtl'] .selector { margin-right: 2px; }
.selector { margin-inline-start: 2px; }
- Compiled styles now directly use CSS logical properties (e.g.,
Patch Changes
-
#825
2c8e9240
Thanks @rezrah! - Fixed errors in compiled CSS stylesheets where selectors with special characters were being unintentionally escaped for compatibility with legacy browsers. -
#818
281beb08
Thanks @joshfarrant! -FormControl.Validation
is now associated with the relevant input usingaria-describedby
. -
#822
75da350d
Thanks @joshfarrant! - UpdatedIDEChatMessage
type declaration to differentiate between assistant and user messages.