optimized-react-component-library-xyz123 0.19.27 → 0.19.29

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": "0.19.27",
3
+ "version": "0.19.29",
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
+ "./icons/*": "./src/icons/*"
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/icons"
24
26
  ],
25
27
  "scripts": {
26
28
  "build": "tsup",
@@ -256,7 +256,7 @@
256
256
  border-color: var(--dark-info);
257
257
  background-color: var(--dark-main);
258
258
  color: var(--dark-text);
259
- background-image: url('../../icons/arrow-down-dark.svg');
259
+ background-image: url('../icons/arrow-down-darkmode.svg');
260
260
  }
261
261
 
262
262
  /* ---------- ADD FILE QUESTION ---------- */
@@ -178,7 +178,7 @@ div.pts-root-question:last-child {
178
178
  font-family: Arial;
179
179
  font-size: 16px;
180
180
 
181
- background-image: url(https://dsa.pts.se/images/arrow.svg);
181
+ background-image: url('../icons/arrow-down.svg');
182
182
  background-repeat: no-repeat;
183
183
  background-position: right 14px center;
184
184
  background-size: 1em;
@@ -0,0 +1,5 @@
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>
@@ -0,0 +1,5 @@
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>