@propellerads/editable-field 4.0.0 → 4.0.1

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/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/style.tsx","../src/types.ts","../src/index.tsx"],"sourcesContent":["import {borderRadius, gray80, lineHeight, spacing, white} from '@propellerads/stylevariables';\nimport styled, {css, keyframes} from 'styled-components';\nimport type {THEME} from '../../../ThemeComponent/types';\nimport {ContainerDirection} from './types';\n\nconst spin = keyframes`\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n`;\n\ntype StyledEditableFieldWrapperProps = {\n $isEditable: boolean;\n $direction: ContainerDirection;\n};\n\ntype StyledEditableFieldInputWrapperProps = {\n $isEditable: boolean;\n $isLoading: boolean;\n theme: THEME;\n};\n\nconst StyledEditableFieldWrapper = styled.div<StyledEditableFieldWrapperProps>`\n display: flex;\n width: fit-content;\n\n ${(props) =>\n props.$isEditable &&\n css`\n align-items: flex-end;\n flex-direction: ${props.$direction};\n width: 100%;\n `}\n`;\n\nconst StyledEditableFieldInputWrapper = styled.div<StyledEditableFieldInputWrapperProps>`\n box-shadow: inset 0 0 0 1px transparent;\n transition: box-shadow 0.3s ease, width 0.3s ease;\n border-radius: ${borderRadius}px;\n display: inline-flex;\n flex-direction: row;\n align-items: center;\n padding-right: 4px;\n\n &:hover {\n box-shadow: inset 0 0 0 1px ${gray80};\n }\n\n ${(props) =>\n props.$isEditable &&\n css`\n box-shadow: inset 0 0 0 1px ${props?.theme?.actionColor?.main || '#1787fc'} !important;\n width: 100%;\n `}\n\n ${(props) =>\n props.$isLoading &&\n css`\n box-shadow: inset 0 0 0 1px ${gray80} !important;\n padding-right: 20px;\n `}\n`;\n\nconst StyledEditableFieldInputSpinner = styled.div`\n position: relative;\n\n &:after {\n content: '';\n position: absolute;\n display: block;\n height: 14px;\n width: 14px;\n border: 1px solid;\n border-color: ${white} ${gray80} ${gray80};\n border-radius: 50%;\n animation: ${spin} 0.5s linear infinite;\n margin-top: -7px;\n }\n`;\n\nconst StyledEditableFieldInput = styled.input`\n outline: none;\n width: 100%;\n background: transparent;\n border: 0;\n resize: none;\n padding: ${spacing * 2}px;\n height: ${lineHeight}px;\n`;\n\nconst StyledEditableFieldValue = styled.div`\n outline: none;\n width: 100%;\n background: transparent;\n border: 0;\n resize: none;\n padding: ${spacing * 2}px;\n`;\n\nconst StyledEditableFieldIcon = styled.div`\n pointer-events: none;\n`;\n\nconst StyledEditableFieldActions = styled.div`\n display: flex;\n margin-top: ${spacing * 2}px;\n\n button {\n margin-left: ${spacing * 2}px;\n width: 36px;\n height: 36px;\n border-radius: ${borderRadius}px;\n border: solid 1px ${gray80};\n padding: 0;\n cursor: pointer;\n outline: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n\n &:hover {\n background-color: #e6e6e6;\n border-color: gray;\n color: #000;\n }\n }\n`;\n\nexport {\n StyledEditableFieldActions,\n StyledEditableFieldIcon,\n StyledEditableFieldInput,\n StyledEditableFieldInputSpinner,\n StyledEditableFieldInputWrapper,\n StyledEditableFieldValue,\n StyledEditableFieldWrapper,\n};\n","import type {ChangeEventHandler} from 'react';\nimport {Color, Size} from '@propellerads/icon';\n\nexport const EditIconColor = {\n Gray: Color.GrayDark,\n Blue: Color.Blue,\n} as const;\nexport type EditIconColor = (typeof EditIconColor)[keyof typeof EditIconColor];\n\nexport const EditIconSize = {\n Small: Size.Small,\n Medium: Size.Medium,\n} as const;\nexport type EditIconSize = (typeof EditIconSize)[keyof typeof EditIconSize];\n\nexport const ContainerDirection = {\n Row: 'row',\n Column: 'column',\n} as const;\nexport type ContainerDirection = (typeof ContainerDirection)[keyof typeof ContainerDirection];\n\nexport type EditableFieldProps = {\n errors?: string[];\n value: string;\n isLoading: boolean;\n isEditable: boolean;\n fieldClassName?: string;\n editIconColor?: EditIconColor;\n editIconSize?: EditIconSize;\n containerDirection?: ContainerDirection;\n elementId: string;\n onFocus: () => void;\n onCancel: () => void;\n onSave: () => void;\n onChange: ChangeEventHandler<HTMLInputElement>;\n onErrorClick?: () => void;\n};\n","import Button, {ButtonType} from '@propellerads/button';\nimport ErrorLabel from '@propellerads/error-label';\nimport {Check, Close, Color, Edit, Size} from '@propellerads/icon';\nimport type {FC} from 'react';\nimport {\n StyledEditableFieldActions,\n StyledEditableFieldIcon,\n StyledEditableFieldInput,\n StyledEditableFieldInputSpinner,\n StyledEditableFieldInputWrapper,\n StyledEditableFieldValue,\n StyledEditableFieldWrapper,\n} from './style';\nimport {ContainerDirection, EditIconColor, EditIconSize, type EditableFieldProps} from './types';\n\nconst EditableField: FC<EditableFieldProps> = ({\n value,\n errors = [],\n isLoading,\n isEditable,\n onFocus,\n fieldClassName = '',\n onCancel,\n onSave,\n onChange,\n onErrorClick,\n editIconColor = EditIconColor.Gray,\n editIconSize = EditIconSize.Medium,\n containerDirection = ContainerDirection.Column,\n elementId,\n}) => (\n <StyledEditableFieldWrapper $isEditable={isEditable} $direction={containerDirection}>\n <StyledEditableFieldInputWrapper $isEditable={isEditable} $isLoading={isLoading}>\n {isEditable && (\n <StyledEditableFieldInput className={fieldClassName} value={value} disabled={isLoading} onChange={onChange} />\n )}\n {!isEditable && (\n <StyledEditableFieldValue className={fieldClassName} onClick={onFocus}>\n {value}\n </StyledEditableFieldValue>\n )}\n <ErrorLabel elementId={elementId} errors={errors} {...(onErrorClick ? {onClick: onErrorClick} : {})} />\n {isLoading && <StyledEditableFieldInputSpinner />}\n {!isEditable && !isLoading && (\n <Button elementId={`${elementId}-editable-field-icon`} type={ButtonType.Plain} onClick={onFocus}>\n <StyledEditableFieldIcon className={fieldClassName}>\n <Edit color={editIconColor} size={editIconSize} />\n </StyledEditableFieldIcon>\n </Button>\n )}\n </StyledEditableFieldInputWrapper>\n {isEditable && !isLoading && (\n <StyledEditableFieldActions>\n <Button elementId={`${elementId}-editable-field-save`} type={ButtonType.Plain} onClick={onSave}>\n <Check color={Color.GrayDark} size={Size.Small} />\n </Button>\n <Button elementId={`${elementId}-editable-field-cancel`} type={ButtonType.Plain} onClick={onCancel}>\n <Close color={Color.GrayDark} size={Size.Small} />\n </Button>\n </StyledEditableFieldActions>\n )}\n </StyledEditableFieldWrapper>\n);\n\nexport default EditableField;\nexport {ContainerDirection, EditIconColor, EditIconSize} from './types';\nexport type {EditableFieldProps} from './types';\n"],"names":["spin","keyframes","StyledEditableFieldWrapper","styled","props","css","StyledEditableFieldInputWrapper","borderRadius","gray80","StyledEditableFieldInputSpinner","white","StyledEditableFieldInput","spacing","lineHeight","StyledEditableFieldValue","StyledEditableFieldIcon","StyledEditableFieldActions","EditIconColor","Color","EditIconSize","Size","ContainerDirection","EditableField","value","errors","isLoading","isEditable","onFocus","fieldClassName","onCancel","onSave","onChange","onErrorClick","editIconColor","editIconSize","containerDirection","elementId","jsxs","jsx","ErrorLabel","Button","ButtonType","Edit","Check","Close"],"mappings":";;;;;;AAKA,MAAMA,IAAOC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAoBPC,IAA6BC,EAAO;AAAA;AAAA;AAAA;AAAA,IAItC,CAACC,MACDA,EAAM,eACNC;AAAA;AAAA,wBAEoBD,EAAM,UAAU;AAAA;AAAA,KAEnC;AAAA,GAGCE,IAAkCH,EAAO;AAAA;AAAA;AAAA,mBAG5BI,CAAY;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCAOGC,CAAM;AAAA;AAAA;AAAA,IAGpC,CAACJ,MACDA,EAAM,eACNC;AAAA,oCACgCD,GAAO,OAAO,aAAa,QAAQ,SAAS;AAAA;AAAA,KAE3E;AAAA;AAAA,IAED,CAACA,MACDA,EAAM,cACNC;AAAA,oCACgCG,CAAM;AAAA;AAAA,KAErC;AAAA,GAGCC,IAAkCN,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAU3BO,CAAK,IAAIF,CAAM,IAAIA,CAAM;A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AWiB,GAAgB,OAAAL,GAAc,UAAUE,GAAW,UAAAM,GAAoB;AAAA,IAE7G,CAACL,KACA,gBAAAY,EAACxB,GAAA,EAAyB,WAAWc,GAAgB,SAASD,GAC3D,UAAAJ,GACH;AAAA,IAEF,gBAAAe,EAACC,GAAA,EAAW,WAAAH,GAAsB,QAAAZ,GAAiB,GAAIQ,IAAe,EAAC,SAASA,MAAgB,CAAA,GAAK;AAAA,IACpGP,uBAAchB,GAAA,EAAgC;AAAA,IAC9C,CAACiB,KAAc,CAACD,KACf,gBAAAa,EAACE,GAAA,EAAO,WAAW,GAAGJ,CAAS,wBAAwB,MAAMK,EAAW,OAAO,SAASd,GACtF,UAAA,gBAAAW,EAACvB,GAAA,EAAwB,WAAWa,GAClC,UAAA,gBAAAU,EAACI,GAAA,EAAK,OAAOT,GAAe,MAAMC,EAAA,CAAc,EAAA,CAClD,EAAA,CACF;AAAA,EAAA,GAEJ;AAAA,EACCR,KAAc,CAACD,KACd,gBAAAY,EAACrB,GAAA,EACC,UAAA;AAAA,IAAA,gBAAAsB,EAACE,KAAO,WAAW,GAAGJ,CAAS,wBAAwB,MAAMK,EAAW,OAAO,SAASX,GACtF,UAAA,gBAAAQ,EAACK,KAAM,OAAOzB,EAAM,UAAU,MAAME,EAAK,OAAO,EAAA,CAClD;AAAA,sBACCoB,GAAA,EAAO,WAAW,GAAGJ,CAAS,0BAA0B,MAAMK,EAAW,OAAO,SAASZ,GACxF,UAAA,gBAAAS,EAACM,KAAM,OAAO1B,EAAM,UAAU,MAAME,EAAK,OAAO,EAAA,CAClD;AAAA,EAAA,EAAA,CACF;AAAA,EAAA,CAEJ;"}
1
+ {"version":3,"file":"index.js","sources":["../src/style.tsx","../src/types.ts","../src/index.tsx"],"sourcesContent":["import {borderRadius, gray80, lineHeight, spacing, white} from '@propellerads/stylevariables';\nimport styled, {css, keyframes} from 'styled-components';\nimport {ContainerDirection} from './types';\n\nconst spin = keyframes`\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n`;\n\ntype StyledEditableFieldWrapperProps = {\n $isEditable: boolean;\n $direction: ContainerDirection;\n};\n\ntype StyledEditableFieldInputWrapperProps = {\n $isEditable: boolean;\n $isLoading: boolean;\n};\n\nconst StyledEditableFieldWrapper = styled.div<StyledEditableFieldWrapperProps>`\n display: flex;\n width: fit-content;\n\n ${(props) =>\n props.$isEditable &&\n css`\n align-items: flex-end;\n flex-direction: ${props.$direction};\n width: 100%;\n `}\n`;\n\nconst StyledEditableFieldInputWrapper = styled.div<StyledEditableFieldInputWrapperProps>`\n box-shadow: inset 0 0 0 1px transparent;\n transition: box-shadow 0.3s ease, width 0.3s ease;\n border-radius: ${borderRadius}px;\n display: inline-flex;\n flex-direction: row;\n align-items: center;\n padding-right: 4px;\n\n &:hover {\n box-shadow: inset 0 0 0 1px ${gray80};\n }\n\n ${(props) =>\n props.$isEditable &&\n css`\n box-shadow: inset 0 0 0 1px ${props?.theme?.actionColor?.main || '#1787fc'} !important;\n width: 100%;\n `}\n\n ${(props) =>\n props.$isLoading &&\n css`\n box-shadow: inset 0 0 0 1px ${gray80} !important;\n padding-right: 20px;\n `}\n`;\n\nconst StyledEditableFieldInputSpinner = styled.div`\n position: relative;\n\n &:after {\n content: '';\n position: absolute;\n display: block;\n height: 14px;\n width: 14px;\n border: 1px solid;\n border-color: ${white} ${gray80} ${gray80};\n border-radius: 50%;\n animation: ${spin} 0.5s linear infinite;\n margin-top: -7px;\n }\n`;\n\nconst StyledEditableFieldInput = styled.input`\n outline: none;\n width: 100%;\n background: transparent;\n border: 0;\n resize: none;\n padding: ${spacing * 2}px;\n height: ${lineHeight}px;\n`;\n\nconst StyledEditableFieldValue = styled.div`\n outline: none;\n width: 100%;\n background: transparent;\n border: 0;\n resize: none;\n padding: ${spacing * 2}px;\n`;\n\nconst StyledEditableFieldIcon = styled.div`\n pointer-events: none;\n`;\n\nconst StyledEditableFieldActions = styled.div`\n display: flex;\n margin-top: ${spacing * 2}px;\n\n button {\n margin-left: ${spacing * 2}px;\n width: 36px;\n height: 36px;\n border-radius: ${borderRadius}px;\n border: solid 1px ${gray80};\n padding: 0;\n cursor: pointer;\n outline: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n\n &:hover {\n background-color: #e6e6e6;\n border-color: gray;\n color: #000;\n }\n }\n`;\n\nexport {\n StyledEditableFieldActions,\n StyledEditableFieldIcon,\n StyledEditableFieldInput,\n StyledEditableFieldInputSpinner,\n StyledEditableFieldInputWrapper,\n StyledEditableFieldValue,\n StyledEditableFieldWrapper,\n};\n","import type {ChangeEventHandler} from 'react';\nimport {Color, Size} from '@propellerads/icon';\n\nexport const EditIconColor = {\n Gray: Color.GrayDark,\n Blue: Color.Blue,\n} as const;\nexport type EditIconColor = (typeof EditIconColor)[keyof typeof EditIconColor];\n\nexport const EditIconSize = {\n Small: Size.Small,\n Medium: Size.Medium,\n} as const;\nexport type EditIconSize = (typeof EditIconSize)[keyof typeof EditIconSize];\n\nexport const ContainerDirection = {\n Row: 'row',\n Column: 'column',\n} as const;\nexport type ContainerDirection = (typeof ContainerDirection)[keyof typeof ContainerDirection];\n\nexport type EditableFieldProps = {\n errors?: string[];\n value: string;\n isLoading: boolean;\n isEditable: boolean;\n fieldClassName?: string;\n editIconColor?: EditIconColor;\n editIconSize?: EditIconSize;\n containerDirection?: ContainerDirection;\n elementId: string;\n onFocus: () => void;\n onCancel: () => void;\n onSave: () => void;\n onChange: ChangeEventHandler<HTMLInputElement>;\n onErrorClick?: () => void;\n};\n","import Button, {ButtonType} from '@propellerads/button';\nimport ErrorLabel from '@propellerads/error-label';\nimport {Check, Close, Color, Edit, Size} from '@propellerads/icon';\nimport type {FC} from 'react';\nimport {\n StyledEditableFieldActions,\n StyledEditableFieldIcon,\n StyledEditableFieldInput,\n StyledEditableFieldInputSpinner,\n StyledEditableFieldInputWrapper,\n StyledEditableFieldValue,\n StyledEditableFieldWrapper,\n} from './style';\nimport {ContainerDirection, EditIconColor, EditIconSize, type EditableFieldProps} from './types';\n\nconst EditableField: FC<EditableFieldProps> = ({\n value,\n errors = [],\n isLoading,\n isEditable,\n onFocus,\n fieldClassName = '',\n onCancel,\n onSave,\n onChange,\n onErrorClick,\n editIconColor = EditIconColor.Gray,\n editIconSize = EditIconSize.Medium,\n containerDirection = ContainerDirection.Column,\n elementId,\n}) => (\n <StyledEditableFieldWrapper $isEditable={isEditable} $direction={containerDirection}>\n <StyledEditableFieldInputWrapper $isEditable={isEditable} $isLoading={isLoading}>\n {isEditable && (\n <StyledEditableFieldInput className={fieldClassName} value={value} disabled={isLoading} onChange={onChange} />\n )}\n {!isEditable && (\n <StyledEditableFieldValue className={fieldClassName} onClick={onFocus}>\n {value}\n </StyledEditableFieldValue>\n )}\n <ErrorLabel elementId={elementId} errors={errors} {...(onErrorClick ? {onClick: onErrorClick} : {})} />\n {isLoading && <StyledEditableFieldInputSpinner />}\n {!isEditable && !isLoading && (\n <Button elementId={`${elementId}-editable-field-icon`} type={ButtonType.Plain} onClick={onFocus}>\n <StyledEditableFieldIcon className={fieldClassName}>\n <Edit color={editIconColor} size={editIconSize} />\n </StyledEditableFieldIcon>\n </Button>\n )}\n </StyledEditableFieldInputWrapper>\n {isEditable && !isLoading && (\n <StyledEditableFieldActions>\n <Button elementId={`${elementId}-editable-field-save`} type={ButtonType.Plain} onClick={onSave}>\n <Check color={Color.GrayDark} size={Size.Small} />\n </Button>\n <Button elementId={`${elementId}-editable-field-cancel`} type={ButtonType.Plain} onClick={onCancel}>\n <Close color={Color.GrayDark} size={Size.Small} />\n </Button>\n </StyledEditableFieldActions>\n )}\n </StyledEditableFieldWrapper>\n);\n\nexport default EditableField;\nexport {ContainerDirection, EditIconColor, EditIconSize} from './types';\nexport type {EditableFieldProps} from './types';\n"],"names":["spin","keyframes","StyledEditableFieldWrapper","styled","props","css","StyledEditableFieldInputWrapper","borderRadius","gray80","StyledEditableFieldInputSpinner","white","StyledEditableFieldInput","spacing","lineHeight","StyledEditableFieldValue","StyledEditableFieldIcon","StyledEditableFieldActions","EditIconColor","Color","EditIconSize","Size","ContainerDirection","EditableField","value","errors","isLoading","isEditable","onFocus","fieldClassName","onCancel","onSave","onChange","onErrorClick","editIconColor","editIconSize","containerDirection","elementId","jsxs","jsx","ErrorLabel","Button","ButtonType","Edit","Check","Close"],"mappings":";;;;;;AAIA,MAAMA,IAAOC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAmBPC,IAA6BC,EAAO;AAAA;AAAA;AAAA;AAAA,IAItC,CAACC,MACDA,EAAM,eACNC;AAAA;AAAA,wBAEoBD,EAAM,UAAU;AAAA;AAAA,KAEnC;AAAA,GAGCE,IAAkCH,EAAO;AAAA;AAAA;AAAA,mBAG5BI,CAAY;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCAOGC,CAAM;AAAA;AAAA;AAAA,IAGpC,CAACJ,MACDA,EAAM,eACNC;AAAA,oCACgCD,GAAO,OAAO,aAAa,QAAQ,SAAS;AAAA;AAAA,KAE3E;AAAA;AAAA,IAED,CAACA,MACDA,EAAM,cACNC;AAAA,oCACgCG,CAAM;AAAA;AAAA,KAErC;AAAA,GAGCC,IAAkCN,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAU3BO,CAAK,IAAIF,CAAM,IAAIA,CAAM;AAAA;AAAA,iBAE5BR,CAAI;AAAA;AAAA;AAAA,GAKfW,IAA2BR,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAM3BS,IAAU,CAAC;AAAA,YACZC,CAAU;AAAA,GAGhBC,IAA2BX,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAM3BS,IAAU,CAAC;AAAA,GAGlBG,IAA0BZ,EAAO;AAAA;AAAA,GAIjCa,IAA6Bb,EAAO;AAAA;AAAA,gBAE1BS,IAAU,CAAC;AAAA;AAAA;AAAA,mBAGRA,IAAU,CAAC;AAAA;AAAA;AAAA,qBAGTL,CAAY;A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EAAW,OAAO,SAASd,GACtF,UAAA,gBAAAW,EAACvB,GAAA,EAAwB,WAAWa,GAClC,UAAA,gBAAAU,EAACI,GAAA,EAAK,OAAOT,GAAe,MAAMC,EAAA,CAAc,EAAA,CAClD,EAAA,CACF;AAAA,EAAA,GAEJ;AAAA,EACCR,KAAc,CAACD,KACd,gBAAAY,EAACrB,GAAA,EACC,UAAA;AAAA,IAAA,gBAAAsB,EAACE,KAAO,WAAW,GAAGJ,CAAS,wBAAwB,MAAMK,EAAW,OAAO,SAASX,GACtF,UAAA,gBAAAQ,EAACK,KAAM,OAAOzB,EAAM,UAAU,MAAME,EAAK,OAAO,EAAA,CAClD;AAAA,sBACCoB,GAAA,EAAO,WAAW,GAAGJ,CAAS,0BAA0B,MAAMK,EAAW,OAAO,SAASZ,GACxF,UAAA,gBAAAS,EAACM,KAAM,OAAO1B,EAAM,UAAU,MAAME,EAAK,OAAO,EAAA,CAClD;AAAA,EAAA,EAAA,CACF;AAAA,EAAA,CAEJ;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@propellerads/editable-field",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "type": "module",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -24,10 +24,11 @@
24
24
  "homepage": "https://github.com/propellerads/ui-components#readme",
25
25
  "private": false,
26
26
  "dependencies": {
27
- "@propellerads/button": "^9.0.2",
27
+ "@propellerads/button": "^9.0.3",
28
28
  "@propellerads/error-label": "^5.0.2",
29
- "@propellerads/icon": "^7.1.1",
30
- "@propellerads/stylevariables": "^2.0.2"
29
+ "@propellerads/icon": "^7.2.1",
30
+ "@propellerads/stylevariables": "^2.0.2",
31
+ "@propellerads/theme-annotation": "^2.0.0"
31
32
  },
32
33
  "peerDependencies": {
33
34
  "react": "^18.0.0 || ^19.0.0",