@coreui/vue-pro 5.0.0-beta.0 → 5.0.0-rc.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.
Files changed (141) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/components/avatar/CAvatar.d.ts +2 -2
  3. package/dist/cjs/components/avatar/CAvatar.js +1 -1
  4. package/dist/cjs/components/badge/CBadge.d.ts +2 -2
  5. package/dist/cjs/components/badge/CBadge.js +1 -1
  6. package/dist/cjs/components/calendar/CCalendar.d.ts +6 -6
  7. package/dist/cjs/components/calendar/CCalendar.js +3 -3
  8. package/dist/cjs/components/card/CCard.d.ts +2 -2
  9. package/dist/cjs/components/card/CCard.js +1 -1
  10. package/dist/cjs/components/conditional-teleport/CConditionalTeleport.d.ts +2 -2
  11. package/dist/cjs/components/conditional-teleport/CConditionalTeleport.js +2 -2
  12. package/dist/cjs/components/conditional-teleport/CConditionalTeleport.js.map +1 -1
  13. package/dist/cjs/components/date-picker/CDatePicker.d.ts +12 -12
  14. package/dist/cjs/components/date-picker/CDatePicker.js +6 -6
  15. package/dist/cjs/components/date-range-picker/CDateRangePicker.d.ts +12 -12
  16. package/dist/cjs/components/date-range-picker/CDateRangePicker.js +6 -6
  17. package/dist/cjs/components/dropdown/CDropdown.d.ts +4 -4
  18. package/dist/cjs/components/dropdown/CDropdown.js +3 -3
  19. package/dist/cjs/components/dropdown/CDropdown.js.map +1 -1
  20. package/dist/cjs/components/dropdown/CDropdownMenu.js +4 -1
  21. package/dist/cjs/components/dropdown/CDropdownMenu.js.map +1 -1
  22. package/dist/cjs/components/dropdown/CDropdownToggle.d.ts +2 -2
  23. package/dist/cjs/components/dropdown/CDropdownToggle.js +1 -1
  24. package/dist/cjs/components/link/CLink.js +4 -1
  25. package/dist/cjs/components/link/CLink.js.map +1 -1
  26. package/dist/cjs/components/modal/CModal.d.ts +2 -2
  27. package/dist/cjs/components/modal/CModal.js +1 -1
  28. package/dist/cjs/components/popover/CPopover.d.ts +2 -2
  29. package/dist/cjs/components/popover/CPopover.js +5 -3
  30. package/dist/cjs/components/popover/CPopover.js.map +1 -1
  31. package/dist/cjs/components/progress/CProgress.d.ts +2 -2
  32. package/dist/cjs/components/progress/CProgress.js +1 -1
  33. package/dist/cjs/components/sidebar/CSidebar.d.ts +8 -2
  34. package/dist/cjs/components/sidebar/CSidebar.js +24 -11
  35. package/dist/cjs/components/sidebar/CSidebar.js.map +1 -1
  36. package/dist/cjs/components/smart-table/CSmartTable.d.ts +0 -1
  37. package/dist/cjs/components/smart-table/CSmartTable.js +5 -6
  38. package/dist/cjs/components/smart-table/CSmartTable.js.map +1 -1
  39. package/dist/cjs/components/smart-table/CSmartTableBody.js +2 -2
  40. package/dist/cjs/components/smart-table/CSmartTableBody.js.map +1 -1
  41. package/dist/cjs/components/smart-table/consts.d.ts +1 -0
  42. package/dist/cjs/components/smart-table/consts.js +6 -0
  43. package/dist/cjs/components/smart-table/consts.js.map +1 -0
  44. package/dist/cjs/components/toast/CToaster.js +1 -1
  45. package/dist/cjs/components/toast/CToaster.js.map +1 -1
  46. package/dist/cjs/components/tooltip/CTooltip.d.ts +2 -2
  47. package/dist/cjs/components/tooltip/CTooltip.js +5 -3
  48. package/dist/cjs/components/tooltip/CTooltip.js.map +1 -1
  49. package/dist/cjs/props.js +14 -7
  50. package/dist/cjs/props.js.map +1 -1
  51. package/dist/esm/components/avatar/CAvatar.d.ts +2 -2
  52. package/dist/esm/components/avatar/CAvatar.js +1 -1
  53. package/dist/esm/components/badge/CBadge.d.ts +2 -2
  54. package/dist/esm/components/badge/CBadge.js +1 -1
  55. package/dist/esm/components/calendar/CCalendar.d.ts +6 -6
  56. package/dist/esm/components/calendar/CCalendar.js +3 -3
  57. package/dist/esm/components/card/CCard.d.ts +2 -2
  58. package/dist/esm/components/card/CCard.js +1 -1
  59. package/dist/esm/components/conditional-teleport/CConditionalTeleport.d.ts +2 -2
  60. package/dist/esm/components/conditional-teleport/CConditionalTeleport.js +2 -2
  61. package/dist/esm/components/conditional-teleport/CConditionalTeleport.js.map +1 -1
  62. package/dist/esm/components/date-picker/CDatePicker.d.ts +12 -12
  63. package/dist/esm/components/date-picker/CDatePicker.js +6 -6
  64. package/dist/esm/components/date-range-picker/CDateRangePicker.d.ts +12 -12
  65. package/dist/esm/components/date-range-picker/CDateRangePicker.js +6 -6
  66. package/dist/esm/components/dropdown/CDropdown.d.ts +4 -4
  67. package/dist/esm/components/dropdown/CDropdown.js +3 -3
  68. package/dist/esm/components/dropdown/CDropdown.js.map +1 -1
  69. package/dist/esm/components/dropdown/CDropdownMenu.js +4 -1
  70. package/dist/esm/components/dropdown/CDropdownMenu.js.map +1 -1
  71. package/dist/esm/components/dropdown/CDropdownToggle.d.ts +2 -2
  72. package/dist/esm/components/dropdown/CDropdownToggle.js +1 -1
  73. package/dist/esm/components/link/CLink.js +4 -1
  74. package/dist/esm/components/link/CLink.js.map +1 -1
  75. package/dist/esm/components/modal/CModal.d.ts +2 -2
  76. package/dist/esm/components/modal/CModal.js +1 -1
  77. package/dist/esm/components/popover/CPopover.d.ts +2 -2
  78. package/dist/esm/components/popover/CPopover.js +5 -3
  79. package/dist/esm/components/popover/CPopover.js.map +1 -1
  80. package/dist/esm/components/progress/CProgress.d.ts +2 -2
  81. package/dist/esm/components/progress/CProgress.js +1 -1
  82. package/dist/esm/components/sidebar/CSidebar.d.ts +8 -2
  83. package/dist/esm/components/sidebar/CSidebar.js +24 -11
  84. package/dist/esm/components/sidebar/CSidebar.js.map +1 -1
  85. package/dist/esm/components/smart-table/CSmartTable.d.ts +0 -1
  86. package/dist/esm/components/smart-table/CSmartTable.js +2 -2
  87. package/dist/esm/components/smart-table/CSmartTable.js.map +1 -1
  88. package/dist/esm/components/smart-table/CSmartTableBody.js +1 -1
  89. package/dist/esm/components/smart-table/consts.d.ts +1 -0
  90. package/dist/esm/components/smart-table/consts.js +4 -0
  91. package/dist/esm/components/smart-table/consts.js.map +1 -0
  92. package/dist/esm/components/toast/CToaster.js +1 -1
  93. package/dist/esm/components/toast/CToaster.js.map +1 -1
  94. package/dist/esm/components/tooltip/CTooltip.d.ts +2 -2
  95. package/dist/esm/components/tooltip/CTooltip.js +5 -3
  96. package/dist/esm/components/tooltip/CTooltip.js.map +1 -1
  97. package/dist/esm/props.js +14 -7
  98. package/dist/esm/props.js.map +1 -1
  99. package/package.json +9 -14
  100. package/src/components/avatar/CAvatar.ts +1 -1
  101. package/src/components/badge/CBadge.ts +1 -1
  102. package/src/components/breadcrumb/__tests__/__snapshots__/CBreadcrumb.spec.ts.snap +1 -1
  103. package/src/components/button/__tests__/__snapshots__/CButton.spec.ts.snap +2 -2
  104. package/src/components/calendar/CCalendar.ts +3 -3
  105. package/src/components/card/CCard.ts +1 -1
  106. package/src/components/carousel/__tests__/__snapshots__/CCarousel.spec.ts.snap +1 -1
  107. package/src/components/conditional-teleport/CConditionalTeleport.ts +2 -4
  108. package/src/components/date-picker/CDatePicker.ts +6 -6
  109. package/src/components/date-range-picker/CDateRangePicker.ts +6 -6
  110. package/src/components/dropdown/CDropdown.ts +3 -5
  111. package/src/components/dropdown/CDropdownMenu.ts +4 -1
  112. package/src/components/dropdown/CDropdownToggle.ts +1 -1
  113. package/src/components/dropdown/__tests__/__snapshots__/CDropdownMenu.spec.ts.snap +6 -4
  114. package/src/components/dropdown/__tests__/__snapshots__/CDropdownToggle.spec.ts.snap +2 -2
  115. package/src/components/form/__tests__/__snapshots__/CFormCheck.spec.ts.snap +2 -2
  116. package/src/components/link/CLink.ts +5 -1
  117. package/src/components/modal/CModal.ts +1 -1
  118. package/src/components/modal/__tests__/__snapshots__/CModal.spec.ts.snap +4 -4
  119. package/src/components/navbar/__tests__/__snapshots__/CNavbar.spec.ts.snap +1 -1
  120. package/src/components/offcanvas/__tests__/__snapshots__/COffcanvas.spec.ts.snap +2 -2
  121. package/src/components/popover/CPopover.ts +5 -5
  122. package/src/components/progress/CProgress.ts +1 -1
  123. package/src/components/progress/__tests__/__snapshots__/CProgress.spec.ts.snap +10 -2
  124. package/src/components/progress/__tests__/__snapshots__/CProgressBar.spec.ts.snap +2 -2
  125. package/src/components/sidebar/CSidebar.ts +30 -10
  126. package/src/components/sidebar/__tests__/__snapshots__/CSidebar.spec.ts.snap +2 -2
  127. package/src/components/smart-table/CSmartTable.ts +1 -3
  128. package/src/components/smart-table/CSmartTableBody.ts +1 -1
  129. package/src/components/smart-table/consts.ts +1 -0
  130. package/src/components/spinner/__tests__/__snapshots__/CSpinner.spec.ts.snap +2 -2
  131. package/src/components/toast/CToaster.ts +1 -1
  132. package/src/components/toast/__tests__/__snapshots__/CToaster.spec.ts.snap +2 -2
  133. package/src/components/tooltip/CTooltip.ts +5 -5
  134. package/src/components/widgets/__tests__/__snapshots__/CWidgetStatsA.spec.ts.snap +1 -1
  135. package/src/components/widgets/__tests__/__snapshots__/CWidgetStatsB.spec.ts.snap +6 -4
  136. package/src/components/widgets/__tests__/__snapshots__/CWidgetStatsC.spec.ts.snap +6 -4
  137. package/src/components/widgets/__tests__/__snapshots__/CWidgetStatsD.spec.ts.snap +2 -2
  138. package/src/components/widgets/__tests__/__snapshots__/CWidgetStatsF.spec.ts.snap +1 -1
  139. package/src/props.ts +14 -7
  140. package/src/shims-vue.d.ts +1 -8
  141. package/src/utils/getRTLPlacement.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"CToaster.js","sources":["../../../../src/components/toast/CToaster.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAEM,MAAA,QAAQ,GAAG,eAAe,CAAC;AAC/B,IAAA,IAAI,EAAE,UAAU;AAChB,IAAA,KAAK,EAAE;AACL;;;;AAIG;AACH,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,SAAS,EAAE,CAAC,KAAa,KAAI;gBAC3B,OAAO;oBACL,WAAW;oBACX,YAAY;oBACZ,SAAS;oBACT,cAAc;oBACd,eAAe;oBACf,YAAY;oBACZ,cAAc;oBACd,eAAe;oBACf,YAAY;AACb,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a specific element. You can pass an HTML element or function that returns a single element. By default `document.body`.
16
16
  *
17
- * @since v5.0.0-beta.0
17
+ * @since v5.0.0-rc.0
18
18
  */
19
19
  container: {
20
20
  type: PropType<string | HTMLElement | (() => HTMLElement)>;
@@ -92,7 +92,7 @@ declare const CTooltip: import("vue").DefineComponent<{
92
92
  /**
93
93
  * Appends the vue tooltip to a specific element. You can pass an HTML element or function that returns a single element. By default `document.body`.
94
94
  *
95
- * @since v5.0.0-beta.0
95
+ * @since v5.0.0-rc.0
96
96
  */
97
97
  container: {
98
98
  type: PropType<string | HTMLElement | (() => HTMLElement)>;
@@ -6,6 +6,7 @@ import getRTLPlacement from '../../utils/getRTLPlacement.js';
6
6
 
7
7
  const CTooltip = defineComponent({
8
8
  name: 'CTooltip',
9
+ inheritAttrs: false,
9
10
  props: {
10
11
  /**
11
12
  * Apply a CSS fade transition to the tooltip.
@@ -19,10 +20,10 @@ const CTooltip = defineComponent({
19
20
  /**
20
21
  * Appends the vue tooltip to a specific element. You can pass an HTML element or function that returns a single element. By default `document.body`.
21
22
  *
22
- * @since v5.0.0-beta.0
23
+ * @since v5.0.0-rc.0
23
24
  */
24
25
  container: {
25
- type: [HTMLElement, () => HTMLElement, String],
26
+ type: [Object, String],
26
27
  default: 'body',
27
28
  },
28
29
  /**
@@ -171,16 +172,17 @@ const CTooltip = defineComponent({
171
172
  onLeave: (el, done) => handleLeave(el, done),
172
173
  }, () => visible.value &&
173
174
  h('div', {
175
+ ...attrs,
174
176
  class: [
175
177
  'tooltip',
176
178
  'bs-tooltip-auto',
177
179
  {
178
180
  fade: props.animation,
179
181
  },
182
+ attrs.class,
180
183
  ],
181
184
  ref: tooltipRef,
182
185
  role: 'tooltip',
183
- ...attrs,
184
186
  }, [
185
187
  h('div', { class: 'tooltip-arrow' }),
186
188
  (props.content || slots.content) &&
@@ -1 +1 @@
1
- {"version":3,"file":"CTooltip.js","sources":["../../../../src/components/tooltip/CTooltip.ts"],"sourcesContent":[null],"names":[],"mappings":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AAC;wBACtF,UAAU,EAAE,CAAC,KAAY,KACvB,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,aAAa,CAAC,KAAK,EAAE,IAAI,CAAC;wBAC/D,UAAU,EAAE,CAAC,KAAY,KACvB,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,aAAa,CAAC,KAAK,EAAE,KAAK,CAAC;AACjE,qBAAA;iBACF,CAAC;SACL,CAAA;KACF;AACF,CAAA;;;;"}
package/dist/esm/props.js CHANGED
@@ -55,14 +55,21 @@ const TextColor = {
55
55
  'info',
56
56
  'dark',
57
57
  'light',
58
+ 'primary-emphasis',
59
+ 'secondary-emphasis',
60
+ 'success-emphasis',
61
+ 'danger-emphasis',
62
+ 'warning-emphasis',
63
+ 'info-emphasis',
64
+ 'light-emphasis',
65
+ 'body',
66
+ 'body-emphasis',
67
+ 'body-secondary',
68
+ 'body-tertiary',
69
+ 'black',
70
+ 'black-50',
58
71
  'white',
59
- 'muted',
60
- 'high-emphasis',
61
- 'medium-emphasis',
62
- 'disabled',
63
- 'high-emphasis-inverse',
64
- 'medium-emphasis-inverse',
65
- 'disabled-inverse',
72
+ 'white-50',
66
73
  ].includes(value);
67
74
  },
68
75
  };
@@ -1 +1 @@
1
- {"version":3,"file":"props.js","sources":["../../src/props.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAa,MAAA,KAAK,GAAG;AACnB,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,SAAS,EAAE,CAAC,KAAa,KAAa;;QAEpC,OAAO;YACL,SAAS;YACT,aAAa;YACb,aAAa;YACb,gBAAgB;YAChB,eAAe;YACf,gBAAgB;YAChB,cAAc;YACd,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;AACZ,SAAA,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;KAClB;EACF;AAUY,MAAA,KAAK,GAAG;AACnB,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,SAAS,EAAE,CAAC,KAAa,KAAa;;QAEpC,OAAO;YACL,SAAS;YACT,WAAW;YACX,SAAS;YACT,QAAQ;YACR,SAAS;YACT,MAAM;YACN,MAAM;YACN,OAAO;YACP,MAAM;YACN,aAAa;YACb,kBAAkB;YAClB,oBAAoB;YACpB,kBAAkB;YAClB,iBAAiB;YACjB,kBAAkB;YAClB,eAAe;YACf,eAAe;YACf,gBAAgB;AACjB,SAAA,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;KAClB;EACF;AAEY,MAAA,SAAS,GAAG;AACvB,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,SAAS,EAAE,CAAC,KAAa,KAAa;QACpC,OAAO;YACL,SAAS;YACT,WAAW;YACX,SAAS;YACT,QAAQ;YACR,SAAS;YACT,MAAM;YACN,MAAM;YACN,OAAO;YACP,OAAO;YACP,OAAO;YACP,eAAe;YACf,iBAAiB;YACjB,UAAU;YACV,uBAAuB;YACvB,yBAAyB;YACzB,kBAAkB;AACnB,SAAA,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;KAClB;;;;;"}
1
+ {"version":3,"file":"props.js","sources":["../../src/props.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAa,MAAA,KAAK,GAAG;AACnB,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,SAAS,EAAE,CAAC,KAAa,KAAa;;QAEpC,OAAO;YACL,SAAS;YACT,aAAa;YACb,aAAa;YACb,gBAAgB;YAChB,eAAe;YACf,gBAAgB;YAChB,cAAc;YACd,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;AACZ,SAAA,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;KAClB;EACF;AAUY,MAAA,KAAK,GAAG;AACnB,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,SAAS,EAAE,CAAC,KAAa,KAAa;;QAEpC,OAAO;YACL,SAAS;YACT,WAAW;YACX,SAAS;YACT,QAAQ;YACR,SAAS;YACT,MAAM;YACN,MAAM;YACN,OAAO;YACP,MAAM;YACN,aAAa;YACb,kBAAkB;YAClB,oBAAoB;YACpB,kBAAkB;YAClB,iBAAiB;YACjB,kBAAkB;YAClB,eAAe;YACf,eAAe;YACf,gBAAgB;AACjB,SAAA,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;KAClB;EACF;AAEY,MAAA,SAAS,GAAG;AACvB,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,SAAS,EAAE,CAAC,KAAa,KAAa;QACpC,OAAO;YACL,SAAS;YACT,WAAW;YACX,SAAS;YACT,QAAQ;YACR,SAAS;YACT,MAAM;YACN,MAAM;YACN,OAAO;YACP,kBAAkB;YAClB,oBAAoB;YACpB,kBAAkB;YAClB,iBAAiB;YACjB,kBAAkB;YAClB,eAAe;YACf,gBAAgB;YAChB,MAAM;YACN,eAAe;YACf,gBAAgB;YAChB,eAAe;YACf,OAAO;YACP,UAAU;YACV,OAAO;YACP,UAAU;AACX,SAAA,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;KAClB;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreui/vue-pro",
3
- "version": "5.0.0-beta.0",
3
+ "version": "5.0.0-rc.0",
4
4
  "description": "UI Components Library for Vue.js",
5
5
  "keywords": [
6
6
  "vue",
@@ -40,33 +40,28 @@
40
40
  "test:clear": "jest --clearCache",
41
41
  "test:update": "jest --coverage --updateSnapshot"
42
42
  },
43
+ "dependencies": {
44
+ "@coreui/coreui-pro": "^5.0.0-rc.0",
45
+ "@popperjs/core": "^2.11.8"
46
+ },
43
47
  "devDependencies": {
44
- "@popperjs/core": "^2.11.8",
45
48
  "@rollup/plugin-commonjs": "^25.0.7",
46
49
  "@rollup/plugin-node-resolve": "^15.2.3",
47
50
  "@rollup/plugin-typescript": "^11.1.5",
48
- "@types/jest": "^29.5.7",
49
- "@vue/test-utils": "^2.4.1",
51
+ "@types/jest": "^29.5.8",
52
+ "@vue/test-utils": "^2.4.2",
50
53
  "@vue/vue3-jest": "29.2.6",
51
54
  "cross-env": "^7.0.3",
52
55
  "jest": "^29.7.0",
53
56
  "jest-environment-jsdom": "^29.7.0",
54
- "rollup": "^4.2.0",
57
+ "rollup": "^4.4.1",
55
58
  "rollup-plugin-vue": "^6.0.0",
56
59
  "ts-jest": "^29.1.1",
57
60
  "typescript": "^5.2.2",
58
- "vue": "^3.3.7",
61
+ "vue": "^3.3.8",
59
62
  "vue-types": "^5.1.1"
60
63
  },
61
64
  "peerDependencies": {
62
- "@coreui/coreui-pro": "^5.0.0-beta.1",
63
- "@popperjs/core": "^2.11.8",
64
65
  "vue": "^3.2.21"
65
- },
66
- "standard": {
67
- "ignore": [
68
- "node_modules/",
69
- "build/"
70
- ]
71
66
  }
72
67
  }
@@ -55,7 +55,7 @@ const CAvatar = defineComponent({
55
55
  /**
56
56
  * Sets the text color of the component to one of CoreUI’s themed colors.
57
57
  *
58
- * @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', 'white', 'muted', 'high-emphasis', 'medium-emphasis', 'disabled', 'high-emphasis-inverse', 'medium-emphasis-inverse', 'disabled-inverse'
58
+ * @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', 'primary-emphasis', 'secondary-emphasis', 'success-emphasis', 'danger-emphasis', 'warning-emphasis', 'info-emphasis', 'light-emphasis', 'body', 'body-emphasis', 'body-secondary', 'body-tertiary', 'black', 'black-50', 'white', 'white-50'
59
59
  */
60
60
  textColor: TextColor,
61
61
  },
@@ -49,7 +49,7 @@ const CBadge = defineComponent({
49
49
  /**
50
50
  * Sets the text color of the component to one of CoreUI’s themed colors.
51
51
  *
52
- * @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', 'white', 'muted', 'high-emphasis', 'medium-emphasis', 'disabled', 'high-emphasis-inverse', 'medium-emphasis-inverse', 'disabled-inverse'
52
+ * @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', 'primary-emphasis', 'secondary-emphasis', 'success-emphasis', 'danger-emphasis', 'warning-emphasis', 'info-emphasis', 'light-emphasis', 'body', 'body-emphasis', 'body-secondary', 'body-tertiary', 'black', 'black-50', 'white', 'white-50'
53
53
  */
54
54
  textColor: TextColor,
55
55
  },
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`Loads and display CBreadcrumb component renders correctly 1`] = `
4
- "<nav aria-label="breadcrumb" class="bazinga">
4
+ "<nav aria-label="breadcrumb">
5
5
  <ol class="breadcrumb bazinga">Default slot</ol>
6
6
  </nav>"
7
7
  `;
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Customize (number two) CButton component renders correctly 1`] = `"<a class="btn btn-warning disabled" disabled="false" aria-disabled="true" tabindex="-1">Default slot</a>"`;
3
+ exports[`Customize (number two) CButton component renders correctly 1`] = `"<a class="btn btn-warning disabled" aria-disabled="true" tabindex="-1">Default slot</a>"`;
4
4
 
5
- exports[`Customize CButton component renders correctly 1`] = `"<div class="btn btn-outline-warning btn-lg active disabled rounded-pill" disabled="true">Default slot</div>"`;
5
+ exports[`Customize CButton component renders correctly 1`] = `"<a class="btn btn-outline-warning btn-lg active disabled rounded-pill" aria-disabled="true" tabindex="-1" href="/bazinga">Default slot</a>"`;
6
6
 
7
7
  exports[`Loads and display CButton component renders correctly 1`] = `"<button class="btn btn-undefined" type="button">Default slot</button>"`;
@@ -124,7 +124,7 @@ const CCalendar = defineComponent({
124
124
  /**
125
125
  * Specify the type of date selection as day, week, month, or year.
126
126
  *
127
- * @since 5.0.0-beta.0
127
+ * @since 5.0.0-rc.0
128
128
  */
129
129
  selectionType: {
130
130
  type: String as PropType<'day' | 'week' | 'month' | 'year'>,
@@ -143,7 +143,7 @@ const CCalendar = defineComponent({
143
143
  /**
144
144
  * Set whether to display week numbers in the calendar.
145
145
  *
146
- * @since 5.0.0-beta.0
146
+ * @since 5.0.0-rc.0
147
147
  */
148
148
  showWeekNumber: Boolean,
149
149
  /**
@@ -174,7 +174,7 @@ const CCalendar = defineComponent({
174
174
  /**
175
175
  * Label displayed over week numbers in the calendar.
176
176
  *
177
- * @since 5.0.0-beta.0
177
+ * @since 5.0.0-rc.0
178
178
  */
179
179
  weekNumbersLabel: String,
180
180
  },
@@ -14,7 +14,7 @@ const CCard = defineComponent({
14
14
  /**
15
15
  * Sets the text color context of the component to one of CoreUI’s themed colors.
16
16
  *
17
- * @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', 'white', 'muted', 'high-emphasis', 'medium-emphasis', 'disabled', 'high-emphasis-inverse', 'medium-emphasis-inverse', 'disabled-inverse'
17
+ * @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', 'primary-emphasis', 'secondary-emphasis', 'success-emphasis', 'danger-emphasis', 'warning-emphasis', 'info-emphasis', 'light-emphasis', 'body', 'body-emphasis', 'body-secondary', 'body-tertiary', 'black', 'black-50', 'white', 'white-50'
18
18
  */
19
19
  textColor: TextColor,
20
20
  },
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`Customize CCarousel component renders correctly 1`] = `
4
- "<div class="carousel slide carousel-fade carousel-dark">
4
+ "<div class="carousel slide carousel-fade" data-coreui-theme="dark">
5
5
  <div class="carousel-indicators"></div>
6
6
  <div class="carousel-inner"></div><button type="button" class="carousel-control-prev" data-coreui-target=""><span class="carousel-control-prev-icon" ariahidden="true"></span><span class="visually-hidden">Previous</span></button><button type="button" class="carousel-control-next" data-coreui-target=""><span class="carousel-control-next-icon" ariahidden="true"></span><span class="visually-hidden">Next</span></button>
7
7
  </div>"
@@ -16,12 +16,10 @@ const CConditionalTeleport = defineComponent({
16
16
  /**
17
17
  * An HTML element or function that returns a single element, with `document.body` as the default.
18
18
  *
19
- * @since v5.0.0-beta.0
19
+ * @since v5.0.0-rc.0
20
20
  */
21
21
  container: {
22
- type: [HTMLElement, () => HTMLElement, String] as PropType<
23
- HTMLElement | (() => HTMLElement) | string
24
- >,
22
+ type: [Object, String] as PropType<HTMLElement | (() => HTMLElement) | string>,
25
23
  default: 'body',
26
24
  },
27
25
  /**
@@ -183,19 +183,19 @@ const CDatePicker = defineComponent({
183
183
  /**
184
184
  * Custom function to format the selected date into a string according to a custom format.
185
185
  *
186
- * @since v5.0.0-alpha.4
186
+ * @since v5.0.0-rc.0
187
187
  */
188
188
  inputDateFormat: Function,
189
189
  /**
190
190
  * Custom function to parse the input value into a valid Date object.
191
191
  *
192
- * @since v5.0.0-alpha.4
192
+ * @since v5.0.0-rc.0
193
193
  */
194
194
  inputDateParse: Function,
195
195
  /**
196
196
  * Defines the delay (in milliseconds) for the input field's onChange event.
197
197
  *
198
- * @since v5.0.0-alpha.4
198
+ * @since v5.0.0-rc.0
199
199
  */
200
200
  inputOnChangeDelay: {
201
201
  type: Number,
@@ -249,7 +249,7 @@ const CDatePicker = defineComponent({
249
249
  /**
250
250
  * Specify the type of date selection as day, week, month, or year.
251
251
  *
252
- * @since 5.0.0-beta.0
252
+ * @since 5.0.0-rc.0
253
253
  */
254
254
  selectionType: {
255
255
  type: String as PropType<'day' | 'week' | 'month' | 'year'>,
@@ -268,7 +268,7 @@ const CDatePicker = defineComponent({
268
268
  /**
269
269
  * Set whether to display week numbers in the calendar.
270
270
  *
271
- * @since 5.0.0-beta.0
271
+ * @since 5.0.0-rc.0
272
272
  */
273
273
  showWeekNumber: Boolean,
274
274
  /**
@@ -311,7 +311,7 @@ const CDatePicker = defineComponent({
311
311
  /**
312
312
  * Label displayed over week numbers in the calendar.
313
313
  *
314
- * @since 5.0.0-beta.0
314
+ * @since 5.0.0-rc.0
315
315
  */
316
316
  weekNumbersLabel: String,
317
317
  },
@@ -214,19 +214,19 @@ const CDateRangePicker = defineComponent({
214
214
  /**
215
215
  * Custom function to format the selected date into a string according to a custom format.
216
216
  *
217
- * @since v5.0.0-alpha.4
217
+ * @since v5.0.0-rc.0
218
218
  */
219
219
  inputDateFormat: Function,
220
220
  /**
221
221
  * Custom function to parse the input value into a valid Date object.
222
222
  *
223
- * @since v5.0.0-alpha.4
223
+ * @since v5.0.0-rc.0
224
224
  */
225
225
  inputDateParse: Function,
226
226
  /**
227
227
  * Defines the delay (in milliseconds) for the input field's onChange event.
228
228
  *
229
- * @since v5.0.0-alpha.4
229
+ * @since v5.0.0-rc.0
230
230
  */
231
231
  inputOnChangeDelay: {
232
232
  type: Number,
@@ -316,7 +316,7 @@ const CDateRangePicker = defineComponent({
316
316
  /**
317
317
  * Specify the type of date selection as day, week, month, or year.
318
318
  *
319
- * @since 5.0.0-beta.0
319
+ * @since 5.0.0-rc.0
320
320
  */
321
321
  selectionType: {
322
322
  type: String as PropType<'day' | 'week' | 'month' | 'year'>,
@@ -335,7 +335,7 @@ const CDateRangePicker = defineComponent({
335
335
  /**
336
336
  * Set whether to display week numbers in the calendar.
337
337
  *
338
- * @since 5.0.0-beta.0
338
+ * @since 5.0.0-rc.0
339
339
  */
340
340
  showWeekNumber: Boolean,
341
341
  /**
@@ -453,7 +453,7 @@ const CDateRangePicker = defineComponent({
453
453
  /**
454
454
  * Label displayed over week numbers in the calendar.
455
455
  *
456
- * @since 5.0.0-beta.0
456
+ * @since 5.0.0-rc.0
457
457
  */
458
458
  weekNumbersLabel: String,
459
459
  },
@@ -62,12 +62,10 @@ const CDropdown = defineComponent({
62
62
  /**
63
63
  * Appends the vue dropdown menu to a specific element. You can pass an HTML element or function that returns a single element. By default `document.body`.
64
64
  *
65
- * @since v5.0.0-beta.0
65
+ * @since v5.0.0-rc.0
66
66
  */
67
67
  container: {
68
- type: [HTMLElement, () => HTMLElement, String] as PropType<
69
- HTMLElement | (() => HTMLElement) | string
70
- >,
68
+ type: [Object, String] as PropType<HTMLElement | (() => HTMLElement) | string>,
71
69
  default: 'body',
72
70
  },
73
71
  /**
@@ -117,7 +115,7 @@ const CDropdown = defineComponent({
117
115
  /**
118
116
  * Generates dropdown menu using Teleport.
119
117
  *
120
- * @since v5.0.0-beta.0
118
+ * @since v5.0.0-rc.0
121
119
  */
122
120
  teleport: {
123
121
  type: Boolean,
@@ -5,6 +5,7 @@ import { getAlignmentClassNames } from './utils'
5
5
 
6
6
  const CDropdownMenu = defineComponent({
7
7
  name: 'CDropdownMenu',
8
+ inheritAttrs: false,
8
9
  props: {
9
10
  /**
10
11
  * Component used for the root node. Either a string to use a HTML element or a component.
@@ -16,7 +17,7 @@ const CDropdownMenu = defineComponent({
16
17
  default: 'div',
17
18
  },
18
19
  },
19
- setup(props, { slots }) {
20
+ setup(props, { attrs, slots }) {
20
21
  const dropdownMenuRef = inject('dropdownMenuRef') as Ref<HTMLElement>
21
22
  const config = inject('config') as any // eslint-disable-line @typescript-eslint/no-explicit-any
22
23
  const visible = inject('visible') as Ref<boolean>
@@ -35,10 +36,12 @@ const CDropdownMenu = defineComponent({
35
36
  h(
36
37
  props.component,
37
38
  {
39
+ ...attrs,
38
40
  class: [
39
41
  'dropdown-menu',
40
42
  { show: visible.value },
41
43
  getAlignmentClassNames(alignment),
44
+ attrs.class,
42
45
  ],
43
46
  ...((typeof alignment === 'object' || !popper) && {
44
47
  'data-coreui-popper': 'static',
@@ -49,7 +49,7 @@ const CDropdownToggle = defineComponent({
49
49
  /**
50
50
  * If a dropdown `variant` is set to `nav-item` then render the toggler as a link instead of a button.
51
51
  *
52
- * @since v5.0.0-beta.0
52
+ * @since v5.0.0-rc.0
53
53
  */
54
54
  navLink: {
55
55
  type: Boolean,
@@ -1,9 +1,11 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`Customize CDropdownMenu component renders correctly 1`] = `
4
- "<ul class="dropdown-menu dropdown-menu-dark show dropdown-menu-lg-end" data-coreui-popper="static">
5
- <li>Default slot</li>
6
- </ul>"
4
+ "<!--teleport start-->
5
+ <!--teleport end-->"
7
6
  `;
8
7
 
9
- exports[`Loads and display CDropdownMenu component renders correctly 1`] = `"<div class="dropdown-menu dropdown-menu-lg-end" data-coreui-popper="static">Default slot</div>"`;
8
+ exports[`Loads and display CDropdownMenu component renders correctly 1`] = `
9
+ "<!--teleport start-->
10
+ <!--teleport end-->"
11
+ `;
@@ -1,5 +1,5 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Customize CDropdownToggle component renders correctly 1`] = `"<a active="true" class="nav-link dropdown-toggle-split active disabled show" disabled="true" href="#">Default slot</a>"`;
3
+ exports[`Customize CDropdownToggle component renders correctly 1`] = `"<a href="#" class="nav-link dropdown-toggle-split disabled show" aria-expanded="true" role="button" active="true">Default slot</a>"`;
4
4
 
5
- exports[`Loads and display CDropdownToggle component renders correctly 1`] = `"<button class="btn btn-outline-warning btn-lg active disabled rounded-pill dropdown-toggle dropdown-toggle-split active disabled show" disabled="" type="button"><span class="visually-hidden">Toggle Dropdown</span></button>"`;
5
+ exports[`Loads and display CDropdownToggle component renders correctly 1`] = `"<button class="btn btn-outline-warning btn-lg active disabled rounded-pill dropdown-toggle dropdown-toggle-split disabled show" type="button" disabled="" aria-expanded="true"><span class="visually-hidden">Toggle Dropdown</span></button>"`;
@@ -2,12 +2,12 @@
2
2
 
3
3
  exports[`Customize with label - CFormCheck component renders correctly 1`] = `
4
4
  "<input class="btn-check is-invalid is-valid" id="uniqueid" type="checkbox">
5
- <label class="btn btn-outline-warning btn-lg rounded-circle" disabled="false" for="uniqueid">some label</label>"
5
+ <label class="btn btn-outline-warning btn-lg rounded-circle" for="uniqueid">some label</label>"
6
6
  `;
7
7
 
8
8
  exports[`Customize with label in slot - CFormCheck component renders correctly 1`] = `
9
9
  "<input class="btn-check is-invalid is-valid" id="uniqueid" type="checkbox">
10
- <label class="btn btn-outline-warning btn-lg rounded-circle" disabled="false" for="uniqueid">some label</label>"
10
+ <label class="btn btn-outline-warning btn-lg rounded-circle" for="uniqueid">some label</label>"
11
11
  `;
12
12
 
13
13
  exports[`Loads and display CFormCheck component renders correctly 1`] = `"<input class="form-check-input" type="checkbox">"`;
@@ -30,8 +30,12 @@ const CLink = defineComponent({
30
30
  'click',
31
31
  ],
32
32
  setup(props, { slots, emit }) {
33
- const handleClick = () => {
33
+ const handleClick = (event: Event) => {
34
34
  emit('click', props.href)
35
+
36
+ if (props.href === '' || props.href === '#') {
37
+ event.preventDefault()
38
+ }
35
39
  }
36
40
  return () =>
37
41
  h(
@@ -54,7 +54,7 @@ const CModal = defineComponent({
54
54
  /**
55
55
  * Puts the focus on the modal when shown.
56
56
  *
57
- * @since v5.0.0-beta.0
57
+ * @since v5.0.0-rc.0
58
58
  */
59
59
  focus: {
60
60
  type: Boolean,
@@ -2,8 +2,8 @@
2
2
 
3
3
  exports[`Customize CModal component renders correctly 1`] = `
4
4
  "<transition-stub appear="false" persisted="false" css="false">
5
- <div class="modal">
6
- <div class="modal-dialog modal-dialog-centered modal-fullscreen-lg-down modal-dialog-scrollable modal-lg" role="dialog">
5
+ <div class="modal" aria-modal="true" role="dialog">
6
+ <div class="modal-dialog modal-dialog-centered modal-fullscreen-lg-down modal-dialog-scrollable modal-lg">
7
7
  <div class="modal-content bazinga">Default slot</div>
8
8
  </div>
9
9
  </div>
@@ -12,8 +12,8 @@ exports[`Customize CModal component renders correctly 1`] = `
12
12
 
13
13
  exports[`Loads and display CModal component renders correctly 1`] = `
14
14
  "<transition-stub appear="false" persisted="false" css="false">
15
- <div class="modal fade">
16
- <div class="modal-dialog modal-fullscreen" role="dialog">
15
+ <div class="modal fade" aria-modal="true" role="dialog">
16
+ <div class="modal-dialog modal-fullscreen">
17
17
  <div class="modal-content">Default slot</div>
18
18
  </div>
19
19
  </div>
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`Customize CNavbar component renders correctly 1`] = `
4
- "<div class="navbar bg-warning navbar-light navbar-expand-xl fixed-bottom">
4
+ "<div class="navbar bg-warning navbar-expand-xl fixed-bottom" data-coreui-theme="light">
5
5
  <div class="container-lg">Default slot</div>
6
6
  </div>"
7
7
  `;
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`Customize COffcanvas component renders correctly 1`] = `
4
- "<transition-stub appear="false" persisted="false" css="false">
4
+ "<transition-stub appear="true" persisted="false" css="false">
5
5
  <div class="offcanvas offcanvas-bottom" role="dialog" tabindex="-1">Default slot</div>
6
6
  </transition-stub>
7
7
  <transition-stub appear="false" persisted="false" css="true" class="offcanvas-backdrop">
@@ -10,7 +10,7 @@ exports[`Customize COffcanvas component renders correctly 1`] = `
10
10
  `;
11
11
 
12
12
  exports[`Loads and display COffcanvas component renders correctly 1`] = `
13
- "<transition-stub appear="false" persisted="false" css="false">
13
+ "<transition-stub appear="true" persisted="false" css="false">
14
14
  <div class="offcanvas offcanvas-end" role="dialog" tabindex="-1">Default slot</div>
15
15
  </transition-stub>
16
16
  <transition-stub appear="false" persisted="false" css="true" class="offcanvas-backdrop">
@@ -9,6 +9,7 @@ import { getRTLPlacement } from '../../utils'
9
9
 
10
10
  const CPopover = defineComponent({
11
11
  name: 'CPopover',
12
+ inheritAttrs: false,
12
13
  props: {
13
14
  /**
14
15
  * Apply a CSS fade transition to the popover.
@@ -22,12 +23,10 @@ const CPopover = defineComponent({
22
23
  /**
23
24
  * Appends the vue popover to a specific element. You can pass an HTML element or function that returns a single element. By default `document.body`.
24
25
  *
25
- * @since v5.0.0-beta.0
26
+ * @since v5.0.0-rc.0
26
27
  */
27
28
  container: {
28
- type: [HTMLElement, () => HTMLElement, String] as PropType<
29
- HTMLElement | (() => HTMLElement) | string
30
- >,
29
+ type: [Object, String] as PropType<HTMLElement | (() => HTMLElement) | string>,
31
30
  default: 'body',
32
31
  },
33
32
  /**
@@ -198,16 +197,17 @@ const CPopover = defineComponent({
198
197
  h(
199
198
  'div',
200
199
  {
200
+ ...attrs,
201
201
  class: [
202
202
  'popover',
203
203
  'bs-popover-auto',
204
204
  {
205
205
  fade: props.animation,
206
206
  },
207
+ attrs.class,
207
208
  ],
208
209
  ref: popoverRef,
209
210
  role: 'tooltip',
210
- ...attrs,
211
211
  },
212
212
  [
213
213
  h('div', { class: 'popover-arrow' }),
@@ -23,7 +23,7 @@ const CProgress = defineComponent({
23
23
  /**
24
24
  * A string of all className you want applied to the <CProgressBar/> component.
25
25
  *
26
- * @since 5.0.0-beta.0
26
+ * @since 5.0.0-rc.0
27
27
  */
28
28
  progressBarClassName: String,
29
29
  /**