Merged in fix/strokewidth-warning (pull request #3343)

fix: change to camelCase strokewidth warning

* fix: change to camelCase strokewidth warning


Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
This commit is contained in:
Bianca Widstam
2025-12-12 11:47:00 +00:00
parent 3e3b15940f
commit ee16d2ef6d
15 changed files with 82 additions and 78 deletions

View File

@@ -2,7 +2,7 @@ import type { NucleoIconProps } from '../../icon'
import { getNucleoIconProps } from '../utils'
function BathroomCabinet2(props: NucleoIconProps) {
const { fill, strokewidth, ...iconProps } = getNucleoIconProps(props)
const { fill, strokeWidth, ...iconProps } = getNucleoIconProps(props)
return (
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...iconProps}>
@@ -17,7 +17,7 @@ function BathroomCabinet2(props: NucleoIconProps) {
width="17.999"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
x="3.001"
y="15"
/>
@@ -25,12 +25,12 @@ function BathroomCabinet2(props: NucleoIconProps) {
d="M9,11a2,2,0,0,1,4,0h0v4"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<line
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
x1="7.999"
x2="19.999"
y1="19"
@@ -39,7 +39,7 @@ function BathroomCabinet2(props: NucleoIconProps) {
<line
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
x1="8"
x2="7.999"
y1="15"
@@ -49,7 +49,7 @@ function BathroomCabinet2(props: NucleoIconProps) {
fill="none"
points="5 11 1 11 1 1 23 1 23 11 17 11"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
</g>
</svg>

View File

@@ -2,7 +2,7 @@ import type { NucleoIconProps } from '../../icon'
import { getNucleoIconProps } from '../utils'
function ConferenceRoom(props: NucleoIconProps) {
const { fill, strokewidth, ...iconProps } = getNucleoIconProps(props)
const { fill, strokeWidth, ...iconProps } = getNucleoIconProps(props)
return (
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...iconProps}>
@@ -17,7 +17,7 @@ function ConferenceRoom(props: NucleoIconProps) {
width="10"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
x="7"
y="3"
/>
@@ -33,7 +33,7 @@ function ConferenceRoom(props: NucleoIconProps) {
fill="none"
r="1"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<circle
cx="2"
@@ -41,7 +41,7 @@ function ConferenceRoom(props: NucleoIconProps) {
fill="none"
r="1"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<circle
cx="2"
@@ -49,7 +49,7 @@ function ConferenceRoom(props: NucleoIconProps) {
fill="none"
r="1"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<circle
cx="22"
@@ -57,7 +57,7 @@ function ConferenceRoom(props: NucleoIconProps) {
fill="none"
r="1"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<circle
cx="22"
@@ -65,7 +65,7 @@ function ConferenceRoom(props: NucleoIconProps) {
fill="none"
r="1"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<circle
cx="22"
@@ -73,7 +73,7 @@ function ConferenceRoom(props: NucleoIconProps) {
fill="none"
r="1"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
</g>
</svg>

View File

@@ -2,7 +2,7 @@ import type { NucleoIconProps } from '../../icon'
import { getNucleoIconProps } from '../utils'
function Door2(props: NucleoIconProps) {
const { fill, strokewidth, ...iconProps } = getNucleoIconProps(props)
const { fill, strokeWidth, ...iconProps } = getNucleoIconProps(props)
return (
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...iconProps}>
@@ -17,7 +17,7 @@ function Door2(props: NucleoIconProps) {
width="16"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
x="4"
y="1"
/>
@@ -26,14 +26,14 @@ function Door2(props: NucleoIconProps) {
width="8"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
x="8"
y="5"
/>
<line
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
x1="8"
x2="8"
y1="15"

View File

@@ -2,7 +2,7 @@ import type { NucleoIconProps } from '../../icon'
import { getNucleoIconProps } from '../utils'
function Hairdresser1(props: NucleoIconProps) {
const { fill, strokewidth, ...iconProps } = getNucleoIconProps(props)
const { fill, strokeWidth, ...iconProps } = getNucleoIconProps(props)
return (
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...iconProps}>
@@ -15,7 +15,7 @@ function Hairdresser1(props: NucleoIconProps) {
<line
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
x1="16"
x2="19"
y1="5"
@@ -24,7 +24,7 @@ function Hairdresser1(props: NucleoIconProps) {
<line
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
x1="16"
x2="19"
y1="9"
@@ -33,7 +33,7 @@ function Hairdresser1(props: NucleoIconProps) {
<line
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
x1="12"
x2="6"
y1="1"
@@ -42,7 +42,7 @@ function Hairdresser1(props: NucleoIconProps) {
<line
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
x1="4"
x2="10"
y1="1"
@@ -52,7 +52,7 @@ function Hairdresser1(props: NucleoIconProps) {
d="M16,13h.79a2,2,0,0,1,1.99,2.2L18,23h5V3a2,2,0,0,0-2-2H16"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<rect
height="7"
@@ -60,7 +60,7 @@ function Hairdresser1(props: NucleoIconProps) {
fill="none"
rx="2.5"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
x="1"
y="16"
/>
@@ -70,7 +70,7 @@ function Hairdresser1(props: NucleoIconProps) {
fill="none"
rx="2.5"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
transform="translate(25 39) rotate(180)"
x="10"
y="16"

View File

@@ -2,7 +2,7 @@ import type { NucleoIconProps } from '../../icon'
import { getNucleoIconProps } from '../utils'
function RecordPlayer3(props: NucleoIconProps) {
const { fill, strokewidth, ...iconProps } = getNucleoIconProps(props)
const { fill, strokeWidth, ...iconProps } = getNucleoIconProps(props)
return (
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...iconProps}>
@@ -16,19 +16,19 @@ function RecordPlayer3(props: NucleoIconProps) {
d="M18 9V14L16.5 16"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<path
d="M2 6L2 18C2 19.1046 2.89543 20 4 20L20 20C21.1046 20 22 19.1046 22 18L22 6C22 4.89543 21.1046 4 20 4L4 4C2.89543 4 2 4.89543 2 6Z"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<path
d="M10 16C12.2091 16 14 14.2091 14 12C14 9.79086 12.2091 8 10 8C7.79086 8 6 9.79086 6 12C6 14.2091 7.79086 16 10 16Z"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<path
d="M10 13C10.5523 13 11 12.5523 11 12C11 11.4477 10.5523 11 10 11C9.44772 11 9 11.4477 9 12C9 12.5523 9.44772 13 10 13Z"

View File

@@ -2,7 +2,7 @@ import type { NucleoIconProps } from '../../icon'
import { getNucleoIconProps } from '../utils'
function Toilet2(props: NucleoIconProps) {
const { fill, strokewidth, ...iconProps } = getNucleoIconProps(props)
const { fill, strokeWidth, ...iconProps } = getNucleoIconProps(props)
return (
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...iconProps}>
@@ -16,18 +16,18 @@ function Toilet2(props: NucleoIconProps) {
d="M6,8V3A2.006,2.006,0,0,1,8,1h8a2.006,2.006,0,0,1,2,2V8"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<path
d="M21,12H3v2a6.018,6.018,0,0,0,6,6H9v3h6V20h0a6.018,6.018,0,0,0,6-6Z"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<line
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
x1="3.1"
x2="20.9"
y1="15"

View File

@@ -2,7 +2,7 @@ import type { NucleoIconProps } from '../../icon'
import { getNucleoIconProps } from '../utils'
function UserPolice2(props: NucleoIconProps) {
const { fill, strokewidth, ...iconProps } = getNucleoIconProps(props)
const { fill, strokeWidth, ...iconProps } = getNucleoIconProps(props)
return (
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...iconProps}>
@@ -16,31 +16,31 @@ function UserPolice2(props: NucleoIconProps) {
d="m4,22.429l3.549-1.014c.859-.245,1.451-1.03,1.451-1.923v-1.239"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<path
d="m20,22.429l-3.549-1.014c-.859-.245-1.451-1.03-1.451-1.923v-1.239"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<path
d="m18.473,8.408c.091.509.124,1.038.09,1.578l-.189,3.025c-.21,3.366-3.002,5.988-6.374,5.988h0c-3.373,0-6.164-2.622-6.374-5.988l-.189-3.025c-.034-.541-.001-1.069.09-1.579"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<path
d="m12,12c-6.406,0-6.576-4-6.576-4h13.153s-.17,4-6.576,4Z"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<path
d="m18.576,8l1.495-3.109c.238-.494.039-1.098-.456-1.334-2.349-1.12-4.885-1.893-7.616-2.307-2.73.414-5.267,1.187-7.616,2.307-.495.236-.693.84-.456,1.334l1.495,3.109"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<circle cx="12" cy="4.75" fill={fill} r="1.5" strokeWidth="0" />
</g>