@nectary/components 5.4.0 → 5.4.1

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/bundle.js CHANGED
@@ -5843,7 +5843,7 @@ class Popover extends NectaryElement {
5843
5843
  const slottedContent = this.#getFirstAssignedElementInSlot(this.#$contentSlot);
5844
5844
  const popoverIdReference = `popover-${(/* @__PURE__ */ new Date()).getMilliseconds()}-${Math.round(100 * Math.random())}`;
5845
5845
  if (slottedContent != null && slottedTarget != null) {
5846
- updateAttribute(slottedContent, "aria-lablledby", popoverIdReference);
5846
+ updateAttribute(slottedContent, "aria-labelledby", popoverIdReference);
5847
5847
  }
5848
5848
  if (slottedTarget != null) {
5849
5849
  updateAttribute(slottedTarget, "aria-controls", popoverIdReference);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nectary/components",
3
- "version": "5.4.0",
3
+ "version": "5.4.1",
4
4
  "files": [
5
5
  "**/*/*.css",
6
6
  "**/*/*.json",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.22.15",
27
- "@nectary/assets": "3.1.1"
27
+ "@nectary/assets": "3.1.2"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@babel/cli": "^7.22.15",
package/popover/index.js CHANGED
@@ -38,7 +38,7 @@ class Popover extends NectaryElement {
38
38
  const slottedContent = this.#getFirstAssignedElementInSlot(this.#$contentSlot);
39
39
  const popoverIdReference = `popover-${(/* @__PURE__ */ new Date()).getMilliseconds()}-${Math.round(100 * Math.random())}`;
40
40
  if (slottedContent != null && slottedTarget != null) {
41
- updateAttribute(slottedContent, "aria-lablledby", popoverIdReference);
41
+ updateAttribute(slottedContent, "aria-labelledby", popoverIdReference);
42
42
  }
43
43
  if (slottedTarget != null) {
44
44
  updateAttribute(slottedTarget, "aria-controls", popoverIdReference);
@@ -10,6 +10,8 @@ export type TSinchSelectMenuProps = {
10
10
  multiple?: boolean;
11
11
  /** Enforce the search bar appearing, by default it appears above a certain number of options */
12
12
  searchable?: boolean | null;
13
+ /** Value for the search input */
14
+ 'search-value'?: string;
13
15
  /** Controls the autocomplete of the search input */
14
16
  'search-autocomplete'?: HTMLInputElement['autocomplete'];
15
17
  /** Text for search bar's placeholder */