rbro-tat-uds 2.2.16 → 2.2.18
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/build/cjs/assets/icons/docs.svg.cjs +41 -0
- package/build/cjs/assets/icons/tractor.svg.cjs +37 -0
- package/build/cjs/components/Accordion/Accordion.cjs +1 -1
- package/build/cjs/components/Button/Button.cjs +2 -0
- package/build/cjs/components/ConfigurationStickyBar/ConfigurationStickyBar.cjs +66 -0
- package/build/cjs/components/ConfigurationStickyBar/index.cjs +12 -0
- package/build/cjs/components/Content/Content.cjs +9 -1
- package/build/cjs/components/Flex/Flex.cjs +60 -56
- package/build/cjs/components/Icon/IconsList.cjs +5 -1
- package/build/cjs/components/IconButton/IconButton.cjs +2 -0
- package/build/cjs/components/PageMessage/PageMessage.cjs +2 -0
- package/build/cjs/components/PropunereAsigurareLocuinta/PropunereAsigurareLocuinta.cjs +145 -194
- package/build/cjs/components/TextInput/TextInput.cjs +2 -0
- package/build/cjs/components/index.cjs +2 -0
- package/build/cjs/index.cjs +979 -930
- package/build/esm/assets/icons/docs.svg.js +20 -0
- package/build/esm/assets/icons/tractor.svg.js +16 -0
- package/build/esm/components/Accordion/Accordion.js +1 -1
- package/build/esm/components/Button/Button.js +2 -0
- package/build/esm/components/ConfigurationStickyBar/ConfigurationStickyBar.js +62 -0
- package/build/esm/components/ConfigurationStickyBar/index.js +8 -0
- package/build/esm/components/Content/Content.js +9 -1
- package/build/esm/components/Flex/Flex.js +60 -56
- package/build/esm/components/Icon/IconsList.js +5 -1
- package/build/esm/components/IconButton/IconButton.js +2 -0
- package/build/esm/components/PageMessage/PageMessage.js +2 -0
- package/build/esm/components/PropunereAsigurareLocuinta/PropunereAsigurareLocuinta.js +144 -193
- package/build/esm/components/TextInput/TextInput.js +2 -0
- package/build/esm/components/index.js +1 -0
- package/build/esm/index.js +979 -931
- package/build/types/components/ConfigurationStickyBar/ConfigurationStickyBar.d.ts +11 -0
- package/build/types/components/ConfigurationStickyBar/index.d.ts +6 -0
- package/build/types/components/Flex/Flex.d.ts +1 -1
- package/build/types/components/Icon/Icon.types.d.ts +1 -1
- package/build/types/components/Icon/IconsList.d.ts +2 -0
- package/build/types/components/PropunereAsigurareLocuinta/PropunereAsigurareLocuinta.d.ts +3 -7
- package/build/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
var _path, _path2, _path3;
|
|
4
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
5
|
+
var SvgDocs = function SvgDocs(props) {
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
viewBox: "0 0 24 24"
|
|
9
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
10
|
+
d: "M3 1a1 1 0 0 0-1 1v16h2V3h13V1z"
|
|
11
|
+
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
12
|
+
d: "M10 9h8v2h-8z"
|
|
13
|
+
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
|
|
14
|
+
fillRule: "evenodd",
|
|
15
|
+
d: "M7 5a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1zm1 16V7h12v14z",
|
|
16
|
+
clipRule: "evenodd"
|
|
17
|
+
})));
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export { SvgDocs as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
var _path;
|
|
4
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
5
|
+
var SvgTractor = function SvgTractor(props) {
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
viewBox: "0 0 24 24"
|
|
9
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
10
|
+
fillRule: "evenodd",
|
|
11
|
+
d: "M12 4a1 1 0 0 0-.928.629L9.323 9H7V6h1V4H4v2h1v3H4a1 1 0 0 0-1 1v5.05A3.5 3.5 0 1 0 8.663 19H13a5 5 0 1 0 8-6V5a1 1 0 0 0-1-1zM5 14.035V11h5a1 1 0 0 0 .928-.629L12.678 6H19v5.416A5 5 0 0 0 12.1 17H8.965A3.5 3.5 0 0 0 5 14.035M14 16a3 3 0 1 1 6 0 3 3 0 0 1-6 0M4 17.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0m13-.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2",
|
|
12
|
+
clipRule: "evenodd"
|
|
13
|
+
})));
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { SvgTractor as default };
|
|
@@ -151,6 +151,8 @@ import '../../assets/icons/house-wap.svg.js';
|
|
|
151
151
|
import '../../assets/icons/bulb.svg.js';
|
|
152
152
|
import '../../assets/icons/face-neutral.svg.js';
|
|
153
153
|
import '../../assets/icons/face-sad.svg.js';
|
|
154
|
+
import '../../assets/icons/docs.svg.js';
|
|
155
|
+
import '../../assets/icons/tractor.svg.js';
|
|
154
156
|
import Icon from '../Icon/Icon.js';
|
|
155
157
|
import Spinner from '../Spinner/Spinner.js';
|
|
156
158
|
import { colors } from '../../utils';
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
"use client";
|
|
3
|
+
|
|
4
|
+
import { jsx } from 'react/jsx-runtime';
|
|
5
|
+
import { useState, useEffect } from 'react';
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
import { colors } from '../../utils';
|
|
8
|
+
|
|
9
|
+
const ConfigurationStickyBarStyled = styled.div`
|
|
10
|
+
position: fixed;
|
|
11
|
+
width: 100%;
|
|
12
|
+
left: 0;
|
|
13
|
+
bottom: 0;
|
|
14
|
+
z-index: 9999;
|
|
15
|
+
padding-left: 110px;
|
|
16
|
+
display: ${({ $visible }) => $visible ? "flex" : "none"};
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
|
|
21
|
+
& > div {
|
|
22
|
+
width: 100%;
|
|
23
|
+
padding: 0px 32px;
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
max-width: 1220px;
|
|
28
|
+
|
|
29
|
+
& > div {
|
|
30
|
+
width: 100%;
|
|
31
|
+
border-top: 1px solid ${colors.gray_300};
|
|
32
|
+
border-left: 1px solid ${colors.gray_300};
|
|
33
|
+
border-right: 1px solid ${colors.gray_300};
|
|
34
|
+
background-color: ${colors.white};
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
`;
|
|
38
|
+
const ConfigurationStickyBar = ({
|
|
39
|
+
referenceContent,
|
|
40
|
+
children,
|
|
41
|
+
threshold = 0.6,
|
|
42
|
+
...rest
|
|
43
|
+
}) => {
|
|
44
|
+
const [isVisible, setIsVisible] = useState(false);
|
|
45
|
+
useEffect(() => {
|
|
46
|
+
if (!referenceContent?.current) return;
|
|
47
|
+
const observer = new IntersectionObserver(
|
|
48
|
+
([entry]) => {
|
|
49
|
+
setIsVisible(entry.intersectionRatio < threshold);
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
threshold: [threshold],
|
|
53
|
+
root: null
|
|
54
|
+
}
|
|
55
|
+
);
|
|
56
|
+
observer.observe(referenceContent.current);
|
|
57
|
+
return () => observer.disconnect();
|
|
58
|
+
}, [referenceContent, threshold]);
|
|
59
|
+
return /* @__PURE__ */ jsx(ConfigurationStickyBarStyled, { $visible: isVisible, ...rest, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("div", { children }) }) });
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
export { ConfigurationStickyBar as default };
|
|
@@ -29,7 +29,15 @@ const Content = ({
|
|
|
29
29
|
gap = 32,
|
|
30
30
|
...rest
|
|
31
31
|
}) => {
|
|
32
|
-
return /* @__PURE__ */ jsx(StyledContentOutside, { ...rest, children: /* @__PURE__ */ jsx(
|
|
32
|
+
return /* @__PURE__ */ jsx(StyledContentOutside, { ...rest, children: /* @__PURE__ */ jsx(
|
|
33
|
+
StyledContentInside,
|
|
34
|
+
{
|
|
35
|
+
className: "uds-inner-content-component",
|
|
36
|
+
$padding: padding,
|
|
37
|
+
$gap: gap,
|
|
38
|
+
children
|
|
39
|
+
}
|
|
40
|
+
) });
|
|
33
41
|
};
|
|
34
42
|
|
|
35
43
|
export { Content as default };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
|
-
import 'react';
|
|
5
|
+
import React__default from 'react';
|
|
6
6
|
import styled, { css } from 'styled-components';
|
|
7
7
|
import { colors } from '../../utils';
|
|
8
8
|
|
|
@@ -65,60 +65,64 @@ const StyledFlex = styled.div`
|
|
|
65
65
|
${props.$css}
|
|
66
66
|
`}
|
|
67
67
|
`;
|
|
68
|
-
const Flex = (
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
}
|
|
68
|
+
const Flex = React__default.forwardRef(
|
|
69
|
+
({
|
|
70
|
+
children,
|
|
71
|
+
element = "div",
|
|
72
|
+
width,
|
|
73
|
+
height,
|
|
74
|
+
background,
|
|
75
|
+
gap,
|
|
76
|
+
direction,
|
|
77
|
+
wrap,
|
|
78
|
+
grow,
|
|
79
|
+
shrink,
|
|
80
|
+
basis,
|
|
81
|
+
justify,
|
|
82
|
+
items,
|
|
83
|
+
content,
|
|
84
|
+
padding,
|
|
85
|
+
margin,
|
|
86
|
+
radius,
|
|
87
|
+
border,
|
|
88
|
+
css: css2,
|
|
89
|
+
...rest
|
|
90
|
+
}, ref) => {
|
|
91
|
+
const limitedAs = {
|
|
92
|
+
div: "div",
|
|
93
|
+
main: "main",
|
|
94
|
+
article: "article",
|
|
95
|
+
p: "p",
|
|
96
|
+
span: "span"
|
|
97
|
+
};
|
|
98
|
+
return /* @__PURE__ */ jsx(
|
|
99
|
+
StyledFlex,
|
|
100
|
+
{
|
|
101
|
+
ref,
|
|
102
|
+
$width: width,
|
|
103
|
+
$height: height,
|
|
104
|
+
$background: background,
|
|
105
|
+
$gap: gap,
|
|
106
|
+
$wrap: wrap,
|
|
107
|
+
$grow: grow,
|
|
108
|
+
$shrink: shrink,
|
|
109
|
+
$basis: basis,
|
|
110
|
+
$justify: justify,
|
|
111
|
+
$items: items,
|
|
112
|
+
$content: content,
|
|
113
|
+
$padding: padding,
|
|
114
|
+
$margin: margin,
|
|
115
|
+
$radius: radius,
|
|
116
|
+
$border: border,
|
|
117
|
+
$css: css2,
|
|
118
|
+
$direction: direction,
|
|
119
|
+
as: limitedAs[element],
|
|
120
|
+
...rest,
|
|
121
|
+
children
|
|
122
|
+
}
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
);
|
|
126
|
+
Flex.displayName = "Flex";
|
|
123
127
|
|
|
124
128
|
export { Flex as default };
|
|
@@ -148,6 +148,8 @@ import HouseWapIcon from '../../assets/icons/house-wap.svg.js';
|
|
|
148
148
|
import BulbIcon from '../../assets/icons/bulb.svg.js';
|
|
149
149
|
import FaceNeutralIcon from '../../assets/icons/face-neutral.svg.js';
|
|
150
150
|
import FaceSadIcon from '../../assets/icons/face-sad.svg.js';
|
|
151
|
+
import DocsIcon from '../../assets/icons/docs.svg.js';
|
|
152
|
+
import TractorIcon from '../../assets/icons/tractor.svg.js';
|
|
151
153
|
|
|
152
154
|
const IconsList = {
|
|
153
155
|
asterix: AsterixIcon,
|
|
@@ -296,7 +298,9 @@ const IconsList = {
|
|
|
296
298
|
"house-wap": HouseWapIcon,
|
|
297
299
|
bulb: BulbIcon,
|
|
298
300
|
"face-neutral": FaceNeutralIcon,
|
|
299
|
-
"face-sad": FaceSadIcon
|
|
301
|
+
"face-sad": FaceSadIcon,
|
|
302
|
+
docs: DocsIcon,
|
|
303
|
+
tractor: TractorIcon
|
|
300
304
|
};
|
|
301
305
|
|
|
302
306
|
export { IconsList as default };
|
|
@@ -150,6 +150,8 @@ import '../../assets/icons/house-wap.svg.js';
|
|
|
150
150
|
import '../../assets/icons/bulb.svg.js';
|
|
151
151
|
import '../../assets/icons/face-neutral.svg.js';
|
|
152
152
|
import '../../assets/icons/face-sad.svg.js';
|
|
153
|
+
import '../../assets/icons/docs.svg.js';
|
|
154
|
+
import '../../assets/icons/tractor.svg.js';
|
|
153
155
|
import styled, { css } from 'styled-components';
|
|
154
156
|
import Icon from '../Icon/Icon.js';
|
|
155
157
|
import Spinner from '../Spinner/Spinner.js';
|
|
@@ -150,6 +150,8 @@ import '../../assets/icons/house-wap.svg.js';
|
|
|
150
150
|
import '../../assets/icons/bulb.svg.js';
|
|
151
151
|
import '../../assets/icons/face-neutral.svg.js';
|
|
152
152
|
import '../../assets/icons/face-sad.svg.js';
|
|
153
|
+
import '../../assets/icons/docs.svg.js';
|
|
154
|
+
import '../../assets/icons/tractor.svg.js';
|
|
153
155
|
import styled from 'styled-components';
|
|
154
156
|
import Icon from '../Icon/Icon.js';
|
|
155
157
|
import { colors } from '../../utils';
|