@hyphen/hyphen-components 2.9.1 → 2.9.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyphen/hyphen-components",
3
- "version": "2.9.1",
3
+ "version": "2.9.3",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "@hyphen"
@@ -554,7 +554,7 @@ export const Box: FC<BoxProps> = forwardRef(
554
554
  }
555
555
 
556
556
  const childClasses = classNames(child.props.className, [
557
- ...new Set(childGapClasses),
557
+ ...Array.from(new Set(childGapClasses)),
558
558
  ]);
559
559
 
560
560
  return cloneElement(child, {
@@ -109,7 +109,7 @@ export const Pagination: FC<PaginationProps> = ({
109
109
  gap={isCompact ? 'xs' : 'sm'}
110
110
  >
111
111
  <Button
112
- variant="primary"
112
+ variant="secondary"
113
113
  size={isCompact ? 'sm' : 'md'}
114
114
  isDisabled={activePage === 1}
115
115
  onClick={() => onChange(activePage - 1)}
@@ -138,7 +138,7 @@ export const Pagination: FC<PaginationProps> = ({
138
138
  </Box>
139
139
  )}
140
140
  <Button
141
- variant="primary"
141
+ variant="secondary"
142
142
  size={isCompact ? 'sm' : 'md'}
143
143
  isDisabled={activePage === pageTotal}
144
144
  onClick={() => onChange(activePage + 1)}