optimized-react-component-library-xyz123 1.1.7 → 1.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optimized-react-component-library-xyz123",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "A modern React component library using TypeScript with React 19 support.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -13,14 +13,16 @@
13
13
  "./css/darkMode.css": "./src/css/darkMode.css",
14
14
  "./css/mobileView.css": "./src/css/mobileView.css",
15
15
  "./css/styles.css": "./src/css/styles.css",
16
- "./css/questions.css": "./src/css/questions.css"
16
+ "./css/questions.css": "./src/css/questions.css",
17
+ "./css/FooterStandard.css": "./src/css/FooterStandard.css"
17
18
  },
18
19
  "files": [
19
20
  "dist",
20
21
  "src/css/darkMode.css",
21
22
  "src/css/mobileView.css",
22
23
  "src/css/styles.css",
23
- "src/css/questions.css"
24
+ "src/css/questions.css",
25
+ "src/css/FooterStandard.css"
24
26
  ],
25
27
  "scripts": {
26
28
  "build": "tsup",
@@ -83,7 +85,6 @@
83
85
  "date-fns": "^4.1.0",
84
86
  "dompurify": "^3.2.6",
85
87
  "react-bootstrap": "^2.10.10",
86
- "react-dropzone": "^14.3.8",
87
- "react-router-dom": "^7.13.0"
88
+ "react-dropzone": "^14.3.8"
88
89
  }
89
90
  }
@@ -0,0 +1,169 @@
1
+ .pts-footer-container {
2
+ align-items: center;
3
+ width: 100%;
4
+ background-color: var(--background-second);
5
+ }
6
+
7
+ .pts-footer-slogan-text-container {
8
+ display: flex;
9
+ align-items: center;
10
+ justify-content: center;
11
+ background-color: var(--background-third);
12
+ height: 50px;
13
+ padding: 0px;
14
+ }
15
+
16
+ .pts-footer-slogan-text {
17
+ color: var(--main);
18
+ line-height: 2.4rem;
19
+ font-size: 2rem;
20
+ text-box-trim: trim-both;
21
+ margin: 0;
22
+ }
23
+
24
+ .pts-footer-content {
25
+ display: flex;
26
+ align-items: center;
27
+ width: 100%;
28
+ min-height: 14rem;
29
+ padding: 0.1rem 0;
30
+ }
31
+
32
+ .pts-footer-logo {
33
+ width: 154.444px;
34
+ height: 40px;
35
+ padding-left: 70px;
36
+ flex-shrink: 0;
37
+ position: relative;
38
+ }
39
+
40
+ .pts-footer-linkList {
41
+ flex: 1;
42
+ justify-content: center;
43
+ margin-left: -224px;
44
+ }
45
+
46
+ .pts-footer-linkList ul {
47
+ padding: 0;
48
+ padding-top: 15px;
49
+ margin: 0;
50
+ list-style: none;
51
+ display: flex;
52
+ justify-content: center;
53
+ line-height: 25px;
54
+ }
55
+
56
+ .pts-footer-linkList a {
57
+ color: var(--main);
58
+ text-underline-offset: 3px;
59
+ white-space: nowrap;
60
+ }
61
+
62
+ .pts-footer-linkList a span {
63
+ padding-left: 36px;
64
+ padding-right: 36px;
65
+ color: var(--main);
66
+ }
67
+
68
+ .pts-footer-container .pts-footer-linkList ul li:not(:last-child)::after {
69
+ content: '';
70
+ width: 1px;
71
+ height: 24px;
72
+ border: 0.5px solid;
73
+ color: var(--main);
74
+ position: absolute;
75
+ box-sizing: border-box;
76
+ }
77
+
78
+ /*--------------------FOOTER-----------------*/
79
+
80
+ @media (prefers-color-scheme: dark) {
81
+ .pts-footer-slogan-text-container {
82
+ background-color: var(--dark-background-third);
83
+ }
84
+ }
85
+
86
+ @media (max-width: 1085px) {
87
+ .pts-footer-content {
88
+ display: flex;
89
+ height: auto;
90
+ flex-direction: column;
91
+ text-align: left;
92
+ padding: 1.6rem;
93
+ width: 90%;
94
+ }
95
+
96
+ .pts-footer-logo {
97
+ position: static;
98
+ padding-left: 0;
99
+ margin-left: -8px;
100
+ margin-bottom: 1.6rem;
101
+ align-self: flex-start;
102
+ }
103
+
104
+ .pts-footer-linkList {
105
+ width: 100%;
106
+ margin-bottom: 8px;
107
+ margin-left: 0;
108
+ }
109
+
110
+ .pts-footer-linkList ul {
111
+ flex-direction: column;
112
+ gap: 1.6rem;
113
+ padding-top: 0;
114
+ }
115
+
116
+ .pts-footer-linkList a span {
117
+ padding: 0;
118
+ }
119
+
120
+ .pts-footer-container .pts-footer-linkList ul li:not(:last-child)::after {
121
+ display: none;
122
+ }
123
+
124
+ .pts-footer-slogan-text {
125
+ font-size: 1.6rem;
126
+ text-align: center;
127
+ }
128
+ }
129
+
130
+ @media (max-width: 750px) {
131
+ .pts-footer-slogan-text {
132
+ line-height: 2rem;
133
+ }
134
+
135
+ .pts-footer-logo {
136
+ position: static;
137
+ padding-left: 0;
138
+ margin-bottom: 1.6rem;
139
+ align-self: flex-start;
140
+ }
141
+
142
+ .pts-footer-linkList {
143
+ width: 100%;
144
+ }
145
+
146
+ .pts-footer-linkList ul {
147
+ flex-direction: column;
148
+ gap: 1.6rem;
149
+ padding-top: 0;
150
+ }
151
+
152
+ .pts-footer-linkList a span {
153
+ padding: 0;
154
+ }
155
+
156
+ .pts-footer-container .pts-footer-linkList ul li:not(:last-child)::after {
157
+ display: none;
158
+ }
159
+
160
+ .pts-footer-container {
161
+ margin-top: 1.6rem;
162
+ }
163
+
164
+ .pts-footer-container {
165
+ height: auto;
166
+ flex-direction: column;
167
+ text-align: left;
168
+ }
169
+ }
@@ -67,83 +67,6 @@
67
67
  color: var(--dark-text);
