@volverjs/ui-vue 0.0.10-beta.53 → 0.0.10-beta.55

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.
Files changed (45) hide show
  1. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +13 -1
  2. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
  3. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +9 -0
  4. package/dist/components/VvCheckboxGroup/index.d.ts +4 -0
  5. package/dist/components/VvCombobox/VvCombobox.es.js +357 -357
  6. package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
  7. package/dist/components/VvInputFile/VvInputFile.es.js +17 -3
  8. package/dist/components/VvInputFile/VvInputFile.umd.js +1 -1
  9. package/dist/components/VvInputFile/VvInputFile.vue.d.ts +9 -0
  10. package/dist/components/VvInputFile/index.d.ts +4 -0
  11. package/dist/components/VvInputText/VvInputText.es.js +18 -20
  12. package/dist/components/VvInputText/VvInputText.umd.js +1 -1
  13. package/dist/components/VvRadioGroup/VvRadioGroup.es.js +13 -1
  14. package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
  15. package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +9 -0
  16. package/dist/components/VvRadioGroup/index.d.ts +4 -0
  17. package/dist/components/VvTextarea/VvTextarea.es.js +1296 -397
  18. package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
  19. package/dist/components/VvTextarea/VvTextarea.vue.d.ts +52 -0
  20. package/dist/components/VvTextarea/index.d.ts +37 -1
  21. package/dist/components/index.es.js +421 -261
  22. package/dist/components/index.umd.js +1 -1
  23. package/dist/icons.es.js +3 -3
  24. package/dist/icons.umd.js +1 -1
  25. package/dist/props/index.d.ts +8 -1
  26. package/dist/stories/InputText/InputText.stories.d.ts +2 -0
  27. package/dist/stories/InputText/InputText.test.d.ts +2 -0
  28. package/package.json +23 -23
  29. package/src/assets/icons/detailed.json +1 -1
  30. package/src/assets/icons/normal.json +1 -1
  31. package/src/assets/icons/simple.json +1 -1
  32. package/src/components/VvCheckbox/VvCheckbox.vue +2 -2
  33. package/src/components/VvCheckboxGroup/VvCheckboxGroup.vue +2 -0
  34. package/src/components/VvCombobox/VvCombobox.vue +3 -3
  35. package/src/components/VvInputFile/VvInputFile.vue +12 -8
  36. package/src/components/VvInputFile/index.ts +2 -0
  37. package/src/components/VvInputText/VvInputText.vue +20 -22
  38. package/src/components/VvRadio/VvRadio.vue +2 -2
  39. package/src/components/VvRadioGroup/VvRadioGroup.vue +2 -0
  40. package/src/components/VvTextarea/VvTextarea.vue +109 -6
  41. package/src/components/VvTextarea/index.ts +32 -1
  42. package/src/props/index.ts +2 -1
  43. package/src/stories/InputText/InputText.stories.ts +37 -1
  44. package/src/stories/InputText/InputText.test.ts +18 -0
  45. package/src/stories/Textarea/Textarea.stories.ts +1 -1
@@ -1,8 +1,8 @@
1
- import type { PropType } from 'vue';
2
1
  import type { VvIconProps } from '@/components/VvIcon';
3
2
  import type { AutoPlacementOptions, FlipOptions, OffsetOptions, ShiftOptions, SizeOptions } from '@/types/floating-ui';
4
3
  import type { Option } from '@/types/generic';
5
4
  import type { NavItem } from '@/types/nav';
5
+ import type { PropType } from 'vue';
6
6
  import { ActionTag, ButtonType, Placement, Position, Side, StorageType, Strategy } from '@/constants';
7
7
  export declare const LinkProps: {
8
8
  /**
@@ -721,6 +721,13 @@ export declare const CheckboxRadioGroupProps: {
721
721
  type: BooleanConstructor;
722
722
  default: boolean;
723
723
  };
724
+ /**
725
+ * Whether the form control is required
726
+ */
727
+ required: {
728
+ type: BooleanConstructor;
729
+ default: boolean;
730
+ };
724
731
  /**
725
732
  * Loading status
726
733
  */
@@ -4,6 +4,8 @@ declare const meta: Meta<typeof VvInputText>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof VvInputText>;
6
6
  export declare const Default: Story;
7
+ export declare const Null: Story;
8
+ export declare const Undefined: Story;
7
9
  export declare const Disabled: Story;
8
10
  export declare const Readonly: Story;
9
11
  export declare const Valid: Story;
@@ -1,2 +1,4 @@
1
1
  import type { PlayAttributes } from '@/test/types';
2
+ export declare function checkNullTest({ canvasElement }: PlayAttributes): Promise<void>;
3
+ export declare function checkUndefinedTest({ canvasElement }: PlayAttributes): Promise<void>;
2
4
  export declare function defaultTest({ canvasElement, args }: PlayAttributes): Promise<void>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@volverjs/ui-vue",
3
3
  "type": "module",
4
- "version": "0.0.10-beta.53",
4
+ "version": "0.0.10-beta.55",
5
5
  "description": "@volverjs/ui-vue is a lightweight Vue 3 component library to accompany @volverjs/style.",
6
6
  "author": "8 Wave S.r.l.",
7
7
  "license": "MIT",
@@ -398,41 +398,41 @@
398
398
  "yargs": "^17.7.2"
399
399
  },
