@propellerads/editable-field 4.0.2 → 4.0.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/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import e, { ButtonType as t } from "@propellerads/button";
1
+ import e, { ButtonVariant as t } from "@propellerads/button";
2
2
  import n from "@propellerads/error-label";
3
3
  import { Check as r, Close as i, Color as a, Edit as o, Size as s } from "@propellerads/icon";
4
4
  import { borderRadius as c, gray80 as l, lineHeight as u, spacing as d, white as f } from "@propellerads/stylevariables";
@@ -132,34 +132,37 @@ var v = h`
132
132
  }),
133
133
  u && /* @__PURE__ */ g(x, {}),
134
134
  !d && !u && /* @__PURE__ */ g(e, {
135
- elementId: `${N}-editable-field-icon`,
136
- type: t.Plain,
137
- onClick: f,
138
- children: /* @__PURE__ */ g(w, {
135
+ id: `${N}-editable-field-icon`,
136
+ variant: t.Plain,
137
+ icon: /* @__PURE__ */ g(w, {
139
138
  className: p,
140
139
  children: /* @__PURE__ */ g(o, {
141
140
  color: A,
142
141
  size: j
143
142
  })
144
- })
143
+ }),
144
+ "aria-label": "Edit",
145
+ onClick: f
145
146
  })
146
147
  ]
147
148
  }), d && !u && /* @__PURE__ */ _(T, { children: [/* @__PURE__ */ g(e, {
148
- elementId: `${N}-editable-field-save`,
149
- type: t.Plain,
150
- onClick: h,
151
- children: /* @__PURE__ */ g(r, {
149
+ id: `${N}-editable-field-save`,
150
+ variant: t.Plain,
151
+ icon: /* @__PURE__ */ g(r, {
152
152
  color: a.GrayDark,
153
153
  size: s.Small
154
- })
154
+ }),
155
+ "aria-label": "Save",
156
+ onClick: h
155
157
  }), /* @__PURE__ */ g(e, {
156
- elementId: `${N}-editable-field-cancel`,
157
- type: t.Plain,
158
- onClick: m,
159
- children: /* @__PURE__ */ g(i, {
158
+ id: `${N}-editable-field-cancel`,
159
+ variant: t.Plain,
160
+ icon: /* @__PURE__ */ g(i, {
160
161
  color: a.GrayDark,
161
162
  size: s.Small
162
- })
163
+ }),
164
+ "aria-label": "Cancel",
165
+ onClick: m
163
166
  })] })]
164
167
  });
165
168
  //#endregion
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"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"],"mappings":";;;;;;;AAIA,IAAM,IAAO,CAAS;;;;;;;GAmBhB,IAA6B,EAAO,GAAoC;;;;KAIzE,MACD,EAAM,eACN,CAAG;;wBAEiB,EAAM,WAAW;;MAEnC;GAGA,IAAkC,EAAO,GAAyC;;;mBAGrE,EAAa;;;;;;;kCAOE,EAAO;;;KAGpC,MACD,EAAM,eACN,CAAG;oCAC6B,GAAO,OAAO,aAAa,QAAQ,UAAU;;MAE3E;;KAED,MACD,EAAM,cACN,CAAG;oCAC6B,EAAO;;MAErC;GAGA,IAAkC,EAAO,GAAG;;;;;;;;;;oBAU9B,EAAM,GAAG,EAAO,GAAG,EAAO;;iBAE7B,EAAK;;;GAKhB,IAA2B,EAAO,KAAK;;;;;;aAMhC,IAAU,EAAE;YACb,EAAW;GAGjB,IAA2B,EAAO,GAAG;;;;;;aAM9B,IAAU,EAAE;GAGnB,IAA0B,EAAO,GAAG;;GAIpC,IAA6B,EAAO,GAAG;;gBAE7B,IAAU,EAAE;;;mBAGT,IAAU,EAAE;;;qBAGV,EAAa;wBACV,EAAO;;;;;;;;;;;;;;GC9GlB,IAAgB;CAC3B,MAAM,EAAM;CACZ,MAAM,EAAM;CACb,EAGY,IAAe;CAC1B,OAAO,EAAK;CACZ,QAAQ,EAAK;CACd,EAGY,IAAqB;CAChC,KAAK;CACL,QAAQ;CACT,ECHK,KAAyC,EAC7C,UACA,YAAS,EAAE,EACX,cACA,eACA,YACA,oBAAiB,IACjB,aACA,WACA,aACA,iBACA,mBAAgB,EAAc,MAC9B,kBAAe,EAAa,QAC5B,wBAAqB,EAAmB,QACxC,mBAEA,kBAAC,GAAD;CAA4B,aAAa;CAAY,YAAY;WAAjE,CACE,kBAAC,GAAD;EAAiC,aAAa;EAAY,YAAY;YAAtE;GACG,KACC,kBAAC,GAAD;IAA0B,WAAW;IAAuB;IAAO,UAAU;IAAqB;IAAY,CAAA;GAE/G,CAAC,KACA,kBAAC,GAAD;IAA0B,WAAW;IAAgB,SAAS;cAC3D;IACwB,CAAA;GAE7B,kBAAC,GAAD;IAAuB;IAAmB;IAAQ,GAAK,IAAe,EAAC,SAAS,GAAa,GAAG,EAAE;IAAK,CAAA;GACtG,KAAa,kBAAC,GAAD,EAAmC,CAAA;GAChD,CAAC,KAAc,CAAC,KACf,kBAAC,GAAD;IAAQ,WAAW,GAAG,EAAU;IAAuB,MAAM,EAAW;IAAO,SAAS;cACtF,kBAAC,GAAD;KAAyB,WAAW;eAClC,kBAAC,GAAD;MAAM,OAAO;MAAe,MAAM;MAAgB,CAAA;KAC1B,CAAA;IACnB,CAAA;GAEqB;KACjC,KAAc,CAAC,KACd,kBAAC,GAAD,EAAA,UAAA,CACE,kBAAC,GAAD;EAAQ,WAAW,GAAG,EAAU;EAAuB,MAAM,EAAW;EAAO,SAAS;YACtF,kBAAC,GAAD;GAAO,OAAO,EAAM;GAAU,MAAM,EAAK;GAAS,CAAA;EAC3C,CAAA,EACT,kBAAC,GAAD;EAAQ,WAAW,GAAG,EAAU;EAAyB,MAAM,EAAW;EAAO,SAAS;YACxF,kBAAC,GAAD;GAAO,OAAO,EAAM;GAAU,MAAM,EAAK;GAAS,CAAA;EAC3C,CAAA,CACkB,EAAA,CAAA,CAEJ"}
1
+ {"version":3,"file":"index.js","names":[],"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, {ButtonVariant} 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, type EditableFieldProps, EditIconColor, EditIconSize} 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\n id={`${elementId}-editable-field-icon`}\n variant={ButtonVariant.Plain}\n icon={\n <StyledEditableFieldIcon className={fieldClassName}>\n <Edit color={editIconColor} size={editIconSize} />\n </StyledEditableFieldIcon>\n }\n aria-label=\"Edit\"\n onClick={onFocus}\n />\n )}\n </StyledEditableFieldInputWrapper>\n {isEditable && !isLoading && (\n <StyledEditableFieldActions>\n <Button\n id={`${elementId}-editable-field-save`}\n variant={ButtonVariant.Plain}\n icon={<Check color={Color.GrayDark} size={Size.Small} />}\n aria-label=\"Save\"\n onClick={onSave}\n />\n <Button\n id={`${elementId}-editable-field-cancel`}\n variant={ButtonVariant.Plain}\n icon={<Close color={Color.GrayDark} size={Size.Small} />}\n aria-label=\"Cancel\"\n onClick={onCancel}\n />\n </StyledEditableFieldActions>\n )}\n </StyledEditableFieldWrapper>\n);\n\nexport default EditableField;\nexport type {EditableFieldProps} from './types';\nexport {ContainerDirection, EditIconColor, EditIconSize} from './types';\n"],"mappings":";;;;;;;AAIA,IAAM,IAAO,CAAS;;;;;;;GAmBhB,IAA6B,EAAO,GAAoC;;;;KAIzE,MACD,EAAM,eACN,CAAG;;wBAEiB,EAAM,WAAW;;MAEnC;GAGA,IAAkC,EAAO,GAAyC;;;mBAGrE,EAAa;;;;;;;kCAOE,EAAO;;;KAGpC,MACD,EAAM,eACN,CAAG;oCAC6B,GAAO,OAAO,aAAa,QAAQ,UAAU;;MAE3E;;KAED,MACD,EAAM,cACN,CAAG;oCAC6B,EAAO;;MAErC;GAGA,IAAkC,EAAO,GAAG;;;;;;;;;;oBAU9B,EAAM,GAAG,EAAO,GAAG,EAAO;;iBAE7B,EAAK;;;GAKhB,IAA2B,EAAO,KAAK;;;;;;aAMhC,IAAU,EAAE;YACb,EAAW;GAGjB,IAA2B,EAAO,GAAG;;;;;;aAM9B,IAAU,EAAE;GAGnB,IAA0B,EAAO,GAAG;;GAIpC,IAA6B,EAAO,GAAG;;gBAE7B,IAAU,EAAE;;;mBAGT,IAAU,EAAE;;;qBAGV,EAAa;wBACV,EAAO;;;;;;;;;;;;;;GC9GlB,IAAgB;CAC3B,MAAM,EAAM;CACZ,MAAM,EAAM;CACb,EAGY,IAAe;CAC1B,OAAO,EAAK;CACZ,QAAQ,EAAK;CACd,EAGY,IAAqB;CAChC,KAAK;CACL,QAAQ;CACT,ECHK,KAAyC,EAC7C,UACA,YAAS,EAAE,EACX,cACA,eACA,YACA,oBAAiB,IACjB,aACA,WACA,aACA,iBACA,mBAAgB,EAAc,MAC9B,kBAAe,EAAa,QAC5B,wBAAqB,EAAmB,QACxC,mBAEA,kBAAC,GAAD;CAA4B,aAAa;CAAY,YAAY;WAAjE,CACE,kBAAC,GAAD;EAAiC,aAAa;EAAY,YAAY;YAAtE;GACG,KACC,kBAAC,GAAD;IAA0B,WAAW;IAAuB;IAAO,UAAU;IAAqB;IAAY,CAAA;GAE/G,CAAC,KACA,kBAAC,GAAD;IAA0B,WAAW;IAAgB,SAAS;cAC3D;IACwB,CAAA;GAE7B,kBAAC,GAAD;IAAuB;IAAmB;IAAQ,GAAK,IAAe,EAAC,SAAS,GAAa,GAAG,EAAE;IAAK,CAAA;GACtG,KAAa,kBAAC,GAAD,EAAmC,CAAA;GAChD,CAAC,KAAc,CAAC,KACf,kBAAC,GAAD;IACE,IAAI,GAAG,EAAU;IACjB,SAAS,EAAc;IACvB,MACE,kBAAC,GAAD;KAAyB,WAAW;eAClC,kBAAC,GAAD;MAAM,OAAO;MAAe,MAAM;MAAgB,CAAA;KAC1B,CAAA;IAE5B,cAAW;IACX,SAAS;IACT,CAAA;GAE4B;KACjC,KAAc,CAAC,KACd,kBAAC,GAAD,EAAA,UAAA,CACE,kBAAC,GAAD;EACE,IAAI,GAAG,EAAU;EACjB,SAAS,EAAc;EACvB,MAAM,kBAAC,GAAD;GAAO,OAAO,EAAM;GAAU,MAAM,EAAK;GAAS,CAAA;EACxD,cAAW;EACX,SAAS;EACT,CAAA,EACF,kBAAC,GAAD;EACE,IAAI,GAAG,EAAU;EACjB,SAAS,EAAc;EACvB,MAAM,kBAAC,GAAD;GAAO,OAAO,EAAM;GAAU,MAAM,EAAK;GAAS,CAAA;EACxD,cAAW;EACX,SAAS;EACT,CAAA,CACyB,EAAA,CAAA,CAEJ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@propellerads/editable-field",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "type": "module",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -24,7 +24,7 @@
24
24
  "homepage": "https://github.com/propellerads/ui-components#readme",
25
25
  "private": false,
26
26
  "dependencies": {
27
- "@propellerads/button": "^9.0.3",
27
+ "@propellerads/button": "^10.0.0",
28
28
  "@propellerads/error-label": "^5.0.2",
29
29
  "@propellerads/icon": "^8.0.0",
30
30
  "@propellerads/stylevariables": "^2.0.2",