@carbon/vue 1.0.2 → 1.1.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 (89) hide show
  1. package/CHANGELOG.md +192 -0
  2. package/README.md +156 -211
  3. package/dist/carbon-vue.common.js +10567 -12509
  4. package/dist/carbon-vue.common.js.map +1 -1
  5. package/dist/carbon-vue.umd.js +10567 -12509
  6. package/dist/carbon-vue.umd.js.map +1 -1
  7. package/dist/carbon-vue.umd.min.js +31 -7
  8. package/dist/carbon-vue.umd.min.js.map +1 -1
  9. package/dist/demo.html +2 -2
  10. package/package.json +17 -157
  11. package/src/components/cv-accordion/_cv-accordion-item-skeleton.vue +3 -13
  12. package/src/components/cv-accordion/cv-accordion-item.vue +2 -9
  13. package/src/components/cv-breadcrumb/cv-breadcrumb-item.vue +3 -1
  14. package/src/components/cv-button/cv-button-skeleton.vue +1 -6
  15. package/src/components/cv-button/cv-button.vue +15 -37
  16. package/src/components/cv-checkbox/cv-checkbox.vue +42 -26
  17. package/src/components/cv-code-snippet/_cv-code-snippet-multiline.vue +13 -23
  18. package/src/components/cv-code-snippet/_cv-code-snippet-oneline.vue +11 -5
  19. package/src/components/cv-code-snippet/_cv-feedback-button.vue +1 -3
  20. package/src/components/cv-code-snippet/cv-code-snippet.vue +2 -7
  21. package/src/components/cv-content-switcher/cv-content-switcher-button.vue +20 -4
  22. package/src/components/cv-content-switcher/cv-content-switcher.vue +3 -10
  23. package/src/components/cv-data-table/cv-data-table-row.vue +15 -11
  24. package/src/components/cv-data-table/cv-data-table.vue +30 -28
  25. package/src/components/cv-date-picker/cv-date-picker.vue +53 -47
  26. package/src/components/cv-dropdown/_cv-dropdown-inner-c10.vue +226 -0
  27. package/src/components/cv-dropdown/_cv-dropdown-inner.vue +201 -0
  28. package/src/components/cv-dropdown/cv-dropdown-item.vue +6 -8
  29. package/src/components/cv-dropdown/cv-dropdown-skeleton.vue +1 -5
  30. package/src/components/cv-dropdown/cv-dropdown.vue +22 -169
  31. package/src/components/cv-file-uploader/cv-file-uploader.vue +44 -22
  32. package/src/components/cv-inline-loading/cv-inline-loading.vue +37 -0
  33. package/src/components/cv-inline-notification/cv-inline-notification.vue +22 -19
  34. package/src/components/cv-link/cv-link.vue +1 -6
  35. package/src/components/cv-loading/cv-loading.vue +13 -4
  36. package/src/components/cv-modal/cv-modal.vue +17 -15
  37. package/src/components/cv-number-input/cv-number-input.vue +20 -32
  38. package/src/components/cv-overflow-menu/cv-overflow-menu.vue +13 -19
  39. package/src/components/cv-pagination/cv-pagination.vue +61 -42
  40. package/src/components/cv-progress/_cv-progress-step-complete.vue +3 -12
  41. package/src/components/cv-progress/cv-progress-step.vue +97 -0
  42. package/src/components/cv-progress/cv-progress.vue +68 -13
  43. package/src/components/cv-radio-button/cv-radio-button.vue +1 -0
  44. package/src/components/cv-search/cv-search.vue +144 -15
  45. package/src/components/cv-select/cv-select-option.vue +3 -1
  46. package/src/components/cv-select/cv-select.vue +147 -15
  47. package/src/components/cv-slider/cv-slider.vue +14 -43
  48. package/src/components/cv-structured-list/_cv-structured-list-item-selectable.vue +18 -6
  49. package/src/components/cv-structured-list/cv-structured-list-item.vue +1 -3
  50. package/src/components/cv-structured-list/cv-structured-list.vue +10 -2
  51. package/src/components/cv-tabs/cv-tabs.vue +31 -15
  52. package/src/components/cv-tag/cv-tag.vue +23 -13
  53. package/src/components/cv-text-area/cv-text-area.vue +23 -10
  54. package/src/components/cv-text-input/cv-text-input.vue +80 -10
  55. package/src/components/cv-tile/_cv-tile-clickable.vue +1 -5
  56. package/src/components/cv-tile/_cv-tile-expandable.vue +11 -15
  57. package/src/components/cv-tile/_cv-tile-selectable.vue +14 -3
  58. package/src/components/cv-tile/cv-tile.vue +1 -4
  59. package/src/components/cv-time-picker/cv-time-picker.vue +27 -29
  60. package/src/components/cv-toast-notification/cv-toast-notification.vue +32 -6
  61. package/src/components/cv-toggle/cv-toggle.vue +3 -7
  62. package/src/components/cv-toolbar/cv-toolbar-option.vue +1 -4
  63. package/src/components/cv-toolbar/cv-toolbar-search.vue +5 -0
  64. package/src/components/cv-tooltip/cv-definition-tooltip.vue +1 -3
  65. package/src/components/cv-tooltip/cv-interactive-tooltip.vue +13 -28
  66. package/src/components/cv-tooltip/cv-tooltip.vue +11 -15
  67. package/src/components/cv-wrapper/_cv-wrapper.js +33 -0
  68. package/src/index-components-vue.js +1 -3
  69. package/src/index.js +1 -5
  70. package/src/{_internal/_feature-flags.js → internal/feature-flags.js} +30 -2
  71. package/dist/carbon-data-viz-vue.common.js +0 -23907
  72. package/dist/carbon-data-viz-vue.common.js.map +0 -1
  73. package/dist/carbon-data-viz-vue.css +0 -1
  74. package/dist/carbon-data-viz-vue.umd.js +0 -23917
  75. package/dist/carbon-data-viz-vue.umd.js.map +0 -1
  76. package/dist/carbon-data-viz-vue.umd.min.js +0 -2
  77. package/dist/carbon-data-viz-vue.umd.min.js.map +0 -1
  78. package/src/assets/styles/_carbon-helpers.scss +0 -8
  79. package/src/components/cv-checkbox/_cv-checkbox-inner-form-item.vue +0 -19
  80. package/src/components/cv-checkbox/_cv-checkbox-inner.vue +0 -59
  81. package/src/components/cv-progress/_cv-progress-step.vue +0 -51
  82. package/src/components/cv-search/_cv-search-inner-form-item.vue +0 -22
  83. package/src/components/cv-search/_cv-search-inner.vue +0 -162
  84. package/src/components/cv-select/_cv-select-inner-form-item.vue +0 -22
  85. package/src/components/cv-select/_cv-select-inner.vue +0 -78
  86. package/src/data-viz/cv-bar-graph/cv-bar-graph.vue +0 -495
  87. package/src/data-viz/cv-gauge/cv-gauge.vue +0 -196
  88. package/src/data-viz/cv-pie-chart/cv-pie-chart.vue +0 -194
  89. package/src/index-data-viz.js +0 -29
