negodesign 0.0.70 → 0.0.71

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.
@@ -19,31 +19,11 @@
19
19
  }: CtaCardImageBannerProps = $props();
20
20
  </script>
21
21
 
22
- <div class="bg-white">
23
- <div class="mx-auto max-w-7xl py-24 sm:px-6 sm:py-32 lg:px-8">
22
+ <div class="w-full">
23
+ <div class="w-full p-2">
24
24
  <div
25
25
  class="relative isolate overflow-hidden bg-gradient px-6 pt-16 shadow-2xl sm:rounded-3xl sm:px-16 md:pt-24 lg:flex lg:gap-x-20 lg:px-24 lg:pt-0 {className}"
26
26
  >
27
- <svg
28
- viewBox="0 0 1024 1024"
29
- aria-hidden="true"
30
- class="absolute top-1/2 left-1/2 -z-10 size-256 -translate-y-1/2 mask-[radial-gradient(closest-side,white,transparent)] sm:left-full sm:-ml-80 lg:left-1/2 lg:ml-0 lg:-translate-x-1/2 lg:translate-y-0"
31
- >
32
- <circle
33
- r="512"
34
- cx="512"
35
- cy="512"
36
- fill="url(#759c1415-0410-454c-8f7c-9a820de03641)"
37
- fill-opacity="0.7"
38
- />
39
- <defs>
40
- <radialGradient id="759c1415-0410-454c-8f7c-9a820de03641">
41
- <stop stop-color="#7775D6" />
42
- <stop offset="1" stop-color="#E935C1" />
43
- </radialGradient>
44
- </defs>
45
- </svg>
46
-
47
27
  {#snippet pill(
48
28
  label: string,
49
29
  href: string | undefined,
@@ -75,7 +55,7 @@
75
55
  {/snippet}
76
56
 
77
57
  <div
78
- class="mx-auto max-w-md text-center lg:mx-0 lg:flex-auto lg:py-32 lg:text-left"
58
+ class="mx-auto max-w-md text-center lg:mx-0 lg:flex-auto lg:py-10 lg:text-left"
79
59
  >
80
60
  <h2
81
61
  class="text-3xl font-semibold tracking-tight text-balance text-white sm:text-4xl"
@@ -90,11 +70,16 @@
90
70
  >
91
71
  {@render pill(primaryText, primaryHref, onClickPrimary, "primary")}
92
72
  {#if secondaryText}
93
- {@render pill(secondaryText, secondaryHref, onClickSecondary, "secondary")}
73
+ {@render pill(
74
+ secondaryText,
75
+ secondaryHref,
76
+ onClickSecondary,
77
+ "secondary",
78
+ )}
94
79
  {/if}
95
80
  </div>
96
81
  </div>
97
- <div class="relative mt-16 h-80 lg:mt-8 {imageContainerClass}">
82
+ <div class="relative mt-16 h-40 lg:mt-8 {imageContainerClass}">
98
83
  <img
99
84
  src={imageSrc}
100
85
  alt={imageAlt}
package/dist/globals.css CHANGED
@@ -759,10 +759,6 @@
759
759
  width: calc(var(--spacing) * 24);
760
760
  height: calc(var(--spacing) * 24);
761
761
  }
762
- .size-256 {
763
- width: calc(var(--spacing) * 256);
764
- height: calc(var(--spacing) * 256);
765
- }
766
762
  .size-full {
767
763
  width: 100%;
768
764
  height: 100%;
@@ -851,6 +847,9 @@
851
847
  .h-36 {
852
848
  height: calc(var(--spacing) * 36);
853
849
  }
850
+ .h-40 {
851
+ height: calc(var(--spacing) * 40);
852
+ }
854
853
  .h-50 {
855
854
  height: calc(var(--spacing) * 50);
856
855
  }
@@ -860,9 +859,6 @@
860
859
  .h-75 {
861
860
  height: calc(var(--spacing) * 75);
862
861
  }
863
- .h-80 {
864
- height: calc(var(--spacing) * 80);
865
- }
866
862
  .h-\[65px\] {
867
863
  height: 65px;
868
864
  }
@@ -2038,9 +2034,6 @@
2038
2034
  --tw-gradient-to: var(--muted);
2039
2035
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
2040
2036
  }
2041
- .mask-\[radial-gradient\(closest-side\,white\,transparent\)\] {
2042
- mask-image: radial-gradient(closest-side,white,transparent);
2043
- }
2044
2037
  .bg-clip-padding {
2045
2038
  background-clip: padding-box;
2046
2039
  }
@@ -2176,9 +2169,6 @@
2176
2169
  .py-12 {
2177
2170
  padding-block: calc(var(--spacing) * 12);
2178
2171
  }
2179
- .py-24 {
2180
- padding-block: calc(var(--spacing) * 24);
2181
- }
2182
2172
  .ps-4 {
2183
2173
  padding-inline-start: calc(var(--spacing) * 4);
2184
2174
  }
@@ -4242,12 +4232,6 @@
4242
4232
  .sm\:right-6 {
4243
4233
  right: calc(var(--spacing) * 6);
4244
4234
  }
4245
- .sm\:left-full {
4246
- left: 100%;
4247
- }
4248
- .sm\:-ml-80 {
4249
- margin-left: calc(var(--spacing) * -80);
4250
- }
4251
4235
  .sm\:flex {
4252
4236
  display: flex;
4253
4237
  }
@@ -4299,9 +4283,6 @@
4299
4283
  .sm\:py-14 {
4300
4284
  padding-block: calc(var(--spacing) * 14);
4301
4285
  }
4302
- .sm\:py-32 {
4303
- padding-block: calc(var(--spacing) * 32);
4304
- }
4305
4286
  .sm\:text-2xl {
4306
4287
  font-size: var(--text-2xl);
4307
4288
  line-height: var(--tw-leading, var(--text-2xl--line-height));
@@ -4645,9 +4626,6 @@
4645
4626
  .lg\:-bottom-3 {
4646
4627
  bottom: calc(var(--spacing) * -3);
4647
4628
  }
4648
- .lg\:left-1\/2 {
4649
- left: calc(1 / 2 * 100%);
4650
- }
4651
4629
  .lg\:mx-0 {
4652
4630
  margin-inline: 0px;
4653
4631
  }
@@ -4657,9 +4635,6 @@
4657
4635
  .lg\:mt-8 {
4658
4636
  margin-top: calc(var(--spacing) * 8);
4659
4637
  }
4660
- .lg\:ml-0 {
4661
- margin-left: 0px;
4662
- }
4663
4638
  .lg\:block {
4664
4639
  display: block;
4665
4640
  }
@@ -4717,14 +4692,6 @@
4717
4692
  .lg\:flex-auto {
4718
4693
  flex: auto;
4719
4694
  }
4720
- .lg\:-translate-x-1\/2 {
4721
- --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
4722
- translate: var(--tw-translate-x) var(--tw-translate-y);
4723
- }
4724
- .lg\:translate-y-0 {
4725
- --tw-translate-y: 0px;
4726
- translate: var(--tw-translate-x) var(--tw-translate-y);
4727
- }
4728
4695
  .lg\:grid-cols-2 {
4729
4696
  grid-template-columns: repeat(2, minmax(0, 1fr));
4730
4697
  }
@@ -4761,8 +4728,8 @@
4761
4728
  .lg\:px-24 {
4762
4729
  padding-inline: calc(var(--spacing) * 24);
4763
4730
  }
4764
- .lg\:py-32 {
4765
- padding-block: calc(var(--spacing) * 32);
4731
+ .lg\:py-10 {
4732
+ padding-block: calc(var(--spacing) * 10);
4766
4733
  }
4767
4734
  .lg\:pt-0 {
4768
4735
  padding-top: 0px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "negodesign",
3
- "version": "0.0.70",
3
+ "version": "0.0.71",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "sideEffects": [