@khanacademy/wonder-blocks-dropdown 10.0.2 → 10.0.3

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
@@ -1,5 +1,22 @@
1
1
  # @khanacademy/wonder-blocks-dropdown
2
2
 
3
+ ## 10.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [2656fd4]
8
+ - Updated dependencies [7bbf311]
9
+ - Updated dependencies [6018552]
10
+ - Updated dependencies [7bbf311]
11
+ - Updated dependencies [7f79943]
12
+ - @khanacademy/wonder-blocks-tokens@9.0.0
13
+ - @khanacademy/wonder-blocks-pill@3.1.10
14
+ - @khanacademy/wonder-blocks-cell@4.1.10
15
+ - @khanacademy/wonder-blocks-clickable@7.0.3
16
+ - @khanacademy/wonder-blocks-layout@3.1.9
17
+ - @khanacademy/wonder-blocks-modal@7.1.11
18
+ - @khanacademy/wonder-blocks-search-field@5.1.11
19
+
3
20
  ## 10.0.2
4
21
 
5
22
  ### Patch Changes
package/dist/es/index.js CHANGED
@@ -1871,7 +1871,7 @@ const _generateStyles = (placeholder, error) => {
1871
1871
  const actionType = error ? "destructive" : "progressive";
1872
1872
  const action = semanticColor.action.secondary[actionType];
1873
1873
  const sharedOutlineStyling = {
1874
- outlineOffset: `-${border.width.medium}`,
1874
+ outlineOffset: `calc(${border.width.medium} * -1)`,
1875
1875
  outlineStyle: "solid",
1876
1876
  outlineWidth: border.width.medium
1877
1877
  };
package/dist/index.js CHANGED
@@ -1906,7 +1906,7 @@ const _generateStyles = (placeholder, error) => {
1906
1906
  const actionType = error ? "destructive" : "progressive";
1907
1907
  const action = wonderBlocksTokens.semanticColor.action.secondary[actionType];
1908
1908
  const sharedOutlineStyling = {
1909
- outlineOffset: `-${wonderBlocksTokens.border.width.medium}`,
1909
+ outlineOffset: `calc(${wonderBlocksTokens.border.width.medium} * -1)`,
1910
1910
  outlineStyle: "solid",
1911
1911
  outlineWidth: wonderBlocksTokens.border.width.medium
1912
1912
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-dropdown",
3
- "version": "10.0.2",
3
+ "version": "10.0.3",
4
4
  "design": "v1",
5
5
  "description": "Dropdown variants for Wonder Blocks.",
6
6
  "main": "dist/index.js",
@@ -14,16 +14,16 @@
14
14
  "dependencies": {
15
15
  "@babel/runtime": "^7.24.5",
16
16
  "@khanacademy/wonder-blocks-announcer": "1.0.1",
17
- "@khanacademy/wonder-blocks-cell": "4.1.9",
18
- "@khanacademy/wonder-blocks-clickable": "7.0.2",
17
+ "@khanacademy/wonder-blocks-cell": "4.1.10",
18
+ "@khanacademy/wonder-blocks-clickable": "7.0.3",
19
19
  "@khanacademy/wonder-blocks-core": "12.2.1",
20
20
  "@khanacademy/wonder-blocks-icon": "5.1.3",
21
- "@khanacademy/wonder-blocks-layout": "3.1.8",
22
- "@khanacademy/wonder-blocks-modal": "7.1.10",
23
- "@khanacademy/wonder-blocks-pill": "3.1.9",
24
- "@khanacademy/wonder-blocks-search-field": "5.1.10",
21
+ "@khanacademy/wonder-blocks-layout": "3.1.9",
22
+ "@khanacademy/wonder-blocks-modal": "7.1.11",
23
+ "@khanacademy/wonder-blocks-pill": "3.1.10",
24
+ "@khanacademy/wonder-blocks-search-field": "5.1.11",
25
25
  "@khanacademy/wonder-blocks-timing": "7.0.2",
26
- "@khanacademy/wonder-blocks-tokens": "8.0.0",
26
+ "@khanacademy/wonder-blocks-tokens": "9.0.0",
27
27
  "@khanacademy/wonder-blocks-typography": "3.1.3"
28
28
  },
29
29
  "peerDependencies": {