@cypress-design/vue-accordion 0.3.0 → 0.4.1

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.
@@ -1,13 +1,13 @@
1
1
  $ yarn build:module && yarn build:types
2
2
  $ yarn vite build
3
3
  $ /home/runner/work/cypress-design/cypress-design/node_modules/.bin/vite build
4
- vite v4.2.1 building for production...
4
+ vite v4.2.2 building for production...
5
5
  transforming...
6
6
  ✓ 5 modules transformed.
7
7
  rendering chunks...
8
8
  computing gzip size...
9
- dist/index.es.mjs 4.96 kB │ gzip: 1.84 kB │ map: 263.66 kB
10
- dist/index.umd.js 4.69 kB │ gzip: 1.81 kB │ map: 263.42 kB
11
- ✓ built in 5.84s
9
+ dist/index.es.mjs 4.56 kB │ gzip: 1.80 kB │ map: 262.64 kB
10
+ dist/index.umd.js 4.29 kB │ gzip: 1.77 kB │ map: 262.39 kB
11
+ ✓ built in 4.05s
12
12
  $ yarn vue-tsc --project ./tsconfig.build.json
13
13
  $ /home/runner/work/cypress-design/cypress-design/node_modules/.bin/vue-tsc --project ./tsconfig.build.json
package/Accordion.vue CHANGED
@@ -51,7 +51,7 @@
51
51
  </template>
52
52
 
53
53
  <script lang="ts" setup>
54
- import { CssClasses } from '../constants'
54
+ import { CssClasses } from '@cypress-design/constants-accordion'
55
55
  import { DetailsAnimation } from '@cypress-design/details-animation'
56
56
  import { IconChevronDownSmall } from '@cypress-design/vue-icon'
57
57
  import {
@@ -23,7 +23,7 @@ describe('<Accordion/>', () => {
23
23
  }
24
24
 
25
25
  it('can be passed an icon as a prop', () => {
26
- mount(Accordion, {
26
+ mount(Accordion as any, {
27
27
  props: {
28
28
  title: 'hi',
29
29
  icon: IconActionQuestionMarkCircle,
@@ -32,7 +32,7 @@ describe('<Accordion/>', () => {
32
32
  })
33
33
 
34
34
  it('can be passed an icon as an element', () => {
35
- mount(Accordion, {
35
+ mount(Accordion as any, {
36
36
  slots,
37
37
  props: {
38
38
  title: 'hi',
@@ -41,7 +41,7 @@ describe('<Accordion/>', () => {
41
41
  })
42
42
 
43
43
  it('when passed both icon and iconEl, iconEl overrides icon', () => {
44
- mount(Accordion, {
44
+ mount(Accordion as any, {
45
45
  icon: IconActionQuestionMarkCircle,
46
46
  slots,
47
47
  props: {
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @cypress-design/vue-accordion
2
2
 
3
+ ## 0.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`63ea78a`](https://github.com/cypress-io/cypress-design/commit/63ea78af2062fd5e3fb8c61fa4bcf85fd95e803b) Thanks [@elevatebart](https://github.com/elevatebart)! - add constants package to dependencies
8
+
9
+ ## 0.4.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#196](https://github.com/cypress-io/cypress-design/pull/196) [`fc6d9e4`](https://github.com/cypress-io/cypress-design/commit/fc6d9e4fedcc01fa8e01b868b0fa66d8895c37d0) Thanks [@elevatebart](https://github.com/elevatebart)! - refactor: avoid constants relative imports
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [[`fc6d9e4`](https://github.com/cypress-io/cypress-design/commit/fc6d9e4fedcc01fa8e01b868b0fa66d8895c37d0)]:
18
+ - @cypress-design/vue-icon@0.21.0
19
+
3
20
  ## 0.3.0
4
21
 
5
22
  ### Minor Changes
package/ReadMe.md CHANGED
@@ -1,9 +1,5 @@
1
1
  # Accordion
2
2
 
3
- ## Summary
4
-
5
- Collapsible component with a header and a body.
6
-
7
3
  ## Install
8
4
 
9
5
  ```bash
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Accordion.vue.d.ts","sourceRoot":"","sources":["../Accordion.vue.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,mBAAmB,EACnB,aAAa,EAId,MAAM,KAAK,CAAA;;IAwDV;;;OAGG;WACI,MAAM;IACb;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;;OAGG;;IAEH;;;OAGG;;;IAjCH;;;OAGG;WACI,MAAM;IACb;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;;OAGG;;IAEH;;;OAGG;;;uBA2K0B,GAAG;wBACF,GAAG;;AAnQnC,wBAuRc;AACd,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA"}
package/dist/index.es.mjs CHANGED
@@ -130,4 +130,4 @@ export {
130
130
  };
131
131
  //# sourceMappingURL=index.es.mjs.map
132
132
 
133
- /* <windicss-keep class="flex-grow pr-[16px] open:icon-dark-gray-500 icon-dark-gray-300 details-none card open:rounded-b-none flex flex-row py-[12px] px-[24px] flex-nowrap items-center min-h-[63px] bg-white text-[18px] leading-[28px] font-medium text-indigo-500 block text-[14px] leading-[20px] font-normal text-gray-700 mr-[24px] flex-shrink-0 w-[1px] h-[40px] bg-gray-100 mr-[16px] transition transform rotate-0 open:rotate-180 border border-gray-100 rounded-b-md border-t-0 py-[16px]"> */
133
+ /* <windicss-keep class="flex-grow pr-[16px] open:icon-dark-gray-500 icon-dark-gray-300"> */