package/CHANGELOG.md ADDED
@@ -0,0 +1,192 @@
1
+ ## 1.1.1 (March 19, 2019)
2
+
3
+ ### Features
4
+
5
+ - A number of experimental additions for carbon x
6
+ - Change node requirements to > 10 in package.json
7
+
8
+ ### Bug Fixes
9
+
10
+ - Fix tabs on narrow screens (#273)
11
+ - Fix dorpdown-items v-for (#273)
12
+
13
+ ### Dependency versions
14
+
15
+ Versions reflect those version was built using.
16
+
17
+ | Dependency | Version | Notes |
18
+ | -------------------- | ------------ | ------------------------ |
19
+ | @carbon/icon-helpers | 0.0.1-beta.0 | experimental only |
20
+ | @carbon/icons-vue | 0.0.1-beta.0 | experimental only |
21
+ | carbon-components | 9.70.1 | |
22
+ | d3 | 5.8.2 | Only needed for data-viz |
23
+ | flatpickr | 4.5.2 | |
24
+ | vue | 2.6.3 | |
25
+
26
+ ## 1.1.0 (March 14, 2019)
27
+
28
+ ### Features
29
+
30
+ - Experimental CvCodeSnippet behind feature flag (#244).
31
+ - Experimental CvContentSwitcher behind feature flag (#246)
32
+ - Experimental CvDatePicker behind feature flag (#251)
33
+ - Added CvInlineLoader (#253)
34
+ - Added password behviour for CvTextInput (#254)
35
+ - Experimental toggle added for supporting components (#257)
36
+
37
+ ### Bug Fixes
38
+
39
+ - chore: Reduced storybook CSS payload
40
+ - fix: Checkbox hover when disabled (#241)
41
+ - fix: add missing inherit attrs false (#249)
42
+ - fix: show tip and hide tip buttons for interactive tooltip storybook (#248)
43
+ - fix: content switcher icon spacing (#258)
44
+
45
+ ### Dependency versions
46
+
47
+ Versions reflect those version was built using.
48
+
49
+ | Dependency | Version | Notes |
50
+ | -------------------- | ------------ | ------------------------ |
51
+ | @carbon/icon-helpers | 0.0.1-beta.0 | experimental only |
52
+ | @carbon/icons-vue | 0.0.1-beta.0 | experimental only |
53
+ | carbon-components | 9.70.1 | |
54
+ | d3 | 5.8.2 | Only needed for data-viz |
55
+ | flatpickr | 4.5.2 | |
56
+ | vue | 2.6.3 | |
57
+
58
+ ## 1.0.2 (Mar 8, 2019)
59
+
60
+ ### Features
61
+
62
+ - Add row-select-change and row-select-changes events to table.
63
+ - Add rows-selected property to table
64
+ - Add use rows-selected with v-model for table
65
+
66
+ ### Bug fixes
67
+
68
+ - Fix overflow menu issue #234
69
+
70
+ ### Dependency versions
71
+
72
+ | Dependency | Version | Notes |
73
+ | -------------------- | ------------ | ----------------------------------------------- |
74
+ | @carbon/icon-helpers | 0.0.1-beta.0 | experimental only |
75
+ | @carbon/icons-vue | 0.0.1-beta.0 | experimental only |
76
+ | carbon-components | 9.70.1 | |
77
+ | d3 | 5.7.0 | Only needed for data-viz |
78
+ | flatpickr | 4.5.1 | |
79
+ | vue | 2.6.1 | some reactivity (e.g. data table) requires this |
80
+
81
+ ## 1.0.1 (Mar 4, 2019)
82
+
83
+ - Removed setTimeout use
84
+ - Added Skeleton components for
85
+ - CvFileUpload
86
+ - CvDropdown
87
+ - CvCodeSnippet
88
+ - CvCheckbox
89
+
90
+ ## 1.0.0 (Feb 19, 2019) :balloon: :tada: :balloon: :coffee: :balloon:
91
+
92
+ - Add actions option to data table
93
+ - Add batch actions option to data table
94
+ - Updated table pagination
95
+ - Add CvDataTableRow and CvDataTableCell to allow HTML use in tables
96
+ - Add CvButtonSkeleton
97
+ - Add overflow menu option to table.
98
+
99
+ ## 1.0.0-beta.4 (Feb 13, 2019)
100
+
101
+ - Fix initially hidden expanding tile behaviour.
102
+ - Add CvBreadCrumbSkeleton
103
+
104
+ ## 1.0.0-beta.3 (Feb 13, 2019)
105
+
106
+ - Add header and footer slots for CvTable
107
+ - Set button type="button" for all buttons except CvButton. This prevents form submit if a component happens to be inside a form.
108
+ - Added CvSkeletonText, CvAccordionSeketon and CvAccordionItemSekeleton.
109
+
110
+ ## v1.0.0-beta.2 (Feb 10, 2019)
111
+
112
+ - Removed Symbol use in prop types, fixing CvRadioButton, CvSlider and CvPagination use with the minified compiled modules.
113
+ - Minor story fixes
114
+ - Fix typo in CvContentSwitcherContent component name
115
+
116
+ ## v1.0.0-beta.1 (Feb 10, 2019)
117
+
118
+ FAIL
119
+
120
+ ## v1.0.0-beta.0 (Feb 8, 2019)
121
+
122
+ - Storybook: update views
123
+ - CvFileUploader: added v-model and missing parts to
124
+ - CvToolbar: added
125
+ - CvDataTable: added minus the filter/toolbar
126
+ - Tests - Added unit test suite and first tests (CvTag)
127
+ - CvContentSwitcher - Added non-DOM direct content managment
128
+ - Turned helper and invalidMessages into slops (slot-prop hybrid)
129
+ - CvIcon - Downgraded to helper component to remove dependency on carbon-icons
130
+ - Renamed UMD and CommonJS modules from carbon-components-vue... to carbon-vue...
131
+
132
+ ## v0.3.0 (Feb 1, 2019)
133
+
134
+ - Initial data-viz/bar-graph added
135
+ - Story corrections
136
+ - Change use of \$parent to prefer events
137
+ - Chagne use of \$children to check child type
138
+ - Fix overflow and interactive-tooltip position on scroll/resize
139
+
140
+ ## v0.2.9 (Jan 25, 2019)
141
+
142
+ - Add gauge component - story is Data-viz/CvGauge
143
+ - Add pie chart component - story is Data-viz/CvPieChart
144
+ - Add router-link version of CvLink
145
+
146
+ ## v0.2.8 (Jan 23, 2019)
147
+
148
+ Correct duff deploy
149
+
150
+ ## v0.2.7 (Jan 23, 2019)
151
+
152
+ - Fix click on modal dialog closing it
153
+
154
+ ## v0.2.6 (Jan 23, 2019)
155
+
156
+ - Fix tab out of modal
157
+ - Remove unused vars
158
+
159
+ ## v0.2.5 - Minor fixes (Jan 22, 2019)
160
+
161
+ - Make structured list native Vue
162
+ - Simplify structured list components
163
+ - Removed non-core CSS
164
+ - Fix to paginator reactivity
165
+
166
+ ## v0.2.4 - Minor fixes (Jan 18, 2019)
167
+
168
+ - Make tooltip native Vue
169
+ - Tidy up a bit of unused code
170
+ - Make tabs native Vue and use carbon react pattern (breaks previous tab use)
171
+
172
+ ## v0.2.3 - Minor fixes (Jan 14, 2019)
173
+
174
+ - Fix modal hide on main body click and show visible in story.
175
+ - Make cv-search native Vue.
176
+ - Make cv-number-input native Vue.
177
+
178
+ ## v0.2.2 - Minor fixes (Jan 10, 2019)
179
+
180
+ - Fixed expandable tile and made it native Vue
181
+ - Made notification componentes native Vue
182
+ - Tidied toggle stories.
183
+
184
+ ## v0.2.0 - Moved to Storybook 4 (Jan 10, 2019)
185
+
186
+ - Knobs now operate as Vue properties the template is no longer replaced each time (as per Knobs in storybook 3)
187
+ - Story kinds array replaced by variants which define the settings used in each story.
188
+ - NOTE: slots no longer editable
189
+
190
+ ## v0.1.0 - First draft of carbon-components-vue implementation (Dec 3, 2018)
191
+
192
+ This initial set of components, based on v9 of carbon components, includes draft implementations of all non-data viz components found in the core carbon components library. Public parts of the component: properties, events, data, methods, computed values are at this point subject to review at this point.
package/README.md CHANGED
@@ -7,12 +7,30 @@
7
7
  > A collection of [Carbon Components](https://github.com/carbon-design-system/carbon-components) implemented using <img src="https://vuejs.org/images/logo.png" width="20" alt="Vue logo"> [Vue.js](https://vuejs.org/).
8
8
 
9
9
  <div style="text-align: center">
10
- <img src="./docs/AtCarbonVue.png" alt="@carbon/vue" height="200px">
10
+ <img src="../../docs/AtCarbonVue.png" alt="@carbon/vue" height="200px">
11
11
  </div>
12
12
 
13
- ## Usage
13
+ # Change log
14
14
 
15
- ### General
15
+ See [CHANGELOG.md](CHANGELOG.md)
16
+
17
+ ## Current Components
18
+
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.
20
+
21
+ See [component status pages](https://www.carbondesignsystem.com/component-status) for the status of each component.
22
+
23
+ # Development
24
+
25
+ Please refer to the [Contribution Guidelines](../../.github/CONTRIBUTING.md) before starting any work.
26
+
27
+ ## Contributing
28
+
29
+ Fork, create branch, submit PR. The PR will be used as part of a review process.
30
+
31
+ # Usage
32
+
33
+ ## General
16
34
 
17
35
  The components do not import any of the carbon styles themselves. Use the SCSS or CSS from carbon-components to provide the styling.
18
36
 
@@ -21,11 +39,119 @@ The components do not import any of the carbon styles themselves. Use the SCSS o
21
39
  - 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";`
22
40
  - 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.
23
41
 
24
- ### List of Available Components
42
+ ## List of Available Components
25
43
 
26
44
  View available Vue Components [here](http://vue.carbondesignsystem.com). Usage information is in the notes tab.
27
45
 
28
- ### Getting Started
46
+ # Getting Started
47
+
48
+ ## Quick Start (Vue CLI)
49
+
50
+ Assuming we're starting with a new Vue CLI project:
51
+
52
+ ```sh
53
+ $ vue create my-project
54
+ Vue CLI v3.5.2
55
+ ? Please pick a preset: default (babel, eslint)
56
+ $ cd my-project
57
+ ```
58
+
59
+ Using Yarn
60
+
61
+ ```sh
62
+ $ yarn add @carbon/vue
63
+ ```
64
+
65
+ Or npm
66
+
67
+ ```sh
68
+ $ npm install @carbon/vue
69
+ ```
70
+
71
+ In src/main.js add the following to include the carbon styles and components.
72
+
73
+ ```js
74
+ import 'carbon-components/css/carbon-components.css';
75
+ import CarbonComponentsVue from '@carbon/vue/src/index';
76
+ Vue.use(CarbonComponentsVue);
77
+ ```
78
+
79
+ Replace the contents of src/components/HelloWorld.vue with the following
80
+
81
+ ```html
82
+ <template>
83
+ <div class="sample">
84
+ <h1>Example use of @carbon/vue</h1>
85
+ <cv-text-input label="Who are you?" v-model="yourName" placeholder="your name" />
86
+ <cv-button @click="onClick">Hello {{yourName}}</cv-button>
87
+ <cv-modal :visible="visible" @modal-hidden="modalClosed">
88
+ <template slot="title"
89
+ >Welcome to @carbon/vue {{yourName}}</template
90
+ >
91
+ <template slot="content">
92
+ <p>
93
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, seed do eiusmod tempor incididunt ut labore et
94
+ dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
95
+ commodo consequat.
96
+ </p>
97
+ </template>
98
+ </cv-modal>
99
+ </div>
100
+ </template>
101
+
102
+ <script>
103
+ export default {
104
+ name: 'HelloWorld',
105
+ data() {
106
+ return {
107
+ yourName: '',
108
+ visible: false,
109
+ };
110
+ },
111
+ methods: {
112
+ onClick() {
113
+ this.visible = true;
114
+ },
115
+ modalClosed() {
116
+ this.visible = false;
117
+ },
118
+ },
119
+ };
120
+ </script>
121
+
122
+ <style>
123
+ .sample {
124
+ display: flex;
125
+ flex-direction: column;
126
+ justify-content: center;
127
+ align-items: center;
128
+ max-width: 600px;
129
+ margin: 5% auto;
130
+ }
131
+
132
+ .cv-text-input {
133
+ margin: 30px 0;
134
+ }
135
+ </style>
136
+ ```
137
+
138
+ That's it! Now start the server and start building.
139
+
140
+ Using Yarn
141
+
142
+ ```sh
143
+ $ yarn serve
144
+ ```
145
+
146
+ Or npm
147
+
148
+ ```sh
149
+ $ npm serve
150
+ ```
151
+
152
+ ## Longer start
153
+
154
+ ### Install
29
155
 
30
156
  Run the following command using [npm](https://www.npmjs.com/):
31
157
 
@@ -39,35 +165,35 @@ If you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead
39
165
  yarn add @carbon/vue
40
166
  ```
41
167
 
42
- NOTE: https://www.npmjs.com/package/current-script-polyfill is required for older browsers (e.g. IE11)
168
+ NOTE: [current-script-polyfill](https://www.npmjs.com/package/current-script-polyfill) is required for older browsers (_e.g._ IE11)
43
169
 
44
- ### Using all at once
170
+ ### Using the component library
45
171
 
46
- In your main js file (where you include Vue)
172
+ In your main js file (where you include Vue):
47
173
 
48
174
  ```javascript
49
- // No need for Babel
50
175
  import CarbonComponentsVue from '@carbon/vue';
176
+ Vue.use(CarbonComponentsVue);
51
177
  ```
52
178
 
53
- alternatively if wanting to specify babel presets
179
+ The above lines will register all the core components. You can register only the components you need if you prefer:
54
180
 
55
- ```javascript
56
- // need babel
57
- import CarbonComponentsVue from '@carbon/vue/src/index';
58
- Vue.use(CarbonComponentsVue);
59
181
  ```
182
+ Vue.use(CarbonComponentsVue, ['CvButton', 'CvTag']);
183
+ ```
184
+
185
+ ### Using the components directly or individually
60
186
 
61
- ### Using one at a time
187
+ You can import the component source either for all core components or for the individual components you need.
62
188
 
63
- In your main js file (where you include Vue)
189
+ To import all the core components:
64
190
 
65
191
  ```javascript
66
- // No need for Babel
67
- import { CvButton } from '@carbon/vue';
192
+ import CarbonComponentsVue from '@carbon/vue/src/index';
193
+ Vue.use(CarbonComponentsVue);
68
194
  ```
69
195
 
70
- In a component file
196
+ To import individual components:
71
197
 
72
198
  ```javascript
73
199
  <script>
@@ -81,7 +207,17 @@ components: {
81
207
  </script>
82
208
  ```
83
209
 
84
- ### From unkpg
210
+ Note: to import the component source you will need to ensure that Babel can process the source. We recommend the Babel preset `@vue/app`. If @carbon/vue is installed as a dependency in a `node_modules` folder or similar, you may need to enable Babel to process the source files, for example with the following lines, or similar, inside the `webpack.config.js` file:
211
+
212
+ ```javascript
213
+ {
214
+ test: /\.js$/,
215
+ loader: 'babel-loader',
216
+ include: [path.resolve(__dirname, 'node_modules/@carbon'), path.resolve(__dirname, 'src')]
217
+ }
218
+ ```
219
+
220
+ ### Using the components from unkpg
85
221
 
86
222
  In your html file, no need to babel.
87
223
 
@@ -94,194 +230,3 @@ Vue.use(window['carbon-vue'].default);
94
230
 
95
231
  . . . <cv-button>Hello</cv-button>
96
232
  ```
97
-
98
- ## Project State
99
-
100
- **1.0.2**
101
-
102
- - Add row-select-change and row-select-changes events to table
103
- - Add rows-selected property to table
104
- - Add use rows-selected with v-model for table
105
- - Fix overflow menu issue #234
106
-
107
- **1.0.1**
108
-
109
- - Removed setTimeout use
110
- - Added Skeleton components for
111
- - CvFileUpload
112
- - CvDropdown
113
- - CvCodeSnippet
114
- - CvCheckbox
115
-
116
- **1.0.0**
117
-
118
- - Add actions option to data table
119
- - Add batch actions option to data table
120
- - Updated table pagination
121
- - Add CvDataTableRow and CvDataTableCell to allow HTML use in tables
122
- - Add CvButtonSkeleton
123
- - Add overflow menu option to table.
124
-
125
- **1.0.0-beta.4**
126
-
127
- - Fix initially hidden expanding tile behaviour.
128
- - Add CvBreadCrumbSkeleton
129
-
130
- **1.0.0-beta.3**
131
-
132
- - Add header and footer slots for CvTable
133
- - Set button type="button" for all buttons except CvButton. This prevents form submit if a component happens to be inside a form.
134
- - Added CvSkeletonText, CvAccordionSeketon and CvAccordionItemSekeleton.
135
-
136
- **v1.0.0-beta.2**
137
-
138
- - Removed Symbol use in prop types, fixing CvRadioButton, CvSlider and CvPagination use with the minified compiled modules.
139
- - Minor story fixes
140
-
141
- **v1.0.0-beta.1**
142
-
143
- - Fix typo in CvContentSwitcherContent component name
144
-
145
- **v1.0.0-beta.0**
146
-
147
- - Storybook: update views
148
- - CvFileUploader: added v-model and missing parts to
149
- - CvToolbar: added
150
- - CvDataTable: added minus the filter/toolbar
151
- - Tests - Added unit test suite and first tests (CvTag)
152
- - CvContentSwitcher - Added non-DOM direct content managment
153
- - Turned helper and invalidMessages into slops (slot-prop hybrid)
154
- - CvIcon - Downgraded to helper component to remove dependency on carbon-icons
155
- - Renamed UMD and CommonJS modules from carbon-components-vue... to carbon-vue...
156
-
157
- **v0.3.0**
158
-
159
- - Initial data-viz/bar-graph added
160
- - Story corrections
161
- - Change use of \$parent to prefer events
162
- - Chagne use of \$children to check child type
163
- - Fix overflow and interactive-tooltip position on scroll/resize
164
-
165
- **v0.2.9**
166
-
167
- - Add gauge component - story is Data-viz/CvGauge
168
- - Add pie chart component - story is Data-viz/CvPieChart
169
- - Add router-link version of CvLink
170
-
171
- **v0.2.8**
172
- Correct duff deploy
173
-
174
- **v0.2.7**
175
-
176
- - Fix click on modal dialog closing it
177
-
178
- **v0.2.6**
179
-
180
- - Fix tab out of modal
181
- - Remove unused vars
182
-
183
- **v0.2.5 - Minor fixes**
184
-
185
- - Make structured list native Vue
186
- - Simplify structured list components
187
- - Removed non-core CSS
188
- - Fix to paginator reactivity
189
-
190
- **v0.2.4 - Minor fixes**
191
-
192
- - Make tooltip native Vue
193
- - Tidy up a bit of unused code
194
- - Make tabs native Vue and use carbon react pattern (breaks previous tab use)
195
-
196
- **v0.2.3 - Minor fixes**
197
-
198
- - Fix modal hide on main body click and show visible in story.
199
- - Make cv-search native Vue.
200
- - Make cv-number-input native Vue.
201
-
202
- **v0.2.2 - Minor fixes**
203
-
204
- - Fixed expandable tile and made it native Vue
205
- - Made notification componentes native Vue
206
- - Tidied toggle stories.
207
-
208
- **v0.2.0 - Moved to Storybook 4**
209
-
210
- - Knobs now operate as Vue properties the template is no longer replaced each time (as per Knobs in storybook 3)
211
- - Story kinds array replaced by variants which define the settings used in each story.
212
- - NOTE: slots no longer editable
213
-
214
- **v0.1.0 - First draft of carbon-components-vue implementation**
215
-
216
- This initial set of components, based on v9 of carbon components, includes draft implementations of all non-data viz components found in the core carbon components library. Public parts of the component: properties, events, data, methods, computed values are at this point subject to review at this point.
217
-
218
- ### Current Components
219
-
220
- 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.
221
-
222
- Current Version: 0.1
223
- :white_check_mark: Ready
224
- :warning: Under review
225
- :heavy_minus_sign: Not available
226
-
227
- | **Components** | **State** | **Link** |
228
- | ------------------------ | ------------------ | -------------------------------------------------------------------------------- |
229
- | **CvAccordion** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvAccordion |
230
- | CvBarGraph | :warning: | http://vue.carbondesignsystem.com/?selectedKind=Data-Viz%2FCvBarGraph |
231
- | **CvBreadcrumb** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvBreadcrumb |
232
- | **CvButton** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvButton |
233
- | **CvCheckbox** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvCheckbox |
234
- | **CvCodeSnippet** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvCodeSnippet&selectedStory=All |
235
- | **CvContentSwitcher** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvContentSwitcher |
236
- | CvDataTable | :white_check_mark: | https://github.com/carbon-design-system/carbon-components-vue/issues/51 |
237
- | |
238
- | CvDatePicker | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvDatePicker&selectedStory=All |
239
- | **CvDropdown** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvDropdown |
240
- | |
241
- | **CvFileUploader** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvFileUploader&selectedStory=All |
242
- | **CvForm** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvForm |
243
- | **CvGauge** | :warning: | https://github.com/carbon-design-system/carbon-components-vue/issues/49 |
244
- | |
245
- | **CvInlineNotification** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvInlineNotification |
246
- | CvLineGraph | :heavy_minus_sign: | https://github.com/carbon-design-system/carbon-components-vue/issues/53 |
247
- | |
248
- | **CvLink** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvLink |
249
- | **CvList** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvList |
250
- | **CvLoading** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvLoading |
251
- | **CvModal** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvModal |
252
- | **CvNumberInput** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvNumberInput |
253
- | **CvOverflowMenu** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvOverflowMenu |
254
- | **CvPagination** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvPagination&selectedStory=All |
255
- | CvPieChart | :warning: | https://github.com/carbon-design-system/carbon-components-vue/issues/52 |
256
- | |
257
- | **CvProgress** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvProgress |
258
- | **CvRadioButton** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvRadioButton |
259
- | CvScatterPlot | :heavy_minus_sign: | https://github.com/carbon-design-system/carbon-components-vue/issues/50 |
260
- | |
261
- | **CvSearch** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvSearch |
262
- | **CvSelect** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvSelect |
263
- | **CvSlider** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvSlider |
264
- | **CvStructuredList** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvStructuredList |
265
- | **CvTabs** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvTabs |
266
- | **CvTag** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvTag |
267
- | **CvTextArea** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvTextArea |
268
- | **CvTextInput** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvTextInput |
269
- | CvTimePicker | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvTimePicker&selectedStory=All |
270
- | **CvTile** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvTile |
271
- | **CvToastNotification** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvToastNotification |
272
- | **CvToggle** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvToggle |
273
- | **CvTooltip** | :white_check_mark: | http://vue.carbondesignsystem.com/?selectedKind=CvTooltip |
274
-
275
- ## Development
276
-
277
- Please refer to the [Contribution Guidelines](./.github/CONTRIBUTING.md) before starting any work.
278
-
279
- ### Contributing
280
-
281
- Fork, create branch, submit PR. The PR will be used as part of a review process.
282
-
283
- ### Publishing this library on gh-pages
284
-
285
- ```bash
286
- sh deploy-gh-pages.sh
287
- ```