@spaced-out/ui-design-system 0.1.80 → 0.1.82

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
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.1.82](https://github.com/spaced-out/ui-design-system/compare/v0.1.81...v0.1.82) (2024-04-04)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * onFocus in typeahead ([#169](https://github.com/spaced-out/ui-design-system/issues/169)) ([457983a](https://github.com/spaced-out/ui-design-system/commit/457983aef4a4cb75f96363ee005352f55b380803))
11
+
12
+ ### [0.1.81](https://github.com/spaced-out/ui-design-system/compare/v0.1.80...v0.1.81) (2024-03-27)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * add broadcast to page title ([#167](https://github.com/spaced-out/ui-design-system/issues/167)) ([bb5e1c9](https://github.com/spaced-out/ui-design-system/commit/bb5e1c93f08231b5bf7c68c4e7cf359d73d81a4c))
18
+
5
19
  ### [0.1.80](https://github.com/spaced-out/ui-design-system/compare/v0.1.79...v0.1.80) (2024-02-20)
6
20
 
7
21
 
@@ -130,6 +130,12 @@ const PAGE_NAME_LIST = Object.freeze({
130
130
  title: 'Settings',
131
131
  iconName: 'gear',
132
132
  iconType: 'duotone'
133
+ },
134
+ broadcast: {
135
+ title: 'Broadcast',
136
+ iconName: 'bullhorn',
137
+ iconType: 'duotone',
138
+ swapOpacity: true
133
139
  }
134
140
  });
135
141
  exports.PAGE_NAME_LIST = PAGE_NAME_LIST;
@@ -139,6 +139,12 @@ export const PAGE_NAME_LIST = Object.freeze({
139
139
  iconName: 'gear',
140
140
  iconType: 'duotone',
141
141
  },
142
+ broadcast: {
143
+ title: 'Broadcast',
144
+ iconName: 'bullhorn',
145
+ iconType: 'duotone',
146
+ swapOpacity: true,
147
+ },
142
148
  });
143
149
 
144
150
  export type TabSlotProps = {
@@ -31,6 +31,7 @@ const Typeahead = /*#__PURE__*/React.forwardRef((_ref, ref) => {
31
31
  typeaheadInputText = '',
32
32
  isLoading,
33
33
  menuOpenOffset = 1,
34
+ onFocus,
34
35
  ...inputProps
35
36
  } = _ref;
36
37
  const [filteredOptions, setFilteredOptions] = React.useState(menu?.options);
@@ -97,6 +98,7 @@ const Typeahead = /*#__PURE__*/React.forwardRef((_ref, ref) => {
97
98
  } else {
98
99
  clickAway();
99
100
  }
101
+ onFocus?.(_e);
100
102
  },
101
103
  onClear: _e => {
102
104
  onClear?.();
@@ -59,6 +59,7 @@ export const Typeahead: React$AbstractComponent<
59
59
  typeaheadInputText = '',
60
60
  isLoading,
61
61
  menuOpenOffset = 1,
62
+ onFocus,
62
63
  ...inputProps
63
64
  }: TypeaheadProps,
64
65
  ref,
@@ -125,6 +126,7 @@ export const Typeahead: React$AbstractComponent<
125
126
  } else {
126
127
  clickAway();
127
128
  }
129
+ onFocus?.(_e);
128
130
  }}
129
131
  onClear={(_e) => {
130
132
  onClear?.();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaced-out/ui-design-system",
3
- "version": "0.1.80",
3
+ "version": "0.1.82",
4
4
  "main": "index.js",
5
5
  "description": "Sense UI components library",
6
6
  "author": {