@vcita/design-system 0.1.5 → 0.2.3-beta.1

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 (107) hide show
  1. package/CHANGELOG.MD +57 -0
  2. package/README.md +2 -11
  3. package/config/locales/ds.de.yml +6 -0
  4. package/config/locales/ds.en.yml +8 -0
  5. package/config/locales/ds.es.yml +6 -0
  6. package/config/locales/ds.fr.yml +6 -0
  7. package/config/locales/ds.he.yml +6 -0
  8. package/config/locales/ds.it.yml +6 -0
  9. package/config/locales/ds.keys.yml +6 -0
  10. package/config/locales/ds.nl.yml +6 -0
  11. package/config/locales/ds.pl.yml +6 -0
  12. package/config/locales/ds.pseudo.yml +6 -0
  13. package/config/locales/ds.pt.yml +6 -0
  14. package/config/locales/ds.ru.yml +6 -0
  15. package/config/locales/ds.sl.yml +6 -0
  16. package/config/locales/ds.tr.yml +6 -0
  17. package/config/locales/ds.zun.yml +6 -0
  18. package/dist/@vcita/design-system.esm.js +2023 -727
  19. package/dist/@vcita/design-system.min.js +1 -1
  20. package/dist/@vcita/design-system.ssr.js +1877 -677
  21. package/init/DesignSystem.js +15 -3
  22. package/init/SvgIcons.js +23 -0
  23. package/init/initI18n.js +48 -0
  24. package/init/svgImages.js +11 -0
  25. package/init/vuetify.config.js +7 -31
  26. package/package.json +8 -3
  27. package/src/components/VcActions/VcActions.vue +7 -5
  28. package/src/components/VcAvatar/VcAvatar.spec.js +1 -1
  29. package/src/components/VcBanner/VcBanner.spec.js +80 -0
  30. package/src/components/VcBanner/VcBanner.stories.js +43 -0
  31. package/src/components/VcBanner/VcBanner.vue +78 -0
  32. package/src/components/VcButton/VcButton.stories.js +83 -20
  33. package/src/components/VcButton/VcButton.vue +5 -4
  34. package/src/components/VcButtonGroup/VcButtonGroup.spec.js +1 -1
  35. package/src/components/VcCheckbox/VcCheckbox.vue +4 -4
  36. package/src/components/VcEmptyState/VcEmptyState.spec.js +91 -0
  37. package/src/components/VcEmptyState/VcEmptyState.stories.js +57 -0
  38. package/src/components/VcEmptyState/VcEmptyState.vue +134 -0
  39. package/src/components/VcFilterPanel/VcFilterPanel.spec.js +80 -0
  40. package/src/components/VcFilterPanel/VcFilterPanel.stories.js +40 -0
  41. package/src/components/VcFilterPanel/VcFilterPanel.vue +135 -0
  42. package/src/components/VcForm/VcForm.stories.js +0 -1
  43. package/src/components/VcIcon/VcIcon.stories.js +11 -4
  44. package/src/components/VcIcon/VcIcon.vue +2 -1
  45. package/src/components/VcIconWithTooltip/VcIconWithTooltip.spec.js +5 -4
  46. package/src/components/VcLayout/VcLayout.vue +1 -0
  47. package/src/components/VcLink/VcLink.spec.js +49 -0
  48. package/src/components/VcLink/VcLink.stories.js +30 -0
  49. package/src/components/VcLink/VcLink.vue +38 -0
  50. package/src/components/VcProgressCircular/VcProgressCircular.spec.js +109 -0
  51. package/src/components/VcProgressCircular/VcProgressCircular.stories.js +58 -0
  52. package/src/components/VcProgressCircular/VcProgressCircular.vue +88 -0
  53. package/{init → src/components}/VcSvg/VcSvg.stories.js +5 -6
  54. package/{init → src/components}/VcSvg/VcSvg.vue +0 -0
  55. package/src/components/VcTextField/VcTextField.spec.js +13 -95
  56. package/src/components/VcTextField/VcTextField.stories.js +60 -41
  57. package/src/components/VcTextField/VcTextField.vue +78 -155
  58. package/src/components/VcToast/VcToast.vue +8 -1
  59. package/src/components/VcTooltip/VcTooltip.spec.js +3 -3
  60. package/src/components/Wizard/VcMobileWizardProgress/VcMobileWizardProgress.spec.js +109 -0
  61. package/src/components/Wizard/VcMobileWizardProgress/VcMobileWizardProgress.stories.js +58 -0
  62. package/src/components/Wizard/VcMobileWizardProgress/VcMobileWizardProgress.vue +85 -0
  63. package/src/components/Wizard/VcSteperContant/VcStepperContent.spec.js +163 -0
  64. package/src/components/Wizard/VcSteperContant/VcStepperContent.stories.js +118 -0
  65. package/src/components/Wizard/VcSteperContant/VcStepperContent.vue +153 -0
  66. package/src/components/Wizard/VcStepsBar/VcStepsBar.spec.js +122 -0
  67. package/src/components/Wizard/VcStepsBar/VcStepsBar.stories.js +56 -0
  68. package/src/components/Wizard/VcStepsBar/VcStepsBar.vue +190 -0
  69. package/src/components/index.js +13 -2
  70. package/src/components/list/VcGroupHeader/VcGroupHeader.spec.js +70 -0
  71. package/src/components/list/VcGroupHeader/VcGroupHeader.stories.js +30 -0
  72. package/src/components/list/VcGroupHeader/VcGroupHeader.vue +54 -0
  73. package/src/components/list/VcInfiniteScroll/VcInfiniteScroll.spec.js +68 -0
  74. package/src/components/list/VcInfiniteScroll/VcInfiniteScroll.stories.js +93 -0
  75. package/src/components/list/VcInfiniteScroll/VcInfiniteScroll.vue +66 -0
  76. package/src/components/list/VcListItem/VcListItem.spec.js +113 -0
  77. package/src/components/list/VcListItem/VcListItem.stories.js +67 -0
  78. package/src/components/list/VcListItem/VcListItem.vue +98 -0
  79. package/src/components/modal/VcConfirmModal/VcConfirmModal.spec.js +3 -1
  80. package/src/components/modal/VcConfirmModal/VcConfirmModal.stories.js +27 -23
  81. package/src/components/modal/VcConfirmModal/VcConfirmModal.vue +10 -2
  82. package/src/components/modal/VcConfirmProminentModal/VcConfirmProminentModal.spec.js +3 -1
  83. package/src/components/modal/VcConfirmProminentModal/VcConfirmProminentModal.stories.js +16 -9
  84. package/src/components/modal/VcConfirmProminentModal/VcConfirmProminentModal.vue +13 -5
  85. package/src/components/modal/VcInputModal/VcInputModal.spec.js +5 -3
  86. package/src/components/modal/VcInputModal/VcInputModal.stories.js +25 -18
  87. package/src/components/modal/VcInputModal/VcInputModal.vue +10 -2
  88. package/src/components/modal/VcNoticeModal/VcNoticeModal.spec.js +3 -1
  89. package/src/components/modal/VcNoticeModal/VcNoticeModal.stories.js +16 -9
  90. package/src/components/modal/VcNoticeModal/VcNoticeModal.vue +10 -2
  91. package/src/scss/mixins.scss +13 -0
  92. package/src/stories/assets/upgrade.svg +40 -0
  93. package/styles/variables.scss +5 -1
  94. package/src/assets/logo.png +0 -0
  95. package/src/assets/logo.svg +0 -1
  96. package/src/components/VcButton/VcButton.stories.mdx.old +0 -40
  97. package/src/components/VcExpansionPanels/VcExpansionPanels.stories.js +0 -36
  98. package/src/components/VcExpansionPanels/VcExpansionPanels.vue +0 -26
  99. package/src/components/VcHourInput/VcHourInput.stories.js +0 -36
  100. package/src/components/VcHourInput/VcHourInput.vue +0 -134
  101. package/src/stories/assets/colors.svg +0 -1
  102. package/src/stories/assets/comments.svg +0 -1
  103. package/src/stories/assets/direction.svg +0 -1
  104. package/src/stories/assets/plugin.svg +0 -1
  105. package/src/stories/assets/repo.svg +0 -1
  106. package/src/stories/assets/stackalt.svg +0 -1
  107. package/src/stories/colors.stories.mdx +0 -78