400
400
  "devDependencies": {
401
- "@antfu/eslint-config": "^3.8.0",
401
+ "@antfu/eslint-config": "3.8.0",
402
402
  "@babel/core": "^7.26.0",
403
403
  "@babel/preset-env": "^7.26.0",
404
404
  "@babel/preset-typescript": "^7.26.0",
405
405
  "@iconify/types": "^2.0.0",
406
406
  "@iconify/utils": "^2.1.33",
407
407
  "@nabla/vite-plugin-eslint": "^2.0.4",
408
- "@storybook/addon-a11y": "^8.4.2",
409
- "@storybook/addon-actions": "^8.4.2",
410
- "@storybook/addon-docs": "^8.4.2",
411
- "@storybook/addon-essentials": "^8.4.2",
412
- "@storybook/addon-interactions": "^8.4.2",
413
- "@storybook/addon-links": "^8.4.2",
414
- "@storybook/cli": "^8.4.2",
415
- "@storybook/client-logger": "^8.4.2",
416
- "@storybook/core-common": "^8.4.2",
417
- "@storybook/preview-api": "^8.4.2",
418
- "@storybook/test": "^8.4.2",
408
+ "@storybook/addon-a11y": "^8.4.4",
409
+ "@storybook/addon-actions": "^8.4.4",
410
+ "@storybook/addon-docs": "^8.4.4",
411
+ "@storybook/addon-essentials": "^8.4.4",
412
+ "@storybook/addon-interactions": "^8.4.4",
413
+ "@storybook/addon-links": "^8.4.4",
414
+ "@storybook/cli": "^8.4.4",
415
+ "@storybook/client-logger": "^8.4.4",
416
+ "@storybook/core-common": "^8.4.4",
417
+ "@storybook/preview-api": "^8.4.4",
418
+ "@storybook/test": "^8.4.4",
419
419
  "@storybook/test-runner": "^0.19.1",
420
- "@storybook/types": "^8.4.2",
421
- "@storybook/vue3": "^8.4.2",
422
- "@storybook/vue3-vite": "^8.4.2",
420
+ "@storybook/types": "^8.4.4",
421
+ "@storybook/vue3": "^8.4.4",
422
+ "@storybook/vue3-vite": "^8.4.4",
423
423
  "@tsconfig/node18": "^18.2.4",
424
424
  "@types/jest-axe": "^3.5.9",
425
425
  "@types/jsdom": "^21.1.7",
426
- "@types/node": "^22.9.0",
426
+ "@types/node": "^22.9.1",
427
427
  "@types/pica": "^9.0.4",
428
428
  "@types/yargs": "^17.0.33",
429
- "@vitejs/plugin-vue": "^5.1.5",
430
- "@vue/compiler-sfc": "^3.5.12",
429
+ "@vitejs/plugin-vue": "^5.2.0",
430
+ "@vue/compiler-sfc": "^3.5.13",
431
431
  "@vue/eslint-config-typescript": "^14.1.3",
432
432
  "@vue/test-utils": "^2.4.6",
433
433
  "@vue/tsconfig": "^0.6.0",
434
434
  "change-case": "^5.4.4",
435
- "eslint": "^9.14.0",
435
+ "eslint": "^9.15.0",
436
436
  "glob": "7.2.3",
437
437
  "jest-axe": "^9.0.0",
438
438
  "jest-diff": "^29.7.0",
@@ -442,14 +442,14 @@
442
442
  "prettier": "^3.3.3",
443
443
  "pretty-format": "^29.7.0",
444
444
  "remark": "^15.0.1",
445
- "sass": "^1.80.6",
446
- "storybook": "^8.4.2",
445
+ "sass": "^1.81.0",
446
+ "storybook": "^8.4.4",
447
447
  "storybook-addon-markdown-docs": "^2.0.0",
448
448
  "storybook-dark-mode": "^4.0.2",
449
449
  "terser": "^5.36.0",
450
450
  "ts-node": "^10.9.2",
451
451
  "typescript": "~5.6.3",
452
- "unplugin-auto-import": "^0.18.3",
452
+ "unplugin-auto-import": "^0.18.5",
453
453
  "unplugin-vue-components": "^0.27.4",
454
454
  "vite": "^5.4.11",
455
455
  "vite-plugin-externalize-deps": "^0.8.0",