@ttoss/react-billing 0.6.0 → 0.6.2
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/index.cjs +3 -4
- package/dist/index.mjs +1 -2
- package/package.json +11 -7
package/dist/index.cjs
CHANGED
|
@@ -34,8 +34,7 @@ let react_jsx_runtime = require("react/jsx-runtime");
|
|
|
34
34
|
let _ttoss_react_icons = require("@ttoss/react-icons");
|
|
35
35
|
let react = require("react");
|
|
36
36
|
react = __toESM(react);
|
|
37
|
-
let
|
|
38
|
-
let _ttoss_components_MetricCard = require("@ttoss/components/MetricCard");
|
|
37
|
+
let _ttoss_components = require("@ttoss/components");
|
|
39
38
|
|
|
40
39
|
//#region src/components/planCard/PlanCardCtaSlot.tsx
|
|
41
40
|
var PlanCardCtaSlot = ({
|
|
@@ -676,7 +675,7 @@ var renderMetricCard = params => {
|
|
|
676
675
|
index,
|
|
677
676
|
isLoading
|
|
678
677
|
} = params;
|
|
679
|
-
return /* @__PURE__ */(0, react_jsx_runtime.jsx)(
|
|
678
|
+
return /* @__PURE__ */(0, react_jsx_runtime.jsx)(_ttoss_components.MetricCard, {
|
|
680
679
|
metric,
|
|
681
680
|
isLoading
|
|
682
681
|
}, index);
|
|
@@ -768,7 +767,7 @@ var SubscriptionPanel = ({
|
|
|
768
767
|
borderBottom: "sm",
|
|
769
768
|
borderBottomColor: "display.border.muted.default"
|
|
770
769
|
},
|
|
771
|
-
children: [/* @__PURE__ */(0, react_jsx_runtime.jsx)(
|
|
770
|
+
children: [/* @__PURE__ */(0, react_jsx_runtime.jsx)(_ttoss_components.EnhancedTitle, {
|
|
772
771
|
variant,
|
|
773
772
|
icon,
|
|
774
773
|
title: planName,
|
package/dist/index.mjs
CHANGED
|
@@ -3,8 +3,7 @@ import { Box, Button, Card, Flex, Heading, SegmentedControl, Spinner, Stack, Tex
|
|
|
3
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { Icon } from "@ttoss/react-icons";
|
|
5
5
|
import * as React from "react";
|
|
6
|
-
import { EnhancedTitle } from "@ttoss/components
|
|
7
|
-
import { MetricCard } from "@ttoss/components/MetricCard";
|
|
6
|
+
import { EnhancedTitle, MetricCard } from "@ttoss/components";
|
|
8
7
|
|
|
9
8
|
//#region src/components/planCard/PlanCardCtaSlot.tsx
|
|
10
9
|
var PlanCardCtaSlot = ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/react-billing",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Billing UI components for React apps.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"React",
|
|
@@ -18,6 +18,9 @@
|
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|
|
20
20
|
"types": "./dist/index.d.mts",
|
|
21
|
+
"module": "./dist/index.mjs",
|
|
22
|
+
"browser": "./dist/index.mjs",
|
|
23
|
+
"import": "./dist/index.mjs",
|
|
21
24
|
"default": "./dist/index.mjs"
|
|
22
25
|
}
|
|
23
26
|
},
|
|
@@ -25,9 +28,8 @@
|
|
|
25
28
|
"dist"
|
|
26
29
|
],
|
|
27
30
|
"dependencies": {
|
|
28
|
-
"@ttoss/
|
|
29
|
-
"@ttoss/ui": "^6.9.
|
|
30
|
-
"@ttoss/react-icons": "^0.7.18"
|
|
31
|
+
"@ttoss/react-icons": "^0.7.20",
|
|
32
|
+
"@ttoss/ui": "^6.9.26"
|
|
31
33
|
},
|
|
32
34
|
"devDependencies": {
|
|
33
35
|
"@jest/globals": "^29.7.0",
|
|
@@ -35,11 +37,13 @@
|
|
|
35
37
|
"jest": "^30.4.2",
|
|
36
38
|
"react": "^19.2.6",
|
|
37
39
|
"tsdown": "^0.22.2",
|
|
38
|
-
"@ttoss/
|
|
39
|
-
"@ttoss/config": "^1.37.16"
|
|
40
|
+
"@ttoss/components": "^2.14.27",
|
|
41
|
+
"@ttoss/config": "^1.37.16",
|
|
42
|
+
"@ttoss/test-utils": "^4.2.17"
|
|
40
43
|
},
|
|
41
44
|
"peerDependencies": {
|
|
42
|
-
"react": ">=16.8.0"
|
|
45
|
+
"react": ">=16.8.0",
|
|
46
|
+
"@ttoss/components": "^2.14.27"
|
|
43
47
|
},
|
|
44
48
|
"publishConfig": {
|
|
45
49
|
"access": "public",
|