@carbon/vue 2.34.1 → 2.35.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 (37) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +25 -18
  3. package/dist/carbon-vue.common.js +1312 -995
  4. package/dist/carbon-vue.common.js.map +1 -1
  5. package/dist/carbon-vue.umd.js +1312 -995
  6. package/dist/carbon-vue.umd.js.map +1 -1
  7. package/dist/carbon-vue.umd.min.js +3 -3
  8. package/dist/carbon-vue.umd.min.js.map +1 -1
  9. package/package.json +4 -4
  10. package/src/components/cv-accordion/cv-accordion-item.vue +4 -0
  11. package/src/components/cv-accordion/cv-accordion-skeleton.vue +17 -1
  12. package/src/components/cv-accordion/cv-accordion.vue +18 -1
  13. package/src/components/cv-button/button-mixin.js +12 -7
  14. package/src/components/cv-button/cv-button-set.vue +4 -1
  15. package/src/components/cv-button/cv-icon-button.vue +1 -1
  16. package/src/components/cv-code-snippet/_cv-code-snippet-inline.vue +13 -7
  17. package/src/components/cv-code-snippet/_cv-code-snippet-multiline.vue +13 -7
  18. package/src/components/cv-code-snippet/_cv-code-snippet-oneline.vue +10 -11
  19. package/src/components/cv-code-snippet/cv-code-snippet.vue +17 -1
  20. package/src/components/cv-combo-box/cv-combo-box.vue +1 -1
  21. package/src/components/cv-content-switcher/cv-content-switcher.vue +20 -3
  22. package/src/components/cv-data-table/cv-data-table.vue +1 -1
  23. package/src/components/cv-date-picker/cv-date-picker.vue +1 -1
  24. package/src/components/cv-dropdown/cv-dropdown.vue +1 -1
  25. package/src/components/cv-loading/cv-loading.vue +5 -1
  26. package/src/components/cv-modal/cv-modal.vue +28 -0
  27. package/src/components/cv-multi-select/cv-multi-select.vue +7 -8
  28. package/src/components/cv-number-input/cv-number-input.vue +1 -1
  29. package/src/components/cv-search/cv-search.vue +1 -1
  30. package/src/components/cv-select/cv-select.vue +1 -1
  31. package/src/components/cv-slider/cv-slider.vue +1 -1
  32. package/src/components/cv-text-area/cv-text-area.vue +1 -1
  33. package/src/components/cv-text-input/cv-text-input.vue +1 -2
  34. package/src/components/cv-tile/cv-tile.vue +1 -1
  35. package/src/components/cv-time-picker/cv-time-picker.vue +2 -2
  36. package/src/directives/clickout.js +21 -9
  37. package/src/mixins/theme-mixin.js +14 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.35.0
