@nexub/patterns 5.8.0 → 6.0.0

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.
@@ -11,7 +11,7 @@ var FilterBar = React.forwardRef(
11
11
  /* @__PURE__ */ jsx(
12
12
  SearchInput,
13
13
  {
14
- "aria-label": searchLabel ?? t.search,
14
+ "aria-label": searchLabel ?? searchPlaceholder?.replace(/\s*(…|\.\.\.)$/, "") ?? t.search,
15
15
  placeholder: searchPlaceholder ?? t.searchPlaceholder,
16
16
  value: searchValue,
17
17
  onChange: (e) => onSearch?.(e.target.value),
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import {
3
3
  FilterBar
4
- } from "../../chunk-DOHN66SE.js";
4
+ } from "../../chunk-SNONOBAE.js";
5
5
  export {
6
6
  FilterBar
7
7
  };
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
  import {
3
3
  SignInPage
4
- } from "../../chunk-UNQD426H.js";
5
- import "../../chunk-HMJRSNJD.js";
4
+ } from "../../chunk-YDOVEHZK.js";
6
5
  import "../../chunk-7QCJC2DV.js";
6
+ import "../../chunk-HMJRSNJD.js";
7
7
  export {
8
8
  SignInPage
9
9
  };
package/dist/index.d.ts CHANGED
@@ -18,7 +18,10 @@ declare const ActivityFeed: {
18
18
 
19
19
  interface FilterBarProps extends React.HTMLAttributes<HTMLDivElement> {
20
20
  searchPlaceholder?: string;
21
- /** Accessible name of the search field. Defaults to the localised "Search". */
21
+ /**
22
+ * Accessible name of the search field. Defaults to `searchPlaceholder` without a
23
+ * trailing "…", else the localised "Search".
24
+ */
22
25
  searchLabel?: string;
23
26
  onSearch?: (value: string) => void;
24
27
  searchValue?: string;
package/dist/index.js CHANGED
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-U3FT7XAU.js";
28
28
  import {
29
29
  SignInPage
30
- } from "./chunk-UNQD426H.js";
30
+ } from "./chunk-YDOVEHZK.js";
31
31
  import {
32
32
  CheckoutPage
33
33
  } from "./chunk-CZR6NZDH.js";
@@ -43,7 +43,7 @@ import {
43
43
  } from "./chunk-RWPFCNMJ.js";
44
44
  import {
45
45
  FilterBar
46
- } from "./chunk-DOHN66SE.js";
46
+ } from "./chunk-SNONOBAE.js";
47
47
  import {
48
48
  InfoList
49
49
  } from "./chunk-WPNT5JOU.js";
@@ -56,6 +56,11 @@ import {
56
56
  import {
57
57
  ActivityFeed
58
58
  } from "./chunk-GHOBXWUA.js";
59
+ import "./chunk-CWFZA7ZQ.js";
60
+ import {
61
+ ActivityPage,
62
+ TransactionRow
63
+ } from "./chunk-OC4XY3US.js";
59
64
  import {
60
65
  AppHeader
61
66
  } from "./chunk-2WKGBINE.js";
@@ -63,14 +68,6 @@ import "./chunk-VYMTTYPR.js";
63
68
  import {
64
69
  AppLauncher
65
70
  } from "./chunk-BDCVWAH7.js";
66
- import "./chunk-CWFZA7ZQ.js";
67
- import {
68
- ActivityPage,
69
- TransactionRow
70
- } from "./chunk-OC4XY3US.js";
71
- import {
72
- AuthCard
73
- } from "./chunk-HMJRSNJD.js";
74
71
  import {
75
72
  BentoGrid,
76
73
  BentoTile
@@ -87,6 +84,9 @@ import {
87
84
  groupByDay,
88
85
  usePageMessages
89
86
  } from "./chunk-7QCJC2DV.js";
87
+ import {
88
+ AuthCard
89
+ } from "./chunk-HMJRSNJD.js";
90
90
  export {
91
91
  ActivityFeed,
92
92
  ActivityPage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexub/patterns",
3
- "version": "5.8.0",
3
+ "version": "6.0.0",
4
4
  "description": "Composite UI patterns for Nexub Design System — pre-built, production-ready layouts and widgets built on @nexub/react.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -39,9 +39,9 @@
39
39
  "peerDependencies": {
40
40
  "react": ">=19 <20",
41
41
  "react-dom": ">=19 <20",
42
- "@nexub/icons": "^5.8.0",
43
- "@nexub/react": "^5.8.0",
44
- "@nexub/tokens": "^5.8.0"
42
+ "@nexub/icons": "^6.0.0",
43
+ "@nexub/react": "^6.0.0",
44
+ "@nexub/tokens": "^6.0.0"
45
45
  },
46
46
  "peerDependenciesMeta": {
47
47
  "@nexub/icons": {
@@ -64,9 +64,9 @@
64
64
  "typescript": "~6.0.3",
65
65
  "vite": "^8.3.5",
66
66
  "vitest": "^5.0.5",
67
- "@nexub/icons": "5.8.0",
68
- "@nexub/react": "5.8.0",
69
- "@nexub/tokens": "5.8.0"
67
+ "@nexub/icons": "6.0.0",
68
+ "@nexub/react": "6.0.0",
69
+ "@nexub/tokens": "6.0.0"
70
70
  },
71
71
  "scripts": {
72
72
  "build": "tsup && tailwindcss -i src/styles.css -o dist/styles.css --minify",
@@ -1,10 +1,10 @@
1
1
  'use client';
2
- import {
3
- AuthCard
4
- } from "./chunk-HMJRSNJD.js";
5
2
  import {
6
3
  usePageMessages
7
4
  } from "./chunk-7QCJC2DV.js";
5
+ import {
6
+ AuthCard
7
+ } from "./chunk-HMJRSNJD.js";
8
8
 
9
9
  // src/components/SignInPage/SignInPage.tsx
10
10
  import * as React from "react";