@kerkhoff-ict/solora 2.7.3 → 2.7.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/index.css CHANGED
@@ -1150,7 +1150,7 @@
1150
1150
  }
1151
1151
 
1152
1152
  /* src/components/check.css */
1153
- .apple-input-group {
1153
+ .sol-input-group {
1154
1154
  margin-bottom: 1.5rem;
1155
1155
  font-family:
1156
1156
  -apple-system,
@@ -1161,13 +1161,13 @@
1161
1161
  Arial,
1162
1162
  sans-serif;
1163
1163
  }
1164
- .apple-input-group-title {
1164
+ .sol-input-group-title {
1165
1165
  font-weight: 600;
1166
1166
  margin-bottom: 0.5rem;
1167
1167
  display: block;
1168
1168
  color: var(--color-text-dark, #000);
1169
1169
  }
1170
- .apple-input-wrapper {
1170
+ .sol-input-wrapper {
1171
1171
  display: flex;
1172
1172
  align-items: center;
1173
1173
  gap: 0.6rem;
@@ -1176,14 +1176,14 @@
1176
1176
  user-select: none;
1177
1177
  color: var(--color-text-dark, #000);
1178
1178
  }
1179
- .apple-input-wrapper input {
1179
+ .sol-input-wrapper input {
1180
1180
  position: absolute;
1181
1181
  opacity: 0;
1182
1182
  cursor: pointer;
1183
1183
  height: 0;
1184
1184
  width: 0;
1185
1185
  }
1186
- .apple-control {
1186
+ .sol-control {
1187
1187
  position: relative;
1188
1188
  display: inline-block;
1189
1189
  width: 1.25rem;
@@ -1192,20 +1192,20 @@
1192
1192
  border: 1.5px solid rgba(0, 0, 0, 0.2);
1193
1193
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
1194
1194
  }
1195
- .apple-checkbox .apple-control {
1195
+ .sol-checkbox .sol-control {
1196
1196
  border-radius: 4px;
1197
1197
  }
1198
- .apple-radio .apple-control {
1198
+ .sol-radio .sol-control {
1199
1199
  border-radius: 50%;
1200
1200
  }
1201
- .apple-input-wrapper:hover input:not(:disabled) ~ .apple-control {
1201
+ .sol-input-wrapper:hover input:not(:disabled) ~ .sol-control {
1202
1202
  border-color: rgba(0, 0, 0, 0.4);
1203
1203
  }
1204
- .apple-input-wrapper input:checked ~ .apple-control {
1205
- background-color: #007aff;
1206
- border-color: #007aff;
1204
+ .sol-input-wrapper input:checked ~ .sol-control {
1205
+ background-color: var(--color-primary, #0071e3);
1206
+ border-color: var(--color-primary, #0071e3);
1207
1207
  }
1208
- .apple-checkbox .apple-control:after {
1208
+ .sol-checkbox .sol-control:after {
1209
1209
  content: "";
1210
1210
  position: absolute;
1211
1211
  display: none;
@@ -1217,10 +1217,10 @@
1217
1217
  border-width: 0 2px 2px 0;
1218
1218
  transform: rotate(45deg);
1219
1219
  }
1220
- .apple-checkbox input:checked ~ .apple-control:after {
1220
+ .sol-checkbox input:checked ~ .sol-control:after {
1221
1221
  display: block;
1222
1222
  }
1223
- .apple-radio .apple-control:after {
1223
+ .sol-radio .sol-control:after {
1224
1224
  content: "";
1225
1225
  position: absolute;
1226
1226
  display: none;
@@ -1232,38 +1232,38 @@
1232
1232
  border-radius: 50%;
1233
1233
  background: white;
1234
1234
  }
1235
- .apple-radio input:checked ~ .apple-control:after {
1235
+ .sol-radio input:checked ~ .sol-control:after {
1236
1236
  display: block;
1237
1237
  }
1238
- .apple-input-wrapper input:disabled ~ .apple-control {
1238
+ .sol-input-wrapper input:disabled ~ .sol-control {
1239
1239
  background-color: rgba(0, 0, 0, 0.05);
1240
1240
  border-color: rgba(0, 0, 0, 0.1);
1241
1241
  cursor: not-allowed;
1242
1242
  }
1243
- .apple-input-wrapper input:disabled ~ .apple-label {
1243
+ .sol-input-wrapper input:disabled ~ .sol-label {
1244
1244
  color: rgba(0, 0, 0, 0.4);
1245
1245
  cursor: not-allowed;
1246
1246
  }
1247
- :root.dark .apple-input-group-title,
1248
- :root.dark .apple-input-wrapper {
1247
+ :root.dark .sol-input-group-title,
1248
+ :root.dark .sol-input-wrapper {
1249
1249
  color: #f0f0f0;
1250
1250
  }
1251
- :root.dark .apple-control {
1251
+ :root.dark .sol-control {
1252
1252
  background: #1c1c1e;
1253
1253
  border-color: rgba(255, 255, 255, 0.3);
1254
1254
  }
1255
- :root.dark .apple-input-wrapper:hover input:not(:disabled) ~ .apple-control {
1255
+ :root.dark .sol-input-wrapper:hover input:not(:disabled) ~ .sol-control {
1256
1256
  border-color: rgba(255, 255, 255, 0.5);
1257
1257
  }
1258
- :root.dark .apple-input-wrapper input:checked ~ .apple-control {
1259
- background-color: #0a84ff;
1260
- border-color: #0a84ff;
1258
+ :root.dark .sol-input-wrapper input:checked ~ .sol-control {
1259
+ background-color: var(--color-primary, #0071e3);
1260
+ border-color: var(--color-primary, #0071e3);
1261
1261
  }
1262
- :root.dark .apple-input-wrapper input:disabled ~ .apple-control {
1262
+ :root.dark .sol-input-wrapper input:disabled ~ .sol-control {
1263
1263
  background-color: rgba(255, 255, 255, 0.08);
1264
1264
  border-color: rgba(255, 255, 255, 0.15);
1265
1265
  }
1266
- :root.dark .apple-input-wrapper input:disabled ~ .apple-label {
1266
+ :root.dark .sol-input-wrapper input:disabled ~ .sol-label {
1267
1267
  color: rgba(255, 255, 255, 0.3);
1268
1268
  }
1269
1269
 
package/dist/index.js CHANGED
@@ -2361,7 +2361,7 @@ function initPopovers() {
2361
2361
 
2362
2362
  // src/components/check.js
2363
2363
  function initCheck() {
2364
- const limitedGroups = document.querySelectorAll(".apple-input-group[data-max]");
2364
+ const limitedGroups = document.querySelectorAll(".sol-input-group[data-max]");
2365
2365
  limitedGroups.forEach((group) => {
2366
2366
  const maxAllowed = parseInt(group.getAttribute("data-max"), 10);
2367
2367
  const checkboxes = group.querySelectorAll('input[type="checkbox"]');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kerkhoff-ict/solora",
3
- "version": "2.7.3",
3
+ "version": "2.7.4",
4
4
  "description": "Simple CSS component library",
5
5
  "main": "dist/index.js",
6
6
  "style": "dist/index.css",