@madgex/design-system 1.65.2 → 1.65.3

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 (55) hide show
  1. package/__tests__/unit/src/components/accordion.spec.js +1 -1
  2. package/__tests__/unit/src/components/combobox.spec.js +0 -9
  3. package/coverage/cobertura-coverage.xml +163 -179
  4. package/coverage/components/accordion/accordion.js.html +8 -14
  5. package/coverage/components/accordion/index.html +11 -11
  6. package/coverage/components/inputs/combobox/combobox.js.html +11 -5
  7. package/coverage/components/inputs/combobox/index.html +7 -7
  8. package/coverage/components/inputs/combobox/vue-components/Combobox.vue.html +30 -42
  9. package/coverage/components/inputs/combobox/vue-components/ListBoxOption.vue.html +4 -4
  10. package/coverage/components/inputs/combobox/vue-components/index.html +16 -16
  11. package/coverage/components/inputs/file-upload/file-upload.js.html +1 -1
  12. package/coverage/components/inputs/file-upload/index.html +1 -1
  13. package/coverage/components/inputs/textarea/character-count.js.html +1 -1
  14. package/coverage/components/inputs/textarea/index.html +1 -1
  15. package/coverage/components/modal/index.html +1 -1
  16. package/coverage/components/modal/modal.js.html +1 -1
  17. package/coverage/components/notification/index.html +1 -1
  18. package/coverage/components/notification/notification.js.html +1 -1
  19. package/coverage/components/popover/index.html +1 -1
  20. package/coverage/components/popover/popover.js.html +1 -1
  21. package/coverage/components/switch-state/index.html +1 -1
  22. package/coverage/components/switch-state/switch-state.js.html +1 -1
  23. package/coverage/components/tabs/index.html +1 -1
  24. package/coverage/components/tabs/tabs.js.html +1 -1
  25. package/coverage/index.html +27 -27
  26. package/coverage/js/common.js.html +1 -1
  27. package/coverage/js/fractal-scripts/combobox.js.html +21 -18
  28. package/coverage/js/fractal-scripts/index.html +9 -9
  29. package/coverage/js/fractal-scripts/notification.js.html +1 -1
  30. package/coverage/js/fractal-scripts/switch-state.js.html +1 -1
  31. package/coverage/js/index-fractal.js.html +1 -1
  32. package/coverage/js/index-polyfills.js.html +1 -1
  33. package/coverage/js/index-vue.js.html +1 -1
  34. package/coverage/js/index.html +1 -1
  35. package/coverage/js/index.js.html +1 -1
  36. package/coverage/js/polyfills/arrayPrototypeFind.js.html +1 -1
  37. package/coverage/js/polyfills/closest.js.html +1 -1
  38. package/coverage/js/polyfills/index.html +1 -1
  39. package/coverage/js/polyfills/objectAssign.js.html +1 -1
  40. package/coverage/js/polyfills/remove.js.html +1 -1
  41. package/coverage/tokens/_config.js.html +1 -1
  42. package/coverage/tokens/index.html +1 -1
  43. package/dist/_tokens/css/_tokens.css +3 -3
  44. package/dist/_tokens/js/_tokens-module.js +5 -5
  45. package/dist/_tokens/scss/_tokens.scss +3 -3
  46. package/dist/assets/icons.json +1 -1
  47. package/dist/css/index.css +1 -1
  48. package/dist/js/index.js +4 -4
  49. package/package.json +1 -1
  50. package/src/components/accordion/accordion.js +2 -4
  51. package/src/components/inputs/combobox/_template.njk +1 -1
  52. package/src/components/inputs/combobox/combobox.js +2 -0
  53. package/src/components/inputs/combobox/vue-components/Combobox.vue +1 -5
  54. package/src/js/fractal-scripts/combobox.js +8 -7
  55. package/src/tokens/color.json +2 -2
@@ -55,7 +55,7 @@ describe('Accordion - createButton', () => {
55
55
  beforeEach(() => {});
56
56
  it('created the button and contains correct attrs', async () => {
57
57
  expect.assertions(2);
58
- const accordionTriggerButton = accordion.createButton('accordionTriggerId', element);
58
+ const accordionTriggerButton = accordion.createButton(element);
59
59
  expect(accordionTriggerButton.innerHTML).toContain('this is the span');
60
60
  expect(accordionTriggerButton.classList).toEqual(expect.objectContaining({ '0': 'mds-accordion-trigger__button' }));
61
61
  });
@@ -36,10 +36,6 @@ describe('Combobox', () => {
36
36
  expect(searchBox.attributes('role')).toBe('combobox');
37
37
  });
38
38
 
39
- it('has the correct labelledby attribute', () => {
40
- expect(searchBox.attributes('aria-labelledby')).toBe('test-label');
41
- });
42
-
43
39
  it('controls the listbox', async () => {
44
40
  expect.assertions(1);
45
41
  searchBox.trigger('focus');
@@ -79,11 +75,6 @@ describe('Combobox', () => {
79
75
  it('has the correct role', () => {
80
76
  expect(listBox.attributes('role')).toBe('listbox');
81
77
  });
82
-
83
- it('has the correct labelledby attribute', () => {
84
- expect(listBox.attributes('aria-labelledby')).toBe('test-label');
85
- });
86
-
87
78
  it('renders the options passed to the select', () => {
88
79
  expect(listBox.findAll('li')).toHaveLength(2);
89
80
  });