@cerebruminc/cerebellum 19.1.1 → 19.2.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # react-component-lib-boilerplate
2
2
 
3
+ ## [19.2.0](https://github.com/cerebruminc/cerebellum/compare/v19.1.1...v19.2.0) (2026-07-30)
4
+
5
+
6
+ ### Features
7
+
8
+ * **backArrow:** add BackArrow component ([69a249c](https://github.com/cerebruminc/cerebellum/commit/69a249c7be035f9357f1a0038cf335e140463d9e))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **modal:** move modal title line height fix into theme ([9d10206](https://github.com/cerebruminc/cerebellum/commit/9d102066919676af0f7ab7b942dd3341fc10d135))
14
+
3
15
  ## [19.1.1](https://github.com/cerebruminc/cerebellum/compare/v19.1.0...v19.1.1) (2026-07-29)
4
16
 
5
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cerebruminc/cerebellum",
3
- "version": "19.1.1",
3
+ "version": "19.2.0",
4
4
  "description": "Cerebrum's React Component Library",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -0,0 +1,36 @@
1
+ import { JSXElementConstructor } from "react";
2
+
3
+ import { boxColorLookup } from "../../helpers/colors";
4
+ import { BoringSpan, IconBox, InnerIconBox, Svg } from "./IconComponentStyles";
5
+ import { IconProps, IconType } from "./types";
6
+
7
+ export const BackArrow: IconType = (props: IconProps) => {
8
+ const { boxed = false, boxedSize = 67, boxColor, fill = "currentColor", round = false, scale = 1, title } = props;
9
+
10
+ const Container: JSXElementConstructor<any> = boxed || round ? IconBox : BoringSpan;
11
+ const InnerContainer: JSXElementConstructor<any> = boxed || round ? InnerIconBox : BoringSpan;
12
+
13
+ return (
14
+ <Container $boxedSize={boxedSize}>
15
+ <InnerContainer $boxColor={boxColor ?? boxColorLookup(fill)} $round={round} $paddingString={round ? "35%" : "25.4%"}>
16
+ <Svg
17
+ version="1.1"
18
+ x="0px"
19
+ y="0px"
20
+ role="img"
21
+ {...(title ? { "aria-labelledby": "back-arrow-icon-title-id" } : { "aria-hidden": "true" })}
22
+ viewBox="1.8 1.8 16.5 16.5"
23
+ scale={scale}
24
+ style={{ transform: "scaleX(-1)" }}
25
+ >
26
+ {title && <title id="back-arrow-icon-title-id">{title}</title>}
27
+ <path
28
+ fill={fill}
29
+ fillRule="evenodd"
30
+ d="M12.29 5.29c.39-.4 1.02-.4 1.41 0l4 4c.39.39.39 1.02 0 1.41l-4 4c-.4.39-1.03.39-1.42 0 -.4-.4-.4-1.03 0-1.42l2.29-2.3H2.98c-.56 0-1-.45-1-1 0-.56.44-1 1-1h11.58l-2.3-2.3c-.4-.4-.4-1.03 0-1.42Z"
31
+ />
32
+ </Svg>
33
+ </InnerContainer>
34
+ </Container>
35
+ );
36
+ };
@@ -6,6 +6,7 @@ import { ArrowLong } from "./ArrowLong";
6
6
  import { Assign } from "./Assign";
7
7
  import { At } from "./At";
8
8
  import { Attachment } from "./Attachment";
9
+ import { BackArrow } from "./BackArrow";
9
10
  import { BackCircle } from "./BackCircle";
10
11
  import { BackgroundCheck } from "./BackgroundCheck";
11
12
  import { BellOutline } from "./BellOutline";
@@ -191,6 +192,7 @@ export {
191
192
  Assign,
192
193
  At,
193
194
  Attachment,
195
+ BackArrow,
194
196
  BackCircle,
195
197
  BackgroundCheck,
196
198
  BellOutline,
package/src/index.ts CHANGED
@@ -174,6 +174,7 @@ export {
174
174
  Assign,
175
175
  At,
176
176
  Attachment,
177
+ BackArrow,
177
178
  BackCircle,
178
179
  BackgroundCheck,
179
180
  BellOutline,
@@ -8,10 +8,6 @@
8
8
  gap: 27px;
9
9
  }
10
10
 
11
- .confirmModalTitle {
12
- line-height: 1.3333333333;
13
- }
14
-
15
11
  /* Applied programmatically via useContainerQuery when buttons don't fit side-by-side */
16
12
  .confirmModalGroupStacked {
17
13
  flex-direction: column-reverse !important;
@@ -158,7 +158,6 @@ export const openConfirmModal = (props: ConfirmModalWithTitle) => {
158
158
  classNames: {
159
159
  content: clsx(styles.confirmModalContent, classNames?.content),
160
160
  body: clsx(styles.confirmModalBody, classNames?.body),
161
- title: clsx(styles.confirmModalTitle, classNames?.title),
162
161
  ...classNames,
163
162
  },
164
163
  children: (
@@ -592,6 +592,7 @@ export const createCustomMantineTheme = (optionsOrBrandColor?: CreateCustomManti
592
592
  title: {
593
593
  fontSize: "30px",
594
594
  fontWeight: 600,
595
+ lineHeight: 1.33333,
595
596
  },
596
597
  content: {
597
598
  // Custom scrollbar to match Cerebellum's Modal component