@brightlocal/ui-components 1.4.0 → 1.4.2

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/README.md CHANGED
@@ -24,7 +24,7 @@ pnpm add @brightlocal/tokens
24
24
 
25
25
  ## Components
26
26
 
27
- This package includes 62 components built on Radix UI primitives and other React libraries. All components are fully typed with TypeScript and follow BrightLocal's design system patterns.
27
+ This package includes 62 components and 3 blocks built on Radix UI primitives and other React libraries. All components are fully typed with TypeScript and follow BrightLocal's design system patterns.
28
28
 
29
29
  ### Layout Components
30
30
 
@@ -89,6 +89,12 @@ This package includes 62 components built on Radix UI primitives and other React
89
89
  - **Progress** - Progress indicators
90
90
  - **Sonner** - Toast notifications
91
91
 
92
+ ### Block Components
93
+
94
+ - **DataTable** - Complex data table with sorting, filtering, and pagination
95
+ - **InputList** - Editable list of text items with add/remove, paste support, and validation
96
+ - **Sidebar** - Complex sidebar navigation with collapsible support
97
+
92
98
  ### Display Components
93
99
 
94
100
  - **Accordion** - Expandable/collapsible sections
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightlocal/ui-components",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "description": "Machine-readable registry of all components in the BrightLocal Design System",
5
5
  "components": [
6
6
  {
@@ -1426,23 +1426,22 @@
1426
1426
  "import": "@brightlocal/ui-components/blocks/input-list",
1427
1427
  "category": "block",
1428
1428
  "exports": [
1429
- "InputList"
1429
+ "InputList",
1430
+ "InputListItems",
1431
+ "InputListInput",
1432
+ "InputListAddButton",
1433
+ "useInputListContext"
1430
1434
  ],
1431
- "compound": false,
1435
+ "compound": true,
1432
1436
  "dataHookRequired": true,
1433
1437
  "variants": {},
1434
1438
  "props": [
1435
1439
  "value",
1436
1440
  "onValueChange",
1437
- "placeholder",
1438
- "addButtonLabel",
1439
- "loading",
1440
- "disabled",
1441
- "error",
1442
- "errorMessage",
1443
- "description"
1441
+ "children",
1442
+ "className"
1444
1443
  ],
1445
- "description": "Editable list of text items with add/remove"
1444
+ "description": "Editable list of text items with add/remove, paste support, and validation"
1446
1445
  },
1447
1446
  {
1448
1447
  "name": "Sidebar",
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),z=require("react"),D=require("framer-motion"),F=require("@brightlocal/icons"),k=require("@brightlocal/ui-components/lib/utils"),M=require("../button.cjs"),$=require("../field.cjs"),v=require("../input.cjs"),d=require("../list.cjs");function X(e){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const c=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(l,a,c.get?c:{enumerable:!0,get:()=>e[a]})}}return l.default=e,Object.freeze(l)}const o=X(z);function q({value:e,onValueChange:l,onBeforeAdd:a,placeholder:c="Add item",addButtonLabel:S="Add",skeletonCount:_=3,disabled:f=!1,loading:p=!1,error:j=!1,errorMessage:y,description:I,dataHook:r,trackingEl:O,trackingLabel:P,className:R}){const[m,N]=o.useState(""),[u,x]=o.useState(null),h=o.useRef(e.length),[A,g]=o.useState(()=>e.map((t,s)=>s));o.useEffect(()=>{g(t=>t.length===e.length?t:e.length>t.length?[...t,...Array.from({length:e.length-t.length},()=>h.current++)]:e.map(()=>h.current++))},[e]);const E=f||p,w=f||p,b=o.useCallback(t=>{const s=t.map(i=>i.trim()).filter(Boolean);if(s.length){if(a){const i=a(s,e);if(i!==!0){x(i);return}}x(null),g(i=>[...i,...s.map(()=>h.current++)]),l([...e,...s]),N("")}},[e,l,a]),K=o.useCallback(t=>{g(s=>s.filter((i,T)=>T!==t)),l(e.filter((s,i)=>i!==t))},[e,l]),C=t=>{t.key==="Enter"&&(t.preventDefault(),b([m]))},L=t=>{const i=t.clipboardData.getData("text").split(`
2
- `);i.length>1&&(t.preventDefault(),b(i))};return n.jsxs("div",{className:k.cn("flex flex-col gap-4",R),"data-hook":r,"data-slot":"input-list","data-tracking-el":O,"data-tracking-label":P,children:[p?n.jsx("ul",{className:"flex flex-col gap-2","data-slot":"input-list-skeleton",children:Array.from({length:_}).map((t,s)=>n.jsx(d.Item,{variant:"loading"},s))}):n.jsx("ul",{className:"flex flex-col gap-2","data-hook":`${r}-list`,"data-slot":"list",children:n.jsx(D.AnimatePresence,{initial:!1,children:e.map((t,s)=>n.jsx(D.motion.li,{layout:!0,animate:{opacity:1,scale:1},"data-hook":`${r}-item-${s}`,"data-slot":"item",exit:{opacity:0,scale:.8,transition:{opacity:{duration:.15},scale:{duration:.12}}},initial:{opacity:0,scale:.8},transition:{opacity:{duration:.15},scale:{duration:.15},layout:{type:"spring",stiffness:500,damping:35}},children:n.jsxs("div",{className:"bg-card flex items-center gap-4 rounded-lg py-2 pr-2 pl-4",children:[n.jsx(d.ItemContent,{children:n.jsx(d.ItemTitle,{children:t})}),n.jsx(d.ItemActions,{children:n.jsx("button",{"aria-label":`Remove ${t}`,className:k.cn("inline-flex size-9 cursor-pointer items-center justify-center rounded-full","text-muted-foreground","focus-visible:shadow-default outline-none","transition-colors duration-150 ease-in-out","disabled:pointer-events-none disabled:opacity-50"),"data-hook":`${r}-remove-${s}`,disabled:f,type:"button",onClick:()=>K(s),children:n.jsx(F.X,{})})})]})},A[s]))})}),n.jsxs("div",{className:"flex flex-col gap-2","data-slot":"input-list-input-area",children:[n.jsxs("div",{className:"flex gap-2",children:[n.jsx(v.Input,{className:"flex-1",dataHook:`${r}-input`,disabled:E,error:j||!!u,placeholder:c,value:m,onChange:t=>{N(t.target.value),u&&x(null)},onKeyDown:C,onPaste:L}),n.jsx(M.Button,{dataHook:`${r}-add`,disabled:w,onClick:()=>b([m]),children:S})]}),j&&y||u?n.jsx($.FieldError,{className:"text-left","data-slot":"input-list-error",dataHook:`${r}-error`,children:u??y}):I&&n.jsx($.FieldDescription,{className:"text-left","data-slot":"input-list-description",dataHook:`${r}-description`,children:I})]})]})}q.displayName="InputList";exports.InputList=q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),_=require("react"),k=require("framer-motion"),K=require("@brightlocal/icons"),x=require("@brightlocal/ui-components/lib/utils"),O=require("../button.cjs"),$=require("../input.cjs"),g=require("../list.cjs");function B(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const a in t)if(a!=="default"){const o=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(s,a,o.get?o:{enumerable:!0,get:()=>t[a]})}}return s.default=t,Object.freeze(s)}const r=B(_),A=r.createContext(null);function y(){const t=r.useContext(A);if(!t)throw new Error("InputList components must be used within an <InputList>");return t}function w({value:t,onValueChange:s,children:a,className:o,dataHook:c,trackingEl:u,trackingLabel:I}){const[m,d]=r.useState(""),l=r.useRef(t.length),i=r.useRef(t.length),[b,h]=r.useState(()=>t.map((p,n)=>n)),[N,q]=r.useState(0);r.useEffect(()=>{const p=l.current;l.current=t.length,t.length>p&&d(""),h(n=>n.length===t.length?n:t.length>n.length?[...n,...Array.from({length:t.length-n.length},()=>i.current++)]:t.length===p?n.slice(0,t.length):t.map(()=>i.current++))},[t,N]);const j=r.useCallback(p=>{const n=p.map(f=>f.trim()).filter(Boolean);n.length&&(h(f=>[...f,...n.map(()=>i.current++)]),s([...t,...n]),q(f=>f+1))},[t,s]),L=r.useCallback(p=>{h(n=>n.filter((f,S)=>S!==p)),s(t.filter((n,f)=>f!==p))},[t,s]),P=r.useMemo(()=>({value:t,inputValue:m,setInputValue:d,addItems:j,removeItem:L,stableKeys:b}),[t,m,j,L,b]);return e.jsx(A.Provider,{value:P,children:e.jsx("div",{className:x.cn("flex flex-col gap-4",o),"data-hook":c,"data-slot":"input-list","data-tracking-el":u,"data-tracking-label":I,children:a})})}w.displayName="InputList";function C({dataHook:t="input-list",loading:s=!1,skeletonCount:a=5,disabled:o=!1,className:c}){const{value:u,removeItem:I,stableKeys:m}=y();return s?e.jsx("ul",{className:x.cn("flex flex-col gap-2",c),"data-slot":"input-list-skeleton",children:Array.from({length:a}).map((d,l)=>e.jsx(g.Item,{variant:"loading"},l))}):e.jsx("ul",{className:x.cn("flex flex-col gap-2",c),"data-hook":`${t}-list`,"data-slot":"list",children:e.jsx(k.AnimatePresence,{initial:!1,children:u.map((d,l)=>e.jsx(k.motion.li,{layout:!0,animate:{opacity:1,scale:1},"data-hook":`${t}-item-${l}`,exit:{opacity:0,scale:.8,transition:{opacity:{duration:.15},scale:{duration:.12}}},initial:{opacity:0,scale:.8},transition:{opacity:{duration:.15},scale:{duration:.15},layout:{type:"spring",stiffness:500,damping:35}},children:e.jsx(g.Item,{asChild:!0,variant:"filled",children:e.jsxs("div",{children:[e.jsx(g.ItemContent,{children:e.jsx(g.ItemTitle,{children:d})}),e.jsx(g.ItemActions,{children:e.jsx("button",{"aria-label":`Remove ${d}`,className:x.cn("inline-flex size-9 cursor-pointer items-center justify-center rounded-full","text-muted-foreground","focus-visible:shadow-default outline-none","transition-colors duration-150 ease-in-out","disabled:pointer-events-none disabled:opacity-50"),"data-hook":`${t}-remove-${l}`,disabled:o,type:"button",onClick:()=>I(l),children:e.jsx(K.X,{})})})]})})},m[l]))})})}C.displayName="InputListItems";const R=r.forwardRef(({dataHook:t,error:s=!1,className:a,...o},c)=>{const{inputValue:u,setInputValue:I,addItems:m}=y(),d=i=>{i.key==="Enter"&&(i.preventDefault(),m([u])),o.onKeyDown?.(i)},l=i=>{const h=i.clipboardData.getData("text").split(`
2
+ `);h.length>1&&(i.preventDefault(),m(h)),o.onPaste?.(i)};return e.jsx($.Input,{ref:c,...o,className:x.cn("flex-1",a),dataHook:t,error:s,value:u,onChange:i=>{I(i.target.value),o.onChange?.(i)},onKeyDown:d,onPaste:l})});R.displayName="InputListInput";const D=r.forwardRef(({dataHook:t,children:s,...a},o)=>{const{inputValue:c,addItems:u}=y();return e.jsx(O.Button,{ref:o,...a,dataHook:t,onClick:()=>u([c]),children:s})});D.displayName="InputListAddButton";exports.InputList=w;exports.InputListAddButton=D;exports.InputListInput=R;exports.InputListItems=C;exports.useInputListContext=y;
@@ -1,6 +1,18 @@
1
+ import { ButtonProps } from '../button';
2
+ import * as React from "react";
3
+ interface InputListContextValue {
4
+ value: string[];
5
+ inputValue: string;
6
+ setInputValue: (value: string) => void;
7
+ addItems: (items: string[]) => void;
8
+ removeItem: (index: number) => void;
9
+ /** Stable keys for AnimatePresence tracking */
10
+ stableKeys: number[];
11
+ }
12
+ declare function useInputListContext(): InputListContextValue;
1
13
  /**
2
- * Props for the InputList block component.
3
- * Manages a list of text items with add-input, per-row remove controls, and validation states.
14
+ * Props for the InputList context provider.
15
+ * Manages a list of text items with add/remove logic and validation.
4
16
  */
