rei-kit 0.18.2 → 0.19.0

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/pwa.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { a as addDays, f as todayKey, i as needsIosInstall, r as isInstalled, t as SettingsGroup_default } from "./SettingsGroup-DtEB_Hrd.js";
2
- import { n as BaseButton_default, t as SettingsRow_default } from "./SettingsRow-3lPRJbBZ.js";
3
2
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BOaGB7Aw.js";
3
+ import { n as BaseButton_default, t as SettingsRow_default } from "./SettingsRow-3lPRJbBZ.js";
4
4
  import { Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, ref, resolveDynamicComponent, toDisplayString, unref, withCtx } from "vue";
5
5
  import { CheckCircle2, Download, RefreshCw, Share, X } from "lucide-vue-next";
6
6
  //#region src/pwa/use-install.ts
package/dist/styles.css CHANGED
@@ -213,6 +213,184 @@
213
213
  opacity: 0;
214
214
  }
215
215
 
216
+ .rk-avatar[data-v-47586bec] {
217
+ display: grid;
218
+ place-items: center;
219
+ flex-shrink: 0;
220
+ overflow: hidden;
221
+ border-radius: var(--radius-cell);
222
+ border: 1px solid color-mix(in srgb, var(--color-hair) 70%, transparent);
223
+ background: var(--color-surface);
224
+ color: var(--color-ink-soft);
225
+ }
226
+ .is-sm[data-v-47586bec] {
227
+ width: 1.75rem;
228
+ height: 1.75rem;
229
+ }
230
+ .is-md[data-v-47586bec] {
231
+ width: 2.25rem;
232
+ height: 2.25rem;
233
+ }
234
+ .is-lg[data-v-47586bec] {
235
+ width: 3rem;
236
+ height: 3rem;
237
+ }
238
+ .rk-avatar-img[data-v-47586bec] {
239
+ width: 100%;
240
+ height: 100%;
241
+ object-fit: cover;
242
+ }
243
+ .rk-avatar-initials[data-v-47586bec] {
244
+ font-size: 0.75rem;
245
+ font-weight: 600;
246
+ line-height: 1;
247
+ color: var(--color-ink);
248
+ }
249
+ .is-lg .rk-avatar-initials[data-v-47586bec] {
250
+ font-size: 1rem;
251
+ }
252
+ .rk-avatar-figure[data-v-47586bec] {
253
+ width: 65%;
254
+ height: 65%;
255
+ }
256
+
257
+ .rk-menu[data-v-8ad05b3d] {
258
+ position: relative;
259
+ display: inline-flex;
260
+ }
261
+ .rk-menu-trigger[data-v-8ad05b3d] {
262
+ display: inline-flex;
263
+ border-radius: var(--radius-cell);
264
+ }
265
+ .rk-menu-trigger[data-v-8ad05b3d]:focus-visible {
266
+ outline: 2px solid var(--color-primary);
267
+ outline-offset: 2px;
268
+ }
269
+ .rk-menu-panel[data-v-8ad05b3d] {
270
+ position: absolute;
271
+ top: calc(100% + 0.5rem);
272
+ z-index: 50;
273
+ min-width: 12rem;
274
+ overflow: hidden;
275
+ border-radius: var(--radius-card);
276
+ border: 1px solid color-mix(in srgb, var(--color-hair) 70%, transparent);
277
+ background: var(--color-surface);
278
+ padding: 0.375rem;
279
+ box-shadow: 0 10px 24px -8px rgb(0 0 0 / 0.25);
280
+ }
281
+ .rk-menu-panel.is-end[data-v-8ad05b3d] {
282
+ right: 0;
283
+ }
284
+ .rk-menu-panel.is-start[data-v-8ad05b3d] {
285
+ left: 0;
286
+ }
287
+
288
+ /* The items belong to the caller, so this styles them by role rather than by
289
+ class: whatever they render, it lines up. */
290
+ .rk-menu-panel[data-v-8ad05b3d] [role='menuitem'] {
291
+ display: block;
292
+ width: 100%;
293
+ border-radius: var(--radius-cell);
294
+ padding: 0.5rem 0.75rem;
295
+ text-align: left;
296
+ font-size: 0.875rem;
297
+ color: var(--color-ink);
298
+ transition: background-color 150ms;
299
+ }
300
+ .rk-menu-panel[data-v-8ad05b3d] [role='menuitem']:hover {
301
+ background: var(--color-muted);
302
+ }
303
+ .rk-menu-panel[data-v-8ad05b3d] [role='menuitem']:focus-visible {
304
+ outline: 2px solid var(--color-primary);
305
+ outline-offset: -2px;
306
+ }
307
+ .rk-menu-panel[data-v-8ad05b3d] hr {
308
+ margin: 0.375rem 0;
309
+ height: 1px;
310
+ border: 0;
311
+ background: color-mix(in srgb, var(--color-hair) 70%, transparent);
312
+ }
313
+
314
+ .rk-spin-wrap[data-v-842da62c] {
315
+ display: inline-flex;
316
+ align-items: center;
317
+ }
318
+ .rk-spin[data-v-842da62c] {
319
+ display: block;
320
+ border-radius: 9999px;
321
+ border: 2px solid color-mix(in srgb, currentColor 20%, transparent);
322
+ border-top-color: currentColor;
323
+ animation: rk-spin-842da62c 700ms linear infinite;
324
+ }
325
+ .rk-spin-label[data-v-842da62c] {
326
+ position: absolute;
327
+ width: 1px;
328
+ height: 1px;
329
+ overflow: hidden;
330
+ clip-path: inset(50%);
331
+ white-space: nowrap;
332
+ }
333
+ @keyframes rk-spin-842da62c {
334
+ to {
335
+ transform: rotate(360deg);
336
+ }
337
+ }
338
+
339
+ /* Still moving, because a spinner that does not move says the app has hung --
340
+ but a slow fade rather than a fast rotation. */
341
+ @media (prefers-reduced-motion: reduce) {
342
+ .rk-spin[data-v-842da62c] {
343
+ animation: rk-pulse-842da62c 1.4s ease-in-out infinite;
344
+ }
345
+ @keyframes rk-pulse-842da62c {
346
+ 50% {
347
+ opacity: 0.35;
348
+ }
349
+ }
350
+ }
351
+
352
+ .rk-switch[data-v-a9f65b91] {
353
+ position: relative;
354
+ display: inline-flex;
355
+ flex-shrink: 0;
356
+ align-items: center;
357
+ width: 2.75rem;
358
+ height: 1.625rem;
359
+ border-radius: 9999px;
360
+ background: var(--color-hair);
361
+ transition: background-color 180ms ease;
362
+ }
363
+ .rk-switch.is-on[data-v-a9f65b91] {
364
+ background: var(--color-primary);
365
+ }
366
+ .rk-switch[data-v-a9f65b91]:focus-visible {
367
+ outline: 2px solid var(--color-primary);
368
+ outline-offset: 2px;
369
+ }
370
+ .rk-switch[data-v-a9f65b91]:disabled {
371
+ opacity: 0.5;
372
+ pointer-events: none;
373
+ }
374
+ .rk-switch-knob[data-v-a9f65b91] {
375
+ position: absolute;
376
+ left: 0.1875rem;
377
+ width: 1.25rem;
378
+ height: 1.25rem;
379
+ border-radius: 9999px;
380
+ background: #fff;
381
+ box-shadow: 0 1px 2px rgb(0 0 0 / 0.25);
382
+ transition: transform 180ms cubic-bezier(0.32, 0.72, 0, 1);
383
+ }
384
+ .rk-switch.is-on .rk-switch-knob[data-v-a9f65b91] {
385
+ transform: translateX(1.125rem);
386
+ }
387
+ @media (prefers-reduced-motion: reduce) {
388
+ .rk-switch[data-v-a9f65b91],
389
+ .rk-switch-knob[data-v-a9f65b91] {
390
+ transition: none;
391
+ }
392
+ }
393
+
216
394
  /* Movement is small and downward from the top, upward from the bottom — the
217
395
  direction it came from either way. */
218
396
  .toast-enter-active[data-v-f1a3439c],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rei-kit",
3
- "version": "0.18.2",
3
+ "version": "0.19.0",
4
4
  "description": "Vue 3 and Tailwind 4 design system and shared runtime. Extracted from Hibi.",
5
5
  "license": "MIT",
6
6
  "author": "Ramazan Doğan",