@spaced-out/ui-design-system 0.4.6 → 0.4.7

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,13 @@
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.4.7](https://github.com/spaced-out/ui-design-system/compare/v0.4.6...v0.4.7) (2025-07-24)
6
+
7
+
8
+ ### Features
9
+
10
+ * static lables for simple dropdown ([#376](https://github.com/spaced-out/ui-design-system/issues/376)) ([397a108](https://github.com/spaced-out/ui-design-system/commit/397a1089b95bc3d5136cc81bd4a35c39f42d4fd5))
11
+
5
12
  ### [0.4.6](https://github.com/spaced-out/ui-design-system/compare/v0.4.5...v0.4.6) (2025-07-24)
6
13
 
7
14
  ### [0.4.5](https://github.com/spaced-out/ui-design-system/compare/v0.4.4...v0.4.5) (2025-07-24)
@@ -32,6 +32,7 @@ const SimpleDropdownBase = (props, ref) => {
32
32
  showLabelTooltip,
33
33
  clickAwayRef,
34
34
  allowWrap = false,
35
+ staticLabels,
35
36
  ...inputProps
36
37
  } = props;
37
38
  const [dropdownInputText, setDropdownInputText] = React.useState('');
@@ -83,7 +84,8 @@ const SimpleDropdownBase = (props, ref) => {
83
84
  footer,
84
85
  classNames: menuClassNames,
85
86
  showLabelTooltip,
86
- allowWrap
87
+ allowWrap,
88
+ staticLabels
87
89
  }
88
90
  }));
89
91
  };
@@ -44,6 +44,11 @@ export type SimpleDropdownProps = {
44
44
  menuClassNames?: MenuClassNames,
45
45
  showLabelTooltip?: MenuLabelTooltip,
46
46
  allowWrap?: boolean,
47
+ staticLabels?: {
48
+ RESULT?: string,
49
+ RESULTS?: string,
50
+ SEARCH_PLACEHOLDER?: string,
51
+ },
47
52
 
48
53
  // events
49
54
  onChange?: (option: MenuOption, ?SyntheticEvent<HTMLElement>) => mixed,
@@ -79,6 +84,7 @@ const SimpleDropdownBase = (props: SimpleDropdownProps, ref) => {
79
84
  showLabelTooltip,
80
85
  clickAwayRef,
81
86
  allowWrap = false,
87
+ staticLabels,
82
88
  ...inputProps
83
89
  } = props;
84
90
 
@@ -150,6 +156,7 @@ const SimpleDropdownBase = (props: SimpleDropdownProps, ref) => {
150
156
  classNames: menuClassNames,
151
157
  showLabelTooltip,
152
158
  allowWrap,
159
+ staticLabels,
153
160
  }}
154
161
  />
155
162
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaced-out/ui-design-system",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "main": "index.js",
5
5
  "description": "Sense UI components library",
6
6
  "author": {