@vcita/design-system 1.3.4 → 1.3.5

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 (37) hide show
  1. package/CHANGELOG.md +370 -0
  2. package/config/locales/ds.en.yml +1 -0
  3. package/dist/@vcita/design-system.esm.js +208 -96
  4. package/dist/@vcita/design-system.min.js +2 -2
  5. package/dist/@vcita/design-system.ssr.js +170 -99
  6. package/init/DesignSystem.js +4 -1
  7. package/init/SvgIcons.js +2 -0
  8. package/package.json +1 -1
  9. package/src/components/VcAutoComplete/VcAutoComplete.stories.js +2 -0
  10. package/src/components/VcAutoComplete/VcAutoComplete.vue +0 -4
  11. package/src/components/VcColorPicker/VcColorPicker.vue +1 -4
  12. package/src/components/VcGalleryItem/VcGalleryItem.spec.js +39 -49
  13. package/src/components/VcGalleryItem/VcGalleryItem.stories.js +48 -52
  14. package/src/components/VcGalleryItem/VcGalleryItem.vue +235 -92
  15. package/src/components/VcGalleryItem/mockData.js +104 -0
  16. package/src/components/VcGalleryList/VcGalleryList.spec.js +23 -15
  17. package/src/components/VcGalleryList/VcGalleryList.stories.js +39 -19
  18. package/src/components/VcGalleryList/VcGalleryList.vue +73 -41
  19. package/src/components/VcMenu/VcDropdown.vue +2 -1
  20. package/src/components/modal/VcInputModal/VcInputModal.stories.js +1 -3
  21. package/src/components/modal/VcInputModal/VcInputModal.vue +8 -10
  22. package/src/components/modal/elements/VcModalHeader.vue +7 -4
  23. package/src/stories/assets/pics/gallery-basic-1.jpg +0 -0
  24. package/src/stories/assets/pics/gallery-basic-2.jpg +0 -0
  25. package/src/stories/assets/pics/gallery-basic-3.jpg +0 -0
  26. package/src/stories/assets/pics/gallery-basic-4.jpg +0 -0
  27. package/src/stories/assets/pics/gallery-pro-1.jpg +0 -0
  28. package/src/stories/assets/pics/gallery-pro-2.jpg +0 -0
  29. package/src/stories/assets/pics/gallery-pro-3.jpg +0 -0
  30. package/src/stories/assets/pics/gallery-pro-4.jpg +0 -0
  31. package/src/stories/assets/pics/gallery-pro-5.jpg +0 -0
  32. package/src/components/VcGalleryList/mockData.js +0 -50
  33. package/src/stories/assets/pics/gallery-item-1.jpg +0 -0
  34. package/src/stories/assets/pics/gallery-item-2.jpg +0 -0
  35. package/src/stories/assets/pics/gallery-item-3.jpg +0 -0
  36. package/src/stories/assets/pics/gallery-item-4.jpg +0 -0
  37. package/src/stories/assets/pics/gallery-item-5.jpg +0 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,370 @@
