@scbt-ecom/ui 0.61.9 → 0.62.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.
@@ -12,5 +12,6 @@ export type EditorControlProps<TFieldValues extends FieldValues, TName extends P
12
12
  classes?: EditorControlClasses;
13
13
  helperText?: string | ReactElement;
14
14
  label?: string;
15
+ limit?: number;
15
16
  };
16
17
  export declare const EditorControl: <T extends FieldValues>({ control, label, helperText, editable, classes, defaultValue, disabled, rules, shouldUnregister, name, ...props }: EditorControlProps<T>) => import("react/jsx-runtime").JSX.Element;
@@ -13,6 +13,7 @@ interface EditorProps extends Partial<UseEditorOptions> {
13
13
  externalHandlers?: ExternalHandlers;
14
14
  label?: string;
15
15
  helperText?: string | ReactElement;
16
+ limit?: number;
16
17
  }
17
18
  export declare const Editor: import('react').ForwardRefExoticComponent<EditorProps & import('react').RefAttributes<HTMLDivElement>>;
18
19
  export {};
@@ -1,5 +1,5 @@
1
1
  export interface SpritesMap {
2
- arrows: 'arrowCircle' | 'arrowLink' | 'arrowRight' | 'arrowRotate' | 'arrowScroll';
2
+ arrows: 'arrowCircle' | 'arrowDownRight' | 'arrowLink' | 'arrowRight' | 'arrowRotate' | 'arrowScroll';
3
3
  brandLogos: 'logoBlack' | 'logoBusiness' | 'logoGray' | 'logoInsurance' | 'logoMain' | 'logoWhite';
4
4
  communication: 'phone';
5
5
  editor: 'bold' | 'heading' | 'italic' | 'link' | 'list' | 'palette' | 'redo' | 'removeFormatting' | 'space' | 'strikethrough' | 'typography' | 'underline' | 'undo';
@@ -1 +1 @@
1
- <svg width="0" height="0"><symbol xmlns="http://www.w3.org/2000/svg" id="arrowCircle" fill="none" viewBox="0 0 32 32"><rect width="31" height="31" x=".5" y="31.5" stroke="currentColor" rx="15.5" transform="rotate(-90 .5 31.5)"/><path fill="currentColor" stroke="currentColor" d="M22.707 18.707a1 1 0 0 1-1.414 0L16 13.414l-5.293 5.293a1 1 0 0 1-1.414-1.414l6-6a1 1 0 0 1 1.414 0l6 6a1 1 0 0 1 0 1.414Z"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="arrowLink" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M8 7a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v8a1 1 0 1 1-2 0V9.414l-8.293 8.293a1 1 0 0 1-1.414-1.414L14.586 8H9a1 1 0 0 1-1-1Z"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="arrowRight" fill="none" viewBox="0 0 16 17"><path fill="currentColor" d="M6.195 13.157a.667.667 0 0 1 0-.943l3.529-3.528-3.529-3.529a.667.667 0 1 1 .943-.943l4 4c.26.26.26.683 0 .943l-4 4a.667.667 0 0 1-.943 0Z"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="arrowRotate" fill="none" viewBox="0 0 18 18"><path fill="currentColor" fill-rule="evenodd" d="M3.696 5h1.183a1 1 0 0 1 0 2H1a1 1 0 0 1-1-1V2a1 1 0 0 1 2 0v1.939C3.57 1.57 6.222 0 9.242 0 14.108 0 18 4.059 18 9s-3.892 9-8.758 9C5.34 18 2.06 15.384.918 11.804a1 1 0 0 1 1.906-.608C3.719 14.004 6.269 16 9.242 16 12.946 16 16 12.895 16 9s-3.054-7-6.758-7C6.956 2 4.923 3.178 3.696 5Z" clip-rule="evenodd"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="arrowScroll" fill="none" viewBox="0 0 14 16"><path fill="currentColor" d="M7 0a1 1 0 0 1 .707.293l6 6a1 1 0 0 1-1.414 1.414L8 3.414V15a1 1 0 1 1-2 0V3.414L1.707 7.707A1 1 0 0 1 .293 6.293l6-6A1 1 0 0 1 7 0Z"/></symbol></svg>
1
+ <svg width="0" height="0"><symbol xmlns="http://www.w3.org/2000/svg" id="arrowCircle" fill="none" viewBox="0 0 32 32"><rect width="31" height="31" x=".5" y="31.5" stroke="currentColor" rx="15.5" transform="rotate(-90 .5 31.5)"/><path fill="currentColor" stroke="currentColor" d="M22.707 18.707a1 1 0 0 1-1.414 0L16 13.414l-5.293 5.293a1 1 0 0 1-1.414-1.414l6-6a1 1 0 0 1 1.414 0l6 6a1 1 0 0 1 0 1.414Z"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="arrowDownRight" fill="none" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M3.2 3.6a1 1 0 0 1 1-1h6.286a5 5 0 0 1 5 5v10.386l3.607-3.607a1 1 0 0 1 1.414 1.414l-5.314 5.314a1 1 0 0 1-1.414 0l-5.314-5.314a1 1 0 1 1 1.414-1.414l3.607 3.607V7.6a3 3 0 0 0-3-3H4.2a1 1 0 0 1-1-1Z" clip-rule="evenodd"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="arrowLink" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M8 7a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v8a1 1 0 1 1-2 0V9.414l-8.293 8.293a1 1 0 0 1-1.414-1.414L14.586 8H9a1 1 0 0 1-1-1Z"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="arrowRight" fill="none" viewBox="0 0 16 17"><path fill="currentColor" d="M6.195 13.157a.667.667 0 0 1 0-.943l3.529-3.528-3.529-3.529a.667.667 0 1 1 .943-.943l4 4c.26.26.26.683 0 .943l-4 4a.667.667 0 0 1-.943 0Z"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="arrowRotate" fill="none" viewBox="0 0 18 18"><path fill="currentColor" fill-rule="evenodd" d="M3.696 5h1.183a1 1 0 0 1 0 2H1a1 1 0 0 1-1-1V2a1 1 0 0 1 2 0v1.939C3.57 1.57 6.222 0 9.242 0 14.108 0 18 4.059 18 9s-3.892 9-8.758 9C5.34 18 2.06 15.384.918 11.804a1 1 0 0 1 1.906-.608C3.719 14.004 6.269 16 9.242 16 12.946 16 16 12.895 16 9s-3.054-7-6.758-7C6.956 2 4.923 3.178 3.696 5Z" clip-rule="evenodd"/></symbol><symbol xmlns="http://www.w3.org/2000/svg" id="arrowScroll" fill="none" viewBox="0 0 14 16"><path fill="currentColor" d="M7 0a1 1 0 0 1 .707.293l6 6a1 1 0 0 1-1.414 1.414L8 3.414V15a1 1 0 1 1-2 0V3.414L1.707 7.707A1 1 0 0 1 .293 6.293l6-6A1 1 0 0 1 7 0Z"/></symbol></svg>
package/dist/ui.js CHANGED
@@ -1,5 +1,5 @@
1
- import { j as p, c as tt, R as nt, B as D, u as ot, a as rt, b as it, d as lt, P as U, e as Fe, f as ut, I as st, g as X, h as at, A as gt, H as dt, i as N, k as ct, m as we, D as ft, V as pt, O as mt } from "./index-agLtUw8q.js";
2
- import { n as io, C as lo, t as uo, s as so, o as ao, K as go, L as co, N as fo, l as po, p as mo, q as ho, U as So, r as Co, v as wo } from "./index-agLtUw8q.js";
1
+ import { j as p, c as tt, R as nt, B as D, u as ot, a as rt, b as it, d as lt, P as U, e as Fe, f as ut, I as st, g as X, h as at, A as gt, H as dt, i as N, k as ct, m as we, D as ft, V as pt, O as mt } from "./index-CdpI3L3r.js";
2
+ import { n as io, C as lo, t as uo, s as so, o as ao, K as go, L as co, N as fo, l as po, p as mo, q as ho, U as So, r as Co, v as wo } from "./index-CdpI3L3r.js";
3
3
  import * as E from "react";
4
4
  import { forwardRef as M, useRef as ht, useState as ne, useEffect as ye, isValidElement as k, cloneElement as $e, Children as G } from "react";
5
5
  import { c as w, T as Re } from "./typeGuards-Bhdr9KYW.js";
@@ -46,6 +46,7 @@ const Ct = tt(
46
46
  group: {
47
47
  arrows: [
48
48
  "arrows/arrowCircle",
49
+ "arrows/arrowDownRight",
49
50
  "arrows/arrowLink",
50
51
  "arrows/arrowRight",
51
52
  "arrows/arrowRotate",
@@ -118,6 +119,7 @@ const Ct = tt(
118
119
  },
119
120
  flatten: [
120
121
  "arrows/arrowCircle",
122
+ "arrows/arrowDownRight",
121
123
  "arrows/arrowLink",
122
124
  "arrows/arrowRight",
123
125
  "arrows/arrowRotate",