@cypress-design/react-accordion 0.1.6 → 0.1.7

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/Accordion.tsx CHANGED
@@ -52,7 +52,7 @@ export const Accordion: React.FC<
52
52
  {Icon && !iconEl && <Icon className={CssClasses.icon} />}
53
53
 
54
54
  {(Icon || iconEl) && separator && (
55
- <hr className={CssClasses.separator} />
55
+ <span className={CssClasses.separator} />
56
56
  )}
57
57
  <span className="flex-grow pr-16px">
58
58
  <span
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @cypress-design/react-accordion
2
2
 
3
+ ## 0.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ff54d5c`](https://github.com/cypress-io/cypress-design/commit/ff54d5c098bec93083b9c2ecc84439a0d3878f56) Thanks [@elevatebart](https://github.com/elevatebart)! - fix hr into span
8
+
3
9
  ## 0.1.6
4
10
 
5
11
  ### Patch Changes
package/dist/index.es.mjs CHANGED
@@ -47,8 +47,8 @@ var CssClasses = {
47
47
  summaryDiv: 'flex flex-row py-12px px-24px flex-nowrap items-center min-h-63px',
48
48
  summaryColor: 'bg-white',
49
49
  summaryTitle: 'text-18px leading-28px font-medium',
50
- summaryTitleColor: 'text-indigo-500',
51
- summaryDescription: 'text-14px leading-20px font-normal',
50
+ summaryTitleColor: 'text-indigo-500 block',
51
+ summaryDescription: 'text-14px leading-20px font-normal block',
52
52
  summaryDescriptionColor: 'text-gray-700',
53
53
  icon: 'mr-24px flex-shrink-0',
54
54
  separator: 'w-1px h-40px bg-gray-100 mr-16px',
@@ -144,7 +144,7 @@ var Accordion = function (_a) {
144
144
  React.createElement("span", { className: CssClasses.summaryDiv },
145
145
  Boolean(iconEl) && React.createElement("span", { className: CssClasses.icon }, iconEl),
146
146
  Icon && !iconEl && React.createElement(Icon, { className: CssClasses.icon }),
147
- (Icon || iconEl) && separator && (React.createElement("hr", { className: CssClasses.separator })),
147
+ (Icon || iconEl) && separator && (React.createElement("span", { className: CssClasses.separator })),
148
148
  React.createElement("span", { className: "flex-grow pr-16px" },
149
149
  React.createElement("span", { className: clsx(titleClassName !== null && titleClassName !== void 0 ? titleClassName : CssClasses.summaryTitleColor, CssClasses.summaryTitle) }, title),
150
150
  description && (React.createElement("span", { className: clsx(CssClasses.summaryDescription, descriptionClassName !== null && descriptionClassName !== void 0 ? descriptionClassName : CssClasses.summaryDescriptionColor) }, description))),
@@ -154,5 +154,5 @@ var Accordion = function (_a) {
154
154
 
155
155
  export { Accordion as default };
156
156
 
157
- /* <windicss-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 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"> */
157
+ /* <windicss-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"> */
158
158
  //# sourceMappingURL=index.es.mjs.map