@star-insure/sdk 3.2.8 → 3.2.9
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/sdk.cjs.development.js +2 -2
- package/dist/sdk.cjs.development.js.map +1 -1
- package/dist/sdk.cjs.production.min.js +1 -1
- package/dist/sdk.cjs.production.min.js.map +1 -1
- package/dist/sdk.esm.js +2 -2
- package/dist/sdk.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/filter/Action.tsx +1 -1
- package/src/components/filter/PageHeader.tsx +1 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@star-insure/sdk",
|
|
3
3
|
"description": "The SDK for Star Insure client apps with shared helper functions and TypeScript definitions.",
|
|
4
4
|
"author": "alexclark_nz",
|
|
5
|
-
"version": "3.2.
|
|
5
|
+
"version": "3.2.9",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -4,7 +4,7 @@ import React from "react";
|
|
|
4
4
|
|
|
5
5
|
export default function Action({ title, href, as = 'Link', target = '_self', type, onClick = () => {} }: TPageHeaderAction) {
|
|
6
6
|
const className =
|
|
7
|
-
'bg-white rounded-full font-bold px-
|
|
7
|
+
'bg-white rounded-full font-bold px-4 py-1.5 text-sm whitespace-nowrap hover:bg-gray-100 hover:border-gray-300 transition-colors border border-gray-200';
|
|
8
8
|
|
|
9
9
|
if (as === 'Link' && href) {
|
|
10
10
|
return (
|
|
@@ -156,7 +156,7 @@ export default function PageHeader({
|
|
|
156
156
|
)}>
|
|
157
157
|
{search && <SearchBar search={search} active={isSearchActive} onActive={setSearchActive} placeholder={`Search ${title}...`} focusSearchShortcut={focusSearchShortcut} />}
|
|
158
158
|
|
|
159
|
-
{!isSearchActive && <h1 className="text-base font-
|
|
159
|
+
{!isSearchActive && <h1 className="text-base font-black">{title}</h1>}
|
|
160
160
|
</button>
|
|
161
161
|
|
|
162
162
|
<div className="flex items-center ml-auto gap-2 h-full min-w-0 max-w-full">
|