@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.
Files changed (51) hide show
  1. package/client/components/icons/achievement-badges/BadgeCertificationBronze.tsx +103 -0
  2. package/client/components/icons/achievement-badges/BadgeCertificationGold.tsx +103 -0
  3. package/client/components/icons/achievement-badges/BadgeCertificationPlatinum.tsx +103 -0
  4. package/client/components/icons/achievement-badges/BadgeCertificationSilver.tsx +103 -0
  5. package/client/components/icons/achievement-badges/BadgeRatingCoworking.tsx +59 -0
  6. package/client/components/icons/achievement-badges/BadgeRatingDesign.tsx +59 -0
  7. package/client/components/icons/achievement-badges/BadgeRatingEquity.tsx +59 -0
  8. package/client/components/icons/achievement-badges/BadgeRatingHealthySafety.tsx +63 -0
  9. package/client/components/icons/achievement-badges/BadgeRatingOperations.tsx +63 -0
  10. package/client/components/icons/achievement-badges/BadgeRatingPerformance.tsx +63 -0
  11. package/client/components/icons/achievement-badges/BadgeRatingRealEstate.tsx +63 -0
  12. package/client/components/icons/achievement-badges/BadgeRatingResidential.tsx +63 -0
  13. package/client/components/icons/achievement-badges/BadgeRatingWorkforce.tsx +59 -0
  14. package/client/components/icons/achievement-badges/index.tsx +13 -0
  15. package/client/components/icons/provider-badges/BadgeEnterpriseProvider.tsx +72 -0
  16. package/client/components/icons/provider-badges/BadgePerformanceTestingProvider.tsx +76 -0
  17. package/client/components/icons/provider-badges/BadgeProductProvider.tsx +72 -0
  18. package/client/components/icons/provider-badges/BadgeSurveyProvider.tsx +72 -0
  19. package/client/components/icons/provider-badges/index.tsx +4 -0
  20. package/client/components/icons/provider-seals/SealEnterpriseProvider.tsx +67 -0
  21. package/client/components/icons/provider-seals/SealPerformanceTestingProvider.tsx +67 -0
  22. package/client/components/icons/provider-seals/SealProductProvider.tsx +63 -0
  23. package/client/components/icons/provider-seals/SealProviders.tsx +63 -0
  24. package/client/components/icons/provider-seals/SealSurveyProvider.tsx +63 -0
  25. package/client/components/icons/provider-seals/index.tsx +5 -0
  26. package/client/components/icons/seals/IWBILogo.tsx +169 -0
  27. package/client/components/icons/{SealIwbiMember.tsx → seals/SealIwbiMember.tsx} +1 -1
  28. package/client/components/icons/{SealWell.tsx → seals/SealWell.tsx} +1 -1
  29. package/client/components/icons/{SealWellCertification.tsx → seals/SealWellCertification.tsx} +1 -1
  30. package/client/components/icons/{SealWellCommunity.tsx → seals/SealWellCommunity.tsx} +1 -1
  31. package/client/components/icons/{SealWellResidence.tsx → seals/SealWellResidence.tsx} +1 -1
  32. package/client/components/icons/{SealWorksWithWell.tsx → seals/SealWorksWithWell.tsx} +1 -1
  33. package/client/components/icons/{WellSeal.tsx → seals/WellSeal.tsx} +1 -1
  34. package/client/components/icons/seals/index.tsx +8 -0
  35. package/client/components/icons/{WaterMarkWWWProducts.tsx → watermarks/WaterMarkWWWProducts.tsx} +1 -1
  36. package/client/components/icons/{WaterMarkWellProjects.tsx → watermarks/WaterMarkWellProjects.tsx} +1 -1
  37. package/client/components/icons/{WatermarkMemberOrg.tsx → watermarks/WatermarkMemberOrg.tsx} +1 -1
  38. package/client/components/icons/watermarks/index.tsx +3 -0
  39. package/client/components/ui/accordion.tsx +46 -32
  40. package/client/components/ui/navigation.tsx +32 -56
  41. package/client/global.css +13 -14
  42. package/client/ui/Icons.stories.tsx +105 -16
  43. package/client/ui/PageHeader.stories.tsx +1 -1
  44. package/dist/index.cjs.js +1 -1
  45. package/dist/index.d.ts +59 -23
  46. package/dist/index.es.js +1822 -243
  47. package/package.json +1 -1
  48. package/client/components/icons/AchievementBadges.tsx +0 -33
  49. package/client/components/icons/ProviderBadges.tsx +0 -295
  50. package/client/components/icons/ProviderSeals.tsx +0 -319
  51. 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: #e2d7d0;
666
- --color-beige-400: #d2c2b6;
667
- --color-beige-500: #c1aa9a;
668
- --color-beige-600: #b59a87;
669
- --color-beige-700: #a5856e;
670
- --color-beige-800: #8b6c56;
671
- --color-beige-900: #685140;
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: background-color 0.15s ease-in-out;
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
- background-color: hsl(var(--primary));
1511
+ border: 1px solid var(--color-cyan-300, #39c9ea);
1512
1512
  }
1513
1513
 
1514
1514
  .switch[data-state="unchecked"] {
1515
- background-color: hsl(var(--input));
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 { SealWell } from "../components/icons/SealWell";
33
- import { SealIwbiMember } from "../components/icons/SealIwbiMember";
34
- import { SealWellCertification } from "../components/icons/SealWellCertification";
35
- import { SealWellCommunity } from "../components/icons/SealWellCommunity";
36
- import { SealWellResidence } from "../components/icons/SealWellResidence";
37
- import { SealWorksWithWell } from "../components/icons/SealWorksWithWell";
38
- import { SealEnterpriseProvider } from "../components/icons/ProviderSeals";
39
- import { SealPerformanceTestingProvider } from "../components/icons/ProviderSeals";
40
- import { SealSurveyProvider } from "../components/icons/ProviderSeals";
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/ProviderBadges";
47
- import { WatermarkMemberOrg } from "../components/icons/WatermarkMemberOrg";
48
- import { WaterMarkWWWProducts } from "../components/icons/WaterMarkWWWProducts";
49
- import { WaterMarkWellProjects } from "../components/icons/WaterMarkWellProjects";
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/ProviderSeals";
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 MarkIcons: Story = {
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">Mark Icons</h2>
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/AchievementBadges";
10
+ import { BadgeCertificationBronze } from "../components/icons/achievement-badges";
11
11
  import { Tag } from "../components/ui/tag";
12
12
  import {
13
13
  Tooltip,