Skip to content

Commit 5ed8efd

Browse files
authored
Merge pull request #1838 from dubinc/pricing-feature-updates
Pricing feature updates + icon additions
2 parents 0add5c4 + ca714a8 commit 5ed8efd

File tree

9 files changed

+165
-66
lines changed

9 files changed

+165
-66
lines changed

apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/plan/plan-selector.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ function PlanCard({
7979
format={{
8080
style: "currency",
8181
currency: "USD",
82-
// @ts-ignore – this is a valid option but TS is outdated
83-
trailingZeroDisplay: "stripIfInteger",
82+
maximumFractionDigits: 0,
8483
}}
8584
continuous
8685
/>

packages/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@dub/ui",
33
"description": "UI components for Dub.co",
4-
"version": "0.2.11",
4+
"version": "0.2.12",
55
"sideEffects": false,
66
"main": "./dist/index.js",
77
"module": "./dist/index.mjs",

packages/ui/src/icons/default-domains/figma.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export function Figma({ className }: { className?: string }) {
99
xmlns="http://www.w3.org/2000/svg"
1010
>
1111
<circle cx="111" cy="111" r="111" fill="url(#paint0_radial_8328_50)" />
12-
<g clip-path="url(#clip0_8328_50)">
12+
<g clipPath="url(#clip0_8328_50)">
1313
<path
1414
d="M85.0053 196C99.3544 196 111 184.352 111 170V144H85.0053C70.6562 144 59.0105 155.648 59.0105 170C59.0105 184.352 70.6562 196 85.0053 196Z"
1515
fill="#0ACF83"

packages/ui/src/icons/nucleo/calendar6.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export function Calendar6(props: SVGProps<SVGSVGElement>) {
1010
fill="none"
1111
{...props}
1212
>
13-
<g clip-path="url(#clip0_5_25259)">
13+
<g clipPath="url(#clip0_5_25259)">
1414
<path
1515
d="M5.75 3.25V1.25"
1616
stroke="currentColor"
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
import { SVGProps } from "react";
2+
3+
export function CircleQuestion(props: SVGProps<SVGSVGElement>) {
4+
return (
5+
<svg
6+
height="18"
7+
width="18"
8+
viewBox="0 0 18 18"
9+
xmlns="http://www.w3.org/2000/svg"
10+
{...props}
11+
>
12+
<g fill="currentColor">
13+
<circle
14+
cx="9"
15+
cy="9"
16+
fill="none"
17+
r="7.25"
18+
stroke="currentColor"
19+
strokeLinecap="round"
20+
strokeLinejoin="round"
21+
strokeWidth="1.5"
22+
/>
23+
<path
24+
d="M6.925,6.619c.388-1.057,1.294-1.492,2.18-1.492,.895,0,1.818,.638,1.818,1.808,0,1.784-1.816,1.468-2.096,3.065"
25+
fill="none"
26+
stroke="currentColor"
27+
strokeLinecap="round"
28+
strokeLinejoin="round"
29+
strokeWidth="1.5"
30+
/>
31+
<path
32+
d="M8.791,13.567c-.552,0-1-.449-1-1s.448-1,1-1,1,.449,1,1-.448,1-1,1Z"
33+
fill="currentColor"
34+
stroke="none"
35+
/>
36+
</g>
37+
</svg>
38+
);
39+
}

packages/ui/src/icons/nucleo/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export * from "./circle-half-dotted-check";
3636
export * from "./circle-half-dotted-clock";
3737
export * from "./circle-info";
3838
export * from "./circle-play-fill";
39+
export * from "./circle-question";
3940
export * from "./circle-warning";
4041
export * from "./circle-xmark";
4142
export * from "./circles";
@@ -146,6 +147,7 @@ export * from "./table-icon";
146147
export * from "./table-rows2";
147148
export * from "./tablet";
148149
export * from "./tag";
150+
export * from "./tags";
149151
export * from "./toggle2-fill";
150152
export * from "./trash";
151153
export * from "./tv";
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
import { SVGProps } from "react";
2+
3+
export function Tags(props: SVGProps<SVGSVGElement>) {
4+
return (
5+
<svg
6+
height="18"
7+
width="18"
8+
viewBox="0 0 18 18"
9+
xmlns="http://www.w3.org/2000/svg"
10+
{...props}
11+
>
12+
<g fill="currentColor">
13+
<path
14+
d="M1.75,4.25H7.336c.265,0,.52,.105,.707,.293l5.793,5.793c.781,.781,.781,2.047,0,2.828l-3.172,3.172c-.781,.781-2.047,.781-2.828,0L2.043,10.543c-.188-.188-.293-.442-.293-.707V4.25Z"
15+
fill="none"
16+
stroke="currentColor"
17+
strokeLinecap="round"
18+
strokeLinejoin="round"
19+
strokeWidth="1.5"
20+
/>
21+
<path
22+
d="M3.25,1.75v-.5h5.586c.265,0,.52,.105,.707,.293l5.793,5.793c.432,.432,.625,1.012,.579,1.577"
23+
fill="none"
24+
stroke="currentColor"
25+
strokeLinecap="round"
26+
strokeLinejoin="round"
27+
strokeWidth="1.5"
28+
/>
29+
<circle
30+
cx="5.25"
31+
cy="7.75"
32+
fill="currentColor"
33+
r="1.25"
34+
stroke="none"
35+
/>
36+
</g>
37+
</svg>
38+
);
39+
}

packages/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@dub/utils",
33
"description": "Utility functions and constants for Dub.co",
4-
"version": "0.1.8",
4+
"version": "0.1.9",
55
"sideEffects": false,
66
"main": "./dist/index.mjs",
77
"module": "./dist/index.mjs",

0 commit comments

Comments
 (0)