Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- `<ColorField />`
- input component for colors
- uses a subset from the configured color palette by default, but it also allows to enter custom colors
- `<MultiSuggestField />`
- `MultiSuggestFieldSelectionProps` provides `newlyRemoved` for callbacks set when removing a selected item
- `<HtmlContentClock />`
- inline `code` uses same gray background highlighting like code blocks
- CSS custom properties
- beside the color palette we now mirror the most important layout configuration variables as CSS custom properties
- new icons:
- `state-confirmed-all`
- `state-declined-all`
- `<MultiSuggestField />`
- `MultiSuggestFieldSelectionProps` provides `newlyRemoved` for callbacks set when removing a selected item

### Fixed

Expand Down Expand Up @@ -62,6 +64,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- `<MultiSuggestField />`
- `onSelection` now sets `newlySelected` only for add actions and no longer sets it to the last element
- border of the BlueprintJS `Tag` elements were fixed
- `<Modal />`
- fix specificity for pointer-events rules on SVG
- `<Button />`
- badge is correctly displayed when `badge={0}`
- Focus outlines
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@eccenca/gui-elements",
"description": "GUI elements based on other libraries, usable in React application, written in Typescript.",
"version": "25.0.0",
"version": "25.1.0",
"license": "Apache-2.0",
"homepage": "https://github.com/eccenca/gui-elements",
"bugs": "https://github.com/eccenca/gui-elements/issues",
Expand Down
4 changes: 2 additions & 2 deletions src/cmem/markdown/Markdown.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ This is a paragraph.
* another line
3. third item

This is a paragraph with a [text link](http://example.com/) and a footnote reference [^1].
This is a paragraph with a [text link](http://example.com/), some \`inline code\`, and a footnote reference [^1].

## Headline level 2
### Headline level 3
#### Headline level 4
##### Headline level 5
###### Headline level 6

This is a code block.
This is a code block.

\`\`\`
another code block
Expand Down
4 changes: 2 additions & 2 deletions src/components/Dialog/dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $eccgui-color-modal-backdrop: eccgui-color-rgba(
max-width: calc(100vw - 4rem);
max-height: calc(100vh - 4rem);
margin: 2rem;
pointer-events: all;
pointer-events: auto;
user-select: text;

& > * {
Expand All @@ -50,7 +50,7 @@ $eccgui-color-modal-backdrop: eccgui-color-rgba(
max-width: 100%;
}

* {
*:has(> svg) {
pointer-events: all;
}

Expand Down
14 changes: 10 additions & 4 deletions src/components/Typography/typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,26 @@ html {

body {
font-family: $eccgui-font-family-default;
font-weight: $eccgui-font-weight-regular;
text-rendering: optimizelegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;

// User-facing text may contain Unicode symbols (e.g. "★") that fall outside the primary font stack.
// Browsers pick different system fallback fonts for such characters, causing glyphs to render at
// different optical sizes (smaller in Firefox). font-size-adjust normalises the fallback font size
// by matching the primary font's x-height, reducing the visual size discrepancy across browsers.
font-size-adjust: from-font;
font-weight: $eccgui-font-weight-regular;
text-rendering: optimizelegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

code {
font-family: $eccgui-font-family-monospace;
font-size: 0.9em;

.#{$eccgui}-typography__contentblock &,
&.#{$eccgui}-typography__text {
background-color: $eccgui-color-workspace-background;
}
}

strong {
Expand Down
Loading