@instructure/ui-select 10.8.1-snapshot-4 → 10.9.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 CHANGED
@@ -3,9 +3,13 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [10.8.1-snapshot-4](https://github.com/instructure/instructure-ui/compare/v10.8.0...v10.8.1-snapshot-4) (2024-12-12)
6
+ # [10.9.0](https://github.com/instructure/instructure-ui/compare/v10.8.0...v10.9.0) (2024-12-12)
7
7
 
8
- **Note:** Version bump only for package @instructure/ui-select
8
+
9
+ ### Features
10
+
11
+ * **many:** make meta package export every component and type definition ([dee9abb](https://github.com/instructure/instructure-ui/commit/dee9abb9cbffa4abc9edf48fb7d8ad41fea385b4))
12
+ * **shared-types,ui-options,ui-select:** allow to change font weight of selected option item in Select ([6818928](https://github.com/instructure/instructure-ui/commit/6818928536ad0145516c8d7d25eb8079c84089b6))
9
13
 
10
14
 
11
15
 
@@ -312,6 +312,7 @@ let Select = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, gen
312
312
  // should option be treated as highlighted or selected
313
313
  if (isSelected) {
314
314
  optionProps.variant = 'selected';
315
+ optionProps.isSelected = true;
315
316
  } else if (isHighlighted) {
316
317
  optionProps.variant = 'highlighted';
317
318
  }
package/es/index.js CHANGED
@@ -22,4 +22,6 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- export { Select } from './Select';
25
+ export { Select } from './Select';
26
+ export { Group as SelectGroup } from './Select/Group';
27
+ export { Option as SelectOption } from './Select/Option';
@@ -324,6 +324,7 @@ let Select = exports.Select = (_dec = (0, _withDeterministicId.withDeterministic
324
324
  // should option be treated as highlighted or selected
325
325
  if (isSelected) {
326
326
  optionProps.variant = 'selected';
327
+ optionProps.isSelected = true;
327
328
  } else if (isHighlighted) {
328
329
  optionProps.variant = 'highlighted';
329
330
  }
package/lib/index.js CHANGED
@@ -9,4 +9,18 @@ Object.defineProperty(exports, "Select", {
9
9
  return _Select.Select;
10
10
  }
11
11
  });
12
- var _Select = require("./Select");
12
+ Object.defineProperty(exports, "SelectGroup", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _Group.Group;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "SelectOption", {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _Option.Option;
22
+ }
23
+ });
24
+ var _Select = require("./Select");
25
+ var _Group = require("./Select/Group");
26
+ var _Option = require("./Select/Option");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-select",
3
- "version": "10.8.1-snapshot-4",
3
+ "version": "10.9.0",
4
4
  "description": "A component for select and autocomplete behavior.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,13 +23,13 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-axe-check": "10.8.1-snapshot-4",
27
- "@instructure/ui-babel-preset": "10.8.1-snapshot-4",
28
- "@instructure/ui-color-utils": "10.8.1-snapshot-4",
29
- "@instructure/ui-scripts": "10.8.1-snapshot-4",
30
- "@instructure/ui-test-locator": "10.8.1-snapshot-4",
31
- "@instructure/ui-test-utils": "10.8.1-snapshot-4",
32
- "@instructure/ui-themes": "10.8.1-snapshot-4",
26
+ "@instructure/ui-axe-check": "10.9.0",
27
+ "@instructure/ui-babel-preset": "10.9.0",
28
+ "@instructure/ui-color-utils": "10.9.0",
29
+ "@instructure/ui-scripts": "10.9.0",
30
+ "@instructure/ui-test-locator": "10.9.0",
31
+ "@instructure/ui-test-utils": "10.9.0",
32
+ "@instructure/ui-themes": "10.9.0",
33
33
  "@testing-library/jest-dom": "^6.6.3",
34
34
  "@testing-library/react": "^16.0.1",
35
35
  "@testing-library/user-event": "^14.5.2",
@@ -37,22 +37,22 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@babel/runtime": "^7.26.0",
40
- "@instructure/emotion": "10.8.1-snapshot-4",
41
- "@instructure/shared-types": "10.8.1-snapshot-4",
42
- "@instructure/ui-dom-utils": "10.8.1-snapshot-4",
43
- "@instructure/ui-form-field": "10.8.1-snapshot-4",
44
- "@instructure/ui-icons": "10.8.1-snapshot-4",
45
- "@instructure/ui-options": "10.8.1-snapshot-4",
46
- "@instructure/ui-popover": "10.8.1-snapshot-4",
47
- "@instructure/ui-position": "10.8.1-snapshot-4",
48
- "@instructure/ui-prop-types": "10.8.1-snapshot-4",
49
- "@instructure/ui-react-utils": "10.8.1-snapshot-4",
50
- "@instructure/ui-selectable": "10.8.1-snapshot-4",
51
- "@instructure/ui-testable": "10.8.1-snapshot-4",
52
- "@instructure/ui-text-input": "10.8.1-snapshot-4",
53
- "@instructure/ui-utils": "10.8.1-snapshot-4",
54
- "@instructure/ui-view": "10.8.1-snapshot-4",
55
- "@instructure/uid": "10.8.1-snapshot-4",
40
+ "@instructure/emotion": "10.9.0",
41
+ "@instructure/shared-types": "10.9.0",
42
+ "@instructure/ui-dom-utils": "10.9.0",
43
+ "@instructure/ui-form-field": "10.9.0",
44
+ "@instructure/ui-icons": "10.9.0",
45
+ "@instructure/ui-options": "10.9.0",
46
+ "@instructure/ui-popover": "10.9.0",
47
+ "@instructure/ui-position": "10.9.0",
48
+ "@instructure/ui-prop-types": "10.9.0",
49
+ "@instructure/ui-react-utils": "10.9.0",
50
+ "@instructure/ui-selectable": "10.9.0",
51
+ "@instructure/ui-testable": "10.9.0",
52
+ "@instructure/ui-text-input": "10.9.0",
53
+ "@instructure/ui-utils": "10.9.0",
54
+ "@instructure/ui-view": "10.9.0",
55
+ "@instructure/uid": "10.9.0",
56
56
  "prop-types": "^15.8.1"
57
57
  },
58
58
  "peerDependencies": {
@@ -425,6 +425,7 @@ class Select extends Component<SelectProps> {
425
425
  // should option be treated as highlighted or selected
426
426
  if (isSelected) {
427
427
  optionProps.variant = 'selected'
428
+ optionProps.isSelected = true
428
429
  } else if (isHighlighted) {
429
430
  optionProps.variant = 'highlighted'
430
431
  }
package/src/index.ts CHANGED
@@ -23,6 +23,8 @@
23
23
  */
24
24
 
25
25
  export { Select } from './Select'
26
+ export { Group as SelectGroup } from './Select/Group'
27
+ export { Option as SelectOption } from './Select/Option'
26
28
 
27
29
  export type { SelectProps, SelectOwnProps } from './Select/props'
28
30
  export type { SelectGroupProps } from './Select/Group/props'