@apify/ui-library 0.65.3-featuresyntaxhighlighter-48cb44.36 → 0.65.3-featuresyntaxhighlighter-48cb44.38

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apify/ui-library",
3
- "version": "0.65.3-featuresyntaxhighlighter-48cb44.36+8cc051d6e85",
3
+ "version": "0.65.3-featuresyntaxhighlighter-48cb44.38+b70ba94452a",
4
4
  "description": "React UI library used by apify.com",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -65,5 +65,5 @@
65
65
  "typescript": "^5.1.6",
66
66
  "typescript-eslint": "^8.24.0"
67
67
  },
68
- "gitHead": "8cc051d6e85edbd8cd3c994fd90725e5b4f5cf8e"
68
+ "gitHead": "b70ba94452adee75cf6d7d6567ae43a7d5bf8bba"
69
69
  }
@@ -59,23 +59,23 @@ const StyledPre = styled.pre<StyledPreProps>`
59
59
  padding: ${({ $isSingleLine }) => ($isSingleLine ? 0 : `${theme.space.space16} 0`)};
60
60
  margin: 0;
61
61
 
62
- *,
63
- *::before,
64
- *::after {
65
- text-shadow: none !important;
66
- font-style: normal !important;
67
- font-family: inherit !important;
68
- font-size: inherit !important;
69
- font-weight: inherit !important;
70
- line-height: inherit !important;
71
- background-color: transparent !important;
72
- }
73
-
74
62
  code {
75
63
  min-width: 100%;
76
64
  display: inline-block;
77
65
  vertical-align: middle;
78
66
 
67
+ *,
68
+ *::before,
69
+ *::after {
70
+ text-shadow: none !important;
71
+ font-style: normal !important;
72
+ font-family: inherit !important;
73
+ font-size: inherit !important;
74
+ font-weight: inherit !important;
75
+ line-height: inherit !important;
76
+ background-color: transparent !important;
77
+ }
78
+
79
79
  & > div {
80
80
  display: block;
81
81
 
@@ -112,7 +112,7 @@ const StyledPre = styled.pre<StyledPreProps>`
112
112
  }
113
113
  `;
114
114
 
115
- export const CodeHighlighterLinePrefix = styled(Text)`
115
+ export const CodeHighlighterLinePrefix = styled(Text).attrs({ as: 'span' })`
116
116
  display: inline-block;
117
117
  margin-right: ${theme.space.space16};
118
118
  text-align: right;