package/CHANGELOG.MD ADDED
@@ -0,0 +1,57 @@
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ Format based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ### Unreleased changes
8
+
9
+ ### 0.2.4 (2022-01-05)
10
+ - adding svg images to vue object
11
+ - move VcSvg to global components
12
+ -
13
+ ### 0.2.3 (2022-01-03)
14
+ - bug fix related to $ds
15
+
16
+ ### 0.2.2 (2022-01-03)
17
+ - VcStepsBar
18
+ - VcMobileWizardProgress
19
+ - VcProgressCircular
20
+ - Separate init of i18n for easier unit testing in consuming project
21
+
22
+ ### 0.2.1 (2021-12-29)
23
+ - adding mastercard and visa to icon
24
+
25
+ ### 0.2.0 (2021-12-29)
26
+ - Adding VcEmptyState
27
+ - Adding VcLink
28
+ - Adding VcFocusArea
29
+ - Migrate the VcListItem component from FG
30
+ - Migrate the VcGroupHeader component from FG
31
+ - update for VcButton - added pill (rounded) prop
32
+ - Migrate VcFilterPanel component from FG
33
+ - Migrate VcInfiniteScroll component from FG
34
+ - Add translation utility
35
+ - update VcToast
36
+
37
+ ### 0.1.5 (2021-12-07)
38
+ - update for VcAlert - added inline state
39
+ - update for VcCard - update all design and add test and story
40
+ - simplify the process of adding svg icons
41
+ - Migrate the VcCheckbox component from FG
42
+ - add disabled css for VcButton
43
+
44
+ ## 0.1.4 (2021-11-28)
45
+ - VcConfirmModal - added support for loader in modal buttons
46
+ - VcConfirmModal, VcModalContainer, VcModalWrapper - added support to add or remove the offset class
47
+
48
+ ## 0.1.2 (2021-11-21)
49
+ ### Added components
50
+ - VcActionsList
51
+ - VcBottomActions
52
+ - VcActions - A wrapper for VcActionsList and VcBottomActions that chooses which one to display, depending if it is used in desktop or mobile
53
+ - VcTooltip
54
+ - VcIconWithTooltip
55
+
56
+ ### Added utilities
57
+ - util/colorUtil.js - utility functions commonly used for setting the theme
package/README.md CHANGED
@@ -100,17 +100,8 @@ npm run storybook
100
100
  ### Ongoing development