68
68
  }
69
69
 
70
-
71
- /*--Navigation header / menu ----*/
72
-
73
- .pts-navigation-header-container {
74
- background: var(--dark-background-second);
75
- }
76
- .pts-navigation-header-nav-container button svg path,
77
- .pts-navigation-header-nav-container button svg line{
78
- color: var(--dark-action);
79
- fill: var(--dark-action);
80
- stroke: var(--dark-action);
81
- }
82
-
83
- .pts-navigation-header-container svg path {
84
- fill: var(--dark-text);
85
- }
86
-
87
-
88
- .pts-navigation-header-nav-container,
89
- .pts-navigation-button-label {
90
- background: var(--dark-background-second);
91
- color: var(--dark-action);
92
- }
93
-
94
- .pts-expand-icon svg rect{
95
- fill: var(--dark-action);
96
- }
97
-
98
-
99
- .pts-contract-icon svg rect{
100
- fill: var(--dark-orientation-active);
101
- }
102
-
103
-
104
- .pts-navigation-close-text{
105
- color: var(--dark-action);
106
- }
107
-
108
- .pts-navigation-close-button{
109
- background: var(--dark-main);
110
- color: var(--dark-action);
111
- }
112
-
113
- .pts-navigation-close-button svg path{
114
- stroke: var(--dark-action);
115
- }
116
- .pts-navigation-link-expand-button{
117
- background-color: var(--dark-main);
118
- }
119
-
120
- .pts-navigation-link-expand-button svg path{
121
- stroke: var(--dark-main)!important;
122
- }
123
-
124
- .pts-navigation-with-close-button,
125
- .pts-navigation-menu-container,
126
- .pts-navigation-button,
127
- .pts-navigation-close-container,
128
- .pts-sub-navigation-item,
129
- .pts-sub-navigation-item a,
130
- .pts-navigation-button a {
131
- background: var(--dark-main);
132
- color: var(--dark-text);
133
- border-color: var(--dark-background-third);
134
- }
135
-
136
- .pts-sub-navigation-container {
137
- background-color: #d5b9dd;
138
- border-left: var(--dark-action) 5px solid;
139
- }
140
-
141
- /*--------BREADCRUMBS------*/
142
- .pts-breadcrumbs {
143
- background-color: var(--dark-background-third);
144
- }
145
-
146
-
147
70
  /*-------MAIN CONTENT-------*/
148
71
  section,
149
72
  .pts-form-step-header {
@@ -238,6 +161,8 @@ background-color: var(--dark-main);
238
161
  color: var(--dark-error);
239
162
  }
240
163
 
164
+ .pts-root-question-input-error-border,
165
+ .pts-root-question-input-error-border,
241
166
  .pts-root-question-input-error-border {
242
167
  border: 0.15rem solid var(--dark-error) !important;
243
168
  }
@@ -443,12 +368,6 @@ background-color: var(--dark-main);
443
368
  color: var(--dark-error) !important;
444
369
  }
445
370
 
446
- /*--------------------FOOTER-----------------*/
447
-
448
- .pts-footer-slogan-text-container {
449
- background-color: var(--dark-background-third);
450
- }
451
-
452
371
  /*-------------MODAL-----------*/
