@nexub/patterns 5.9.0 → 6.1.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),
|
package/dist/index.d.ts
CHANGED
|
@@ -19,8 +19,8 @@ declare const ActivityFeed: {
|
|
|
19
19
|
interface FilterBarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
20
20
|
searchPlaceholder?: string;
|
|
21
21
|
/**
|
|
22
|
-
* Accessible name of the search field. Defaults to
|
|
23
|
-
*
|
|
22
|
+
* Accessible name of the search field. Defaults to `searchPlaceholder` without a
|
|
23
|
+
* trailing "…", else the localised "Search".
|
|
24
24
|
*/
|
|
25
25
|
searchLabel?: string;
|
|
26
26
|
onSearch?: (value: string) => void;
|
package/dist/index.js
CHANGED
|
@@ -9,9 +9,6 @@ import {
|
|
|
9
9
|
UserCard
|
|
10
10
|
} from "./chunk-7NYGYETG.js";
|
|
11
11
|
import "./chunk-RFCPEZGF.js";
|
|
12
|
-
import {
|
|
13
|
-
PaywallPage
|
|
14
|
-
} from "./chunk-M3OHX4F4.js";
|
|
15
12
|
import {
|
|
16
13
|
PlanCard
|
|
17
14
|
} from "./chunk-LKN2CK6M.js";
|
|
@@ -19,34 +16,35 @@ import {
|
|
|
19
16
|
SettingsLayout,
|
|
20
17
|
SettingsRow
|
|
21
18
|
} from "./chunk-Z4FCC42C.js";
|
|
22
|
-
import {
|
|
23
|
-
SettingsSection
|
|
24
|
-
} from "./chunk-U3FT7XAU.js";
|
|
25
19
|
import {
|
|
26
20
|
SettingsPage
|
|
27
21
|
} from "./chunk-27N33TGN.js";
|
|
22
|
+
import {
|
|
23
|
+
PaywallPage
|
|
24
|
+
} from "./chunk-M3OHX4F4.js";
|
|
25
|
+
import {
|
|
26
|
+
SettingsSection
|
|
27
|
+
} from "./chunk-U3FT7XAU.js";
|
|
28
28
|
import {
|
|
29
29
|
SignInPage
|
|
30
30
|
} from "./chunk-UNQD426H.js";
|
|
31
|
-
import {
|
|
32
|
-
CheckoutPage
|
|
33
|
-
} from "./chunk-CZR6NZDH.js";
|
|
34
31
|
import {
|
|
35
32
|
DashboardPage
|
|
36
33
|
} from "./chunk-33Z2ZPO7.js";
|
|
37
34
|
import {
|
|
38
35
|
StatCard
|
|
39
36
|
} from "./chunk-INKX2GYA.js";
|
|
37
|
+
import {
|
|
38
|
+
BentoGrid,
|
|
39
|
+
BentoTile
|
|
40
|
+
} from "./chunk-WZTDCJYP.js";
|
|
40
41
|
import {
|
|
41
42
|
ErrorSummary,
|
|
42
43
|
useFormErrors
|
|
43
44
|
} from "./chunk-RWPFCNMJ.js";
|
|
44
|
-
import {
|
|
45
|
-
InfoList
|
|
46
|
-
} from "./chunk-WPNT5JOU.js";
|
|
47
45
|
import {
|
|
48
46
|
FilterBar
|
|
49
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-SNONOBAE.js";
|
|
50
48
|
import {
|
|
51
49
|
ListDetail
|
|
52
50
|
} from "./chunk-5JU6HUVJ.js";
|
|
@@ -71,16 +69,18 @@ import {
|
|
|
71
69
|
import {
|
|
72
70
|
AuthCard
|
|
73
71
|
} from "./chunk-HMJRSNJD.js";
|
|
74
|
-
import {
|
|
75
|
-
BentoGrid,
|
|
76
|
-
BentoTile
|
|
77
|
-
} from "./chunk-WZTDCJYP.js";
|
|
78
72
|
import {
|
|
79
73
|
ChatPage
|
|
80
74
|
} from "./chunk-64PSI75E.js";
|
|
81
75
|
import {
|
|
82
76
|
Conversation
|
|
83
77
|
} from "./chunk-WRP73TXG.js";
|
|
78
|
+
import {
|
|
79
|
+
CheckoutPage
|
|
80
|
+
} from "./chunk-CZR6NZDH.js";
|
|
81
|
+
import {
|
|
82
|
+
InfoList
|
|
83
|
+
} from "./chunk-WPNT5JOU.js";
|
|
84
84
|
import {
|
|
85
85
|
PageFrame,
|
|
86
86
|
defaultPageTemplateMessages,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexub/patterns",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.1.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": "^
|
|
43
|
-
"@nexub/react": "^
|
|
44
|
-
"@nexub/tokens": "^
|
|
42
|
+
"@nexub/icons": "^6.1.0",
|
|
43
|
+
"@nexub/react": "^6.1.0",
|
|
44
|
+
"@nexub/tokens": "^6.1.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": "
|
|
68
|
-
"@nexub/react": "
|
|
69
|
-
"@nexub/tokens": "
|
|
67
|
+
"@nexub/icons": "6.1.0",
|
|
68
|
+
"@nexub/react": "6.1.0",
|
|
69
|
+
"@nexub/tokens": "6.1.0"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
72
72
|
"build": "tsup && tailwindcss -i src/styles.css -o dist/styles.css --minify",
|