@spaced-out/ui-design-system 0.1.81 → 0.1.83

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.83](https://github.com/spaced-out/ui-design-system/compare/v0.1.82...v0.1.83) (2024-04-10)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * replace contacts2 with meetings on side nav ([#170](https://github.com/spaced-out/ui-design-system/issues/170)) ([4df6293](https://github.com/spaced-out/ui-design-system/commit/4df629387791c798c38f2044f609d13bec212bc2))
11
+
12
+ ### [0.1.82](https://github.com/spaced-out/ui-design-system/compare/v0.1.81...v0.1.82) (2024-04-04)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * 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))
18
+
5
19
  ### [0.1.81](https://github.com/spaced-out/ui-design-system/compare/v0.1.80...v0.1.81) (2024-03-27)
6
20
 
7
21
 
@@ -104,8 +104,8 @@ const PAGE_NAME_LIST = Object.freeze({
104
104
  iconType: 'duotone',
105
105
  iconSwapOpacity: true
106
106
  },
107
- contacts2: {
108
- title: 'Contacts',
107
+ meetings: {
108
+ title: 'Meetings',
109
109
  iconName: 'calendars',
110
110
  iconType: 'duotone',
111
111
  iconSwapOpacity: true
@@ -135,7 +135,7 @@ const PAGE_NAME_LIST = Object.freeze({
135
135
  title: 'Broadcast',
136
136
  iconName: 'bullhorn',
137
137
  iconType: 'duotone',
138
- swapOpacity: true
138
+ iconSwapOpacity: true
139
139
  }
140
140
  });
141
141
  exports.PAGE_NAME_LIST = PAGE_NAME_LIST;
@@ -112,8 +112,8 @@ export const PAGE_NAME_LIST = Object.freeze({
112
112
  iconType: 'duotone',
113
113
  iconSwapOpacity: true,
114
114
  },
115
- contacts2: {
116
- title: 'Contacts',
115
+ meetings: {
116
+ title: 'Meetings',
117
117
  iconName: 'calendars',
118
118
  iconType: 'duotone',
119
119
  iconSwapOpacity: true,
@@ -143,7 +143,7 @@ export const PAGE_NAME_LIST = Object.freeze({
143
143
  title: 'Broadcast',
144
144
  iconName: 'bullhorn',
145
145
  iconType: 'duotone',
146
- swapOpacity: true,
146
+ iconSwapOpacity: true,
147
147
  },
148
148
  });
149
149
 
@@ -84,8 +84,8 @@ const MENU_NAME_LIST = Object.freeze({
84
84
  iconName: 'address-card',
85
85
  iconType: 'duotone'
86
86
  },
87
- contacts2: {
88
- title: 'Contacts',
87
+ meetings: {
88
+ title: 'Meetings',
89
89
  iconName: 'calendars',
90
90
  iconType: 'duotone'
91
91
  },
@@ -80,8 +80,8 @@ export const MENU_NAME_LIST = Object.freeze({
80
80
  iconName: 'address-card',
81
81
  iconType: 'duotone',
82
82
  },
83
- contacts2: {
84
- title: 'Contacts',
83
+ meetings: {
84
+ title: 'Meetings',
85
85
  iconName: 'calendars',
86
86
  iconType: 'duotone',
87
87
  },
@@ -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.81",
3
+ "version": "0.1.83",
4
4
  "main": "index.js",
5
5
  "description": "Sense UI components library",
6
6
  "author": {