@khanacademy/wonder-blocks-dropdown 9.1.3 → 9.1.4

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,11 @@
1
1
  # @khanacademy/wonder-blocks-dropdown
2
2
 
3
+ ## 9.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 887d581: Remove explict height for ActionItem so that it can grow as needed. Also make sure an ActionItem with a single line of text has a height of 40px still.
8
+
3
9
  ## 9.1.3
4
10
 
5
11
  ### Patch Changes
package/dist/es/index.js CHANGED
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { useId } from 'react';
4
4
  import { StyleSheet } from 'aphrodite';
5
5
  import { CompactCell, DetailCell } from '@khanacademy/wonder-blocks-cell';
6
- import { spacing, semanticColor, border, color, font } from '@khanacademy/wonder-blocks-tokens';
6
+ import { spacing, semanticColor, sizing, border, color, font } from '@khanacademy/wonder-blocks-tokens';
7
7
  import { LabelMedium, LabelSmall, LabelLarge } from '@khanacademy/wonder-blocks-typography';
8
8
  import _objectWithoutPropertiesLoose from '@babel/runtime/helpers/objectWithoutPropertiesLoose';
9
9
  import { View, addStyle, keys, Id, useOnMountEffect } from '@khanacademy/wonder-blocks-core';
@@ -153,7 +153,7 @@ const styles$b = StyleSheet.create({
153
153
  },
154
154
  shared: {
155
155
  minHeight: DROPDOWN_ITEM_HEIGHT,
156
- height: DROPDOWN_ITEM_HEIGHT
156
+ paddingBlock: sizing.size_125
157
157
  },
158
158
  label: {
159
159
  whiteSpace: "nowrap",
package/dist/index.js CHANGED
@@ -188,7 +188,7 @@ const styles$b = aphrodite.StyleSheet.create({
188
188
  },
189
189
  shared: {
190
190
  minHeight: DROPDOWN_ITEM_HEIGHT,
191
- height: DROPDOWN_ITEM_HEIGHT
191
+ paddingBlock: wonderBlocksTokens.sizing.size_125
192
192
  },
193
193
  label: {
194
194
  whiteSpace: "nowrap",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-dropdown",
3
- "version": "9.1.3",
3
+ "version": "9.1.4",
4
4
  "design": "v1",
5
5
  "description": "Dropdown variants for Wonder Blocks.",
6
6
  "main": "dist/index.js",
@@ -14,13 +14,13 @@
14
14
  "dependencies": {
15
15
  "@babel/runtime": "^7.24.5",
16
16
  "@khanacademy/wonder-blocks-cell": "4.1.3",
17
- "@khanacademy/wonder-blocks-clickable": "6.1.3",
18
17
  "@khanacademy/wonder-blocks-core": "12.2.0",
19
18
  "@khanacademy/wonder-blocks-icon": "5.1.2",
20
19
  "@khanacademy/wonder-blocks-layout": "3.1.3",
21
20
  "@khanacademy/wonder-blocks-modal": "7.1.3",
22
21
  "@khanacademy/wonder-blocks-pill": "3.1.3",
23
22
  "@khanacademy/wonder-blocks-search-field": "5.1.3",
23
+ "@khanacademy/wonder-blocks-clickable": "6.1.3",
24
24
  "@khanacademy/wonder-blocks-timing": "7.0.1",
25
25
  "@khanacademy/wonder-blocks-tokens": "5.1.0",
26
26
  "@khanacademy/wonder-blocks-typography": "3.1.2"