vueless 0.0.114 → 0.0.116

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 (50) hide show
  1. package/assets/icons/image.svg +1 -0
  2. package/package.json +1 -1
  3. package/ui.container-accordion/Docs.mdx +16 -0
  4. package/ui.container-group/composables/attrs.composable.js +6 -1
  5. package/ui.container-group/configs/default.config.js +19 -5
  6. package/ui.container-group/index.stories.js +9 -10
  7. package/ui.container-group/index.vue +15 -6
  8. package/ui.container-groups/composables/attrs.composable.js +19 -2
  9. package/ui.container-groups/configs/default.config.js +24 -1
  10. package/ui.container-groups/constants/index.js +5 -0
  11. package/ui.container-groups/index.stories.js +13 -13
  12. package/ui.container-groups/index.vue +24 -2
  13. package/ui.container-row/index.stories.js +10 -9
  14. package/ui.container-row/index.vue +3 -3
  15. package/ui.data-list/Docs.mdx +16 -0
  16. package/ui.form-checkbox/index.stories.js +2 -2
  17. package/ui.form-color-picker/Docs.mdx +16 -0
  18. package/ui.form-date-picker-range/Docs.mdx +16 -0
  19. package/ui.form-input/index.stories.js +1 -1
  20. package/ui.form-input-file/Docs.mdx +16 -0
  21. package/ui.form-input-money/index.stories.js +1 -1
  22. package/ui.form-input-number/index.stories.js +1 -1
  23. package/ui.form-input-rating/Docs.mdx +16 -0
  24. package/ui.form-input-search/Docs.mdx +16 -0
  25. package/ui.form-switch/Docs.mdx +16 -0
  26. package/ui.form-textarea/index.stories.js +1 -1
  27. package/ui.image-avatar/Docs.mdx +16 -0
  28. package/ui.image-avatar/composables/attrs.composable.js +2 -0
  29. package/ui.image-avatar/configs/default.config.js +19 -12
  30. package/ui.image-avatar/index.stories.js +82 -42
  31. package/ui.image-avatar/index.vue +53 -39
  32. package/ui.image-icon/index.vue +6 -9
  33. package/ui.image-logo/Docs.mdx +16 -0
  34. package/ui.loader/Docs.mdx +16 -0
  35. package/ui.loader-top/configs/default.config.js +5 -1
  36. package/ui.loader-top/index.vue +1 -1
  37. package/ui.navigation-pagination/Docs.mdx +16 -0
  38. package/ui.navigation-progress/Docs.mdx +16 -0
  39. package/ui.navigation-progress/configs/default.config.js +7 -7
  40. package/ui.navigation-progress/index.vue +17 -0
  41. package/ui.navigation-stepper/Docs.mdx +16 -0
  42. package/ui.navigation-tab/Docs.mdx +16 -0
  43. package/ui.navigation-tabs/Docs.mdx +16 -0
  44. package/ui.other-dot/Docs.mdx +16 -0
  45. package/ui.text-alert/Docs.mdx +16 -0
  46. package/ui.text-block/Docs.mdx +16 -0
  47. package/ui.text-file/Docs.mdx +16 -0
  48. package/ui.text-files/Docs.mdx +16 -0
  49. package/web-types.json +82 -33
  50. package/ui.image-avatar/default-avatar.png +0 -0
