@sia.soul/sia-react-ui 0.1.159 → 0.1.162

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.
Files changed (41) hide show
  1. package/dist/{Select-DIdEbGwf.d.cts → Select-Dxevc0f6.d.cts} +1 -1
  2. package/dist/{Select-BCVUoK0I.d.ts → Select-tsENCXQI.d.ts} +1 -1
  3. package/dist/chart.cjs +9 -9
  4. package/dist/chart.js +5 -5
  5. package/dist/{chunk-6PIZGTNT.js → chunk-33WX54AU.js} +5 -5
  6. package/dist/{chunk-PU2V3VB5.js → chunk-4B7ATL6J.js} +1 -1
  7. package/dist/{chunk-XXFYFLZA.js → chunk-5WZR2RHA.js} +2 -2
  8. package/dist/{chunk-YO5OJQEH.js → chunk-CRA7VNOA.js} +1 -1
  9. package/dist/{chunk-ZIH5VLPT.js → chunk-KA3M4TE4.js} +2 -2
  10. package/dist/{chunk-6SSZVJO4.js → chunk-M4IASLGB.js} +3 -3
  11. package/dist/{chunk-UGCKRFZN.js → chunk-MXK6TKMO.js} +5 -5
  12. package/dist/{chunk-CDMCXNRK.js → chunk-Q3LEK2TL.js} +599 -270
  13. package/dist/{chunk-NRLIOMXY.js → chunk-UL54A2YN.js} +2 -2
  14. package/dist/{chunk-4CFFAKIJ.js → chunk-UPXL2QLJ.js} +6 -6
  15. package/dist/{chunk-SRWUDTCS.js → chunk-WMZYYPIW.js} +9 -9
  16. package/dist/{chunk-PJCO6PPW.js → chunk-ZNPNZD6O.js} +30 -15
  17. package/dist/{core-sU1bV7QH.d.ts → core-XtqUDbbD.d.ts} +5 -5
  18. package/dist/{core-B26pkBp_.d.cts → core-r-smfiNN.d.cts} +5 -5
  19. package/dist/core.cjs +27 -13
  20. package/dist/core.css +170 -22
  21. package/dist/core.d.cts +2 -2
  22. package/dist/core.d.ts +2 -2
  23. package/dist/core.js +8 -8
  24. package/dist/game.cjs +9 -9
  25. package/dist/game.js +3 -3
  26. package/dist/index.cjs +664 -320
  27. package/dist/index.css +170 -22
  28. package/dist/index.d.cts +13 -8
  29. package/dist/index.d.ts +13 -8
  30. package/dist/index.js +60 -59
  31. package/dist/markdown-editor.cjs +9 -9
  32. package/dist/markdown-editor.js +3 -3
  33. package/dist/rich-text-editor.cjs +40 -13
  34. package/dist/rich-text-editor.js +7 -7
  35. package/dist/{select-date-range-DYrA87Tl.d.ts → select-date-range-CIXBuoef.d.ts} +8 -9
  36. package/dist/{select-date-range-CIwE5nFu.d.cts → select-date-range-Cbh37zmU.d.cts} +8 -9
  37. package/dist/select-date-range.cjs +598 -269
  38. package/dist/select-date-range.d.cts +2 -2
  39. package/dist/select-date-range.d.ts +2 -2
  40. package/dist/select-date-range.js +8 -8
  41. package/package.json +1 -1
package/dist/core.css CHANGED
@@ -7370,24 +7370,35 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
7370
7370
  box-shadow: var(--sia-shadow-popup);
7371
7371
  scrollbar-width: thin;
7372
7372
  }
7373
- .sia-date-panel--with-time {
7374
- width: max-content;
7375
- }
7376
7373
  .sia-date-panel--with-presets {
7377
7374
  width: max-content;
7378
7375
  }
7379
- .sia-date-panel--with-presets.sia-date-panel--with-time {
7380
- width: max-content;
7381
- }
7382
7376
  .sia-date-panel--range {
7383
7377
  width: max-content;
7384
7378
  }
