@central-design-system/components 3.0.0-alpha.5 → 3.0.0-alpha.6

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 (54) hide show
  1. package/dist/cds.css +1 -1
  2. package/dist/cds.d.ts +51 -48
  3. package/dist/cds.es.js +3816 -3310
  4. package/dist/cds.umd.js +1 -1
  5. package/dist/components/CdsButton/CdsButton.vue.d.ts +1 -0
  6. package/dist/components/CdsCombobox/CdsCombobox.vue.d.ts +18 -18
  7. package/dist/components/CdsDropdown/CdsDropdown.vue.d.ts +18 -18
  8. package/dist/components/CdsGrid/composable/grid.d.ts +2 -1
  9. package/dist/components/CdsMenu/CdsMenu.vue.d.ts +24 -18
  10. package/dist/components/CdsOverlay/CdsOverlay.vue.d.ts +9 -13
  11. package/dist/components/CdsOverlay/composable/locationStrategies.d.ts +3 -0
  12. package/dist/components/CdsPagination/CdsPagination.vue.d.ts +142 -0
  13. package/dist/components/CdsTooltip/CdsTooltip.vue.d.ts +765 -0
  14. package/dist/components/index.d.ts +3 -1
  15. package/dist/composable/dimensions.d.ts +23 -5
  16. package/dist/composable/display.d.ts +56 -0
  17. package/dist/composable/index.d.ts +3 -0
  18. package/dist/composable/overlay.d.ts +1 -1
  19. package/dist/composable/refs.d.ts +6 -0
  20. package/dist/composable/resizeObserver.d.ts +7 -0
  21. package/dist/create.d.ts +21 -0
  22. package/dist/globals.d.ts +2 -0
  23. package/dist/utils/helpers.d.ts +2 -0
  24. package/package.json +1 -2
  25. package/src/scss/themes/index.ts +1 -1
  26. package/dist/types/CdsOptions.d.ts +0 -3
  27. package/src/utils/__test__/helper.test.ts +0 -59
  28. package/src/utils/__test__/mocks/helper.mock.ts +0 -362
  29. package/src/utils/__test__/mocks/propFactory.mock.ts +0 -88
  30. package/src/utils/__test__/propFactory.test.ts +0 -9
  31. package/src/utils/anchor.ts +0 -76
  32. package/src/utils/animation.ts +0 -62
  33. package/src/utils/box.ts +0 -39
  34. package/src/utils/cache.ts +0 -12
  35. package/src/utils/changeCase/__test__/lowerCase.test.ts +0 -12
  36. package/src/utils/changeCase/__test__/mocks/lowerCase.mock.ts +0 -80
  37. package/src/utils/changeCase/__test__/mocks/noCase.mock.ts +0 -131
  38. package/src/utils/changeCase/__test__/mocks/paramCase.mock.ts +0 -39
  39. package/src/utils/changeCase/__test__/mocks/pascalCase.mock.ts +0 -46
  40. package/src/utils/changeCase/__test__/noCase.test.ts +0 -8
  41. package/src/utils/changeCase/__test__/paramCase.test.ts +0 -8
  42. package/src/utils/changeCase/__test__/pascalCase.test.ts +0 -8
  43. package/src/utils/changeCase/lowerCase.ts +0 -56
  44. package/src/utils/changeCase/noCase.ts +0 -45
  45. package/src/utils/changeCase/paramCase.ts +0 -11
  46. package/src/utils/changeCase/pascalCase.ts +0 -24
  47. package/src/utils/date.ts +0 -1106
  48. package/src/utils/dom.ts +0 -24
  49. package/src/utils/getCurrentInstance.ts +0 -43
  50. package/src/utils/getScrollParent.ts +0 -29
  51. package/src/utils/globals.ts +0 -8
  52. package/src/utils/helpers.ts +0 -312
  53. package/src/utils/index.ts +0 -19
  54. package/src/utils/propsFactory.ts +0 -92
package/dist/cds.d.ts CHANGED
@@ -1,55 +1,58 @@
1
1
  /**
2
2
  * Automatically generated by CDS CLI
3
- * Generated on 5/23/2023, 3:10:54 PM
3
+ * Generated on 6/1/2023, 2:01:09 PM
4
4
  **/
