rbro-tat-uds 2.2.7 → 2.2.8

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.
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ "use client";
3
+
4
+ 'use strict';
5
+
6
+ Object.defineProperty(exports, '__esModule', { value: true });
7
+
8
+ var jsxRuntime = require('react/jsx-runtime');
9
+ require('react');
10
+ var styled = require('styled-components');
11
+ var utils = require('../../utils');
12
+ var AppBranding = require('../AppBranding/AppBranding.cjs');
13
+
14
+ const SelectionAppCardStyled = styled.div`
15
+ max-width: 182px;
16
+ width: 100%;
17
+ display: flex;
18
+ flex-direction: column;
19
+ gap: 4px;
20
+
21
+ & > div {
22
+ border: ${({ $selected }) => $selected ? `2px solid ${utils.colors.info_200}` : `1px solid ${utils.colors.gray_100}`};
23
+ background-color: ${({ $selected }) => $selected ? utils.colors.info_100 : utils.colors.white};
24
+ border-radius: 8px;
25
+ height: 124px;
26
+ width: 100%;
27
+ display: flex;
28
+ align-items: center;
29
+ justify-content: center;
30
+ cursor: pointer;
31
+ }
32
+
33
+ & > span {
34
+ font-size: 12px;
35
+ font-weight: 500;
36
+ color: ${utils.colors.info_600};
37
+ text-align: center;
38
+ }
39
+ `;
40
+ const SelectionAppCard = ({
41
+ text = "",
42
+ textColor = "gray_950",
43
+ bgColor = "gray_60",
44
+ selected = false,
45
+ ...props
46
+ }) => {
47
+ return /* @__PURE__ */ jsxRuntime.jsxs(SelectionAppCardStyled, { $selected: selected, ...props, children: [
48
+ /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(AppBranding.default, { text, textColor, bgColor }) }),
49
+ selected && /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Aplicatia curenta" })
50
+ ] });
51
+ };
52
+
53
+ exports.default = SelectionAppCard;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ "use client";
3
+
4
+ 'use strict';
5
+
6
+ Object.defineProperty(exports, '__esModule', { value: true });
7
+
8
+ var SelectionAppCard = require('./SelectionAppCard.cjs');
9
+
10
+
11
+
12
+ exports.default = SelectionAppCard.default;
@@ -90,6 +90,7 @@ var VerticalHeat = require('./VerticalHeat/VerticalHeat.cjs');
90
90
  var Icon = require('./Icon/Icon.cjs');
91
91
  var Spinner = require('./Spinner/Spinner.cjs');
92
92
  var GraficContributieUnitlinked = require('./GraficContributieUnitlinked/GraficContributieUnitlinked.cjs');
93
+ var SelectionAppCard = require('./SelectionAppCard/SelectionAppCard.cjs');
93
94
 
94
95
 
95
96
 
@@ -180,3 +181,4 @@ exports.VerticalHeat = VerticalHeat.default;
180
181
  exports.Icon = Icon.default;
181
182
  exports.Spinner = Spinner.default;
182
183
  exports.GraficContributieUnitlinked = GraficContributieUnitlinked.default;
184
+ exports.SelectionAppCard = SelectionAppCard.default;
@@ -26477,6 +26477,45 @@ const VerticalHeat = ({
26477
26477
  ] });
26478
26478
  };
26479
26479
 
26480
+ const SelectionAppCardStyled = styled__default.default.div`
26481
+ max-width: 182px;
26482
+ width: 100%;
26483
+ display: flex;
26484
+ flex-direction: column;
26485
+ gap: 4px;
26486
+
26487
+ & > div {
26488
+ border: ${({ $selected }) => $selected ? `2px solid ${utils.colors.info_200}` : `1px solid ${utils.colors.gray_100}`};
26489
+ background-color: ${({ $selected }) => $selected ? utils.colors.info_100 : utils.colors.white};
26490
+ border-radius: 8px;
26491
+ height: 124px;
26492
+ width: 100%;
26493
+ display: flex;
26494
+ align-items: center;
26495
+ justify-content: center;
26496
+ cursor: pointer;
26497
+ }
26498
+
26499
+ & > span {
26500
+ font-size: 12px;
26501
+ font-weight: 500;
26502
+ color: ${utils.colors.info_600};
26503
+ text-align: center;
26504
+ }
26505
+ `;
26506
+ const SelectionAppCard = ({
26507
+ text = "",
26508
+ textColor = "gray_950",
26509
+ bgColor = "gray_60",
26510
+ selected = false,
26511
+ ...props
26512
+ }) => {
26513
+ return /* @__PURE__ */ jsxRuntime.jsxs(SelectionAppCardStyled, { $selected: selected, ...props, children: [
26514
+ /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(AppBranding, { text, textColor, bgColor }) }),
26515
+ selected && /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Aplicatia curenta" })
26516
+ ] });
26517
+ };
26518
+
26480
26519
  exports.Alert = Alert;