5
17
  export interface InputListProps {
6
18
  /**
@@ -12,90 +24,126 @@ export interface InputListProps {
12
24
  */
13
25
  onValueChange: (value: string[]) => void;
14
26
  /**
15
- * Called before items are added to the list.
16
- * Return `true` to allow the addition, or a `string` to block it
17
- * and display that string as an error message.
18
- * The input value is preserved when addition is blocked.
19
- * @example
20
- * ```tsx
21
- * onBeforeAdd={(newItems, current) => {
22
- * const existing = new Set(current.map((k) => k.toLowerCase()));
23
- * const hasDupe = newItems.some((item) => existing.has(item.toLowerCase()));
24
- * return hasDupe ? "Keyword already added" : true;
25
- * }}
26
- * ```
27
+ * Children — compose with InputListItems and InputListInput.
27
28
  */
28
- onBeforeAdd?: (newItems: string[], currentValue: string[]) => true | string;
29
+ children: React.ReactNode;
29
30
  /**
30
- * Placeholder text for the text input.
31
- * @default "Add item"
31
+ * Additional CSS classes applied to the root element.
32
32
  */
33
- placeholder?: string;
33
+ className?: string;
34
34
  /**
35
- * Label for the add button.
36
- * @default "Add"
35
+ * Data hook for automated testing (required).
37
36
  */
38
- addButtonLabel?: string;
37
+ dataHook: string;
39
38
  /**
40
- * Number of skeleton rows to render in the loading state.
41
- * @default 3
39
+ * Tracking element identifier for analytics.
42
40
  */
43
- skeletonCount?: number;
41
+ trackingEl?: string;
44
42
  /**
45
- * Fully disables the component — input and all remove buttons become non-interactive.
43
+ * Tracking label for analytics context.
46
44
  */
47
- disabled?: boolean;
45
+ trackingLabel?: string;
46
+ }
47
+ /**
48
+ * InputList context provider — manages state for a list of text items
49
+ * with add, remove, paste, and validation support.
50
+ *
51
+ * @example
52
+ * ```tsx
53
+ * <InputList value={keywords} onValueChange={setKeywords} dataHook="keywords">
54
+ * <InputListItems />
55
+ * <InputListInput placeholder="Add keyword" />
56
+ * </InputList>
57
+ * ```
58
+ */
59
+ declare function InputList({ value, onValueChange, children, className, dataHook, trackingEl, trackingLabel, }: InputListProps): import("react/jsx-runtime").JSX.Element;
60
+ declare namespace InputList {
61
+ var displayName: string;
62
+ }
63
+ /**
64
+ * Props for the InputListItems sub-component.
65
+ */
66
+ export interface InputListItemsProps {
67
+ /**
68
+ * Data hook prefix for item elements.
69
+ * @default "input-list"
70
+ */
71
+ dataHook?: string;
48
72
  /**
49
73
  * Shows skeleton placeholder rows instead of the item list.
50
74
  */
51
75
  loading?: boolean;
52
76
  /**
53
- * Applies an error style to the input.
77
+ * Number of skeleton rows to render in the loading state.
78
+ * @default 5
54
79
  */
55
- error?: boolean;
80
+ skeletonCount?: number;
56
81
  /**
57
- * Optional validation message shown below the input when `error` is true.
82
+ * Disables all remove buttons in the list.
58
83
  */
59
- errorMessage?: string;
84
+ disabled?: boolean;
60
85
  /**
61
- * Optional description text shown below the input.
86
+ * Additional CSS classes applied to the list element.
62
87
  */
63
- description?: string;
88
+ className?: string;
89
+ }
90
+ /**
91
+ * Renders the animated item list or loading skeletons.
92
+ * Must be used within an `<InputList>` component.
93
+ *
94
+ * @example
95
+ * ```tsx
96
+ * <InputList value={items} onValueChange={setItems} dataHook="my-list">
97
+ * <InputListItems skeletonCount={5} />
98
+ * <InputListInput placeholder="Add item" />
99
+ * </InputList>
100
+ * ```
101
+ */
102
+ declare function InputListItems({ dataHook, loading, skeletonCount, disabled, className, }: InputListItemsProps): import("react/jsx-runtime").JSX.Element;
103
+ declare namespace InputListItems {
104
+ var displayName: string;
105
+ }
106
+ /**
107
+ * Props for the InputListInput sub-component.
108
+ *
109
+ * Inherits native input props except `value` and `type` (managed by InputList context).
110
+ * `onChange` fires as a notification only — the input value is controlled by context,
111
+ * so it cannot be used to filter or transform input.
112
+ */
113
+ export interface InputListInputProps extends Omit<React.ComponentPropsWithoutRef<"input">, "value" | "type"> {
64
114
  /**
65
- * Data hook for automated testing (required).
115
+ * Data hook for the input element.
66
116
  */
67
117
  dataHook: string;
68
118
  /**
69
- * Tracking element identifier for analytics.
70
- */
71
- trackingEl?: string;
72
- /**
73
- * Tracking label for analytics context.
74
- */
75
- trackingLabel?: string;
76
- /**
77
- * Additional CSS classes applied to the root element.
119
+ * Applies an error style to the input.
78
120
  */
79
- className?: string;
121
+ error?: boolean;
80
122
  }