5
- import type { Plugin } from 'vue';
6
- import { CdsBadge, CdsBreadcrumbs, CdsBreadcrumbsItem, CdsButton, CdsCheckbox, CdsCheckboxGroup, CdsCombobox, CdsDatePicker, CdsDrawer, CdsDropdown, CdsEmptyState, CdsForm, CdsCol, CdsGrid, CdsRow, CdsIcon, CdsInput, CdsInputCounter, CdsInputDescription, CdsInputLabel, CdsInputMessages, CdsLink, CdsList, CdsListGroup, CdsListItem, CdsLoader, CdsMenu, CdsOverlay, CdsRadio, CdsRadioButton, CdsSelect, CdsSidebar, CdsStages, CdsStatus, CdsTag, CdsTextArea, CdsTextInput, CdsTimePicker } from './components';
7
- export * from './directives';
8
- export * from './plugins';
9
- export * from './utils';
5
+ import { createCds } from './create';
6
+ import * as components from './components';
7
+ import * as directives from './directives';
8
+ import * as plugin from './plugins';
9
+ import * as utils from './utils';
10
10
  declare module '@vue/runtime-core' {
11
11
  interface GlobalComponents {
12
- CdsBadge: typeof CdsBadge;
13
- CdsBreadcrumbs: typeof CdsBreadcrumbs;
14
- CdsBreadcrumbsItem: typeof CdsBreadcrumbsItem;
15
- CdsButton: typeof CdsButton;
16
- CdsCheckbox: typeof CdsCheckbox;
17
- CdsCheckboxGroup: typeof CdsCheckboxGroup;
18
- CdsCombobox: typeof CdsCombobox;
19
- CdsDatePicker: typeof CdsDatePicker;
20
- CdsDrawer: typeof CdsDrawer;
21
- CdsDropdown: typeof CdsDropdown;
22
- CdsEmptyState: typeof CdsEmptyState;
23
- CdsForm: typeof CdsForm;
24
- CdsCol: typeof CdsCol;
25
- CdsGrid: typeof CdsGrid;
26
- CdsRow: typeof CdsRow;
27
- CdsIcon: typeof CdsIcon;
28
- CdsInput: typeof CdsInput;
29
- CdsInputCounter: typeof CdsInputCounter;
30
- CdsInputDescription: typeof CdsInputDescription;
31
- CdsInputLabel: typeof CdsInputLabel;
32
- CdsInputMessages: typeof CdsInputMessages;
33
- CdsLink: typeof CdsLink;
34
- CdsList: typeof CdsList;
35
- CdsListGroup: typeof CdsListGroup;
36
- CdsListItem: typeof CdsListItem;
37
- CdsLoader: typeof CdsLoader;
38
- CdsMenu: typeof CdsMenu;
39
- CdsOverlay: typeof CdsOverlay;
40
- CdsRadio: typeof CdsRadio;
41
- CdsRadioButton: typeof CdsRadioButton;
42
- CdsSelect: typeof CdsSelect;
43
- CdsSidebar: typeof CdsSidebar;
44
- CdsStages: typeof CdsStages;
45
- CdsStatus: typeof CdsStatus;
46
- CdsTag: typeof CdsTag;
47
- CdsTextArea: typeof CdsTextArea;
48
- CdsTextInput: typeof CdsTextInput;
49
- CdsTimePicker: typeof CdsTimePicker;
12
+ CdsBadge: typeof components.CdsBadge;
13
+ CdsBreadcrumbs: typeof components.CdsBreadcrumbs;
14
+ CdsBreadcrumbsItem: typeof components.CdsBreadcrumbsItem;
15
+ CdsButton: typeof components.CdsButton;
16
+ CdsCheckbox: typeof components.CdsCheckbox;
17
+ CdsCheckboxGroup: typeof components.CdsCheckboxGroup;
18
+ CdsCombobox: typeof components.CdsCombobox;
19
+ CdsDatePicker: typeof components.CdsDatePicker;
20
+ CdsDrawer: typeof components.CdsDrawer;
21
+ CdsDropdown: typeof components.CdsDropdown;
22
+ CdsEmptyState: typeof components.CdsEmptyState;
23
+ CdsForm: typeof components.CdsForm;
24
+ CdsCol: typeof components.CdsCol;
25
+ CdsGrid: typeof components.CdsGrid;
26
+ CdsRow: typeof components.CdsRow;
27
+ CdsIcon: typeof components.CdsIcon;
28
+ CdsInput: typeof components.CdsInput;
29
+ CdsInputCounter: typeof components.CdsInputCounter;
30
+ CdsInputDescription: typeof components.CdsInputDescription;
31
+ CdsInputLabel: typeof components.CdsInputLabel;
32
+ CdsInputMessages: typeof components.CdsInputMessages;
33
+ CdsLink: typeof components.CdsLink;
34
+ CdsList: typeof components.CdsList;
35
+ CdsListGroup: typeof components.CdsListGroup;
36
+ CdsListItem: typeof components.CdsListItem;
37
+ CdsLoader: typeof components.CdsLoader;
38
+ CdsMenu: typeof components.CdsMenu;
39
+ CdsOverlay: typeof components.CdsOverlay;
40
+ CdsPagination: typeof components.CdsPagination;
41
+ CdsRadio: typeof components.CdsRadio;
42
+ CdsRadioButton: typeof components.CdsRadioButton;
43
+ CdsSelect: typeof components.CdsSelect;
44
+ CdsSidebar: typeof components.CdsSidebar;
45
+ CdsStages: typeof components.CdsStages;
46
+ CdsStatus: typeof components.CdsStatus;
47
+ CdsTag: typeof components.CdsTag;
48
+ CdsTextArea: typeof components.CdsTextArea;
49
+ CdsTextInput: typeof components.CdsTextInput;
50
+ CdsTimePicker: typeof components.CdsTimePicker;
51
+ CdsTooltip: typeof components.CdsTooltip;
50
52
  }
51
53
  }
52
- export { CdsBadge, CdsBreadcrumbs, CdsBreadcrumbsItem, CdsButton, CdsCheckbox, CdsCheckboxGroup, CdsCombobox, CdsDatePicker, CdsDrawer, CdsDropdown, CdsEmptyState, CdsForm, CdsCol, CdsGrid, CdsRow, CdsIcon, CdsInput, CdsInputCounter, CdsInputDescription, CdsInputLabel, CdsInputMessages, CdsLink, CdsList, CdsListGroup, CdsListItem, CdsLoader, CdsMenu, CdsOverlay, CdsRadio, CdsRadioButton, CdsSelect, CdsSidebar, CdsStages, CdsStatus, CdsTag, CdsTextArea, CdsTextInput, CdsTimePicker };
53
- declare const plugin: Plugin;
54
- export { plugin as Cds };
55
- export default plugin;
54
+ export * from './components';
55
+ export * from './directives';
56
+ export * from './composable';
57
+ export { createCds, components, directives, plugin, utils };
58
+ export default createCds;