26481
26520
  exports.AppBranding = AppBranding;
26482
26521
  exports.AutosaveStatus = AutosaveStatus;
@@ -26546,6 +26585,7 @@ exports.Radio = Radio;
26546
26585
  exports.RatesCalculator = RatesCalculator;
26547
26586
  exports.Section = Section;
26548
26587
  exports.SegmentedTabs = SegmentedTabs;
26588
+ exports.SelectionAppCard = SelectionAppCard;
26549
26589
  exports.SelectionButton = SelectionButton;
26550
26590
  exports.SelectionPill = SelectionPill;
26551
26591
  exports.ShortcutCard = ShortcutCard;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ "use client";
3
+
4
+ import { jsxs, jsx } from 'react/jsx-runtime';
5
+ import 'react';
6
+ import styled from 'styled-components';
7
+ import { colors } from '../../utils';
8
+ import AppBranding from '../AppBranding/AppBranding.js';
9
+
10
+ const SelectionAppCardStyled = styled.div`
11
+ max-width: 182px;
12
+ width: 100%;
13
+ display: flex;
14
+ flex-direction: column;
15
+ gap: 4px;
16
+
17
+ & > div {
18
+ border: ${({ $selected }) => $selected ? `2px solid ${colors.info_200}` : `1px solid ${colors.gray_100}`};
19
+ background-color: ${({ $selected }) => $selected ? colors.info_100 : colors.white};
20
+ border-radius: 8px;
21
+ height: 124px;
22
+ width: 100%;
23
+ display: flex;
24
+ align-items: center;
25
+ justify-content: center;
26
+ cursor: pointer;
27
+ }
28
+
29
+ & > span {
30
+ font-size: 12px;
31
+ font-weight: 500;
32
+ color: ${colors.info_600};
33
+ text-align: center;
34
+ }
35
+ `;
36
+ const SelectionAppCard = ({
37
+ text = "",
38
+ textColor = "gray_950",
39
+ bgColor = "gray_60",
40
+ selected = false,
41
+ ...props
42
+ }) => {
43
+ return /* @__PURE__ */ jsxs(SelectionAppCardStyled, { $selected: selected, ...props, children: [
44
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(AppBranding, { text, textColor, bgColor }) }),
45
+ selected && /* @__PURE__ */ jsx("span", { children: "Aplicatia curenta" })
46
+ ] });
47
+ };
48
+
49
+ export { SelectionAppCard as default };
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ "use client";
3
+
4
+ import SelectionAppCard from './SelectionAppCard.js';
5
+
6
+
7
+
8
+ export { SelectionAppCard as default };
@@ -88,3 +88,4 @@ export { default as VerticalHeat } from './VerticalHeat/VerticalHeat.js';
88
88
  export { default as Icon } from './Icon/Icon.js';
89
89
  export { default as Spinner } from './Spinner/Spinner.js';
90
90
  export { default as GraficContributieUnitlinked } from './GraficContributieUnitlinked/GraficContributieUnitlinked.js';
91
+ export { default as SelectionAppCard } from './SelectionAppCard/SelectionAppCard.js';
@@ -26454,4 +26454,43 @@ const VerticalHeat = ({
26454
26454
  ] });
26455
26455
  };
26456
26456
 