453
372
  .pts-modal-content {
454
373
  background-color: var(--dark-main);
@@ -3,111 +3,10 @@
3
3
  /********************************************/
4
4
 
5
5
  @media (max-width: 1085px) {
6
-
7
- .pts-navigation-header-container {
8
- padding:unset;
9
- border-bottom: 2px solid #ddd;
10
- }
11
- .pts-navigation-header-content {
12
- display: block;
13
- }
14
-
15
- .pts-navigation-header-logo-container {
16
- height: 80px;
17
- padding: 8px 10px;
18
- width: 100%;
19
- text-align: center;
20
- border-bottom: 2px solid #ddd;
21
- }
22
-
23
- .pts-navigation-header-hedline-container{
24
- border-bottom: 2px solid #ddd;
25
- height: 48px;
26
- align-items: center;
27
- }
28
-
29
- .pts-navigation-header-nav-container {
30
- align-items: center;
31
- justify-content: center;
32
- height: 48px;
33
- }
34
- .pts-navigation-header-nav-container button {
35
- width: 100%;
36
- }
37
-
38
- /**Navigation menu**/
39
- .pts-navigation-menu-container {
40
- top: -15px;
41
- width: 100%;
42
- max-width: unset;
43
- position: relative;
44
- }
45
-
46
- .pts-navigation-close-container {
47
- display: none;
48
- }
49
-
50
- .nav-parent-button {
51
- padding-right: 5px !important;
52
- border: 0px !important;
53
- }
54
-
55
- /**Breadcrumbs**/
56
- .pts-breadcrumbs a {
57
- font-size: 14px;
58
- }
59
-
60
- .pts-breadcrumbs {
61
- padding-left: 20px;
62
- height: 30px !important;
63
- }
64
-
65
- .pts-footer-content {
66
- display: flex;
67
- height: auto;
68
- flex-direction: column;
69
- text-align: left;
70
- padding: 1.6rem;
71
- width: 90%;
72
- }
73
-
74
- .pts-footer-logo {
75
- position: static;
76
- padding-left: 0;
77
- margin-left: -8px;
78
- margin-bottom: 1.6rem;
79
- align-self: flex-start;
80
- }
81
-
82
- .pts-footer-linkList {
83
- width: 100%;
84
- margin-bottom: 8px;
85
- margin-left: 0;
86
- }
87
-
88
- .pts-footer-linkList ul {
89
- flex-direction: column;
90
- gap: 1.6rem;
91
- padding-top: 0;
92
- }
93
-
94
- .pts-footer-linkList a span {
95
- padding: 0;
96
- }
97
-
98
- .pts-footer-container .pts-footer-linkList ul li:not(:last-child)::after {
99
- display: none;
100
- }
101
-
102
6
  .unsetMargin-Padding {
103
7
  margin: 0;
104
8
  padding: 0;
105
9
  }
106
-
107
- .pts-footer-slogan-text {
108
- font-size: 16px;
109
- text-align: center;
110
- }
111
10
  }
112
11
 
113
12
  /********************************************/
@@ -317,35 +216,6 @@
317
216
  padding-bottom: 4px;
318
217
  }
319
218
 
320
- .pts-footer-slogan-text {
321
- line-height: 2rem;
322
- }
323
-
324
- .pts-footer-logo {
325
- position: static;
326
- padding-left: 0;
327
- margin-bottom: 1.6rem;
328
- align-self: flex-start;
329
- }
330
-
331
- .pts-footer-linkList {
332
- width: 100%;
333
- }
334
-
335
- .pts-footer-linkList ul {
336
- flex-direction: column;
337
- gap: 1.6rem;
338
- padding-top: 0;
339
- }
340
-
341
- .pts-footer-linkList a span {
342
- padding: 0;
343
- }
344
-
345
- .pts-footer-container .pts-footer-linkList ul li:not(:last-child)::after {
346
- display: none;
347
- }
348
-
349
219
  .pts-question-preview {
350
220
  flex-direction: column;
351
221
  margin-bottom: 1.6rem;
@@ -381,16 +251,6 @@
381
251
  .pts-serviceHeadlineAndBody-container .pts-moreinfo-list a {
382
252
  margin-top: 1.6rem;
383
253
  }
384
-
385
- .pts-footer-container {
386
- margin-top: 1.6rem;
387
- }
388
-
389
- .pts-footer-container {
390
- height: auto;
391
- flex-direction: column;
392
- text-align: left;
393
- }
394
254
  }
395
255
 
396
256
  /********************************************/
@@ -53,7 +53,7 @@ div.pts-root-question:last-child {
53
53
  font-size: 1.6rem;
54
54
  font-style: normal;
55
55
  font-weight: 400;
56
- line-height: 20px;
56
+ line-height: 2rem;
57
57
  }
58
58
 
59
59
  .pts-root-about {