@helpai/elements 0.36.1 → 0.36.2

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/index.mjs CHANGED
@@ -4163,7 +4163,7 @@ function themeIcon(mode) {
4163
4163
  return /* @__PURE__ */ jsx9(ThemeAutoIcon, {});
4164
4164
  }
4165
4165
  function localeCode(locale) {
4166
- return (locale.split("-")[0] || locale).toUpperCase();
4166
+ return (locale.split("-")[0] ?? locale).toUpperCase();
4167
4167
  }
4168
4168
  function HeaderActions({ panelProps, variant }) {
4169
4169
  const { options, panelSize, feedback, onClose, onClear, onExpand, onFullscreen, onPopOut, onSoundToggle } = panelProps;
package/package.json CHANGED
@@ -80,5 +80,5 @@
80
80
  ],
81
81
  "type": "module",
82
82
  "types": "./index.d.ts",
83
- "version": "0.36.1"
83
+ "version": "0.36.2"
84
84
  }
package/web-component.mjs CHANGED
@@ -4122,7 +4122,7 @@ function themeIcon(mode) {
4122
4122
  return /* @__PURE__ */ jsx9(ThemeAutoIcon, {});
4123
4123
  }
4124
4124
  function localeCode(locale) {
4125
- return (locale.split("-")[0] || locale).toUpperCase();
4125
+ return (locale.split("-")[0] ?? locale).toUpperCase();
4126
4126
  }
4127
4127
  function HeaderActions({ panelProps, variant }) {
4128
4128
  const { options, panelSize, feedback, onClose, onClear, onExpand, onFullscreen, onPopOut, onSoundToggle } = panelProps;