@ttoss/react-billing 0.5.17 → 0.6.1

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 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 _ttoss_components_EnhancedTitle = require("@ttoss/components/EnhancedTitle");
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 = ({
@@ -628,7 +627,9 @@ var SubscriptionPanelActionsSlot = ({
628
627
  sx: {
629
628
  gap: "3",
630
629
  flexDirection: ["column", "row"],
630
+ flexWrap: "wrap",
631
631
  flexShrink: 0,
632
+ maxWidth: ["100%", "100%", "50%"],
632
633
  paddingX: "6",
633
634
  paddingBottom: "6"
634
635
  },
@@ -674,7 +675,7 @@ var renderMetricCard = params => {
674
675
  index,
675
676
  isLoading
676
677
  } = params;
677
- return /* @__PURE__ */(0, react_jsx_runtime.jsx)(_ttoss_components_MetricCard.MetricCard, {
678
+ return /* @__PURE__ */(0, react_jsx_runtime.jsx)(_ttoss_components.MetricCard, {
678
679
  metric,
679
680
  isLoading
680
681
  }, index);
@@ -766,7 +767,7 @@ var SubscriptionPanel = ({
766
767
  borderBottom: "sm",
767
768
  borderBottomColor: "display.border.muted.default"
768
769
  },
769
- children: [/* @__PURE__ */(0, react_jsx_runtime.jsx)(_ttoss_components_EnhancedTitle.EnhancedTitle, {
770
+ children: [/* @__PURE__ */(0, react_jsx_runtime.jsx)(_ttoss_components.EnhancedTitle, {
770
771
  variant,
771
772
  icon,
772
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/EnhancedTitle";
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 = ({
@@ -597,7 +596,9 @@ var SubscriptionPanelActionsSlot = ({
597
596
  sx: {
598
597
  gap: "3",
599
598
  flexDirection: ["column", "row"],
599
+ flexWrap: "wrap",
600
600
  flexShrink: 0,
601
+ maxWidth: ["100%", "100%", "50%"],
601
602
  paddingX: "6",
602
603
  paddingBottom: "6"
603
604
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/react-billing",
3
- "version": "0.5.17",
3
+ "version": "0.6.1",
4
4
  "description": "Billing UI components for React apps.",
5
5
  "keywords": [
6
6
  "React",
@@ -25,9 +25,9 @@
25
25
  "dist"
26
26
  ],
27
27
  "dependencies": {
28
- "@ttoss/components": "^2.14.25",
29
- "@ttoss/react-icons": "^0.7.18",
30
- "@ttoss/ui": "^6.9.24"
28
+ "@ttoss/components": "^2.14.26",
29
+ "@ttoss/react-icons": "^0.7.19",
30
+ "@ttoss/ui": "^6.9.25"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@jest/globals": "^29.7.0",
@@ -35,8 +35,8 @@
35
35
  "jest": "^30.4.2",
36
36
  "react": "^19.2.6",
37
37
  "tsdown": "^0.22.2",
38
- "@ttoss/test-utils": "^4.2.16",
39
- "@ttoss/config": "^1.37.16"
38
+ "@ttoss/config": "^1.37.16",
39
+ "@ttoss/test-utils": "^4.2.17"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "react": ">=16.8.0"