@preply/ds-web-core 14.3.0 → 14.4.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 +22 -0
- package/dist/generated/breakpoints.less +1 -1
- package/dist/generated/breakpoints.scss +1 -1
- package/dist/generated/hover.less +1 -1
- package/dist/generated/hover.scss +1 -1
- package/dist/generated/options.less +1 -1
- package/dist/generated/options.scss +1 -1
- package/dist/generated/tokens.less +1 -1
- package/dist/generated/tokens.scss +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @preply/ds-web-core
|
|
2
2
|
|
|
3
|
+
## 14.4.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix two defects found in app design QA.
|
|
8
|
+
|
|
9
|
+
`Icon` no longer clips the glyph when the system font scale is above 1. The width was only scaled when `allowFontScaling` was passed explicitly, while React Native's `<Text>` scales unless `allowFontScaling` is `false`, so the glyph outgrew its box. The width now follows the same rule React Native uses, which fixes every component rendering an `Icon` at large accessibility text sizes, `Badge` with a `leadingIcon` at `size="small"` among them.
|
|
10
|
+
|
|
11
|
+
`action.variant.ghost.active.borderColor` is now `transparent` instead of repeating the pressed background colour. The translucent border composited over an identical fill, so a ghost `Button` or `IconButton` drew a visible ring around its pressed state on iOS. Figma specifies a fill and no border, and this matches how the other variants map the token. No web component reads this token, so only the published custom property value changes there.
|
|
12
|
+
|
|
13
|
+
- Updated dependencies:
|
|
14
|
+
- @preply/ds-core@14.4.0
|
|
15
|
+
- @preply/ds-core-types@14.4.0
|
|
16
|
+
|
|
17
|
+
## 14.3.1
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies:
|
|
22
|
+
- @preply/ds-core@14.3.1
|
|
23
|
+
- @preply/ds-core-types@14.3.1
|
|
24
|
+
|
|
3
25
|
## 14.3.0
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AUTO GENERATED by support/tools/src/tool/code-generator/output/breakpoints/web-core-breakpoints-less.ts @
|
|
1
|
+
/* AUTO GENERATED by support/tools/src/tool/code-generator/output/breakpoints/web-core-breakpoints-less.ts @Thu Oct 08 2026 12:45:56 GMT+0000 (Coordinated Universal Time) */
|
|
2
2
|
|
|
3
3
|
@breakpoints: {
|
|
4
4
|
narrow-l: 400px;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AUTO GENERATED by support/tools/src/tool/code-generator/output/breakpoints/web-core-breakpoints-scss.ts @
|
|
1
|
+
/* AUTO GENERATED by support/tools/src/tool/code-generator/output/breakpoints/web-core-breakpoints-scss.ts @Thu Oct 08 2026 12:45:56 GMT+0000 (Coordinated Universal Time) */
|
|
2
2
|
|
|
3
3
|
$breakpoints: (
|
|
4
4
|
narrow-l: 400px,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AUTO GENERATED by support/tools/src/tool/code-generator/output/hover/web-core-hover-less.ts @
|
|
1
|
+
/* AUTO GENERATED by support/tools/src/tool/code-generator/output/hover/web-core-hover-less.ts @Thu Oct 08 2026 12:45:56 GMT+0000 (Coordinated Universal Time) */
|
|
2
2
|
|
|
3
3
|
.onHover(@styles) {
|
|
4
4
|
@media (hover: hover) and (pointer: fine) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AUTO GENERATED by support/tools/src/tool/code-generator/output/hover/web-core-hover-scss.ts @
|
|
1
|
+
/* AUTO GENERATED by support/tools/src/tool/code-generator/output/hover/web-core-hover-scss.ts @Thu Oct 08 2026 12:45:56 GMT+0000 (Coordinated Universal Time) */
|
|
2
2
|
|
|
3
3
|
@mixin onHover {
|
|
4
4
|
@media (hover: hover) and (pointer: fine) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AUTO GENERATED by support/tools/src/tool/code-generator/output/types/web-core-options-less.ts @
|
|
1
|
+
/* AUTO GENERATED by support/tools/src/tool/code-generator/output/types/web-core-options-less.ts @Thu Oct 08 2026 12:45:54 GMT+0000 (Coordinated Universal Time) */
|
|
2
2
|
|
|
3
3
|
@ACTION_LINK_VARIANT_ACTIVE_COLOR_OPTIONS: accentDark, accentDarkInverted, neutral, neutralInverted,
|
|
4
4
|
unsetColors;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AUTO GENERATED by support/tools/src/tool/code-generator/output/types/web-core-options-scss.ts @
|
|
1
|
+
/* AUTO GENERATED by support/tools/src/tool/code-generator/output/types/web-core-options-scss.ts @Thu Oct 08 2026 12:45:54 GMT+0000 (Coordinated Universal Time) */
|
|
2
2
|
|
|
3
3
|
$ACTION_LINK_VARIANT_ACTIVE_COLOR_OPTIONS:
|
|
4
4
|
accentDark, accentDarkInverted, neutral, neutralInverted, unsetColors;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AUTO GENERATED by support/tools/src/tool/code-generator/output/tokens/web-core-tokens-less.ts @
|
|
1
|
+
/* AUTO GENERATED by support/tools/src/tool/code-generator/output/tokens/web-core-tokens-less.ts @Thu Oct 08 2026 12:45:55 GMT+0000 (Coordinated Universal Time) */
|
|
2
2
|
|
|
3
3
|
@text-typeface: var(--42e7c5);
|
|
4
4
|
@text-fontFamily: var(--51aa6f);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AUTO GENERATED by support/tools/src/tool/code-generator/output/tokens/web-core-tokens-scss.ts @
|
|
1
|
+
/* AUTO GENERATED by support/tools/src/tool/code-generator/output/tokens/web-core-tokens-scss.ts @Thu Oct 08 2026 12:45:55 GMT+0000 (Coordinated Universal Time) */
|
|
2
2
|
|
|
3
3
|
$text-typeface: var(--42e7c5);
|
|
4
4
|
$text-fontFamily: var(--51aa6f);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@preply/ds-web-core",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
"sideEffects": false,
|
|
13
13
|
"browserslist": "last 2 versions",
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"
|
|
16
|
-
"@preply/ds-core": "14.
|
|
17
|
-
"
|
|
15
|
+
"@preply/ds-core": "14.4.0",
|
|
16
|
+
"@preply/ds-core-types": "14.4.0",
|
|
17
|
+
"styled-components": "6.1.19"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
+
"@preply/ds-core": "14.4.0",
|
|
21
|
+
"@preply/ds-core-types": "14.4.0",
|
|
20
22
|
"react": "^16 || ^18",
|
|
21
|
-
"react-dom": "^16 || ^18"
|
|
22
|
-
"@preply/ds-core-types": "14.3.0",
|
|
23
|
-
"@preply/ds-core": "14.3.0"
|
|
23
|
+
"react-dom": "^16 || ^18"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"clean": "rm -rf dist && rm -rf src/generated",
|