@cypress-design/react-accordion 0.4.1 → 0.4.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.
@@ -2,5 +2,5 @@ $ yarn build:module && yarn build:types
2
2
  $ rollup -c ./rollup.config.mjs
3
3
  
4
4
  ./index.ts → ./dist/index.umd.js, ./dist/index.es.mjs...
5
- created ./dist/index.umd.js, ./dist/index.es.mjs in 19.2s
5
+ created ./dist/index.umd.js, ./dist/index.es.mjs in 24.5s
6
6
  $ tsc --project ./tsconfig.build.json
package/Accordion.tsx CHANGED
@@ -54,7 +54,7 @@ export const Accordion: React.FC<
54
54
  {(Icon || iconEl) && separator && (
55
55
  <span className={CssClasses.separator} role="separator" />
56
56
  )}
57
- <span className="flex-grow pr-[16px]">
57
+ <span className="flex-grow grow pr-[16px]">
58
58
  <span
59
59
  className={clsx(
60
60
  titleClassName ?? CssClasses.summaryTitleColor,
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @cypress-design/react-accordion
2
2
 
3
+ ## 0.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`4917933`](https://github.com/cypress-io/cypress-design/commit/4917933c82078090c7c29e94a090737e0427821d) Thanks [@elevatebart](https://github.com/elevatebart)! - make accordion compatible with tw
8
+
9
+ ## 0.4.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`08ba16d`](https://github.com/cypress-io/cypress-design/commit/08ba16da4a8663676ee96ac4950938857bd0d9a3) Thanks [@elevatebart](https://github.com/elevatebart)! - fix wind-keep plugin
14
+
15
+ - Updated dependencies [[`08ba16d`](https://github.com/cypress-io/cypress-design/commit/08ba16da4a8663676ee96ac4950938857bd0d9a3)]:
16
+ - @cypress-design/react-icon@0.21.1
17
+
3
18
  ## 0.4.1
4
19
 
5
20
  ### Patch Changes
package/dist/index.es.mjs CHANGED
@@ -18,6 +18,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
18
18
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19
19
  PERFORMANCE OF THIS SOFTWARE.
20
20
  ***************************************************************************** */
21
+ /* global Reflect, Promise */
22
+
21
23
 
22
24
  var __assign$1 = function() {
23
25
  __assign$1 = Object.assign || function __assign(t) {
@@ -71,6 +73,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
71
73
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
72
74
  PERFORMANCE OF THIS SOFTWARE.
73
75
  ***************************************************************************** */
76
+ /* global Reflect, Promise */
77
+
74
78
 
75
79
  var __assign = function() {
76
80
  __assign = Object.assign || function __assign(t) {
@@ -129,7 +133,7 @@ var IconChevronDownSmall = function (props) {
129
133
  };
130
134
 
131
135
 
132
- /* <windicss-keep class=""> */
136
+ /* <wind-keep class=""> */
133
137
 
134
138
  var Accordion = function (_a) {
135
139
  var title = _a.title, description = _a.description, Icon = _a.icon, iconEl = _a.iconEl, _b = _a.separator, separator = _b === void 0 ? false : _b, children = _a.children, headingClassName = _a.headingClassName, titleClassName = _a.titleClassName, descriptionClassName = _a.descriptionClassName, fullWidthContent = _a.fullWidthContent, rest = __rest$1(_a, ["title", "description", "icon", "iconEl", "separator", "children", "headingClassName", "titleClassName", "descriptionClassName", "fullWidthContent"]);
@@ -146,7 +150,7 @@ var Accordion = function (_a) {
146
150
  Boolean(iconEl) && React.createElement("span", { className: CssClasses.icon }, iconEl),
147
151
  Icon && !iconEl && React.createElement(Icon, { className: CssClasses.icon }),
148
152
  (Icon || iconEl) && separator && (React.createElement("span", { className: CssClasses.separator, role: "separator" })),
149
- React.createElement("span", { className: "flex-grow pr-[16px]" },
153
+ React.createElement("span", { className: "flex-grow grow pr-[16px]" },
150
154
  React.createElement("span", { className: clsx(titleClassName !== null && titleClassName !== void 0 ? titleClassName : CssClasses.summaryTitleColor, CssClasses.summaryTitle) }, title),
151
155
  description && (React.createElement("span", { className: clsx(CssClasses.summaryDescription, descriptionClassName !== null && descriptionClassName !== void 0 ? descriptionClassName : CssClasses.summaryDescriptionColor) }, description))),
152
156
  React.createElement(IconChevronDownSmall, { strokeColor: "gray-300", className: clsx('open:icon-dark-gray-500', CssClasses.chevron) }))),
@@ -156,4 +160,4 @@ var Accordion = function (_a) {
156
160
  export { Accordion as default };
157
161
  //# sourceMappingURL=index.es.mjs.map
158
162
 
159
- /* <windicss-keep class="flex-grow pr-[16px] open:icon-dark-gray-500"> */
163
+ /* <wind-keep class="flex-grow pr-[16px] open:icon-dark-gray-500 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]"> */