101
101
 
102
102
  In many cases, you don't want to publish the package each time you make a change. In those cases it can may life much
103
- easier to install the package directly from your branch in git.
104
-
105
- ```
106
- npm install "https://github.com/vcita/design-system.git#branch" --save
107
- ```
108
-
109
- so to install from integration for example, run
110
-
111
- ```
112
- npm install "https://github.com/vcita/design-system.git#example" --save
113
- ```
103
+ easier to install the package from your local project directory.
104
+ To learn how to do this, please go [here](https://myvcita.atlassian.net/wiki/spaces/FG/pages/2021851137/Using+the+vcita+design+system+package#Installation-for-development-purposes).
114
105
 
115
106
  Note: before releasing, make sure to publish a version and use that in your project, or tracking version changes will
116
107
  become impossible.
@@ -0,0 +1,6 @@
1
+ ---
2
+ de:
3
+ ds:
4
+ modal:
5
+ ok: Ok
6
+ cancel: Abbrechen
@@ -0,0 +1,8 @@
1
+ ---
2
+ en:
3
+ ds:
4
+ modal:
5
+ cancel: Cancel
6
+ ok: Ok
7
+ progress_circular:
8
+ next: 'Next:'
@@ -0,0 +1,6 @@
1
+ ---
2
+ es:
3
+ ds:
4
+ modal:
5
+ ok: Ok
6
+ cancel: Cancelar
@@ -0,0 +1,6 @@
1
+ ---
2
+ fr:
3
+ ds:
4
+ modal:
5
+ ok: Ok
6
+ cancel: Annuler
@@ -0,0 +1,6 @@
1
+ ---
2
+ he:
3
+ ds:
4
+ modal:
5
+ ok: "אישור"
6
+ cancel: "ביטול"
@@ -0,0 +1,6 @@
1
+ ---
2
+ it:
3
+ ds:
4
+ modal:
5
+ ok: Ok
6
+ cancel: Cancella
@@ -0,0 +1,6 @@
1
+ ---
2
+ keys:
3
+ ds:
4
+ modal:
5
+ ok: common.dialog.ok
6
+ cancel: common.dialog.cancel
@@ -0,0 +1,6 @@
1
+ ---
2
+ nl:
3
+ ds:
4
+ modal:
5
+ ok: Ok
6
+ cancel: Annuleren
@@ -0,0 +1,6 @@
1
+ ---
2
+ pl:
3
+ ds:
4
+ modal:
5
+ ok: OK
6
+ cancel: Anuluj
@@ -0,0 +1,6 @@
1
+ ---
2
+ pseudo:
3
+ ds:
4
+ modal:
5
+ ok: Ok Ok
6
+ cancel: Cånçél Cån
@@ -0,0 +1,6 @@
1
+ ---
2
+ pt:
3
+ ds:
4
+ modal:
5
+ ok: Ok
6
+ cancel: Cancelar
@@ -0,0 +1,6 @@
1
+ ---
2
+ ru:
3
+ ds:
4
+ modal:
5
+ ok: Ok
6
+ cancel: "Отменить"
@@ -0,0 +1,6 @@
1
+ ---
2
+ sl:
3
+ ds:
4
+ modal:
5
+ ok: V redu
6
+ cancel: Prekliči
@@ -0,0 +1,6 @@
1
+ ---
2
+ tr:
3
+ ds:
4
+ modal:
5
+ ok: Tamam
6
+ cancel: "İptal"
@@ -0,0 +1,6 @@
1
+ ---
2
+ zun:
3
+ ds:
4
+ modal:
5
+ ok: words.ok
6
+ cancel: words.cancel