@startinblox/components-ds4go 3.1.3 → 3.1.4
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/{custom-getter-ZPFnoSjt-BCNOlbJZ-D7J_Ykt_.js → custom-getter-ZPFnoSjt-BCNOlbJZ-CHZXhUca.js} +1 -1
- package/dist/{index-aCtNDRnY.js → index-DQ-N8-vz.js} +25346 -25014
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/catalog/ds4go-customer-holder.ts +1 -1
- package/src/components/modal/customer-modal/ds4go-contract-modal-part.ts +240 -0
- package/src/components/modal/ds4go-customer-modal.ts +272 -26
- package/src/components/solid-customer-list.ts +9 -1
- package/src/styles/modal/customer-modal/ds4go-contract-modal-part.scss +105 -0
- package/src/styles/modal/ds4go-customer-modal.scss +2 -0
- package/src/styles/modal/ds4go-fact-bundle-modal.scss +2 -0
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
.contract-section {
|
|
2
|
+
background-color: var(--color-surface-secondary);
|
|
3
|
+
border: var(--border-width-sm) solid var(--color-border-secondary);
|
|
4
|
+
border-radius: var(--border-radius-md);
|
|
5
|
+
padding: var(--scale-500);
|
|
6
|
+
margin-bottom: var(--scale-400);
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
gap: var(--scale-400);
|
|
10
|
+
|
|
11
|
+
.contract-header {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
gap: var(--scale-200);
|
|
15
|
+
padding-bottom: var(--scale-300);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.contract-subsection {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
gap: var(--scale-300);
|
|
22
|
+
|
|
23
|
+
.collapsible-header {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
user-select: none;
|
|
29
|
+
padding: var(--scale-300) var(--scale-400);
|
|
30
|
+
border-radius: var(--border-radius-sm);
|
|
31
|
+
background-color: var(--color-surface-primary);
|
|
32
|
+
border: var(--border-width-sm) solid var(--color-border-secondary);
|
|
33
|
+
transition: all 0.2s ease;
|
|
34
|
+
|
|
35
|
+
&:hover {
|
|
36
|
+
background-color: var(--color-surface-tertiary);
|
|
37
|
+
border-color: var(--color-border-primary);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.chevron {
|
|
41
|
+
transition: transform 0.3s ease;
|
|
42
|
+
font-size: 1.5rem;
|
|
43
|
+
color: var(--color-text-secondary);
|
|
44
|
+
|
|
45
|
+
&.expanded {
|
|
46
|
+
transform: rotate(180deg);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.collapsible-content {
|
|
52
|
+
max-height: 0;
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
transition: max-height 0.3s ease, opacity 0.3s ease;
|
|
55
|
+
opacity: 0;
|
|
56
|
+
padding: 0 var(--scale-400);
|
|
57
|
+
|
|
58
|
+
&.expanded {
|
|
59
|
+
max-height: 2000px;
|
|
60
|
+
opacity: 1;
|
|
61
|
+
padding-top: var(--scale-300);
|
|
62
|
+
padding-bottom: var(--scale-300);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.assets-list {
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-direction: column;
|
|
68
|
+
gap: var(--scale-200);
|
|
69
|
+
|
|
70
|
+
.asset-item {
|
|
71
|
+
background-color: var(--color-surface-primary);
|
|
72
|
+
border: var(--border-width-sm) solid var(--color-border-primary);
|
|
73
|
+
border-radius: var(--border-radius-sm);
|
|
74
|
+
padding: var(--scale-300);
|
|
75
|
+
display: flex;
|
|
76
|
+
flex-direction: column;
|
|
77
|
+
gap: var(--scale-100);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.bundle-info {
|
|
82
|
+
background-color: var(--color-surface-primary);
|
|
83
|
+
border: var(--border-width-sm) solid var(--color-border-primary);
|
|
84
|
+
border-radius: var(--border-radius-sm);
|
|
85
|
+
padding: var(--scale-300);
|
|
86
|
+
margin-bottom: var(--scale-300);
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: column;
|
|
89
|
+
gap: var(--scale-200);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.facts-list {
|
|
93
|
+
display: flex;
|
|
94
|
+
flex-direction: row;
|
|
95
|
+
flex-wrap: wrap;
|
|
96
|
+
gap: 20px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.facts-list ds4go-card-catalog {
|
|
100
|
+
width: 354px;
|
|
101
|
+
height: auto;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|