@syscore/ui-library 1.11.2 → 1.13.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.
- package/client/components/icons/achievement-badges/BadgeCertificationBronze.tsx +103 -0
- package/client/components/icons/achievement-badges/BadgeCertificationGold.tsx +103 -0
- package/client/components/icons/achievement-badges/BadgeCertificationPlatinum.tsx +103 -0
- package/client/components/icons/achievement-badges/BadgeCertificationSilver.tsx +103 -0
- package/client/components/icons/achievement-badges/BadgeRatingCoworking.tsx +59 -0
- package/client/components/icons/achievement-badges/BadgeRatingDesign.tsx +59 -0
- package/client/components/icons/achievement-badges/BadgeRatingEquity.tsx +59 -0
- package/client/components/icons/achievement-badges/BadgeRatingHealthySafety.tsx +63 -0
- package/client/components/icons/achievement-badges/BadgeRatingOperations.tsx +63 -0
- package/client/components/icons/achievement-badges/BadgeRatingPerformance.tsx +63 -0
- package/client/components/icons/achievement-badges/BadgeRatingRealEstate.tsx +63 -0
- package/client/components/icons/achievement-badges/BadgeRatingResidential.tsx +63 -0
- package/client/components/icons/achievement-badges/BadgeRatingWorkforce.tsx +59 -0
- package/client/components/icons/achievement-badges/index.tsx +13 -0
- package/client/components/icons/provider-badges/BadgeEnterpriseProvider.tsx +72 -0
- package/client/components/icons/provider-badges/BadgePerformanceTestingProvider.tsx +76 -0
- package/client/components/icons/provider-badges/BadgeProductProvider.tsx +72 -0
- package/client/components/icons/provider-badges/BadgeSurveyProvider.tsx +72 -0
- package/client/components/icons/provider-badges/index.tsx +4 -0
- package/client/components/icons/provider-seals/SealEnterpriseProvider.tsx +67 -0
- package/client/components/icons/provider-seals/SealPerformanceTestingProvider.tsx +67 -0
- package/client/components/icons/provider-seals/SealProductProvider.tsx +63 -0
- package/client/components/icons/provider-seals/SealProviders.tsx +63 -0
- package/client/components/icons/provider-seals/SealSurveyProvider.tsx +63 -0
- package/client/components/icons/provider-seals/index.tsx +5 -0
- package/client/components/icons/seals/IWBILogo.tsx +169 -0
- package/client/components/icons/{SealIwbiMember.tsx → seals/SealIwbiMember.tsx} +1 -1
- package/client/components/icons/{SealWell.tsx → seals/SealWell.tsx} +1 -1
- package/client/components/icons/{SealWellCertification.tsx → seals/SealWellCertification.tsx} +1 -1
- package/client/components/icons/{SealWellCommunity.tsx → seals/SealWellCommunity.tsx} +1 -1
- package/client/components/icons/{SealWellResidence.tsx → seals/SealWellResidence.tsx} +1 -1
- package/client/components/icons/{SealWorksWithWell.tsx → seals/SealWorksWithWell.tsx} +1 -1
- package/client/components/icons/{WellSeal.tsx → seals/WellSeal.tsx} +1 -1
- package/client/components/icons/seals/index.tsx +8 -0
- package/client/components/icons/{WaterMarkWWWProducts.tsx → watermarks/WaterMarkWWWProducts.tsx} +1 -1
- package/client/components/icons/{WaterMarkWellProjects.tsx → watermarks/WaterMarkWellProjects.tsx} +1 -1
- package/client/components/icons/{WatermarkMemberOrg.tsx → watermarks/WatermarkMemberOrg.tsx} +1 -1
- package/client/components/icons/watermarks/index.tsx +3 -0
- package/client/components/ui/accordion.tsx +46 -32
- package/client/components/ui/navigation.tsx +32 -56
- package/client/global.css +13 -14
- package/client/ui/Icons.stories.tsx +105 -16
- package/client/ui/PageHeader.stories.tsx +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +59 -23
- package/dist/index.es.js +1822 -243
- package/package.json +1 -1
- package/client/components/icons/AchievementBadges.tsx +0 -33
- package/client/components/icons/ProviderBadges.tsx +0 -295
- package/client/components/icons/ProviderSeals.tsx +0 -319
- package/client/components/icons/SealHealthSafetyRating.tsx +0 -65
package/client/global.css
CHANGED
|
@@ -662,13 +662,13 @@ layer(base);
|
|
|
662
662
|
--color-beige-50: #fdfcfc;
|
|
663
663
|
--color-beige-100: #fbfaf9;
|
|
664
664
|
--color-beige-200: #efeae6;
|
|
665
|
-
--color-beige-300: #
|
|
666
|
-
--color-beige-400: #
|
|
667
|
-
--color-beige-500: #
|
|
668
|
-
--color-beige-600: #
|
|
669
|
-
--color-beige-700: #
|
|
670
|
-
--color-beige-800: #
|
|
671
|
-
--color-beige-900: #
|
|
665
|
+
--color-beige-300: #e3dbd6;
|
|
666
|
+
--color-beige-400: #d3cac4;
|
|
667
|
+
--color-beige-500: #c1b6af;
|
|
668
|
+
--color-beige-600: #b4a9a1;
|
|
669
|
+
--color-beige-700: #a79a92;
|
|
670
|
+
--color-beige-800: #8e837b;
|
|
671
|
+
--color-beige-900: #716962;
|
|
672
672
|
|
|
673
673
|
--color-mind: #0a5161;
|
|
674
674
|
--color-community: #0f748a;
|
|
@@ -1492,7 +1492,7 @@ body {
|
|
|
1492
1492
|
align-items: center;
|
|
1493
1493
|
border-radius: 9999px;
|
|
1494
1494
|
border: 2px solid transparent;
|
|
1495
|
-
transition:
|
|
1495
|
+
transition: border-color 0.15s ease-in-out;
|
|
1496
1496
|
}
|
|
1497
1497
|
|
|
1498
1498
|
.switch:focus-visible {
|
|
@@ -1508,11 +1508,11 @@ body {
|
|
|
1508
1508
|
}
|
|
1509
1509
|
|
|
1510
1510
|
.switch[data-state="checked"] {
|
|
1511
|
-
|
|
1511
|
+
border: 1px solid var(--color-cyan-300, #39c9ea);
|
|
1512
1512
|
}
|
|
1513
1513
|
|
|
1514
1514
|
.switch[data-state="unchecked"] {
|
|
1515
|
-
|
|
1515
|
+
border: 1px solid var(--color-gray-100, #dedfe3);
|
|
1516
1516
|
}
|
|
1517
1517
|
|
|
1518
1518
|
.switch-thumb {
|
|
@@ -1521,19 +1521,18 @@ body {
|
|
|
1521
1521
|
height: 1.25rem;
|
|
1522
1522
|
width: 1.25rem;
|
|
1523
1523
|
border-radius: 9999px;
|
|
1524
|
-
background-color: hsl(var(--background));
|
|
1525
|
-
box-shadow:
|
|
1526
|
-
0 10px 15px -3px rgba(0, 0, 0, 0.1),
|
|
1527
|
-
0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
1528
1524
|
transition: transform 0.15s ease-in-out;
|
|
1525
|
+
transition: background-color 0.15s ease-in-out;
|
|
1529
1526
|
}
|
|
1530
1527
|
|
|
1531
1528
|
.switch-thumb[data-state="checked"] {
|
|
1532
1529
|
transform: translateX(1.25rem);
|
|
1530
|
+
background-color: var(--color-cyan-700, #128ba6);
|
|
1533
1531
|
}
|
|
1534
1532
|
|
|
1535
1533
|
.switch-thumb[data-state="unchecked"] {
|
|
1536
1534
|
transform: translateX(0);
|
|
1535
|
+
background-color: var(--color-gray-400, #9fa2ab);
|
|
1537
1536
|
}
|
|
1538
1537
|
|
|
1539
1538
|
/* Checkbox Styles */
|
|
@@ -29,29 +29,51 @@ import { UtilitySearch } from "../components/icons/UtilitySearch";
|
|
|
29
29
|
import { UtilitySort } from "../components/icons/UtilitySort";
|
|
30
30
|
import { UtilityText } from "../components/icons/UtilityText";
|
|
31
31
|
import { UtilityTriangleInfo } from "../components/icons/UtilityTriangleInfo";
|
|
32
|
-
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
32
|
+
import {
|
|
33
|
+
IWBILogo,
|
|
34
|
+
SealWell,
|
|
35
|
+
SealIwbiMember,
|
|
36
|
+
SealWellCertification,
|
|
37
|
+
SealWellCommunity,
|
|
38
|
+
SealWellResidence,
|
|
39
|
+
SealWorksWithWell,
|
|
40
|
+
} from "../components/icons/seals";
|
|
41
|
+
import {
|
|
42
|
+
SealEnterpriseProvider,
|
|
43
|
+
SealPerformanceTestingProvider,
|
|
44
|
+
SealSurveyProvider,
|
|
45
|
+
} from "../components/icons/provider-seals";
|
|
41
46
|
import {
|
|
42
47
|
BadgeEnterpriseProvider,
|
|
43
48
|
BadgePerformanceTestingProvider,
|
|
44
49
|
BadgeProductProvider,
|
|
45
50
|
BadgeSurveyProvider,
|
|
46
|
-
} from "../components/icons/
|
|
47
|
-
import {
|
|
48
|
-
|
|
49
|
-
|
|
51
|
+
} from "../components/icons/provider-badges";
|
|
52
|
+
import {
|
|
53
|
+
WatermarkMemberOrg,
|
|
54
|
+
WaterMarkWWWProducts,
|
|
55
|
+
WaterMarkWellProjects,
|
|
56
|
+
} from "../components/icons/watermarks";
|
|
50
57
|
import {
|
|
51
58
|
SealProductProvider,
|
|
52
59
|
SealProviders,
|
|
53
|
-
} from "../components/icons/
|
|
60
|
+
} from "../components/icons/provider-seals";
|
|
54
61
|
import { UtilityTrash } from "@/components/icons/UtilityTrash";
|
|
62
|
+
import {
|
|
63
|
+
BadgeCertificationBronze,
|
|
64
|
+
BadgeCertificationSilver,
|
|
65
|
+
BadgeCertificationGold,
|
|
66
|
+
BadgeCertificationPlatinum,
|
|
67
|
+
BadgeRatingHealthySafety,
|
|
68
|
+
BadgeRatingOperations,
|
|
69
|
+
BadgeRatingPerformance,
|
|
70
|
+
BadgeRatingEquity,
|
|
71
|
+
BadgeRatingCoworking,
|
|
72
|
+
BadgeRatingWorkforce,
|
|
73
|
+
BadgeRatingDesign,
|
|
74
|
+
BadgeRatingRealEstate,
|
|
75
|
+
BadgeRatingResidential,
|
|
76
|
+
} from "../components/icons/achievement-badges";
|
|
55
77
|
|
|
56
78
|
const meta = {
|
|
57
79
|
title: "Review/Icons",
|
|
@@ -281,13 +303,14 @@ export const UtilityIcons: Story = {
|
|
|
281
303
|
),
|
|
282
304
|
};
|
|
283
305
|
|
|
284
|
-
export const
|
|
306
|
+
export const Seals: Story = {
|
|
285
307
|
render: () => (
|
|
286
308
|
<div className="space-y-8 p-8 bg-cyan-50">
|
|
287
309
|
<div>
|
|
288
|
-
<h2 className="text-2xl font-bold mb-6">
|
|
310
|
+
<h2 className="text-2xl font-bold mb-6">Seals</h2>
|
|
289
311
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
|
290
312
|
<div className="flex flex-col items-center gap-4">
|
|
313
|
+
<IWBILogo />
|
|
291
314
|
<SealWell />
|
|
292
315
|
<SealIwbiMember />
|
|
293
316
|
<SealWellCertification />
|
|
@@ -341,3 +364,69 @@ export const ProviderSeals: Story = {
|
|
|
341
364
|
</div>
|
|
342
365
|
),
|
|
343
366
|
};
|
|
367
|
+
|
|
368
|
+
export const AchievementBadges: Story = {
|
|
369
|
+
render: () => (
|
|
370
|
+
<div className="space-y-8 p-8">
|
|
371
|
+
<h2 className="text-2xl font-bold mb-6">Achievement Badges</h2>
|
|
372
|
+
<h3 className="text-lg font-semibold mb-4">Certification</h3>
|
|
373
|
+
<div className="grid grid-cols-2 md:grid-cols-4 gap-6">
|
|
374
|
+
<div className="flex flex-col items-start gap-2">
|
|
375
|
+
<span className="text-sm font-medium">Bronze</span>
|
|
376
|
+
<BadgeCertificationBronze />
|
|
377
|
+
</div>
|
|
378
|
+
<div className="flex flex-col items-start gap-2">
|
|
379
|
+
<span className="text-sm font-medium">Silver</span>
|
|
380
|
+
<BadgeCertificationSilver />
|
|
381
|
+
</div>
|
|
382
|
+
<div className="flex flex-col items-start gap-2">
|
|
383
|
+
<span className="text-sm font-medium">Gold</span>
|
|
384
|
+
<BadgeCertificationGold />
|
|
385
|
+
</div>
|
|
386
|
+
<div className="flex flex-col items-start gap-2">
|
|
387
|
+
<span className="text-sm font-medium">Platinum</span>
|
|
388
|
+
<BadgeCertificationPlatinum />
|
|
389
|
+
</div>
|
|
390
|
+
</div>
|
|
391
|
+
<h3 className="text-lg font-semibold mb-4">Rating</h3>
|
|
392
|
+
<div className="grid grid-cols-2 md:grid-cols-4 gap-6">
|
|
393
|
+
<div className="flex flex-col items-start gap-2">
|
|
394
|
+
<span className="text-sm font-medium">Healthy Safety</span>
|
|
395
|
+
<BadgeRatingHealthySafety />
|
|
396
|
+
</div>
|
|
397
|
+
<div className="flex flex-col items-start gap-2">
|
|
398
|
+
<span className="text-sm font-medium">Operations</span>
|
|
399
|
+
<BadgeRatingOperations />
|
|
400
|
+
</div>
|
|
401
|
+
<div className="flex flex-col items-start gap-2">
|
|
402
|
+
<span className="text-sm font-medium">Performance</span>
|
|
403
|
+
<BadgeRatingPerformance />
|
|
404
|
+
</div>
|
|
405
|
+
<div className="flex flex-col items-start gap-2">
|
|
406
|
+
<span className="text-sm font-medium">Equity</span>
|
|
407
|
+
<BadgeRatingEquity />
|
|
408
|
+
</div>
|
|
409
|
+
<div className="flex flex-col items-start gap-2">
|
|
410
|
+
<span className="text-sm font-medium">Coworking</span>
|
|
411
|
+
<BadgeRatingCoworking />
|
|
412
|
+
</div>
|
|
413
|
+
<div className="flex flex-col items-start gap-2">
|
|
414
|
+
<span className="text-sm font-medium">Workforce</span>
|
|
415
|
+
<BadgeRatingWorkforce />
|
|
416
|
+
</div>
|
|
417
|
+
<div className="flex flex-col items-start gap-2">
|
|
418
|
+
<span className="text-sm font-medium">Design</span>
|
|
419
|
+
<BadgeRatingDesign />
|
|
420
|
+
</div>
|
|
421
|
+
<div className="flex flex-col items-start gap-2">
|
|
422
|
+
<span className="text-sm font-medium">Real Estate</span>
|
|
423
|
+
<BadgeRatingRealEstate />
|
|
424
|
+
</div>
|
|
425
|
+
<div className="flex flex-col items-start gap-2">
|
|
426
|
+
<span className="text-sm font-medium">Residential</span>
|
|
427
|
+
<BadgeRatingResidential />
|
|
428
|
+
</div>
|
|
429
|
+
</div>
|
|
430
|
+
</div>
|
|
431
|
+
),
|
|
432
|
+
};
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
PageHeaderTitle,
|
|
8
8
|
PageHeaderDescription,
|
|
9
9
|
} from "../components/ui/page-header";
|
|
10
|
-
import { BadgeCertificationBronze } from "../components/icons/
|
|
10
|
+
import { BadgeCertificationBronze } from "../components/icons/achievement-badges";
|
|
11
11
|
import { Tag } from "../components/ui/tag";
|
|
12
12
|
import {
|
|
13
13
|
Tooltip,
|