26457
- export { Alert, AppBranding, AutosaveStatus, Bar, BreadcrumbItem, Breadcrumbs, Button, ButtonLink, Card, Checkbox, CityPicker, ConfigurationSaveInfo, Container, Content, ContentDropdown, CreditCard, DashboardCard, DashboardCategory, DashboardSmallShortcut, Datepicker, Divider, DonutGraph, Dropdown, Flex, FormField, GraficConfiguratiePensii, GraficContributieUnitlinked, GraficFondInvestitii, GraficFondInvestitiiInflatie, GraficPensii, GraficPlanInvestitii, GraficPropunerePensii, Icon$1 as Icon, IconButton, IconCard, Illustration, ImageCard, InPageTab, InvestmentFundItem, LabeledText, LabeledTextInLine, Layout, Logo, Modal, ObjectiveCard, ObjectiveCardSmall, OfferCard, OperationsDashboardCard, OperationsDashboardCategory, PageMessage, PageTitle, Pill, PlanFinanciarAUMBar, PlanFinanciarAUMGraph, PlanulFinanciarTeaser, ProductTeaser, ProductTeaserButton, ProductTeaserParameters, ProductTeaserStep, ProposalPensii, ProposalUnitlinked, PropunereAsigurariCalatorie, PropunereFlexicredit, PropunereFondInvestitii, PropunuerePlanInvestitii as PropunerePlanInvestitii, Radio, RatesCalculator, Section, SegmentedTabs, SelectionButton, SelectionPill, ShortcutCard, Sidebar, SidebarItem, Slider, Spinner, StepTab, StepsBar, Switch, Tab, TextInput, TimedButton, TimelineSteps, TimelineStepsItem, Timer, UnitLinkGraph as UnitlinkGraph, VerticalHeat };
26457
+ const SelectionAppCardStyled = styled.div`
26458
+ max-width: 182px;
26459
+ width: 100%;
26460
+ display: flex;
26461
+ flex-direction: column;
26462
+ gap: 4px;
26463
+
26464
+ & > div {
26465
+ border: ${({ $selected }) => $selected ? `2px solid ${colors.info_200}` : `1px solid ${colors.gray_100}`};
26466
+ background-color: ${({ $selected }) => $selected ? colors.info_100 : colors.white};
26467
+ border-radius: 8px;
26468
+ height: 124px;
26469
+ width: 100%;
26470
+ display: flex;
26471
+ align-items: center;
26472
+ justify-content: center;
26473
+ cursor: pointer;
26474
+ }
26475
+
26476
+ & > span {
26477
+ font-size: 12px;
26478
+ font-weight: 500;
26479
+ color: ${colors.info_600};
26480
+ text-align: center;
26481
+ }
26482
+ `;
26483
+ const SelectionAppCard = ({
26484
+ text = "",
26485
+ textColor = "gray_950",
26486
+ bgColor = "gray_60",
26487
+ selected = false,
26488
+ ...props
26489
+ }) => {
26490
+ return /* @__PURE__ */ jsxs(SelectionAppCardStyled, { $selected: selected, ...props, children: [
26491
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(AppBranding, { text, textColor, bgColor }) }),
26492
+ selected && /* @__PURE__ */ jsx("span", { children: "Aplicatia curenta" })
26493
+ ] });
26494
+ };
26495
+
26496
+ export { Alert, AppBranding, AutosaveStatus, Bar, BreadcrumbItem, Breadcrumbs, Button, ButtonLink, Card, Checkbox, CityPicker, ConfigurationSaveInfo, Container, Content, ContentDropdown, CreditCard, DashboardCard, DashboardCategory, DashboardSmallShortcut, Datepicker, Divider, DonutGraph, Dropdown, Flex, FormField, GraficConfiguratiePensii, GraficContributieUnitlinked, GraficFondInvestitii, GraficFondInvestitiiInflatie, GraficPensii, GraficPlanInvestitii, GraficPropunerePensii, Icon$1 as Icon, IconButton, IconCard, Illustration, ImageCard, InPageTab, InvestmentFundItem, LabeledText, LabeledTextInLine, Layout, Logo, Modal, ObjectiveCard, ObjectiveCardSmall, OfferCard, OperationsDashboardCard, OperationsDashboardCategory, PageMessage, PageTitle, Pill, PlanFinanciarAUMBar, PlanFinanciarAUMGraph, PlanulFinanciarTeaser, ProductTeaser, ProductTeaserButton, ProductTeaserParameters, ProductTeaserStep, ProposalPensii, ProposalUnitlinked, PropunereAsigurariCalatorie, PropunereFlexicredit, PropunereFondInvestitii, PropunuerePlanInvestitii as PropunerePlanInvestitii, Radio, RatesCalculator, Section, SegmentedTabs, SelectionAppCard, SelectionButton, SelectionPill, ShortcutCard, Sidebar, SidebarItem, Slider, Spinner, StepTab, StepsBar, Switch, Tab, TextInput, TimedButton, TimelineSteps, TimelineStepsItem, Timer, UnitLinkGraph as UnitlinkGraph, VerticalHeat };
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { colors } from '../../utils/colors.js';
3
+
4
+ interface SelectionAppCardProps extends React.HTMLAttributes<HTMLDivElement> {
5
+ text?: string;
6
+ textColor?: keyof typeof colors;
7
+ bgColor?: keyof typeof colors;
8
+ selected?: boolean;
9
+ }
10
+ declare const SelectionAppCard: React.FC<SelectionAppCardProps>;
11
+
12
+ export { SelectionAppCard as default };
13
+ export type { SelectionAppCardProps };
@@ -0,0 +1,6 @@
1
+ import SelectionAppCard from './SelectionAppCard.js';
2
+ export { SelectionAppCardProps } from './SelectionAppCard.js';
3
+
4
+
5
+
6
+ export { SelectionAppCard as default };
@@ -86,3 +86,4 @@ export { default as VerticalHeat, VerticalHeatProps } from './components/Vertica
86
86
  export { default as Logo, LogoProps } from './components/Logo/Logo.js';
87
87
  export { default as Icon } from './components/Icon/Icon.js';
88
88
  export { default as Spinner } from './components/Spinner/Spinner.js';
89
+ export { default as SelectionAppCard, SelectionAppCardProps } from './components/SelectionAppCard/SelectionAppCard.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rbro-tat-uds",
3
- "version": "2.2.7",
3
+ "version": "2.2.8",
4
4
  "type": "module",
5
5
  "main": "build/cjs/index.cjs",
6
6
  "module": "build/esm/index.js",