81
123
  /**
82
- * InputList block — a managed list of text items with an add-input and per-row remove controls.
124
+ * Text input that adds items on Enter and supports multi-line paste.
125
+ * Must be used within an `<InputList>` component.
83
126
  *
84
- * Supports multi-line paste (each line becomes a separate item), loading skeletons, disabled state,
85
- * and input error/validation state.
127
+ * @example
128
+ * ```tsx
129
+ * <InputListInput dataHook="keywords-input" placeholder="Add keyword" />
130
+ * ```
131
+ */
132
+ declare const InputListInput: React.ForwardRefExoticComponent<InputListInputProps & React.RefAttributes<HTMLInputElement>>;
133
+ /**
134
+ * Props for the InputListAddButton sub-component.
135
+ * Inherits all Button props except `onClick` (wired internally to add items).
136
+ */
137
+ export type InputListAddButtonProps = Omit<ButtonProps, "onClick">;
138
+ /**
139
+ * Button that adds the current input value to the list.
140
+ * Must be used within an `<InputList>` component.
86
141
  *
87
142
  * @example
88
143
  * ```tsx
89
- * <InputList
90
- * value={keywords}
91
- * onValueChange={setKeywords}
92
- * dataHook="keywords"
93
- * />
144
+ * <InputListAddButton dataHook="keywords-add">Add</InputListAddButton>
94
145
  * ```
95
146
  */
96
- declare function InputList({ value, onValueChange, onBeforeAdd, placeholder, addButtonLabel, skeletonCount, disabled, loading, error, errorMessage, description, dataHook, trackingEl, trackingLabel, className, }: InputListProps): import("react/jsx-runtime").JSX.Element;
97
- declare namespace InputList {
98
- var displayName: string;
99
- }
100
- export { InputList };
147
+ declare const InputListAddButton: React.ForwardRefExoticComponent<Omit<InputListAddButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
148
+ export { InputList, InputListItems, InputListInput, InputListAddButton, useInputListContext, };
101
149
  //# sourceMappingURL=input-list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"input-list.d.ts","sourceRoot":"","sources":["../../src/blocks/input-list.tsx"],"names":[],"mappings":"AAgBA;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB;;OAEG;IACH,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACzC;;;;;;;;;;;;;OAaG;IACH,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,IAAI,GAAG,MAAM,CAAC;IAC5E;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;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