@dialpad/dialtone-vue 2.2.1 → 2.4.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,37 @@
1
+ # [2.4.0](https://github.com/dialpad/dialtone-vue/compare/v2.3.0...v2.4.0) (2022-04-20)
2
+
3
+
4
+ ### Features
5
+
6
+ * automated a11y testing using axe-core ([#332](https://github.com/dialpad/dialtone-vue/issues/332)) ([a948b64](https://github.com/dialpad/dialtone-vue/commit/a948b648fd8eea22a8f045aa6e98a5867a2e8117))
7
+ * **avatar:** change to a pure slot based pattern ([#329](https://github.com/dialpad/dialtone-vue/issues/329)) ([926dc4a](https://github.com/dialpad/dialtone-vue/commit/926dc4aab9ff2168d2db217e645d9f3fb2fedb7f))
8
+ * **button:** add active button styles ([#322](https://github.com/dialpad/dialtone-vue/issues/322)) ([9979047](https://github.com/dialpad/dialtone-vue/commit/99790472c5e9c5730d130851db8472b5f4cec8a7))
9
+
10
+ # [2.3.0](https://github.com/dialpad/dialtone-vue/compare/v2.2.2...v2.3.0) (2022-04-08)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * calculate z-index after mounted ([#318](https://github.com/dialpad/dialtone-vue/issues/318)) ([b3d6d74](https://github.com/dialpad/dialtone-vue/commit/b3d6d7466b13d498feb909c709ede9b1fee3732e))
16
+ * dt-417 handle anchor with no children ([#316](https://github.com/dialpad/dialtone-vue/issues/316)) ([3f92a29](https://github.com/dialpad/dialtone-vue/commit/3f92a29b5b9dc9e1c01b289e3f52100af21ece9f))
17
+ * popover within popover stuck when ESC ([#320](https://github.com/dialpad/dialtone-vue/issues/320)) ([95fc99d](https://github.com/dialpad/dialtone-vue/commit/95fc99d907dc27b4f3b97c7cdc09553f575c1ec8))
18
+
19
+
20
+ ### Features
21
+
22
+ * **dropdown:** add maxWidth, maxHeight, listClass props ([#310](https://github.com/dialpad/dialtone-vue/issues/310)) ([f9f1356](https://github.com/dialpad/dialtone-vue/commit/f9f1356e39639741197a47958dc499afc5aacf00))
23
+ * **input:** add iconSize prop ([#314](https://github.com/dialpad/dialtone-vue/issues/314)) ([a6818be](https://github.com/dialpad/dialtone-vue/commit/a6818befb2ac475826eae7b7a5b5d2ec6148ea04))
24
+
25
+ ## [2.2.2](https://github.com/dialpad/dialtone-vue/compare/v2.2.1...v2.2.2) (2022-03-31)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **button:** change size s to sm in comment ([a6e396e](https://github.com/dialpad/dialtone-vue/commit/a6e396e9c9f1891fcee36a108e356751ef038a67))
31
+ * **dropdown:** add y padding on list ([#297](https://github.com/dialpad/dialtone-vue/issues/297)) ([df9c177](https://github.com/dialpad/dialtone-vue/commit/df9c1774d1ea3894911ec7cf3e9068cac17762b1))
32
+ * **popover:** dialog closing and reopening on anchor click ([b600366](https://github.com/dialpad/dialtone-vue/commit/b60036659be256cb3b051ea430c0f841e6abc9de))
33
+ * **tooltip:** nextTick before mounting ([9009102](https://github.com/dialpad/dialtone-vue/commit/9009102e0439f0912695322cba3e80d9904e9d9c))
34
+
1
35
  ## [2.2.1](https://github.com/dialpad/dialtone-vue/compare/v2.2.0...v2.2.1) (2022-03-28)
2
36
 
3
37
 
package/README.md CHANGED
@@ -2,10 +2,14 @@
2
2
 
3
3
  Dialtone Vue is a library of Vue components for [Dialtone][dt]. The goal is to simplify and standardize the use of common UI patterns and behaviour across all Dialpad projects.
4
4
 
5
- **[Component Documentation Site ↗️][dialtone-vue]**
5
+ Dialtone Vue is available in Vue 2 as well as Vue 3:
6
+
7
+ - **[Component Documentation Site (Vue 2) ↗️][dialtone-vue]**
8
+ - **[Component Documentation Site (Vue 3) ↗️][dialtone-vue3]**
6
9
 
7
10
  [dt]: https://dialpad.design
8
11
  [dialtone-vue]: https://vue.dialpad.design
12
+ [dialtone-vue3]: https://vue.dialpad.design/vue3
9
13
 
10
14
  ## Project Status
11
15
 
@@ -13,6 +17,13 @@ Dialtone Vue is a new project, and as such it is under constant development as w
13
17
 
14
18
  [jira]: https://switchcomm.atlassian.net/secure/RapidBoard.jspa?rapidView=246
15
19
 
20
+ ## Installation
21
+
22
+ You can install the Dialtone Vue library into your project via the following commands:
23
+
24
+ - Vue 2: `npm install @dialpad/dialtone-vue`
25
+ - Vue 3: `npm install @dialpad/dialtone-vue@vue3`
26
+
16
27
  ## Usage
17
28
 
18
29
  Dialtone Vue components can be imported directly from the package. Some components also export named constants, which can be imported as well:
@@ -26,7 +37,6 @@ Projects using Dialtone Vue should be aware of the requirements:
26
37
  - Dialtone classes must be made available globally (to avoid duplication, Dialtone Vue does not do this for you).
27
38
  - A tool like Webpack must be used to package the SFC components from Dialtone Vue.
28
39
  - LESS preprocessor support for Vue SFC `<style>` blocks.
29
- - Dialtone Vue components are built for Vue 2, with Vue 3 support coming soon.
30
40
 
31
41
  These requirements are enforced via peerdependencies of Dialtone Vue when possible.
32
42
 
@@ -35,9 +45,8 @@ These requirements are enforced via peerdependencies of Dialtone Vue when possib
35
45
  If you would like to contribute to Dialtone Vue the first step is to get the project running locally. Follow the below quickstart to do so.
36
46
 
37
47
  1. Clone the repo `git clone https://github.com/dialpad/dialtone-vue.git`
38
- 2. Install storybook dependencies `npm run storybook:install`
39
- 3. Install dialtone-vue dependencies `npm install`
40
- 4. Run local dev server `npm start`
41
- 5. Visit local dev server at http://localhost:9011/
48
+ 2. Install dependencies `npm run install:all`
49
+ 3. Run local dev server `npm start`
50
+ 4. Visit local dev server at http://localhost:9011/
42
51
 
43
52
  Next read the more detailed contributor documentation in [CONTRIBUTING.md](.github/CONTRIBUTING.md).