Skip to content

Commit 7246f75

Browse files
Removing text-transform on prop labels (#15230)
* Removing text-transform on prop labels * Update Label.tsx
1 parent e62b984 commit 7246f75

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

packages/connect-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/connect-react",
3-
"version": "1.0.0-preview.16",
3+
"version": "1.0.0-preview.17",
44
"description": "Pipedream Connect library for React",
55
"files": [
66
"dist"

packages/connect-react/src/components/Label.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import type { CSSProperties } from "react";
2-
import type { ConfigurableProp, ConfigurableProps } from "@pipedream/sdk";
2+
import type {
3+
ConfigurableProp, ConfigurableProps,
4+
} from "@pipedream/sdk";
35
import { useCustomize } from "../hooks/customization-context";
46
import type { FormFieldContext } from "../hooks/form-field-context";
57
import { FormContext } from "../hooks/form-context";
@@ -23,12 +25,12 @@ export function Label<T extends ConfigurableProps, U extends ConfigurableProp>(p
2325
color: theme.colors.neutral90,
2426
fontWeight: 450,
2527
gridArea: "label",
26-
textTransform: "capitalize",
2728
lineHeight: "1.5",
2829
};
2930

3031
// XXX have to fix typing in customization (and elsewere really)
3132
return (
33+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
3234
<label htmlFor={id} {...getProps("label", baseStyles, props as any)}>{text}</label>
3335
);
3436
}

pnpm-lock.yaml

Lines changed: 7 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)