7385
7379
  .sia-date-panel--range.sia-date-panel--with-presets {
7386
7380
  width: max-content;
7387
7381
  }
7388
- .sia-date-panel--range.sia-date-panel--with-time {
7382
+ .sia-date-panel--datetime {
7383
+ width: 282px;
7384
+ }
7385
+ .sia-date-panel--datetime.sia-date-panel--with-presets {
7389
7386
  width: max-content;
7390
7387
  }
7388
+ .sia-date-panel--datetime.sia-date-panel--with-presets {
7389
+ display: grid;
7390
+ grid-template-columns: 145px minmax(0, 1fr);
7391
+ grid-template-rows: auto auto;
7392
+ }
7393
+ .sia-date-panel--datetime.sia-date-panel--with-presets .sia-date-panel__body {
7394
+ display: contents;
7395
+ }
7396
+ .sia-date-panel--datetime.sia-date-panel--with-presets .sia-date-panel__presets {
7397
+ grid-row: 1 / span 2;
7398
+ }
7399
+ .sia-date-panel--datetime.sia-date-panel--with-presets .sia-date-panel__footer {
7400
+ grid-column: 2;
7401
+ }
7391
7402
  .sia-date-panel__body {
7392
7403
  display: flex;
7393
7404
  min-width: 0;
@@ -7423,21 +7434,6 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
7423
7434
  .sia-date-panel__range-calendars > .sia-date-panel__calendar + .sia-date-panel__calendar {
7424
7435
  border-inline-start: 1px solid var(--sia-color-border);
7425
7436
  }
7426
- .sia-date-panel__range-date-time {
7427
- display: flex;
7428
- min-width: 0;
7429
- }
7430
- .sia-date-panel__range-date-time-group {
7431
- display: flex;
7432
- min-width: 0;
7433
- box-shadow: inset 0 2px transparent;
7434
- }
7435
- .sia-date-panel__range-date-time-group.is-active {
7436
- box-shadow: inset 0 2px var(--sia-color-primary);
7437
- }
7438
- .sia-date-panel__range-date-time-group + .sia-date-panel__range-date-time-group {
7439
- border-inline-start: 1px solid var(--sia-color-border);
7440
- }
7441
7437
  .sia-date-panel__header {
7442
7438
  display: grid;
7443
7439
  grid-template-columns: 56px 1fr 56px;
@@ -7463,6 +7459,35 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
7463
7459
  font-size: 12px;
7464
7460
  font-weight: 600;
7465
7461
  }
7462
+ .sia-date-panel__header > .sia-date-panel__title {
7463
+ display: flex;
7464
+ align-items: center;
7465
+ justify-content: center;
7466
+ gap: 7px;
7467
+ min-width: 0;
7468
+ padding: 5px 9px;
7469
+ color: var(--sia-color-text);
7470
+ font: inherit;
7471
+ font-weight: inherit;
7472
+ text-align: center;
7473
+ white-space: nowrap;
7474
+ cursor: pointer;
7475
+ background: transparent;
7476
+ border: 0;
7477
+ border-radius: 6px;
7478
+ }
7479
+ .sia-date-panel__header > .sia-date-panel__title small {
7480
+ padding: 2px 5px;
7481
+ color: var(--sia-color-primary-text);
7482
+ background: color-mix(in srgb, var(--sia-color-primary) 10%, transparent);
7483
+ border-radius: 4px;
7484
+ font-size: 12px;
7485
+ font-weight: 600;
7486
+ }
7487
+ .sia-date-panel__header > .sia-date-panel__title:hover {
7488
+ color: var(--sia-color-primary-text);
7489
+ background: var(--sia-color-control-hover);
7490
+ }
7466
7491
  .sia-date-panel__nav {
7467
7492
  display: flex;
7468
7493
  align-items: center;
@@ -7492,11 +7517,14 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
7492
7517
  }
7493
7518
  .sia-date-panel__month {
7494
7519
  padding: 12px 14px 14px;
7520
+ touch-action: pan-y;
7521
+ user-select: none;
7495
7522
  }
7496
7523
  .sia-date-panel__weekdays,
7497
7524
  .sia-date-panel__days {
7498
7525
  display: grid;
7499
7526
  grid-template-columns: repeat(7, 1fr);
7527
+ gap: 4px;
7500
7528
  }
7501
7529
  .sia-date-panel__weekdays {
7502
7530
  margin-bottom: 6px;
@@ -7583,6 +7611,9 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
7583
7611
  place-items: center;
7584
7612
  border-bottom: 1px solid var(--sia-color-border);
7585
7613
  }
7614
+ .sia-date-panel__time > .sia-date-panel__time-title {
7615
+ font-weight: 600;
7616
+ }
7586
7617
  .sia-date-panel__time-columns {
7587
7618
  display: grid;
7588
7619
  grid-auto-flow: column;
@@ -7590,10 +7621,60 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
7590
7621
  height: 280px;
7591
7622
  overflow: hidden;
7592
7623
  }
7624
+ .sia-date-panel__views {
7625
+ position: relative;
7626
+ flex: 0 0 280px;
7627
+ min-width: 0;
7628
+ overflow: hidden;
7629
+ }
7630
+ .sia-date-panel__view {
7631
+ min-width: 0;
7632
+ pointer-events: none;
7633
+ transition: transform 220ms cubic-bezier(.2, .7, .2, 1), visibility 0s 220ms;
7634
+ }
7635
+ .sia-date-panel__view.is-active {
7636
+ pointer-events: auto;
7637
+ visibility: visible;
7638
+ transform: translateX(0);
7639
+ transition: transform 220ms cubic-bezier(.2, .7, .2, 1);
7640
+ }
7641
+ .sia-date-panel__view--date:not(.is-active) {
7642
+ visibility: hidden;
7643
+ transform: translateX(-100%);
7644
+ }
7645
+ .sia-date-panel__view--time {
7646
+ position: absolute;
7647
+ inset: 0;
7648
+ }
7649
+ .sia-date-panel__view--time:not(.is-active) {
7650
+ visibility: hidden;
7651
+ transform: translateX(100%);
7652
+ }
7653
+ .sia-date-panel__view--time .sia-date-panel__time {
7654
+ height: 100%;
7655
+ flex: none;
7656
+ border-inline-start: 0;
7657
+ }
7658
+ .sia-date-panel__view--time .sia-date-panel__time-columns {
7659
+ grid-auto-columns: 1fr;
7660
+ height: auto;
7661
+ min-height: 0;
7662
+ }
7663
+ @media (prefers-reduced-motion: reduce) {
7664
+ .sia-date-panel__view {
7665
+ transition: none;
7666
+ }
7667
+ }
7593
7668
  .sia-date-panel__time-columns > div {
7594
7669
  height: 100%;
7595
7670
  overflow: auto;
7596
7671
  padding: 4px;
7672
+ touch-action: none;
7673
+ user-select: none;
7674
+ cursor: grab;
7675
+ }
7676
+ .sia-date-panel__time-columns > div:active {
7677
+ cursor: grabbing;
7597
7678
  }
7598
7679
  .sia-date-panel__time-columns > div + div {
7599
7680
  border-inline-start: 1px solid var(--sia-color-border);
@@ -7667,6 +7748,67 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
7667
7748
  .sia-date-panel__range-error {
7668
7749
  color: var(--sia-color-error);
7669
7750
  }
7751
+ .sia-date-panel__footer button.sia-date-panel__chip {
7752
+ display: inline-flex;
7753
+ align-items: center;
7754
+ gap: 6px;
7755
+ min-width: 0;
7756
+ min-height: 30px;
7757
+ padding: 3px 9px;
7758
+ color: var(--sia-color-text);
7759
+ font-variant-numeric: tabular-nums;
7760
+ white-space: nowrap;
7761
+ cursor: pointer;
7762
+ background: transparent;
7763
+ border: 0;
7764
+ border-radius: 6px;
7765
+ transition: background-color 160ms ease, color 160ms ease;
7766
+ }
7767
+ .sia-date-panel__footer .sia-date-panel__chip .sia-icon {
7768
+ flex-shrink: 0;
7769
+ color: var(--sia-color-text-secondary);
7770
+ }
7771
+ .sia-date-panel__footer button.sia-date-panel__chip:hover {
7772
+ color: var(--sia-color-text);
7773
+ background: var(--sia-color-control-hover);
7774
+ }
7775
+ .sia-date-panel__footer button.sia-date-panel__chip[aria-pressed=true] {
7776
+ color: var(--sia-color-primary-text);
7777
+ background: color-mix(in srgb, var(--sia-color-primary) 10%, transparent);
7778
+ }
7779
+ .sia-date-panel__footer button.sia-date-panel__chip[aria-pressed=true] .sia-icon {
7780
+ color: var(--sia-color-primary-text);
7781
+ }
7782
+ .sia-date-panel__footer button.sia-date-panel__chip:disabled {
7783
+ cursor: not-allowed;
7784
+ opacity: .45;
7785
+ }
7786
+ .sia-date-panel__footer button.sia-date-panel__chip:disabled:hover {
7787
+ color: var(--sia-color-text);
7788
+ background: transparent;
7789
+ }
7790
+ .sia-date-panel__footer button.sia-date-panel__chip--time.is-clearable {
7791
+ position: relative;
7792
+ padding-inline-end: 24px;
7793
+ }
7794
+ .sia-date-panel__chip-clear {
7795
+ position: absolute;
7796
+ inset-block: 0;
7797
+ inset-inline-end: 3px;
7798
+ display: none;
7799
+ place-items: center;
7800
+ padding: 2px;
7801
+ color: var(--sia-color-text-secondary);
7802
+ cursor: pointer;
7803
+ border-radius: 50%;
7804
+ }
7805
+ .sia-date-panel__chip--time:hover .sia-date-panel__chip-clear,
7806
+ .sia-date-panel__chip-clear:focus-visible {
7807
+ display: grid;
7808
+ }
7809
+ .sia-date-panel__chip-clear:hover {
7810
+ color: var(--sia-color-text);
7811
+ }
7670
7812
  .sia-tree-select {
7671
7813
  position: relative;
7672
7814
  display: inline-block;
@@ -8811,6 +8953,12 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
8811
8953
  background: transparent;
8812
8954
  border: 0;
8813
8955
  }
8956
+ .sia-dropdown__popup > .sia-menu,
8957
+ .sia-dropdown__popup > .sia-dropdown__menu {
8958
+ max-height: max(120px, calc(var(--sia-popup-available-height, calc(100vh - 16px)) - 10px));
8959
+ overflow-x: hidden;
8960
+ overflow-y: var(--sia-scroll-overflow, auto);
8961
+ }
8814
8962
  .sia-dropdown__menu .sia-menu__item,
8815
8963
  .sia-menu__popup .sia-menu__item {
8816
8964
  font-size: inherit;
package/dist/core.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- export { d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, h as Card, i as CardAccent, j as CardProps, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, I as FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, M as Icon, N as IconName, O as IconProps, P as IconVariant, Y as Input, Z as InputProps, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, af as Progress, ag as ProgressProps, ah as ProgressStatus, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, az as TabItem, aA as Tabs, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, T as TagStatus, aJ as TagVariant, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, ba as UploadProps, be as UploadRequestOptions, bi as message } from './core-B26pkBp_.cjs';
1
+ export { d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, h as Card, i as CardAccent, j as CardProps, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, I as FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, M as Icon, N as IconName, O as IconProps, P as IconVariant, Y as Input, Z as InputProps, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, af as Progress, ag as ProgressProps, ah as ProgressStatus, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, az as TabItem, aA as Tabs, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, T as TagStatus, aJ as TagVariant, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, ba as UploadProps, be as UploadRequestOptions, bi as message } from './core-r-smfiNN.cjs';
2
2
  export { b as Button, B as ButtonProps, a as ButtonSize, c as ButtonVariant } from './Button-xLR4Yt57.cjs';
3
- export { e as Modal, d as ModalActionResult, M as ModalOpenConfig, f as ModalProps, g as ModalType, a as OverlayApiHandle, h as Select, S as SelectOption, c as SelectProps, j as SelectValue } from './Select-DIdEbGwf.cjs';
3
+ export { e as Modal, d as ModalActionResult, M as ModalOpenConfig, f as ModalProps, g as ModalType, a as OverlayApiHandle, h as Select, S as SelectOption, c as SelectProps, j as SelectValue } from './Select-Dxevc0f6.cjs';
4
4
  import 'react';
5
5
  import './shared-Bx4B28Wh.cjs';
package/dist/core.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, h as Card, i as CardAccent, j as CardProps, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, I as FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, M as Icon, N as IconName, O as IconProps, P as IconVariant, Y as Input, Z as InputProps, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, af as Progress, ag as ProgressProps, ah as ProgressStatus, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, az as TabItem, aA as Tabs, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, T as TagStatus, aJ as TagVariant, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, ba as UploadProps, be as UploadRequestOptions, bi as message } from './core-sU1bV7QH.js';
1
+ export { d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, h as Card, i as CardAccent, j as CardProps, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, I as FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, M as Icon, N as IconName, O as IconProps, P as IconVariant, Y as Input, Z as InputProps, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, af as Progress, ag as ProgressProps, ah as ProgressStatus, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, az as TabItem, aA as Tabs, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, T as TagStatus, aJ as TagVariant, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, ba as UploadProps, be as UploadRequestOptions, bi as message } from './core-XtqUDbbD.js';
2
2
  export { b as Button, B as ButtonProps, a as ButtonSize, c as ButtonVariant } from './Button-B59TIes7.js';
3
- export { e as Modal, d as ModalActionResult, M as ModalOpenConfig, f as ModalProps, g as ModalType, a as OverlayApiHandle, h as Select, S as SelectOption, c as SelectProps, j as SelectValue } from './Select-BCVUoK0I.js';
3
+ export { e as Modal, d as ModalActionResult, M as ModalOpenConfig, f as ModalProps, g as ModalType, a as OverlayApiHandle, h as Select, S as SelectOption, c as SelectProps, j as SelectValue } from './Select-tsENCXQI.js';
4
4
  import 'react';
5
5
  import './shared-Bx4B28Wh.js';
package/dist/core.js CHANGED
@@ -11,29 +11,29 @@ import {
11
11
  Typography,
12
12
  Upload,
13
13
  message
14
- } from "./chunk-4CFFAKIJ.js";
14
+ } from "./chunk-UPXL2QLJ.js";
15
15
  import "./chunk-RX242MUO.js";
16
16
  import {
17
17
  Select
18
- } from "./chunk-UGCKRFZN.js";
18
+ } from "./chunk-MXK6TKMO.js";
19
19
  import {
20
20
  Input,
21
21
  Segmented
22
- } from "./chunk-PJCO6PPW.js";
23
- import "./chunk-NRLIOMXY.js";
22
+ } from "./chunk-ZNPNZD6O.js";
23
+ import "./chunk-UL54A2YN.js";
24
24
  import {
25
25
  Icon,
26
26
  Modal,
27
27
  Skeleton
28
- } from "./chunk-ZIH5VLPT.js";
28
+ } from "./chunk-KA3M4TE4.js";
29
29
  import {
30
30
  Button
31
- } from "./chunk-PU2V3VB5.js";
32
- import "./chunk-YO5OJQEH.js";
31
+ } from "./chunk-4B7ATL6J.js";
32
+ import "./chunk-CRA7VNOA.js";
33
33
  import {
34
34
  FloatingScrollbarProvider,
35
35
  initializeDefaultScrollbars
36
- } from "./chunk-SRWUDTCS.js";
36
+ } from "./chunk-WMZYYPIW.js";
37
37
 
