@vcita/design-system 1.3.13 → 1.3.14

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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,413 @@
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.14(2023-01-10)
11
+ - VcPageHeader - chip added
12
+ - VcPageHeader - button added
13
+
14
+ ### v1.3.13(2023-01-09)
15
+ - VcSelectField - Optionally use icomoon icons
16
+ - VcChipList - variable number of rows, variable item height, optional item 'close'
17
+ - VcChip - optionally displays avatar
18
+ - VcFilterPanel - add header/scrolling content/footer structure
19
+ - VcActionBar - migrate component
20
+ - VcTabs - when in limited height container, header is sticky, and only the content scrolls
21
+ - VcEntityList - add component
22
+ - VcAccordion - add item data to slot
23
+ - VcLayout - add ability to use ref
24
+ - VcDropdown - add white background
25
+
26
+ ### v1.3.12(2023-01-01)
27
+ - VcActionList - offset-y
28
+ - VcSelectField - Optionally prepend icons to labels, click-outside implemented, arrow rotation
29
+
30
+ ### v1.3.11(2022-12-26)
31
+ - VcChip - support for the color blind, by showing the invalid icon for every invalid chip
32
+
33
+ ### v1.3.10(2022-12-18)
34
+ - VcUpsellBlock - fix bug - support long text on the main button
35
+ - VcRadioGroup - fix radio with tooltip with custom content
36
+
37
+ ### v1.3.9(2022-12-12)
38
+ - VcModalHeader - modify close icon in header
39
+ - VcChip - thin design
40
+ - VcAccordion - added new component
41
+ - VcColorPicker - css fix
42
+
43
+ ### v1.3.8(2022-11-27)
44
+ - Resolve click-outside collision with vuetify directive by the same name
45
+
46
+ ### v1.3.7(2022-11-22)
47
+ - VcGalleryItem - brought back selected/disabled functionality
48
+
49
+ ### v1.3.6(2022-11-21)
50
+ - VcGalleryItem - emit previewItem computed property
51
+ - VcGalleryList - pass description property
52
+
53
+ ### v1.3.5(2022-11-21)
54
+ - VcColorPicker - bug fix
55
+ - Dropdown - fix overflow-x bug
56
+ - VcModalHeader - default title will be one line max, longer text will get ellipsis
57
+
58
+ ### v1.3.4(2022-11-17)
59
+ - VcLink - can get any icon
60
+ - VcCheckbox - fix bug with redundant margin
61
+ - VcCheckbox - add white bg to the unselected checkbox
62
+ - VcGalleryItem - design updated
63
+ - VcGalleryList - design updated
64
+ - VcMenu - added
65
+ - VcDropdown - added
66
+ - VcGroupedItems - added
67
+ - VcSideNav - uses VcGroupedItems
68
+ - fix bug in translation mechanism - add fallback to English
69
+ - VcColorPicker - added
70
+
71
+ ### v1.3.3(2022-11-13)
72
+ - VcRadioGroup - add support for horizontal layout
73
+ - VcTooltip - add support for close delay
74
+ - VcBottomActions - emit close event on click outside
75
+ - VcTextField - add autofocus support
76
+ - VcTextField - add keydown.enter support
77
+ - VcFilterPanel - add header variant
78
+ - VcActionList - added header to
79
+
80
+ - ### v1.3.2(2022-11-06)
81
+ - VcGalleryItem - fix ui on small desktop
82
+ - VcChip - added 'selected' state
83
+
84
+ ### v1.3.1(2022-10-30)
85
+ - VcGalleryItem - add 'selected' indication
86
+ - VcGalleryItem - add ability to disable
87
+ - VcRadio and VcRadioGroup - add ability to disable
88
+
89
+ ### v1.3.0(2022-10-25)
90
+ - Adding SideNav layout
91
+ - Adding centered layout
92
+ - Adding VcPageHeader
93
+ - Adding VcBreadcrumbs
94
+ - Ability to disable VcLink
95
+ - modal container can show close button on flavor input
96
+ - upsell dialog fix dimension issue
97
+
98
+ ### v1.2.3 (2022-10-03)
99
+ - VcMiniBanner - added new component
100
+ - VcSearchPicker - removed redundant event emission from pointer
101
+ - VcGalleryItem - added new component
102
+ - VcGalleryList - added new component
103
+
104
+ ### v1.2.2 (2022-09-19)
105
+ - VcTextField - fix alignment
106
+ - VcSideNav
107
+ - VcIcon - fix color prop
108
+
109
+ ### v1.2.1 (2022-09-08)
110
+ - VcDocItem - added fileSize prop, event object added to emit
111
+ - SvgIcons - added viewBox attribute on doc_Sheet
112
+
113
+ ### v1.2.0 (2022-09-08)
114
+ - VcChipList - added new component
115
+ - VcChip - added slot
116
+
117
+ ### v1.1.10 (2022-09-07)
118
+ - VcTabs - fix scrollbar issue
119
+
120
+ ### v1.1.9 (2022-09-07)
121
+ - Adding VcTabs component
122
+
123
+ ### v1.1.8 (2022-09-05)
124
+ - VcInputModal - added closeOnEsc prop, passed to VcModalContainer
125
+ - VcModalContainer - added closeOnEsc prop, passed to VcModalWrapper
126
+ - VcModalWrapper - added closeOnEsc prop, used as condition for esc keydown event
127
+ - VcSearchPicker - use secondary brand hues
128
+ - VcSearchPicker - keep menu open if focusing the text input
129
+
130
+ ### v1.1.7 (2022-09-04)
131
+ - VcDocItem - added svg as an image type
132
+ - VcSearchPicker - caret and pointer color
133
+ - VcSearchPicker - add menu custom class name prop
134
+ - VcSearchPicker - use brand colors
135
+
136
+ ### v1.1.6 (2022-08-28)
137
+ - VcDocItem - added 'xlsx' as a spreadsheet format
138
+ - VcDocItem - added max width
139
+ - VcSearchPicker - add background color to input
140
+
141
+ ### v1.1.5 (2022-08-24)
142
+ - VcDraggableList - remove hover from mobile
143
+
144
+ ### v1.1.4 (2022-08-21)
145
+ - Adding composition and slots examples
146
+ - VcModalFooter - added disabled option to VcButton
147
+
148
+ ### v1.1.3 (2022-08-21)
149
+ - VcDraggableList - add story with slot and fix icon size
150
+
151
+ ### v1.1.2 (2022-08-16)
152
+ - VcModalHeader - add right button icon
153
+ - VcList
154
+ - VcBaseListItem
155
+ - VcMobilePicker - new mobile picker pattern based on VcList
156
+ - VcTextField - add appendIcon and readonly properties + CSS
157
+ - VcInputModal - add showFooter + CSS
158
+ - VcModalContainer - remove the auto height on the VcModalContainerContent class
159
+ - VcDraggableList - added component
160
+ - VcTextField - fix label alignment
161
+ - VcWizard - add dynamic step names and description
162
+ - VcTextField - add google address autocomplete
163
+ - VcAvatar - fix image path prop
164
+
165
+ ### 1.1.1 (2022-08-11)
166
+ - Update translations
167
+
168
+ ### 1.1.0 (2022-08-08)
169
+ - VcDocItem - implemented uploaded and corrupted states
170
+ - VcStepperContent - add link color under the description
171
+ - VcWizard - BREAKING CHANGE: v-model current-step fixes
172
+ - VcSearchPicker - added component
173
+
174
+ ### 1.0.7 (2022-07-26)
175
+ - VcEmptyState - change color for button ghost
176
+
177
+ ### 1.0.6 BREAKING CHANGES (2022-07-24)
178
+ - Split variables.scss into vuetify-variables.scss and variables.scss
179
+ - Consuming project changes required
180
+
181
+ ### 0.6.27 (2022-07-17)
182
+ - VcButton - add ghost mode. fix storybook props inherit
183
+ - VcEmptyState - add ability to choose ghost mode btn
184
+ - VcDocItem - added document formats
185
+ - VcAutoComplete, VcTextArea, VcTextField - remove branding color when not needed
186
+
187
+ ### 0.6.26 (2022-07-03)
188
+ - VcDocItem - component added to ds
189
+ - VcTimeSince
190
+ - VcSwitch - add option to show label before switch
191
+ - Translations with parameters
192
+
193
+ ### 0.6.25 (2022-06-23)
194
+ - VcInputPopover - add click outside will not close the popover support
195
+
196
+ ### 0.6.24 (2022-06-14)
197
+ - VcInputBottomSheet - add switch support
198
+
199
+ ### 0.6.23 (2022-06-13)
200
+ - VcWizard - css fix
201
+
202
+ ### 0.6.22 (2022-05-31)
203
+ - VcRadioGroup - fix tooltip slots
204
+
205
+ ### 0.6.21 (2022-05-16)
206
+ - VcRadioGroup - create
207
+ - VcRadio - create
208
+ - VcTooltip - add slots and fallback icon as an activator
209
+
210
+ ### 0.6.20 (2022-05-16)
211
+ - VcStepperContent fix height
212
+ - VcInputPopover - add toggle to header
213
+
214
+ ### 0.6.19 (2022-05-10)
215
+ - VcSegmentedControl added
216
+
217
+ ### 0.6.18 (2022-05-02)
218
+ - VcListbox - add validator
219
+
220
+ ### 0.6.17 (2022-04-27)
221
+ - VcListbox - improve CSS
222
+
223
+ ### 0.6.16 (2022-04-27)
224
+ - VcListbox - add a search bar option
225
+
226
+ ### 0.6.15 (2022-04-25)
227
+ - VcTooltip - opacity 100%
228
+ - VcDropzone - fix active styles
229
+ - VcSelectField - add error-messages, add tooltip nudge
230
+ - VcTextField - add tooltip nudge
231
+ - VcLink - add click action
232
+ - VcSwitch - fix clickable icons
233
+ - VcSearchBar
234
+
235
+ ### 0.6.14 (2022-03-21)
236
+ - VcDropzone - component added
237
+ - VcTextField - add prefix and error-messages
238
+ - VcConfirmModal - fix for rtl button position
239
+
240
+ ### 0.6.13 (2022-03-14)
241
+ - Updated localization files
242
+
243
+ ### 0.6.12 (2022-03-14)
244
+ - VcSelectField - fix border colors for some variations
245
+
246
+ ### 0.6.11 (2022-03-13)
247
+ - VcListbox - small fix for distinguishing data qa on the list
248
+
249
+ ### 0.6.10 (2022-03-06)
250
+ - VcModalContainer - fix for overflow-x scroll
251
+
252
+ ### 0.6.9 (2022-03-02)
253
+ - VcButton - fix for button flavor
254
+
255
+ ### 0.6.8 (2022-03-02)
256
+ - VcTextArea - add fixed-height state
257
+ - VcPopover - fix corners radius
258
+ - VcUpsellBlock - background overflow bug fix
259
+ - VcLink - add target as prop
260
+ - VcModalContainer - add xl size
261
+
262
+ ### 0.6.7 (2022-03-01)
263
+ - VcButton - fix for color flavor
264
+
265
+ ### 0.6.6 (2022-03-01)
266
+ - VcAvatar - support the 0 color id
267
+ - VcBanner - fix background to be branded
268
+
269
+ ### 0.6.4 (2022-02-28)
270
+ - VcButton - add flavor prop
271
+ - VcBanner - Change component design
272
+
273
+ ### 0.6.3 (2022-02-23)
274
+ - VcListbox - performance improve
275
+
276
+ ### 0.6.2 (2022-02-22)
277
+ - VcListbox - minor fix
278
+
279
+ ### 0.6.1 (2022-02-21)
280
+ - VcTextField - add tooltip, placeholder
281
+ - VcUpsellBlock - css fixes
282
+
283
+ ### 0.6.0 (2022-02-20)
284
+ - VcModalHeader - add no close button new style
285
+ - VcPopover - add white background color
286
+ - VcActionList - fix icon size
287
+ - VcListbox - fix clicking not responding on the edges of the labels
288
+ - VcListbox - use v-list-item-group to get the full "checked" array
289
+ - VcListbox - tooltip option for a disabled item
290
+ - VcUpsellBlock
291
+
292
+ ### 0.5.0 (2022-02-15)
293
+ - VcButton - add outlined and prepend default icon.
294
+ - VcBottomSheet
295
+ - VcInputBottomSheet
296
+ - VcModalHeader - add close button option
297
+ - VcLink - add cursor pointer
298
+ - VcModalHeader - add description
299
+ - VcPopover
300
+ - VcInputPopover
301
+ - VcBadge - update parameters, add test, enrich the story book
302
+ - VcWizard fix content height
303
+ - VcExpansionCard fix color
304
+
305
+
306
+ ### 0.4.0 (2022-02-08)
307
+ - Added VcBadge component
308
+ - fix icon name in VcActionList
309
+ - add parameters to VcTextArea
310
+ - add button the ability to be link
311
+ - VcLink - add secondary
312
+ - VcLink - add prepend icon
313
+ - VcLink - change text context to label
314
+ - SvgIcons - rename chevron_left to chevron_right
315
+ - SvgIcons - add trash, copy, chevron_left
316
+
317
+ ### 0.3.17 (2022-02-06)
318
+ - VcLink - add secondary
319
+ - VcLink - add prepend icon
320
+ - VcLink - change text context to label
321
+ - SvgIcons - rename chevron_left to chevron_right
322
+ - SvgIcons - add trash, copy, chevron_left
323
+
324
+ ### 0.3.16 (2022-01-31)
325
+ - Center image in VcImage
326
+ - bug fix in VcBanner
327
+ - Bug fix in VcImage
328
+ - VcChip
329
+ - fix expansion card content slot to have padding
330
+ - text-area auto grow
331
+
332
+ ### 0.3.15 (2022-01-24)
333
+ - rename wizard event to move forward
334
+ - move breakpoint from mixin to wizard component
335
+ - modify expansion card content slot to have padding
336
+
337
+ ### 0.3.14 (2022-01-24)
338
+ - add the ability to use image path or object in all relevant places
339
+ - add VcImage to facilitate use of different types of images and SVGs
340
+ - add title to wizard stepsBar
341
+
342
+ ### 0.3.12 (2022-01-18)
343
+ - add animation to shadow for hover on card
344
+ - fix border radius on action list
345
+ - fix v-model value in VcListEntity and VcExpansionCard
346
+ - added boolean useOffset prop on VcInputModal, VcNoticeModal, VcConfirmProminentModal
347
+ - VcChecklistItem
348
+ - VcListbox
349
+ - Add option to disable the tooltip on VcTooltip
350
+ - Add option to show the avatar on black & white
351
+ - Add option to remove the avatar border
352
+
353
+ ### 0.2.10 (2022-01-13)
354
+ - small fixes on VcActions
355
+ - add icon option for switch component
356
+ - VcExpansionCard
357
+ - VcListEntity
358
+
359
+ ### 0.2.9 (2022-01-12)
360
+ - update design on list item
361
+ - add loading option for confirm modal
362
+
363
+ ### 0.2.4 (2022-01-05)
364
+ - adding svg images to vue object
365
+ - move VcSvg to global components
366
+
367
+ ### 0.2.3 (2022-01-03)
368
+ - bug fix related to $ds
369
+
370
+ ### 0.2.2 (2022-01-03)
371
+ - VcStepsBar
372
+ - VcMobileWizardProgress
373
+ - VcProgressCircular
374
+ - Separate init of i18n for easier unit testing in consuming project
375
+
376
+ ### 0.2.1 (2021-12-29)
377
+ - adding mastercard and visa to icon
378
+
379
+ ### 0.2.0 (2021-12-29)
380
+ - Adding VcEmptyState
381
+ - Adding VcLink
382
+ - Adding VcFocusArea
383
+ - Migrate the VcListItem component from FG
384
+ - Migrate the VcGroupHeader component from FG
385
+ - Adding VcEmptyState
386
+ - Adding VcLink
387
+ - update for VcButton - added pill (rounded) prop
388
+ - Migrate VcFilterPanel component from FG
389
+ - Migrate VcInfiniteScroll component from FG
390
+ - Add translation utility
391
+ - update VcToast
392
+
393
+ ### 0.1.5 (2021-12-07)
394
+ - update for VcAlert - added inline state
395
+ - update for VcCard - update all design and add test and story
396
+ - simplify the process of adding svg icons
397
+ - Migrate the VcCheckbox component from FG
398
+ - add disabled css for VcButton
399
+
400
+ ## 0.1.4 (2021-11-28)
401
+ - VcConfirmModal - added support for loader in modal buttons
402
+ - VcConfirmModal, VcModalContainer, VcModalWrapper - added support to add or remove the offset class
403
+
404
+ ## 0.1.2 (2021-11-21)
405
+ ### Added components
406
+ - VcActionsList
407
+ - VcBottomActions
408
+ - VcActions - A wrapper for VcActionsList and VcBottomActions that chooses which one to display, depending if it is used in desktop or mobile
409
+ - VcTooltip
410
+ - VcIconWithTooltip
411
+
412
+ ### Added utilities
413
+ - util/colorUtil.js - utility functions commonly used for setting the theme
@@ -17416,6 +17416,7 @@ var VcBreadcrumbs = __vue_component__$d;
17416
17416
  var script$7 = {
17417
17417
  name: "VcPageHeader",
17418
17418
  components: {
17419
+ VcChip,
17419
17420
  VcButton,
17420
17421
  VcIcon,
17421
17422
  VcLayout,
@@ -17445,6 +17446,19 @@ var script$7 = {
17445
17446
  dataQa: {
17446
17447
  type: String,
17447
17448
  default: 'VcPageHeader'
17449
+ },
17450
+ chipLabel: {
17451
+ type: String,
17452
+ default: ''
17453
+ },
17454
+ chipFlavor: {
17455
+ type: String,
17456
+ default: 'beta',
17457
+ validator: type => ['beta'].includes(type)
17458
+ },
17459
+ buttonLabel: {
17460
+ type: String,
17461
+ default: ''
17448
17462
  }
17449
17463
  },
17450
17464
  computed: {
@@ -17507,7 +17521,24 @@ var __vue_render__$6 = function () {
17507
17521
  },
17508
17522
  proxy: true
17509
17523
  }], null, false, 3057979535)