4
+
5
+ feat: 10 23 1 update (#1058) - adds numerous minor changes to bring the library up to Carbon v10.23.1
6
+ chore: listen for click out only post blur (#1061)
7
+ chore: Content tune the first usage steps (#1055)
8
+ feat: Add after hidden modal event (#1069)
9
+ fix: cv-button default color error issue (#1076)
10
+
3
11
  ## 2.34.1
4
12
 
5
13
  chore: add tests for cv-code-snippet, cv-toolbar, cv-structured-list
package/README.md CHANGED
@@ -10,27 +10,35 @@
10
10
  <img src="/docs/AtCarbonVue2.png" alt="@carbon/vue">
11
11
  </div>
12
12
 
13
- # Change log
13
+ ## Carbon Vue library - A Carbon Community Project
14
+
15
+ The [library](http://vue.carbondesignsystem.com/) provides front-end developers & engineers a collection of reusable Vue components to build websites and user interfaces. Adopting the library enables developers to use consistent markup, styles, and behavior in prototype and production work.
16
+
17
+ ## Community Contributions Needed
18
+
19
+ As a community project contributions are not only welcome, but essential for the maintenance and growth of this project.
20
+
21
+ ## Changelog
14
22
 
15
23
  See [CHANGELOG.md](CHANGELOG.md)
16
24
 
17
25
  ## Current Components
18
26
 
19
- View available Vue.js components [here](http://vue.carbondesignsystem.com). Usage information is available when you click the blue ? icon in the top right corner of the selected component.
27
+ View available Vue.js components [here](http://vue.carbondesignsystem.com). Usage information is available when you click the blue `?` icon in the top right corner of the selected component.
20
28
 
21
29
  See [component status pages](https://www.carbondesignsystem.com/component-status) for the status of each component.
22
30
 
23
- # Development
31
+ ## Development
24
32
 
25
33
  Please refer to the [Contribution Guidelines](../../.github/CONTRIBUTING.md) before starting any work.
26
34
 
27
35
  ## Contributing
28
36
 
29
- Fork, create branch, submit PR. The PR will be used as part of a review process.
37
+ Fork this repository, create a new branch, and submit a pull request to this repository. The PR will be used as part of a review process.
30
38
 
31
- # Usage
39
+ ## Usage
32
40
 
33
- ## General
41
+ ### General
34
42
 
35
43
  The components do not import any of the carbon styles themselves. Use the SCSS or CSS from carbon-components to provide the styling.
36
44
 
@@ -39,17 +47,18 @@ The components do not import any of the carbon styles themselves. Use the SCSS o
39
47
  - If you prefer to build the SCSS, in the `<style>` tag of your top-level component you can include the styles wholesale: `@import "~carbon-components/scss/globals/scss/styles.scss";`
40
48
  - Check out the [Carbon Design System developers](https://www.carbondesignsystem.com/getting-started/developers/vanilla) page for information on including individual component styles into your project.
41
49
 
42
- ## List of Available Components
50
+ ### List of Available Components
43
51
 
44
- View available Vue Components [here](http://vue.carbondesignsystem.com). Usage information is in the notes tab.
52
+ View the available Carbon Vue components [here](http://vue.carbondesignsystem.com). Usage information is in the notes tab.
45
53
 
46
- # Getting Started
54
+ ## Getting Started
47
55
 
48
- ## Quick Start (Vue CLI)
56
+ ### Quick Start (Vue CLI)
49
57
 
50
- Assuming we're starting with a new Vue CLI project:
58
+ Assuming we're starting with a new project through the [Vue CLI](https://cli.vuejs.org/) (not with the plain Vue Webpack template, which might not work):
51
59
 
52
60
  ```sh
61
+ > vue create newprojectname
53
62
  Vue CLI v3.7.0
54
63
  ? Please pick a preset: Manually select features
55
64
  ? Check the features needed for your project: Babel, CSS Pre-processors
@@ -68,7 +77,7 @@ $ yarn add @carbon/vue
68
77
  Or npm
69
78
 
70
79
  ```sh
71
- $ npm install @carbon/vue
80
+ $ npm install --save @carbon/vue
72
81
  ```
73
82
 
74
83
  In src/main.js add the following to include the carbon styles and components.
@@ -150,20 +159,18 @@ Or npm
150
159
  $ npm serve
151
160
  ```
152
161
 
153
- ## Longer start
154
-
155
162
  ### Install
156
163
 
157
- Run the following command using [npm](https://www.npmjs.com/):
164
+ Run the following command using [Yarn](https://yarnpkg.com/en/):
158
165
 
159
166
  ```bash
160
- npm install @carbon/vue
167
+ yarn add @carbon/vue
161
168
  ```
162
169
 
163
- If you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:
170
+ If you prefer [npm](https://www.npmjs.com/), use the following command instead:
164
171
 
165
172
  ```bash
166
- yarn add @carbon/vue
173
+ npm install --save @carbon/vue
167
174
  ```
168
175
 
169
176
  NOTE: [current-script-polyfill](https://www.npmjs.com/package/current-script-polyfill) is required for older browsers (_e.g._ IE11)