@cypress-design/react-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.
- package/.turbo/turbo-build.log +1 -1
- package/Accordion.tsx +2 -2
- package/CHANGELOG.md +17 -0
- package/ReadMe.md +0 -4
- package/dist/{react/Accordion.d.ts → Accordion.d.ts} +1 -1
- package/dist/Accordion.d.ts.map +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.es.mjs +2 -2
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +30 -28
- package/tsconfig.build.json +2 -2
- package/dist/constants.d.ts +0 -53
- package/dist/constants.d.ts.map +0 -1
- package/dist/react/Accordion.d.ts.map +0 -1
- package/dist/react/index.d.ts.map +0 -1
- /package/dist/{react/index.d.ts → index.d.ts} +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -2,5 +2,5 @@ $ yarn build:module && yarn build:types
|
|
|
2
2
|
$ rollup -c ./rollup.config.mjs
|
|
3
3
|
[36m
|
|
4
4
|
[1m./index.ts[22m → [1m./dist/index.umd.js, ./dist/index.es.mjs[22m...[39m
|
|
5
|
-
[32mcreated [1m./dist/index.umd.js, ./dist/index.es.mjs[22m in [
|
|
5
|
+
[32mcreated [1m./dist/index.umd.js, ./dist/index.es.mjs[22m in [1m19.2s[22m[39m
|
|
6
6
|
$ tsc --project ./tsconfig.build.json
|
package/Accordion.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react'
|
|
2
2
|
import clsx from 'clsx'
|
|
3
|
-
import { CssClasses } from '
|
|
4
|
-
import type { AccordionProps } from '
|
|
3
|
+
import { CssClasses } from '@cypress-design/constants-accordion'
|
|
4
|
+
import type { AccordionProps } from '@cypress-design/constants-accordion'
|
|
5
5
|
import { DetailsAnimation } from '@cypress-design/details-animation'
|
|
6
6
|
import { IconChevronDownSmall } from '@cypress-design/react-icon'
|
|
7
7
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @cypress-design/react-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/react-icon@0.20.0
|
|
19
|
+
|
|
3
20
|
## 0.3.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
package/ReadMe.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { AccordionProps } from '
|
|
2
|
+
import type { AccordionProps } from '@cypress-design/constants-accordion';
|
|
3
3
|
export interface AccordionPropsReact extends AccordionProps {
|
|
4
4
|
/**
|
|
5
5
|
* Icon to be displayed on the left of the the heading. Overridden by the iconEl prop, if both are provided.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"./","sources":["Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAA;AAIzE,MAAM,WAAW,mBAAoB,SAAQ,cAAc;IACzD;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAA;IAC9C;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CACzB;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAC9B,mBAAmB,GAAG,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC,CAwE1D,CAAA;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"./","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA"}
|
package/dist/index.es.mjs
CHANGED
|
@@ -42,7 +42,7 @@ function __rest$1(s, e) {
|
|
|
42
42
|
return t;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
const CssClasses = {
|
|
46
46
|
summary: 'details-none card open:rounded-b-none',
|
|
47
47
|
summaryDiv: 'flex flex-row py-[12px] px-[24px] flex-nowrap items-center min-h-[63px]',
|
|
48
48
|
summaryColor: 'bg-white',
|
|
@@ -156,4 +156,4 @@ var Accordion = function (_a) {
|
|
|
156
156
|
export { Accordion as default };
|
|
157
157
|
//# sourceMappingURL=index.es.mjs.map
|
|
158
158
|
|
|
159
|
-
/* <windicss-keep class="flex-grow pr-[16px] open:icon-dark-gray-500
|
|
159
|
+
/* <windicss-keep class="flex-grow pr-[16px] open:icon-dark-gray-500"> */
|