@nova-design-system/nova-vue 3.0.0-beta.29 → 3.0.0-beta.31

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.
@@ -222,7 +222,7 @@ export const NvFieldtext = /*@__PURE__*/ defineContainer('nv-fieldtext', undefin
222
222
  export const NvFieldtextarea = /*@__PURE__*/ defineContainer('nv-fieldtextarea', undefined, [
223
223
  'message',
224
224
  'validation',
225
- 'textareaId',
225
+ 'inputId',
226
226
  'label',
227
227
  'description',
228
228
  'placeholder',
package/dist/plugin.js CHANGED
@@ -9,14 +9,16 @@
9
9
  * properly transformed, allowing Stencil components to work seamlessly in Vue.
10
10
  */
11
11
  import { defineCustomElements } from '@nova-design-system/nova-webcomponents/loader';
12
- import * as stringUtils from 'nova-utils/lib/string.utils';
13
12
  /**
14
13
  * Transforms the event name to kebab-case.
15
14
  * @param {string} eventName - The name of the event.
16
15
  * @returns {string} The transformed event name.
17
16
  */
18
17
  const transformEventName = (eventName) => {
19
- return stringUtils.toKebabCase(eventName);
18
+ return eventName
19
+ .replace(/([a-z])([A-Z])/g, '$1-$2')
20
+ .replace(/[\s_]+/g, '-')
21
+ .toLowerCase();
20
22
  };
21
23
  /**
22
24
  * Custom add event listener function that transforms the event name
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nova-design-system/nova-vue",
3
- "version": "3.0.0-beta.29",
3
+ "version": "3.0.0-beta.31",
4
4
  "description": "Nova is a design system created by Elia Group to empower creators to efficiently build solutions that people love to use.",
5
5
  "author": "Elia Group",
6
6
  "homepage": "https://nova.eliagroup.io",