optimized-react-component-library-xyz123 1.0.2 → 1.0.3

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.0.2",
3
+ "version": "1.0.3",
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,16 +13,14 @@
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",
17
- "./icons/*": "./src/icons/*"
16
+ "./css/questions.css": "./src/css/questions.css"
18
17
  },
19
18
  "files": [
20
19
  "dist",
21
20
  "src/css/darkMode.css",
22
21
  "src/css/mobileView.css",
23
22
  "src/css/styles.css",
24
- "src/css/questions.css",
25
- "src/icons"
23
+ "src/css/questions.css"
26
24
  ],
27
25
  "scripts": {
28
26
  "build": "tsup",
@@ -282,14 +282,6 @@
282
282
  color: var(--dark-info);
283
283
  }
284
284
 
285
- /* ---------- DROPDOWN ---------- */
286
- .pts-dropdown-container select {
287
- border-color: var(--dark-info);
288
- background-color: var(--dark-main);
289
- color: var(--dark-text);
290
- background-image: url('../icons/arrow-down-darkmode.svg');
291
- }
292
-
293
285
  /* ---------- ADD FILE QUESTION ---------- */
294
286
  .filePickText {
295
287
  color: var(--dark-text) !important;
@@ -46,7 +46,7 @@
46
46
  }
47
47
 
48
48
  .pts-footer-slogan-text {
49
- font-size: 16px;
49
+ font-size: 1.6rem;
50
50
  text-align: center;
51
51
  }
52
52
  }
@@ -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 {
@@ -63,7 +63,6 @@ div.pts-root-question:last-child {
63
63
  margin-bottom: 0.4rem;
64
64
  }
65
65
 
66
- .pts-root-question select,
67
66
  .pts-root-question input[type='text']:focus,
68
67
  .pts-root-question input[type='email']:focus,
69
68
  .pts-root-question input[type='tel']:focus {
@@ -117,7 +116,7 @@ div.pts-root-question:last-child {
117
116
  padding: 3.6rem 0 0 0;
118
117
  margin: 0;
119
118
  }
120
- .pts-root-question select,
119
+
121
120
  .pts-root-question input[type='text'],
122
121
  .pts-root-question input[type='email'],
123
122
  .pts-root-question input[type='tel'] {
@@ -163,41 +162,6 @@ div.pts-root-question:last-child {
163
162
  cursor: pointer;
164
163
  }
165
164
 
166
- /* ---------- DROPDOWN ---------- */
167
-
168
- /* För inspiration */
169
-
170
- .pts-dropdown-container {
171
- margin-bottom: 1.5rem;
172
- }
173
-
174
- .pts-dropdown-container label {
175
- display: block;
176
- margin-bottom: 0.5rem;
177
- font-weight: 500;
178
- }
179
-
180
- .pts-dropdown-container select {
181
- cursor: pointer;
182
- background-image: url('../icons/arrow-down.svg');
183
- background-repeat: no-repeat;
184
- background-position: right 14px center;
185
- background-size: 1em;
186
-
187
- -webkit-appearance: none;
188
- -moz-appearance: none;
189
- appearance: none;
190
-
191
- transition:
192
- border-color 0.15s ease-in-out,
193
- box-shadow 0.15s ease-in-out;
194
- }
195
- .pts-dropdown-container select:focus {
196
- outline: none;
197
- border-width: 2px;
198
- border-color: var(--action);
199
- }
200
-
201
165
  /* ---------- SINGLE CHECKBOX ---------- */
202
166
 
203
167
  .pts-singleCheckbox-row {
@@ -263,7 +227,7 @@ div.pts-root-question:last-child {
263
227
 
264
228
  .pts-checkboxGroup-container label {
265
229
  padding-top: 0.3rem;
266
- line-height: 20px;
230
+ line-height: 2rem;
267
231
  cursor: pointer;
268
232
  margin: 0;
269
233
  }
@@ -182,7 +182,7 @@ p[aria-live='assertive']:empty {
182
182
  white-space: nowrap;
183
183
  border: 0;
184
184
  }
185
- select:focus-visible,
185
+
186
186
  button:focus-visible,
187
187
  a:focus-visible,
188
188
  input:focus-visible,
@@ -1,5 +0,0 @@
1
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g id="Group">
3
- <path id="Vector" fill-rule="evenodd" clip-rule="evenodd" d="M12.7069 15.7071C12.5193 15.8946 12.265 15.9999 11.9999 15.9999C11.7347 15.9999 11.4804 15.8946 11.2929 15.7071L5.63585 10.0501C5.54034 9.95785 5.46416 9.84751 5.41175 9.7255C5.35934 9.6035 5.33176 9.47228 5.3306 9.3395C5.32945 9.20672 5.35475 9.07504 5.40503 8.95215C5.45531 8.82925 5.52957 8.7176 5.62346 8.6237C5.71735 8.52981 5.829 8.45556 5.9519 8.40528C6.0748 8.355 6.20648 8.32969 6.33926 8.33085C6.47204 8.332 6.60325 8.35959 6.72526 8.412C6.84726 8.46441 6.95761 8.54059 7.04985 8.6361L11.9999 13.5861L16.9499 8.6361C17.1385 8.45394 17.3911 8.35315 17.6533 8.35542C17.9155 8.3577 18.1663 8.46287 18.3517 8.64828C18.5371 8.83369 18.6423 9.0845 18.6445 9.3467C18.6468 9.60889 18.546 9.8615 18.3639 10.0501L12.7069 15.7071Z" fill="white"/>
4
- </g>
5
- </svg>
@@ -1,5 +0,0 @@
1
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g id="Group">
3
- <path id="Vector" fill-rule="evenodd" clip-rule="evenodd" d="M12.7069 15.7071C12.5193 15.8946 12.265 15.9999 11.9999 15.9999C11.7347 15.9999 11.4804 15.8946 11.2929 15.7071L5.63585 10.0501C5.54034 9.95785 5.46416 9.84751 5.41175 9.7255C5.35934 9.6035 5.33176 9.47228 5.3306 9.3395C5.32945 9.20672 5.35475 9.07504 5.40503 8.95215C5.45531 8.82925 5.52957 8.7176 5.62346 8.6237C5.71735 8.52981 5.829 8.45556 5.9519 8.40528C6.0748 8.355 6.20648 8.32969 6.33926 8.33085C6.47204 8.332 6.60325 8.35959 6.72526 8.412C6.84726 8.46441 6.95761 8.54059 7.04985 8.6361L11.9999 13.5861L16.9499 8.6361C17.1385 8.45394 17.3911 8.35315 17.6533 8.35542C17.9155 8.3577 18.1663 8.46287 18.3517 8.64828C18.5371 8.83369 18.6423 9.0845 18.6445 9.3467C18.6468 9.60889 18.546 9.8615 18.3639 10.0501L12.7069 15.7071Z" fill="black"/>
4
- </g>
5
- </svg>