@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/elements-web-component.esm.js +1 -1
- package/elements-web-component.esm.js.map +1 -1
- package/elements.cjs.js +1 -1
- package/elements.cjs.js.map +1 -1
- package/elements.esm.js +1 -1
- package/elements.esm.js.map +1 -1
- package/elements.js +1 -1
- package/elements.js.map +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
- package/web-component.mjs +1 -1
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]
|
|
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
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]
|
|
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;
|