17510
- }) : _vm._e(), _vm._v("\n " + _vm._s(_vm.title) + "\n ")], 1), _vm._v(" "), _vm.subtitle && _vm.subtitle.length > 0 ? _c('span', {
17524
+ }) : _vm._e(), _vm._v("\n " + _vm._s(_vm.title) + "\n "), _vm.chipLabel ? _c('span', {
17525
+ staticClass: "title-chip",
17526
+ class: "title-chip--" + _vm.chipFlavor,
17527
+ attrs: {
17528
+ "data-qa": _vm.dataQa + "-titleChip"
17529
+ }
17530
+ }, [_vm._v("\n " + _vm._s(_vm.chipLabel) + "\n ")]) : _vm._e(), _vm._v(" "), _vm.buttonLabel ? _c('VcButton', {
17531
+ staticClass: "title-button",
17532
+ attrs: {
17533
+ "flavor": "secondary",
17534
+ "data-qa": _vm.dataQa + "-titleButton"
17535
+ },
17536
+ on: {
17537
+ "click": function ($event) {
17538
+ return _vm.$emit('onTitleButtonClick');
17539
+ }
17540
+ }
17541
+ }, [_vm._v("\n " + _vm._s(_vm.buttonLabel) + "\n ")]) : _vm._e()], 1), _vm._v(" "), _vm.subtitle && _vm.subtitle.length > 0 ? _c('span', {
17511
17542
  staticClass: "VcHeader--subtitle"
17512
17543
  }, [_vm._v("\n " + _vm._s(_vm.subtitle) + "\n ")]) : _vm._e()], 1), _vm._v(" "), _c('VcLayout', {
17513
17544
  attrs: {
@@ -17536,8 +17567,8 @@ var __vue_staticRenderFns__$6 = [];
17536
17567
 
17537
17568
  const __vue_inject_styles__$7 = function (inject) {
17538
17569
  if (!inject) return;
17539
- inject("data-v-d3d7c5dc_0", {
17540
- source: ".VcPageHeader[data-v-d3d7c5dc]{margin-bottom:var(--size-value10)}.VcHeader--title[data-v-d3d7c5dc]{font-size:var(--font-size-medium0);font-weight:var(--font-weight-large2);line-height:var(--size-value8);color:var(--gray-darken-5);margin-top:var(--size-value1)}.VcHeader--subtitle[data-v-d3d7c5dc]{font-size:var(--font-size-x-small);font-weight:var(--font-weight-medium);line-height:var(--size-value5)}",
17570
+ inject("data-v-7370b2c5_0", {
17571
+ source: ".VcPageHeader[data-v-7370b2c5]{margin-bottom:var(--size-value10)}.VcHeader--title[data-v-7370b2c5]{font-size:var(--font-size-medium0);font-weight:var(--font-weight-large2);line-height:var(--size-value8);color:var(--gray-darken-5);margin-top:var(--size-value1)}.VcHeader--title .title-chip[data-v-7370b2c5]{padding:var(--size-value1) var(--size-value2);margin-inline-start:var(--size-value3);border-radius:var(--size-value6);font-weight:var(--font-weight-large2);font-size:var(--font-size-xx-small);height:var(--size-value5)}.VcHeader--title .title-chip--beta[data-v-7370b2c5]{background-color:var(--orange);color:#fff}.VcHeader--title .title-button[data-v-7370b2c5]{margin-inline-start:var(--size-value3)}.VcHeader--subtitle[data-v-7370b2c5]{font-size:var(--font-size-x-small);font-weight:var(--font-weight-medium);line-height:var(--size-value5)}",
17541
17572
  map: undefined,
17542
17573
  media: undefined
17543
17574
  });
@@ -17545,7 +17576,7 @@ const __vue_inject_styles__$7 = function (inject) {
17545
17576
  /* scoped */
17546
17577
 
17547
17578
 
17548
- const __vue_scope_id__$7 = "data-v-d3d7c5dc";
17579
+ const __vue_scope_id__$7 = "data-v-7370b2c5";
17549
17580
  /* module identifier */
17550
17581
 
17551
17582
  const __vue_module_identifier__$7 = undefined;