@@ -0,0 +1,16 @@
1
+ import { Meta, Title, Subtitle, Description, Primary, Controls, Stories, Source } from "@storybook/blocks";
2
+ import { getSource } from "../service.storybook";
3
+
4
+ import * as stories from "./index.stories";
5
+ import defaultConfig from "./configs/default.config?raw"
6
+
7
+ <Meta of={stories} />
8
+ <Title of={stories} />
9
+ <Subtitle of={stories} />
10
+ <Description of={stories} />
11
+ <Primary of={stories} />
12
+ <Controls of={stories.Default} />
13
+ <Stories of={stories} />
14
+
15
+ ## **Default config**
16
+ <Source code={getSource(defaultConfig)} language="jsx" dark />
@@ -0,0 +1,16 @@
1
+ import { Meta, Title, Subtitle, Description, Primary, Controls, Stories, Source } from "@storybook/blocks";
2
+ import { getSource } from "../service.storybook";
3
+
4
+ import * as stories from "./index.stories";
5
+ import defaultConfig from "./configs/default.config?raw"
6
+
7
+ <Meta of={stories} />
8
+ <Title of={stories} />
9
+ <Subtitle of={stories} />
10
+ <Description of={stories} />
11
+ <Primary of={stories} />
12
+ <Controls of={stories.Default} />
13
+ <Stories of={stories} />
14
+
15
+ ## **Default config**
16
+ <Source code={getSource(defaultConfig)} language="jsx" dark />
@@ -0,0 +1,16 @@
1
+ import { Meta, Title, Subtitle, Description, Primary, Controls, Stories, Source } from "@storybook/blocks";
2
+ import { getSource } from "../service.storybook";
3
+
4
+ import * as stories from "./index.stories";
5
+ import defaultConfig from "./configs/default.config?raw"
6
+
7
+ <Meta of={stories} />
8
+ <Title of={stories} />
9
+ <Subtitle of={stories} />
10
+ <Description of={stories} />
11
+ <Primary of={stories} />
12
+ <Controls of={stories.Default} />
13
+ <Stories of={stories} />
14
+
15
+ ## **Default config**
16
+ <Source code={getSource(defaultConfig)} language="jsx" dark />
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.114",
4
+ "version": "0.0.116",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -349,7 +349,7 @@
349
349
  "attributes": [
350
350
  {
351
351
  "name": "src",
352
- "description": "Set avatar's image. It may be a URL or path from the \"public\" folder.",
352
+ "description": "Avatar image source.",
353
353
  "value": {
354
354
  "kind": "expression",
355
355
  "type": "string"
@@ -357,53 +357,71 @@
357
357
  "default": "\"\""
358
358
  },
359
359
  {
360
- "name": "size",
361
- "description": "The size of the avatar.",
360
+ "name": "label",
361
+ "description": "Avatar label (user name, nickname, etc.).",
362
362
  "value": {
363
363
  "kind": "expression",
364
- "type": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'"
364
+ "type": "string"
365
365
  },
366
- "default": "md"
366
+ "default": "\"\""
367
367
  },
368
368
  {
369
- "name": "color",
370
- "description": "The color of the avatar.",
369
+ "name": "icon",
370
+ "description": "Avatar icon placeholder.",
371
371
  "value": {
372
372
  "kind": "expression",
373
- "type": "'brand' | 'grayscale' | 'gray' | 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose' | 'white'"
373
+ "type": "string"
374
374
  },
375
- "default": "grayscale"
375
+ "default": "image"
376
376
  },
377
377
  {
378
- "name": "label",
379
- "description": "Avatar label (user name, nickname, etc.).",
378
+ "name": "size",
379
+ "description": "Avatar size.",
380
380
  "value": {
381
381
  "kind": "expression",
382
- "type": "string"
382
+ "type": "'3xs' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl'"
383
383
  },
384
- "default": "\"\""
384
+ "default": "md"
385
+ },
386
+ {
387
+ "name": "color",
388
+ "description": "Avatar color.",
389
+ "value": {
390
+ "kind": "expression",
391
+ "type": "'brand' | 'grayscale' | 'gray' | 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose' | 'white'"
392
+ },
393
+ "default": "grayscale"
385
394
  },
386
395
  {
387
396
  "name": "rounded",
388
- "description": "The rounded of the avatar.",
397
+ "description": "Avatar corner rounding.",
389
398
  "value": {
390
399
  "kind": "expression",
391
- "type": "'sm' | 'md' | 'lg' | 'full'"
400
+ "type": "'none' | 'sm' | 'md' | 'lg' | 'full'"
392
401
  },
393
402
  "default": "md"
394
403
  },
395
404
  {
396
405
  "name": "bordered",
397
- "description": "Active / disabled avatar border.",
406
+ "description": "Add border to the avatar.",
398
407
  "value": {
399
408
  "kind": "expression",
400
409
  "type": "boolean"
401
410
  },
402
411
  "default": "false"
403
412
  },
413
+ {
414
+ "name": "config",
415
+ "description": "Component ui config object.",
416
+ "value": {
417
+ "kind": "expression",
418
+ "type": "object"
419
+ },
420
+ "default": "{}"
421
+ },
404
422
  {
405
423
  "name": "dataCy",
406
- "description": "Sets data-cy attribute for automated testing.",
424
+ "description": "Data-cy attribute for automated testing.",
407
425
  "value": {
408
426
  "kind": "expression",
409
427
  "type": "string"
@@ -2889,14 +2907,23 @@
2889
2907
  "default": "\"\""
2890
2908
  },
2891
2909
  {
2892
- "name": "size",
2893
- "description": "The distance between nested components.",
2910
+ "name": "gap",
2911
+ "description": "The distance between nested elements.",
2894
2912
  "value": {
2895
2913
  "kind": "expression",
2896
- "type": "'sm' | 'md' | 'lg'"
2914
+ "type": "'none' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'"
2897
2915
  },
2898
2916
  "default": "md"
2899
2917
  },
2918
+ {
2919
+ "name": "align",
2920
+ "description": "Nested items align (flex align-items).",
2921
+ "value": {
2922
+ "kind": "expression",
2923
+ "type": "'start' | 'end' | 'center' | 'stretch' | 'baseline'"
2924
+ },
2925
+ "default": "start"
2926
+ },
2900
2927
  {
2901
2928
  "name": "upperlined",
2902
2929
  "description": "Show line above the header.",
@@ -2917,7 +2944,7 @@
2917
2944
  },
2918
2945
  {
2919
2946
  "name": "config",
2920
- "description": "Set component ui config object.",
2947
+ "description": "Component ui config object.",
2921
2948
  "value": {
2922
2949
  "kind": "expression",
2923
2950
  "type": "object"
@@ -2926,7 +2953,7 @@
2926
2953
  },
2927
2954
  {
2928
2955
  "name": "dataCy",
2929
- "description": "Set data-cy attribute for automated testing.",
2956
+ "description": "Data-cy attribute for automated testing.",
2930
2957
  "value": {
2931
2958
  "kind": "expression",
2932
2959
  "type": "string"
@@ -2965,9 +2992,27 @@
2965
2992
  "name": "UGroups",
2966
2993
  "description": "",
2967
2994
  "attributes": [
2995
+ {
2996
+ "name": "gap",
2997
+ "description": "The distance between nested elements.",
2998
+ "value": {
2999
+ "kind": "expression",
3000
+ "type": "'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl'"
3001
+ },
3002
+ "default": "md"
3003
+ },
3004
+ {
3005
+ "name": "align",
3006
+ "description": "Nested items align (flex align-items).",
3007
+ "value": {
3008
+ "kind": "expression",
3009
+ "type": "'start' | 'end' | 'center' | 'stretch' | 'baseline'"
3010
+ },
3011
+ "default": "start"
3012
+ },
2968
3013
  {
2969
3014
  "name": "config",
2970
- "description": "Set component ui config object.",
3015
+ "description": "Component ui config object.",
2971
3016
  "value": {
2972
3017
  "kind": "expression",
2973
3018
  "type": "object"
@@ -2976,7 +3021,7 @@
2976
3021
  },
2977
3022
  {
2978
3023
  "name": "dataCy",
2979
- "description": "Set data-cy attribute for automated testing.",
3024
+ "description": "Data-cy attribute for automated testing.",
2980
3025
  "value": {
2981
3026
  "kind": "expression",
2982
3027
  "type": "string"
@@ -4502,9 +4547,9 @@
4502
4547
  "description": "The color of the loader stripe.",
4503
4548
  "value": {
4504
4549
  "kind": "expression",
4505
- "type": "'gray' | 'red' | 'orange' | 'yellow' | 'green' | 'blue' | 'violet' | 'fuchsia'"
4550
+ "type": "'brand' | 'grayscale' | 'gray' | 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose' | 'white'"
4506
4551
  },
4507
- "default": "blue"
4552
+ "default": "brand"
4508
4553
  }
4509
4554
  ],
4510
4555
  "source": {
@@ -5415,6 +5460,7 @@
5415
5460
  {
5416
5461
  "name": "value",
5417
5462
  "required": true,
5463
+ "description": "Progress value (current step).",
5418
5464
  "value": {
5419
5465
  "kind": "expression",
5420
5466
  "type": "number"
@@ -5423,6 +5469,7 @@
5423
5469
  },
5424
5470
  {
5425
5471
  "name": "max",
5472
+ "description": "Progress max amount of steps.",
5426
5473
  "value": {
5427
5474
  "kind": "expression",
5428
5475
  "type": "number"
@@ -5431,19 +5478,21 @@
5431
5478
  },
5432
5479
  {
5433
5480
  "name": "size",
5481
+ "description": "Progress size.",
5434
5482
  "value": {
5435
5483
  "kind": "expression",
5436
- "type": "string"
5484
+ "type": "'2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'"
5437
5485
  },
5438
5486
  "default": "md"
5439
5487
  },
5440
5488
  {
5441
5489
  "name": "color",
5490
+ "description": "Progress color.",
5442
5491
  "value": {
5443
5492
  "kind": "expression",
5444
- "type": "string"
5493
+ "type": "'brand' | 'grayscale' | 'gray' | 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose' | 'white'"
5445
5494
  },
5446
- "default": "green"
5495
+ "default": "brand"
5447
5496
  }
5448
5497
  ],
5449
5498
  "source": {
@@ -5818,7 +5867,7 @@
5818
5867
  },
5819
5868
  {
5820
5869
  "name": "align",
5821
- "description": "Row nested elements vertical align (align-items).",
5870
+ "description": "Nested items align (flex align-items).",
5822
5871
  "value": {
5823
5872
  "kind": "expression",
5824
5873
  "type": "'start' | 'end' | 'center' | 'stretch' | 'baseline'"
@@ -5836,7 +5885,7 @@
5836
5885
  },
5837
5886
  {
5838
5887
  "name": "config",
5839
- "description": "Sets component ui config object.",
5888
+ "description": "Component ui config object.",
5840
5889
  "value": {
5841
5890
  "kind": "expression",
5842
5891
  "type": "object"
@@ -5845,7 +5894,7 @@
5845
5894
  },
5846
5895
  {
5847
5896
  "name": "dataCy",
5848
- "description": "Sets data-cy attribute for automated testing.",
5897
+ "description": "Data-cy attribute for automated testing.",
5849
5898
  "value": {
5850
5899
  "kind": "expression",
5851
5900
  "type": "string"
Binary file