@mozaic-ds/vue 0.23.0 → 0.24.0
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/dist/mozaic-vue.adeo.css +7 -6
- package/dist/mozaic-vue.adeo.umd.js +2418 -1799
- package/dist/mozaic-vue.common.js +2418 -1799
- package/dist/mozaic-vue.common.js.map +1 -1
- package/dist/mozaic-vue.css +1 -1
- package/dist/mozaic-vue.umd.js +2418 -1799
- package/dist/mozaic-vue.umd.js.map +1 -1
- package/dist/mozaic-vue.umd.min.js +2 -2
- package/dist/mozaic-vue.umd.min.js.map +1 -1
- package/package.json +14 -14
- package/src/components/autocomplete/MAutocomplete.vue +193 -74
- package/src/components/dropdown/MDropdown.vue +316 -0
- package/src/components/dropdown/index.js +7 -0
- package/src/components/index.js +1 -0
- package/src/components/listbox/MListBox.vue +56 -193
- package/src/components/phonenumber/MPhoneNumber.vue +5 -1
- package/src/components/quantityselector/MQuantitySelector.vue +5 -0
- package/src/components/stepper/MStepper.vue +1 -1
- package/src/index.js +1 -0
- package/src/tokens/adeo/android/colors.xml +6 -0
- package/src/tokens/adeo/css/_variables.scss +6 -0
- package/src/tokens/adeo/css/root.scss +6 -0
- package/src/tokens/adeo/ios/StyleDictionaryColor.h +6 -0
- package/src/tokens/adeo/ios/StyleDictionaryColor.m +6 -0
- package/src/tokens/adeo/ios/StyleDictionaryColor.swift +6 -0
- package/src/tokens/adeo/js/tokens.js +6 -0
- package/src/tokens/adeo/js/tokensObject.js +132 -0
- package/src/tokens/adeo/scss/_tokens.scss +20 -0
- package/types/index.d.ts +2 -0
package/src/index.js
CHANGED
|
@@ -31,6 +31,7 @@ export { MCard } from './components/card/';
|
|
|
31
31
|
export { MCheckbox, MCheckboxGroup } from './components/checkbox/';
|
|
32
32
|
export { MDataTable, MDataTableHeader } from './components/datatable';
|
|
33
33
|
export { MField } from './components/field';
|
|
34
|
+
export { MDropdown } from './components/dropdown';
|
|
34
35
|
export { MFileUploader } from './components/fileuploader';
|
|
35
36
|
export { MFlag } from './components/flag';
|
|
36
37
|
export { MHero } from './components/hero';
|
|
@@ -309,6 +309,12 @@
|
|
|
309
309
|
<color name="color_link_danger_active">#ff8b2226</color>
|
|
310
310
|
<color name="color_link_danger_disabled">#ffe6e6e6</color>
|
|
311
311
|
<color name="color_link_danger_hover">#ff3e1219</color>
|
|
312
|
+
<color name="color_listbox_background">#ffffffff</color>
|
|
313
|
+
<color name="color_listbox_border">#ff666666</color>
|
|
314
|
+
<color name="color_listbox_tile_border">#ffb3b3b3</color>
|
|
315
|
+
<color name="color_listbox_tile_shadow">#ff191919</color>
|
|
316
|
+
<color name="color_listbox_tile_hover_background">#ffe6e6e6</color>
|
|
317
|
+
<color name="color_listbox_disabled_background">#ffcccccc</color>
|
|
312
318
|
<color name="color_notification_font">#ff000000</color>
|
|
313
319
|
<color name="color_notification_information_background">#ffdaeff7</color>
|
|
314
320
|
<color name="color_notification_information_border">#ff0b96cc</color>
|
|
@@ -305,6 +305,12 @@ $color-link-danger-visited: var(--color-link-danger-visited, #8b2226);
|
|
|
305
305
|
$color-link-danger-active: var(--color-link-danger-active, #8b2226);
|
|
306
306
|
$color-link-danger-disabled: var(--color-link-danger-disabled, #e6e6e6);
|
|
307
307
|
$color-link-danger-hover: var(--color-link-danger-hover, #3e1219);
|
|
308
|
+
$color-listbox-background: var(--color-listbox-background, #ffffff);
|
|
309
|
+
$color-listbox-border: var(--color-listbox-border, #666666);
|
|
310
|
+
$color-listbox-tile-border: var(--color-listbox-tile-border, #b3b3b3);
|
|
311
|
+
$color-listbox-tile-shadow: var(--color-listbox-tile-shadow, #191919);
|
|
312
|
+
$color-listbox-tile-hover-background: var(--color-listbox-tile-hover-background, #e6e6e6);
|
|
313
|
+
$color-listbox-disabled-background: var(--color-listbox-disabled-background, #cccccc);
|
|
308
314
|
$color-notification-font: var(--color-notification-font, #000000);
|
|
309
315
|
$color-notification-information-background: var(--color-notification-information-background, #daeff7);
|
|
310
316
|
$color-notification-information-border: var(--color-notification-information-border, #0b96cc);
|
|
@@ -227,6 +227,12 @@
|
|
|
227
227
|
--color-notification-information-border: var(--color-info-500);
|
|
228
228
|
--color-notification-information-background: var(--color-info-100);
|
|
229
229
|
--color-notification-font: var(--color-grey-999);
|
|
230
|
+
--color-listbox-disabled-background: var(--color-grey-200);
|
|
231
|
+
--color-listbox-tile-hover-background: var(--color-grey-100);
|
|
232
|
+
--color-listbox-tile-shadow: var(--color-grey-900);
|
|
233
|
+
--color-listbox-tile-border: var(--color-grey-300);
|
|
234
|
+
--color-listbox-border: var(--color-grey-600);
|
|
235
|
+
--color-listbox-background: var(--color-grey-000);
|
|
230
236
|
--color-link-danger-hover: var(--color-secondary-red-900);
|
|
231
237
|
--color-link-danger-disabled: var(--color-grey-100);
|
|
232
238
|
--color-link-danger-active: var(--color-secondary-red-700);
|
|
@@ -313,6 +313,12 @@ ColorLinkDangerVisited,
|
|
|
313
313
|
ColorLinkDangerActive,
|
|
314
314
|
ColorLinkDangerDisabled,
|
|
315
315
|
ColorLinkDangerHover,
|
|
316
|
+
ColorListboxBackground,
|
|
317
|
+
ColorListboxBorder,
|
|
318
|
+
ColorListboxTileBorder,
|
|
319
|
+
ColorListboxTileShadow,
|
|
320
|
+
ColorListboxTileHoverBackground,
|
|
321
|
+
ColorListboxDisabledBackground,
|
|
316
322
|
ColorNotificationFont,
|
|
317
323
|
ColorNotificationInformationBackground,
|
|
318
324
|
ColorNotificationInformationBorder,
|
|
@@ -324,6 +324,12 @@
|
|
|
324
324
|
[UIColor colorWithRed:0.545f green:0.133f blue:0.149f alpha:1.000f],
|
|
325
325
|
[UIColor colorWithRed:0.902f green:0.902f blue:0.902f alpha:1.000f],
|
|
326
326
|
[UIColor colorWithRed:0.243f green:0.071f blue:0.098f alpha:1.000f],
|
|
327
|
+
[UIColor colorWithRed:1.000f green:1.000f blue:1.000f alpha:1.000f],
|
|
328
|
+
[UIColor colorWithRed:0.400f green:0.400f blue:0.400f alpha:1.000f],
|
|
329
|
+
[UIColor colorWithRed:0.702f green:0.702f blue:0.702f alpha:1.000f],
|
|
330
|
+
[UIColor colorWithRed:0.098f green:0.098f blue:0.098f alpha:1.000f],
|
|
331
|
+
[UIColor colorWithRed:0.902f green:0.902f blue:0.902f alpha:1.000f],
|
|
332
|
+
[UIColor colorWithRed:0.800f green:0.800f blue:0.800f alpha:1.000f],
|
|
327
333
|
[UIColor colorWithRed:0.000f green:0.000f blue:0.000f alpha:1.000f],
|
|
328
334
|
[UIColor colorWithRed:0.855f green:0.937f blue:0.969f alpha:1.000f],
|
|
329
335
|
[UIColor colorWithRed:0.043f green:0.588f blue:0.800f alpha:1.000f],
|
|
@@ -223,6 +223,12 @@ public class StyleDictionaryColor {
|
|
|
223
223
|
public static let colorLinkPrimaryDisabled = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 1)
|
|
224
224
|
public static let colorLinkPrimaryHover = UIColor(red: 0.000, green: 0.180, blue: 0.200, alpha: 1)
|
|
225
225
|
public static let colorLinkPrimaryVisited = UIColor(red: 0.000, green: 0.412, blue: 0.455, alpha: 1)
|
|
226
|
+
public static let colorListboxBackground = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
|
|
227
|
+
public static let colorListboxBorder = UIColor(red: 0.400, green: 0.400, blue: 0.400, alpha: 1)
|
|
228
|
+
public static let colorListboxDisabledBackground = UIColor(red: 0.800, green: 0.800, blue: 0.800, alpha: 1)
|
|
229
|
+
public static let colorListboxTileBorder = UIColor(red: 0.702, green: 0.702, blue: 0.702, alpha: 1)
|
|
230
|
+
public static let colorListboxTileHoverBackground = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 1)
|
|
231
|
+
public static let colorListboxTileShadow = UIColor(red: 0.098, green: 0.098, blue: 0.098, alpha: 1)
|
|
226
232
|
public static let colorNotificationDangerBackground = UIColor(red: 0.992, green: 0.918, blue: 0.918, alpha: 1)
|
|
227
233
|
public static let colorNotificationDangerBorder = UIColor(red: 0.918, green: 0.188, blue: 0.176, alpha: 1)
|
|
228
234
|
public static let colorNotificationFont = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 1)
|
|
@@ -308,6 +308,12 @@ export const ColorLinkDangerVisited = "#8b2226";
|
|
|
308
308
|
export const ColorLinkDangerActive = "#8b2226";
|
|
309
309
|
export const ColorLinkDangerDisabled = "#e6e6e6";
|
|
310
310
|
export const ColorLinkDangerHover = "#3e1219";
|
|
311
|
+
export const ColorListboxBackground = "#ffffff";
|
|
312
|
+
export const ColorListboxBorder = "#666666";
|
|
313
|
+
export const ColorListboxTileBorder = "#b3b3b3";
|
|
314
|
+
export const ColorListboxTileShadow = "#191919";
|
|
315
|
+
export const ColorListboxTileHoverBackground = "#e6e6e6";
|
|
316
|
+
export const ColorListboxDisabledBackground = "#cccccc";
|
|
311
317
|
export const ColorNotificationFont = "#000000";
|
|
312
318
|
export const ColorNotificationInformationBackground = "#daeff7";
|
|
313
319
|
export const ColorNotificationInformationBorder = "#0b96cc";
|
|
@@ -6494,6 +6494,138 @@ module.exports = {
|
|
|
6494
6494
|
}
|
|
6495
6495
|
}
|
|
6496
6496
|
},
|
|
6497
|
+
"listbox": {
|
|
6498
|
+
"background": {
|
|
6499
|
+
"value": "#ffffff",
|
|
6500
|
+
"filePath": "node_modules/@mozaic-ds/tokens/properties/color/listbox.json",
|
|
6501
|
+
"isSource": true,
|
|
6502
|
+
"original": {
|
|
6503
|
+
"value": "{color.grey.000.value}"
|
|
6504
|
+
},
|
|
6505
|
+
"name": "ColorListboxBackground",
|
|
6506
|
+
"attributes": {
|
|
6507
|
+
"category": "color",
|
|
6508
|
+
"type": "listbox",
|
|
6509
|
+
"item": "background"
|
|
6510
|
+
},
|
|
6511
|
+
"path": [
|
|
6512
|
+
"color",
|
|
6513
|
+
"listbox",
|
|
6514
|
+
"background"
|
|
6515
|
+
]
|
|
6516
|
+
},
|
|
6517
|
+
"border": {
|
|
6518
|
+
"value": "#666666",
|
|
6519
|
+
"filePath": "node_modules/@mozaic-ds/tokens/properties/color/listbox.json",
|
|
6520
|
+
"isSource": true,
|
|
6521
|
+
"original": {
|
|
6522
|
+
"value": "{color.grey.600.value}"
|
|
6523
|
+
},
|
|
6524
|
+
"name": "ColorListboxBorder",
|
|
6525
|
+
"attributes": {
|
|
6526
|
+
"category": "color",
|
|
6527
|
+
"type": "listbox",
|
|
6528
|
+
"item": "border"
|
|
6529
|
+
},
|
|
6530
|
+
"path": [
|
|
6531
|
+
"color",
|
|
6532
|
+
"listbox",
|
|
6533
|
+
"border"
|
|
6534
|
+
]
|
|
6535
|
+
},
|
|
6536
|
+
"tile": {
|
|
6537
|
+
"border": {
|
|
6538
|
+
"value": "#b3b3b3",
|
|
6539
|
+
"filePath": "node_modules/@mozaic-ds/tokens/properties/color/listbox.json",
|
|
6540
|
+
"isSource": true,
|
|
6541
|
+
"original": {
|
|
6542
|
+
"value": "{color.grey.300.value}"
|
|
6543
|
+
},
|
|
6544
|
+
"name": "ColorListboxTileBorder",
|
|
6545
|
+
"attributes": {
|
|
6546
|
+
"category": "color",
|
|
6547
|
+
"type": "listbox",
|
|
6548
|
+
"item": "tile",
|
|
6549
|
+
"subitem": "border"
|
|
6550
|
+
},
|
|
6551
|
+
"path": [
|
|
6552
|
+
"color",
|
|
6553
|
+
"listbox",
|
|
6554
|
+
"tile",
|
|
6555
|
+
"border"
|
|
6556
|
+
]
|
|
6557
|
+
},
|
|
6558
|
+
"shadow": {
|
|
6559
|
+
"value": "#191919",
|
|
6560
|
+
"filePath": "node_modules/@mozaic-ds/tokens/properties/color/listbox.json",
|
|
6561
|
+
"isSource": true,
|
|
6562
|
+
"original": {
|
|
6563
|
+
"value": "{color.grey.900.value}"
|
|
6564
|
+
},
|
|
6565
|
+
"name": "ColorListboxTileShadow",
|
|
6566
|
+
"attributes": {
|
|
6567
|
+
"category": "color",
|
|
6568
|
+
"type": "listbox",
|
|
6569
|
+
"item": "tile",
|
|
6570
|
+
"subitem": "shadow"
|
|
6571
|
+
},
|
|
6572
|
+
"path": [
|
|
6573
|
+
"color",
|
|
6574
|
+
"listbox",
|
|
6575
|
+
"tile",
|
|
6576
|
+
"shadow"
|
|
6577
|
+
]
|
|
6578
|
+
},
|
|
6579
|
+
"hover": {
|
|
6580
|
+
"background": {
|
|
6581
|
+
"value": "#e6e6e6",
|
|
6582
|
+
"filePath": "node_modules/@mozaic-ds/tokens/properties/color/listbox.json",
|
|
6583
|
+
"isSource": true,
|
|
6584
|
+
"original": {
|
|
6585
|
+
"value": "{color.grey.100.value}"
|
|
6586
|
+
},
|
|
6587
|
+
"name": "ColorListboxTileHoverBackground",
|
|
6588
|
+
"attributes": {
|
|
6589
|
+
"category": "color",
|
|
6590
|
+
"type": "listbox",
|
|
6591
|
+
"item": "tile",
|
|
6592
|
+
"subitem": "hover",
|
|
6593
|
+
"state": "background"
|
|
6594
|
+
},
|
|
6595
|
+
"path": [
|
|
6596
|
+
"color",
|
|
6597
|
+
"listbox",
|
|
6598
|
+
"tile",
|
|
6599
|
+
"hover",
|
|
6600
|
+
"background"
|
|
6601
|
+
]
|
|
6602
|
+
}
|
|
6603
|
+
}
|
|
6604
|
+
},
|
|
6605
|
+
"disabled": {
|
|
6606
|
+
"background": {
|
|
6607
|
+
"value": "#cccccc",
|
|
6608
|
+
"filePath": "node_modules/@mozaic-ds/tokens/properties/color/listbox.json",
|
|
6609
|
+
"isSource": true,
|
|
6610
|
+
"original": {
|
|
6611
|
+
"value": "{color.grey.200.value}"
|
|
6612
|
+
},
|
|
6613
|
+
"name": "ColorListboxDisabledBackground",
|
|
6614
|
+
"attributes": {
|
|
6615
|
+
"category": "color",
|
|
6616
|
+
"type": "listbox",
|
|
6617
|
+
"item": "disabled",
|
|
6618
|
+
"subitem": "background"
|
|
6619
|
+
},
|
|
6620
|
+
"path": [
|
|
6621
|
+
"color",
|
|
6622
|
+
"listbox",
|
|
6623
|
+
"disabled",
|
|
6624
|
+
"background"
|
|
6625
|
+
]
|
|
6626
|
+
}
|
|
6627
|
+
}
|
|
6628
|
+
},
|
|
6497
6629
|
"notification": {
|
|
6498
6630
|
"font": {
|
|
6499
6631
|
"value": "#000000",
|
|
@@ -309,6 +309,12 @@ $color-link-danger-visited: #8b2226 !default;
|
|
|
309
309
|
$color-link-danger-active: #8b2226 !default;
|
|
310
310
|
$color-link-danger-disabled: #e6e6e6 !default;
|
|
311
311
|
$color-link-danger-hover: #3e1219 !default;
|
|
312
|
+
$color-listbox-background: #ffffff !default;
|
|
313
|
+
$color-listbox-border: #666666 !default;
|
|
314
|
+
$color-listbox-tile-border: #b3b3b3 !default;
|
|
315
|
+
$color-listbox-tile-shadow: #191919 !default;
|
|
316
|
+
$color-listbox-tile-hover-background: #e6e6e6 !default;
|
|
317
|
+
$color-listbox-disabled-background: #cccccc !default;
|
|
312
318
|
$color-notification-font: #000000 !default;
|
|
313
319
|
$color-notification-information-background: #daeff7 !default;
|
|
314
320
|
$color-notification-information-border: #0b96cc !default;
|
|
@@ -1044,6 +1050,20 @@ $tokens: (
|
|
|
1044
1050
|
'hover': $color-link-danger-hover
|
|
1045
1051
|
)
|
|
1046
1052
|
),
|
|
1053
|
+
'listbox': (
|
|
1054
|
+
'background': $color-listbox-background,
|
|
1055
|
+
'border': $color-listbox-border,
|
|
1056
|
+
'tile': (
|
|
1057
|
+
'border': $color-listbox-tile-border,
|
|
1058
|
+
'shadow': $color-listbox-tile-shadow,
|
|
1059
|
+
'hover': (
|
|
1060
|
+
'background': $color-listbox-tile-hover-background
|
|
1061
|
+
)
|
|
1062
|
+
),
|
|
1063
|
+
'disabled': (
|
|
1064
|
+
'background': $color-listbox-disabled-background
|
|
1065
|
+
)
|
|
1066
|
+
),
|
|
1047
1067
|
'notification': (
|
|
1048
1068
|
'font': $color-notification-font,
|
|
1049
1069
|
'information': (
|
package/types/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ declare module '@mozaic-ds/vue' {
|
|
|
16
16
|
const MCard: VueConstructor;
|
|
17
17
|
const MCheckbox: VueConstructor;
|
|
18
18
|
const MCheckboxGroup: VueConstructor;
|
|
19
|
+
const MDropdown: VueConstructor;
|
|
19
20
|
const MField: VueConstructor;
|
|
20
21
|
const MFileUploader: VueConstructor;
|
|
21
22
|
const MFlag: VueConstructor;
|
|
@@ -64,6 +65,7 @@ declare module '@mozaic-ds/vue' {
|
|
|
64
65
|
MCard,
|
|
65
66
|
MCheckbox,
|
|
66
67
|
MCheckboxGroup,
|
|
68
|
+
MDropdown,
|
|
67
69
|
MField,
|
|
68
70
|
MFileUploader,
|
|
69
71
|
MFlag,
|