38
38
  // src/core.ts
39
39
  initializeDefaultScrollbars();
package/dist/game.cjs CHANGED
@@ -940,8 +940,8 @@ var import_react3 = require("react");
940
940
  // src/components/popupFluidMotion.ts
941
941
  var popupEnterDuration = 260;
942
942
  var popupExitDuration = 140;
943
- var popupInitialScale = 0.88;
944
- var popupTravelOffset = 6;
943
+ var popupInitialScale = 0.93;
944
+ var popupTravelOffset = 4;
945
945
  function popupFluidFrames(placement, open = true) {
946
946
  const side = placement.split("-")[0];
947
947
  const axis = side === "left" || side === "right" ? "X" : "Y";
@@ -950,8 +950,8 @@ function popupFluidFrames(placement, open = true) {
950
950
  const visible = { opacity: 1, transform: "none" };
951
951
  return open ? [
952
952
  { ...hidden, offset: 0 },
953
- { opacity: 1, transform: "scale(1.11, 1.085)", offset: 0.68 },
954
- { opacity: 1, transform: "scale(.945, .965)", offset: 0.86 },
953
+ { opacity: 1, transform: "scale(1.05, 1.04)", offset: 0.68 },
954
+ { opacity: 1, transform: "scale(.977, .985)", offset: 0.86 },
955
955
  { ...visible, offset: 1 }
956
956
  ] : [{ ...visible, offset: 0 }, { ...hidden, offset: 1 }];
957
957
  }
@@ -971,16 +971,16 @@ function motionFrames(kind, placement) {
971
971
  const outside = `translate${axis}(${sign * 100}%)`;
972
972
  return [
973
973
  { transform: outside, offset: 0 },
974
- { transform: `translate${axis}(0) scale${axis}(1.065)`, offset: 0.68 },
975
- { transform: `translate${axis}(0) scale${axis}(.975)`, offset: 0.86 },
974
+ { transform: `translate${axis}(0) scale${axis}(1.03)`, offset: 0.68 },
975
+ { transform: `translate${axis}(0) scale${axis}(.988)`, offset: 0.86 },
976
976
  { transform: "none", offset: 1 }
977
977
  ];
978
978
  }
979
979
  const modal = kind === "modal";
980
980
  return [
981
- { opacity: 0, transform: `translateY(${modal ? 18 : -6}px) scale(${modal ? 0.9 : 0.88})`, offset: 0 },
982
- { opacity: 1, transform: modal ? "scale(1.075, 1.05)" : "scale(1.11, 1.085)", offset: 0.68 },
983
- { opacity: 1, transform: modal ? "scale(.965, .98)" : "scale(.945, .965)", offset: 0.86 },
981
+ { opacity: 0, transform: `translateY(${modal ? 14 : -4}px) scale(${modal ? 0.95 : 0.93})`, offset: 0 },
982
+ { opacity: 1, transform: modal ? "scale(1.035, 1.02)" : "scale(1.05, 1.04)", offset: 0.68 },
983
+ { opacity: 1, transform: modal ? "scale(.984, .992)" : "scale(.977, .985)", offset: 0.86 },
984
984
  { opacity: 1, transform: "none", offset: 1 }
985
985
  ];
986
986
  }
package/dist/game.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import "./chunk-RX242MUO.js";
2
2
  import {
3
3
  Modal
4
- } from "./chunk-ZIH5VLPT.js";
4
+ } from "./chunk-KA3M4TE4.js";
5
5
  import {
6
6
  Button
7
- } from "./chunk-PU2V3VB5.js";
7
+ } from "./chunk-4B7ATL6J.js";
8
8
  import {
9
9
  initializeDefaultScrollbars
10
- } from "./chunk-SRWUDTCS.js";
10
+ } from "./chunk-WMZYYPIW.js";
11
11
 
12
12
  // src/game/hex-rules.ts
13
13
  var DEFAULT_GAME_ABILITIES = [