1
+
2
+ # Change log
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ Format based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ### Unreleased changes
9
+
10
+ ### v1.3.5(2022-11-21)
11
+ - VcColorPicker - bug fix
12
+ - Dropdown - fix overflow-x bug
13
+ - VcModalHeader - default title will be one line max, longer text will get ellipsis
14
+
15
+ ### v1.3.4(2022-11-17)
16
+ - VcLink - can get any icon
17
+ - VcCheckbox - fix bug with redundant margin
18
+ - VcCheckbox - add white bg to the unselected checkbox
19
+ - VcGalleryItem - design updated
20
+ - VcGalleryList - design updated
21
+ - VcMenu - added
22
+ - VcDropdown - added
23
+ - VcGroupedItems - added
24
+ - VcSideNav - uses VcGroupedItems
25
+ - fix bug in translation mechanism - add fallback to English
26
+ - VcColorPicker - added
27
+
28
+ ### v1.3.3(2022-11-13)
29
+ - VcRadioGroup - add support for horizontal layout
30
+ - VcTooltip - add support for close delay
31
+ - VcBottomActions - emit close event on click outside
32
+ - VcTextField - add autofocus support
33
+ - VcTextField - add keydown.enter support
34
+ - VcFilterPanel - add header variant
35
+ - VcActionList - added header to
36
+
37
+ - ### v1.3.2(2022-11-06)
38
+ - VcGalleryItem - fix ui on small desktop
39
+ - VcChip - added 'selected' state
40
+
41
+ ### v1.3.1(2022-10-30)
42
+ - VcGalleryItem - add 'selected' indication
43
+ - VcGalleryItem - add ability to disable
44
+ - VcRadio and VcRadioGroup - add ability to disable
45
+
46
+ ### v1.3.0(2022-10-25)
47
+ - Adding SideNav layout
48
+ - Adding centered layout
49
+ - Adding VcPageHeader
50
+ - Adding VcBreadcrumbs
51
+ - Ability to disable VcLink
52
+ - modal container can show close button on flavor input
53
+ - upsell dialog fix dimension issue
54
+
55
+ ### v1.2.3 (2022-10-03)
56
+ - VcMiniBanner - added new component
57
+ - VcSearchPicker - removed redundant event emission from pointer
58
+ - VcGalleryItem - added new component
59
+ - VcGalleryList - added new component
60
+
61
+ ### v1.2.2 (2022-09-19)
62
+ - VcTextField - fix alignment
63
+ - VcSideNav
64
+ - VcIcon - fix color prop
65
+
66
+ ### v1.2.1 (2022-09-08)
67
+ - VcDocItem - added fileSize prop, event object added to emit
68
+ - SvgIcons - added viewBox attribute on doc_Sheet
69
+
70
+ ### v1.2.0 (2022-09-08)
71
+ - VcChipList - added new component
72
+ - VcChip - added slot
73
+
74
+ ### v1.1.10 (2022-09-07)
75
+ - VcTabs - fix scrollbar issue
76
+
77
+ ### v1.1.9 (2022-09-07)
78
+ - Adding VcTabs component
79
+
80
+ ### v1.1.8 (2022-09-05)
81
+ - VcInputModal - added closeOnEsc prop, passed to VcModalContainer
82
+ - VcModalContainer - added closeOnEsc prop, passed to VcModalWrapper
83
+ - VcModalWrapper - added closeOnEsc prop, used as condition for esc keydown event
84
+ - VcSearchPicker - use secondary brand hues
85
+ - VcSearchPicker - keep menu open if focusing the text input
86
+
87
+ ### v1.1.7 (2022-09-04)
88
+ - VcDocItem - added svg as an image type
89
+ - VcSearchPicker - caret and pointer color
90
+ - VcSearchPicker - add menu custom class name prop
91
+ - VcSearchPicker - use brand colors
92
+
93
+ ### v1.1.6 (2022-08-28)
94
+ - VcDocItem - added 'xlsx' as a spreadsheet format
95
+ - VcDocItem - added max width
96
+ - VcSearchPicker - add background color to input
97
+
98
+ ### v1.1.5 (2022-08-24)
99
+ - VcDraggableList - remove hover from mobile
100
+
101
+ ### v1.1.4 (2022-08-21)
102
+ - Adding composition and slots examples
103
+ - VcModalFooter - added disabled option to VcButton
104
+
105
+ ### v1.1.3 (2022-08-21)
106
+ - VcDraggableList - add story with slot and fix icon size
107
+
108
+ ### v1.1.2 (2022-08-16)
109
+ - VcModalHeader - add right button icon
110
+ - VcList
111
+ - VcBaseListItem
112
+ - VcMobilePicker - new mobile picker pattern based on VcList
113
+ - VcTextField - add appendIcon and readonly properties + CSS
114
+ - VcInputModal - add showFooter + CSS
115
+ - VcModalContainer - remove the auto height on the VcModalContainerContent class
116
+ - VcDraggableList - added component
117
+ - VcTextField - fix label alignment
118
+ - VcWizard - add dynamic step names and description
119
+ - VcTextField - add google address autocomplete
120
+ - VcAvatar - fix image path prop
121
+
122
+ ### 1.1.1 (2022-08-11)
123
+ - Update translations
124
+
125
+ ### 1.1.0 (2022-08-08)
126
+ - VcDocItem - implemented uploaded and corrupted states
127
+ - VcStepperContent - add link color under the description
128
+ - VcWizard - BREAKING CHANGE: v-model current-step fixes
129
+ - VcSearchPicker - added component
130
+
131
+ ### 1.0.7 (2022-07-26)
132
+ - VcEmptyState - change color for button ghost
133
+
134
+ ### 1.0.6 BREAKING CHANGES (2022-07-24)
135
+ - Split variables.scss into vuetify-variables.scss and variables.scss
136
+ - Consuming project changes required
137
+
138
+ ### 0.6.27 (2022-07-17)
139
+ - VcButton - add ghost mode. fix storybook props inherit
140
+ - VcEmptyState - add ability to choose ghost mode btn
141
+ - VcDocItem - added document formats
142
+ - VcAutoComplete, VcTextArea, VcTextField - remove branding color when not needed
143
+
144
+ ### 0.6.26 (2022-07-03)
145
+ - VcDocItem - component added to ds
146
+ - VcTimeSince
147
+ - VcSwitch - add option to show label before switch
148
+ - Translations with parameters
149
+
150
+ ### 0.6.25 (2022-06-23)
151
+ - VcInputPopover - add click outside will not close the popover support
152
+
153
+ ### 0.6.24 (2022-06-14)
154
+ - VcInputBottomSheet - add switch support
155
+
156
+ ### 0.6.23 (2022-06-13)
157
+ - VcWizard - css fix
158
+
159
+ ### 0.6.22 (2022-05-31)
160
+ - VcRadioGroup - fix tooltip slots
161
+
162
+ ### 0.6.21 (2022-05-16)
163
+ - VcRadioGroup - create
164
+ - VcRadio - create
165
+ - VcTooltip - add slots and fallback icon as an activator
166
+
167
+ ### 0.6.20 (2022-05-16)
168
+ - VcStepperContent fix height
169
+ - VcInputPopover - add toggle to header
170
+
171
+ ### 0.6.19 (2022-05-10)
172
+ - VcSegmentedControl added
173
+
174
+ ### 0.6.18 (2022-05-02)
175
+ - VcListbox - add validator
176
+
177
+ ### 0.6.17 (2022-04-27)
178
+ - VcListbox - improve CSS
179
+
180
+ ### 0.6.16 (2022-04-27)
181
+ - VcListbox - add a search bar option
182
+
183
+ ### 0.6.15 (2022-04-25)
184
+ - VcTooltip - opacity 100%
185
+ - VcDropzone - fix active styles
186
+ - VcSelectField - add error-messages, add tooltip nudge
187
+ - VcTextField - add tooltip nudge
188
+ - VcLink - add click action
189
+ - VcSwitch - fix clickable icons
190
+ - VcSearchBar
191
+
192
+ ### 0.6.14 (2022-03-21)
193
+ - VcDropzone - component added
194
+ - VcTextField - add prefix and error-messages
195
+ - VcConfirmModal - fix for rtl button position
196
+
197
+ ### 0.6.13 (2022-03-14)
198
+ - Updated localization files
199
+
200
+ ### 0.6.12 (2022-03-14)
201
+ - VcSelectField - fix border colors for some variations
202
+
203
+ ### 0.6.11 (2022-03-13)
204
+ - VcListbox - small fix for distinguishing data qa on the list
205
+
206
+ ### 0.6.10 (2022-03-06)
207
+ - VcModalContainer - fix for overflow-x scroll
208
+
209
+ ### 0.6.9 (2022-03-02)
210
+ - VcButton - fix for button flavor
211
+
212
+ ### 0.6.8 (2022-03-02)
213
+ - VcTextArea - add fixed-height state
214
+ - VcPopover - fix corners radius
215
+ - VcUpsellBlock - background overflow bug fix
216
+ - VcLink - add target as prop
217
+ - VcModalContainer - add xl size
218
+
219
+ ### 0.6.7 (2022-03-01)
220
+ - VcButton - fix for color flavor
221
+
222
+ ### 0.6.6 (2022-03-01)
223
+ - VcAvatar - support the 0 color id
224
+ - VcBanner - fix background to be branded
225
+
226
+ ### 0.6.4 (2022-02-28)
227
+ - VcButton - add flavor prop
228
+ - VcBanner - Change component design
229
+
230
+ ### 0.6.3 (2022-02-23)
231
+ - VcListbox - performance improve
232
+
233
+ ### 0.6.2 (2022-02-22)
234
+ - VcListbox - minor fix
235
+
236
+ ### 0.6.1 (2022-02-21)
237
+ - VcTextField - add tooltip, placeholder
238
+ - VcUpsellBlock - css fixes
239
+
240
+ ### 0.6.0 (2022-02-20)
241
+ - VcModalHeader - add no close button new style
242
+ - VcPopover - add white background color
243
+ - VcActionList - fix icon size
244
+ - VcListbox - fix clicking not responding on the edges of the labels
245
+ - VcListbox - use v-list-item-group to get the full "checked" array
246
+ - VcListbox - tooltip option for a disabled item
247
+ - VcUpsellBlock
248
+
249
+ ### 0.5.0 (2022-02-15)
250
+ - VcButton - add outlined and prepend default icon.
251
+ - VcBottomSheet
252
+ - VcInputBottomSheet
253
+ - VcModalHeader - add close button option
254
+ - VcLink - add cursor pointer
255
+ - VcModalHeader - add description
256
+ - VcPopover
257
+ - VcInputPopover
258
+ - VcBadge - update parameters, add test, enrich the story book
259
+ - VcWizard fix content height
260
+ - VcExpansionCard fix color
261
+
262
+
263
+ ### 0.4.0 (2022-02-08)
264
+ - Added VcBadge component
265
+ - fix icon name in VcActionList
266
+ - add parameters to VcTextArea
267
+ - add button the ability to be link
268
+ - VcLink - add secondary
269
+ - VcLink - add prepend icon
270
+ - VcLink - change text context to label
271
+ - SvgIcons - rename chevron_left to chevron_right
272
+ - SvgIcons - add trash, copy, chevron_left
273
+
274
+ ### 0.3.17 (2022-02-06)
275
+ - VcLink - add secondary
276
+ - VcLink - add prepend icon
277
+ - VcLink - change text context to label
278
+ - SvgIcons - rename chevron_left to chevron_right
279
+ - SvgIcons - add trash, copy, chevron_left
280
+
281
+ ### 0.3.16 (2022-01-31)
282
+ - Center image in VcImage
283
+ - bug fix in VcBanner
284
+ - Bug fix in VcImage
285
+ - VcChip
286
+ - fix expansion card content slot to have padding
287
+ - text-area auto grow
288
+
289
+ ### 0.3.15 (2022-01-24)
290
+ - rename wizard event to move forward
291
+ - move breakpoint from mixin to wizard component
292
+ - modify expansion card content slot to have padding
293
+
294
+ ### 0.3.14 (2022-01-24)
295
+ - add the ability to use image path or object in all relevant places
296
+ - add VcImage to facilitate use of different types of images and SVGs
297
+ - add title to wizard stepsBar
298
+
299
+ ### 0.3.12 (2022-01-18)
300
+ - add animation to shadow for hover on card
301
+ - fix border radius on action list
302
+ - fix v-model value in VcListEntity and VcExpansionCard
303
+ - added boolean useOffset prop on VcInputModal, VcNoticeModal, VcConfirmProminentModal
304
+ - VcChecklistItem
305
+ - VcListbox
306
+ - Add option to disable the tooltip on VcTooltip
307
+ - Add option to show the avatar on black & white
308
+ - Add option to remove the avatar border
309
+
310
+ ### 0.2.10 (2022-01-13)
311
+ - small fixes on VcActions
312
+ - add icon option for switch component
313
+ - VcExpansionCard
314
+ - VcListEntity
315
+
316
+ ### 0.2.9 (2022-01-12)
317
+ - update design on list item
318
+ - add loading option for confirm modal
319
+
320
+ ### 0.2.4 (2022-01-05)
321
+ - adding svg images to vue object
322
+ - move VcSvg to global components
323
+
324
+ ### 0.2.3 (2022-01-03)
325
+ - bug fix related to $ds
326
+
327
+ ### 0.2.2 (2022-01-03)
328
+ - VcStepsBar
329
+ - VcMobileWizardProgress
330
+ - VcProgressCircular
331
+ - Separate init of i18n for easier unit testing in consuming project
332
+
333
+ ### 0.2.1 (2021-12-29)
334
+ - adding mastercard and visa to icon
335
+
336
+ ### 0.2.0 (2021-12-29)
337
+ - Adding VcEmptyState
338
+ - Adding VcLink
339
+ - Adding VcFocusArea
340
+ - Migrate the VcListItem component from FG
341
+ - Migrate the VcGroupHeader component from FG
342
+ - Adding VcEmptyState
343
+ - Adding VcLink
344
+ - update for VcButton - added pill (rounded) prop
345
+ - Migrate VcFilterPanel component from FG
346
+ - Migrate VcInfiniteScroll component from FG
347
+ - Add translation utility
348
+ - update VcToast
349
+
350
+ ### 0.1.5 (2021-12-07)
351
+ - update for VcAlert - added inline state
352
+ - update for VcCard - update all design and add test and story
353
+ - simplify the process of adding svg icons
354
+ - Migrate the VcCheckbox component from FG
355
+ - add disabled css for VcButton
356
+
357
+ ## 0.1.4 (2021-11-28)
358
+ - VcConfirmModal - added support for loader in modal buttons
359
+ - VcConfirmModal, VcModalContainer, VcModalWrapper - added support to add or remove the offset class
360
+
361
+ ## 0.1.2 (2021-11-21)
362
+ ### Added components
363
+ - VcActionsList
364
+ - VcBottomActions
365
+ - VcActions - A wrapper for VcActionsList and VcBottomActions that chooses which one to display, depending if it is used in desktop or mobile
366
+ - VcTooltip
367
+ - VcIconWithTooltip
368
+
369
+ ### Added utilities
370
+ - util/colorUtil.js - utility functions commonly used for setting the theme
@@ -42,6 +42,7 @@ en:
42
42
  select: Select
43
43
  preview: Preview
44
44
  create: Create your own
45
+ show_more: Show more
45
46
  page:
46
47
  saveButton:
47
48
  label: Save