@xetwa/design-system 1.0.18 → 1.0.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xetwa/design-system",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -30,6 +30,8 @@ export interface PlanCardProps {
30
30
  isPopular?: boolean;
31
31
  /** Texto customizado para o badge (ex: "POUPA 40%") */
32
32
  badgeText?: string;
33
+ /** Define se o plano está selecionado */
34
+ isSelected?: boolean;
33
35
  /** Estilização customizada do container. */
34
36
  style?: ViewStyle | ViewStyle[];
35
37
  /** Variante de layout do cartão (completo ou miniatura). */
@@ -46,6 +48,7 @@ export const PlanCard = ({
46
48
  excludedItems = [],
47
49
  isPopular = false,
48
50
  badgeText,
51
+ isSelected = false,
49
52
  style,
50
53
  variant = 'default',
51
54
  }: PlanCardProps) => {
@@ -141,6 +144,7 @@ export const PlanCard = ({
141
144
  paddingHorizontal={config.paddingHorizontal}
142
145
  shadow={config.shadow}
143
146
  overflow={config.overflow}
147
+ isSelected={isSelected}
144
148
  style={[
145
149
  config.flatShadow ? styles.fluentFlatShadow : null,
146
150
  config.customShadow ? config.customShadow : null,