@vellira-ui/tokens 2.44.3 → 2.44.5

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.
@@ -1245,7 +1245,7 @@
1245
1245
  --input-spinner-fg: #958CB0;
1246
1246
  --modal-overlay-bg: rgba(24, 21, 33, 0.52);
1247
1247
  --modal-overlay-blur: 4px;
1248
- --modal-overlay-animation-duration: 200ms;
1248
+ --modal-overlay-animation-duration: 180ms;
1249
1249
  --modal-content-bg: #FFFFFF;
1250
1250
  --modal-content-fg: #3D3754;
1251
1251
  --modal-content-border: #E4DDF4;
@@ -1260,7 +1260,7 @@
1260
1260
  --modal-content-viewport-margin: 32px;
1261
1261
  --modal-content-top-offset: 40px;
1262
1262
  --modal-content-z-index-offset: 1;
1263
- --modal-content-animation-duration: 160ms;
1263
+ --modal-content-animation-duration: 180ms;
1264
1264
  --modal-content-size-sm: 400px;
1265
1265
  --modal-content-size-md: 560px;
1266
1266
  --modal-content-size-lg: 720px;
@@ -1292,6 +1292,34 @@
1292
1292
  --modal-close-button-disabled-bg: transparent;
1293
1293
  --modal-close-button-disabled-fg: #958CB0;
1294
1294
  --modal-close-button-disabled-border: transparent;
1295
+ --modal-motion-close-duration: 150ms;
1296
+ --modal-motion-easing: cubic-bezier(0.22, 1, 0.36, 1);
1297
+ --modal-motion-open-duration: 180ms;
1298
+ --radio-size-sm-control-size: 14px;
1299
+ --radio-size-sm-indicator-size: 6px;
1300
+ --radio-size-sm-label-font-size: 14px;
1301
+ --radio-size-sm-label-line-height: 20px;
1302
+ --radio-size-sm-description-font-size: 12px;
1303
+ --radio-size-sm-description-line-height: 16px;
1304
+ --radio-size-md-control-size: 16px;
1305
+ --radio-size-md-indicator-size: 8px;
1306
+ --radio-size-md-label-font-size: 16px;
1307
+ --radio-size-md-label-line-height: 24px;
1308
+ --radio-size-md-description-font-size: 14px;
1309
+ --radio-size-md-description-line-height: 20px;
1310
+ --radio-size-lg-control-size: 20px;
1311
+ --radio-size-lg-indicator-size: 10px;
1312
+ --radio-size-lg-label-font-size: 20px;
1313
+ --radio-size-lg-label-line-height: 28px;
1314
+ --radio-size-lg-description-font-size: 16px;
1315
+ --radio-size-lg-description-line-height: 24px;
1316
+ --radio-motion-control-duration: 150ms;
1317
+ --radio-motion-easing: cubic-bezier(0.16, 1, 0.3, 1);
1318
+ --radio-motion-indicator-duration: 180ms;
1319
+ --radio-motion-selected-duration: 260ms;
1320
+ --radio-motion-pressed-scale: 0.96px;
1321
+ --radio-motion-active-scale: 0.92px;
1322
+ --radio-motion-pressed-opacity: 0.8px;
1295
1323
  --radio-default-bg: #FFFFFF;
1296
1324
  --radio-default-fg: #3D3754;
1297
1325
  --radio-default-border: #BBB2D2;
@@ -3451,7 +3479,7 @@
3451
3479
  --input-spinner-fg: #958CB0;
3452
3480
  --modal-overlay-bg: rgba(0, 0, 0, 0.72);
3453
3481
  --modal-overlay-blur: 4px;
3454
- --modal-overlay-animation-duration: 200ms;
3482
+ --modal-overlay-animation-duration: 180ms;
3455
3483
  --modal-content-bg: #242034;
3456
3484
  --modal-content-fg: #F4F1FB;
3457
3485
  --modal-content-border: #3D3754;
@@ -3466,7 +3494,7 @@
3466
3494
  --modal-content-viewport-margin: 32px;
3467
3495
  --modal-content-top-offset: 40px;
3468
3496
  --modal-content-z-index-offset: 1;
3469
- --modal-content-animation-duration: 160ms;
3497
+ --modal-content-animation-duration: 180ms;
3470
3498
  --modal-content-size-sm: 400px;
3471
3499
  --modal-content-size-md: 560px;
3472
3500
  --modal-content-size-lg: 720px;
@@ -3498,6 +3526,34 @@
3498
3526
  --modal-close-button-disabled-bg: transparent;
3499
3527
  --modal-close-button-disabled-fg: #6B6386;
3500
3528
  --modal-close-button-disabled-border: transparent;
3529
+ --modal-motion-close-duration: 150ms;
3530
+ --modal-motion-easing: cubic-bezier(0.22, 1, 0.36, 1);
3531
+ --modal-motion-open-duration: 180ms;
3532
+ --radio-size-sm-control-size: 14px;
3533
+ --radio-size-sm-indicator-size: 6px;
3534
+ --radio-size-sm-label-font-size: 14px;
3535
+ --radio-size-sm-label-line-height: 20px;
3536
+ --radio-size-sm-description-font-size: 12px;
3537
+ --radio-size-sm-description-line-height: 16px;
3538
+ --radio-size-md-control-size: 16px;
3539
+ --radio-size-md-indicator-size: 8px;
3540
+ --radio-size-md-label-font-size: 16px;
3541
+ --radio-size-md-label-line-height: 24px;
3542
+ --radio-size-md-description-font-size: 14px;
3543
+ --radio-size-md-description-line-height: 20px;
3544
+ --radio-size-lg-control-size: 20px;
3545
+ --radio-size-lg-indicator-size: 10px;
3546
+ --radio-size-lg-label-font-size: 20px;
3547
+ --radio-size-lg-label-line-height: 28px;
3548
+ --radio-size-lg-description-font-size: 16px;
3549
+ --radio-size-lg-description-line-height: 24px;
3550
+ --radio-motion-control-duration: 150ms;
3551
+ --radio-motion-easing: cubic-bezier(0.16, 1, 0.3, 1);
3552
+ --radio-motion-indicator-duration: 180ms;
3553
+ --radio-motion-selected-duration: 260ms;
3554
+ --radio-motion-pressed-scale: 0.96px;
3555
+ --radio-motion-active-scale: 0.92px;
3556
+ --radio-motion-pressed-opacity: 0.8px;
3501
3557
  --radio-default-bg: #2F2A42;
3502
3558
  --radio-default-fg: #F4F1FB;
3503
3559
  --radio-default-border: #4F4867;
@@ -3985,17 +4041,17 @@
3985
4041
  --select-warning-outline-default-bg: transparent;
3986
4042
  --select-warning-outline-default-fg: #F4F1FB;
3987
4043
  --select-warning-outline-default-border: #FBBF24;
3988
- --select-warning-outline-default-placeholder: #BBB2D2;
4044
+ --select-warning-outline-default-placeholder: #F4F1FB;
3989
4045
  --select-warning-outline-default-icon: #FBBF24;
3990
4046
  --select-warning-outline-hover-bg: #451A03;
3991
4047
  --select-warning-outline-hover-fg: #F4F1FB;
3992
4048
  --select-warning-outline-hover-border: #F59E0B;
3993
- --select-warning-outline-hover-placeholder: #BBB2D2;
4049
+ --select-warning-outline-hover-placeholder: #F4F1FB;
3994
4050
  --select-warning-outline-hover-icon: #F59E0B;
3995
4051
  --select-warning-outline-focus-bg: transparent;
3996
4052
  --select-warning-outline-focus-fg: #F4F1FB;
3997
4053
  --select-warning-outline-focus-border: #F59E0B;
3998
- --select-warning-outline-focus-placeholder: #BBB2D2;
4054
+ --select-warning-outline-focus-placeholder: #F4F1FB;
3999
4055
  --select-warning-outline-focus-icon: #F59E0B;
4000
4056
  --select-warning-outline-dropdown-border: transparent;
4001
4057
  --select-warning-outline-dropdown-ring: #F59E0B;
@@ -4028,17 +4084,17 @@
4028
4084
  --select-warning-filled-default-bg: #451A03;
4029
4085
  --select-warning-filled-default-fg: #F4F1FB;
4030
4086
  --select-warning-filled-default-border: transparent;
4031
- --select-warning-filled-default-placeholder: #BBB2D2;
4087
+ --select-warning-filled-default-placeholder: #F4F1FB;
4032
4088
  --select-warning-filled-default-icon: #FBBF24;
4033
4089
  --select-warning-filled-hover-bg: #78350F;
4034
4090
  --select-warning-filled-hover-fg: #F4F1FB;
4035
4091
  --select-warning-filled-hover-border: #FBBF24;
4036
- --select-warning-filled-hover-placeholder: #BBB2D2;
4092
+ --select-warning-filled-hover-placeholder: #F4F1FB;
4037
4093
  --select-warning-filled-hover-icon: #F59E0B;
4038
4094
  --select-warning-filled-focus-bg: #242034;
4039
4095
  --select-warning-filled-focus-fg: #F4F1FB;
4040
4096
  --select-warning-filled-focus-border: #F59E0B;
4041
- --select-warning-filled-focus-placeholder: #BBB2D2;
4097
+ --select-warning-filled-focus-placeholder: #F4F1FB;
4042
4098
  --select-warning-filled-focus-icon: #F59E0B;
4043
4099
  --select-warning-filled-dropdown-border: transparent;
4044
4100
  --select-warning-filled-dropdown-ring: #F59E0B;
@@ -4071,17 +4127,17 @@
4071
4127
  --select-warning-soft-default-bg: #78350F;
4072
4128
  --select-warning-soft-default-fg: #F4F1FB;
4073
4129
  --select-warning-soft-default-border: transparent;
4074
- --select-warning-soft-default-placeholder: #BBB2D2;
4130
+ --select-warning-soft-default-placeholder: #F4F1FB;
4075
4131
  --select-warning-soft-default-icon: #FBBF24;
4076
4132
  --select-warning-soft-hover-bg: #78350F;
4077
4133
  --select-warning-soft-hover-fg: #F4F1FB;
4078
4134
  --select-warning-soft-hover-border: #FBBF24;
4079
- --select-warning-soft-hover-placeholder: #BBB2D2;
4135
+ --select-warning-soft-hover-placeholder: #F4F1FB;
4080
4136
  --select-warning-soft-hover-icon: #F59E0B;
4081
4137
  --select-warning-soft-focus-bg: #78350F;
4082
4138
  --select-warning-soft-focus-fg: #F4F1FB;
4083
4139
  --select-warning-soft-focus-border: #F59E0B;
4084
- --select-warning-soft-focus-placeholder: #BBB2D2;
4140
+ --select-warning-soft-focus-placeholder: #F4F1FB;
4085
4141
  --select-warning-soft-focus-icon: #F59E0B;
4086
4142
  --select-warning-soft-dropdown-border: transparent;
4087
4143
  --select-warning-soft-dropdown-ring: #F59E0B;
@@ -5668,7 +5724,7 @@
5668
5724
  --input-spinner-fg: #9CA3AF;
5669
5725
  --modal-overlay-bg: rgba(0, 0, 0, 0.82);
5670
5726
  --modal-overlay-blur: 4px;
5671
- --modal-overlay-animation-duration: 200ms;
5727
+ --modal-overlay-animation-duration: 180ms;
5672
5728
  --modal-content-bg: #111827;
5673
5729
  --modal-content-fg: #FFFFFF;
5674
5730
  --modal-content-border: #9CA3AF;
@@ -5683,7 +5739,7 @@
5683
5739
  --modal-content-viewport-margin: 32px;
5684
5740
  --modal-content-top-offset: 40px;
5685
5741
  --modal-content-z-index-offset: 1;
5686
- --modal-content-animation-duration: 160ms;
5742
+ --modal-content-animation-duration: 180ms;
5687
5743
  --modal-content-size-sm: 400px;
5688
5744
  --modal-content-size-md: 560px;
5689
5745
  --modal-content-size-lg: 720px;
@@ -5715,6 +5771,34 @@
5715
5771
  --modal-close-button-disabled-bg: transparent;
5716
5772
  --modal-close-button-disabled-fg: #6B7280;
5717
5773
  --modal-close-button-disabled-border: transparent;
5774
+ --modal-motion-close-duration: 150ms;
5775
+ --modal-motion-easing: cubic-bezier(0.22, 1, 0.36, 1);
5776
+ --modal-motion-open-duration: 180ms;
5777
+ --radio-size-sm-control-size: 14px;
5778
+ --radio-size-sm-indicator-size: 6px;
5779
+ --radio-size-sm-label-font-size: 14px;
5780
+ --radio-size-sm-label-line-height: 20px;
5781
+ --radio-size-sm-description-font-size: 12px;
5782
+ --radio-size-sm-description-line-height: 16px;
5783
+ --radio-size-md-control-size: 16px;
5784
+ --radio-size-md-indicator-size: 8px;
5785
+ --radio-size-md-label-font-size: 16px;
5786
+ --radio-size-md-label-line-height: 24px;
5787
+ --radio-size-md-description-font-size: 14px;
5788
+ --radio-size-md-description-line-height: 20px;
5789
+ --radio-size-lg-control-size: 20px;
5790
+ --radio-size-lg-indicator-size: 10px;
5791
+ --radio-size-lg-label-font-size: 20px;
5792
+ --radio-size-lg-label-line-height: 28px;
5793
+ --radio-size-lg-description-font-size: 16px;
5794
+ --radio-size-lg-description-line-height: 24px;
5795
+ --radio-motion-control-duration: 150ms;
5796
+ --radio-motion-easing: cubic-bezier(0.16, 1, 0.3, 1);
5797
+ --radio-motion-indicator-duration: 180ms;
5798
+ --radio-motion-selected-duration: 260ms;
5799
+ --radio-motion-pressed-scale: 0.96px;
5800
+ --radio-motion-active-scale: 0.92px;
5801
+ --radio-motion-pressed-opacity: 0.8px;
5718
5802
  --radio-default-bg: #000000;
5719
5803
  --radio-default-fg: #FFFFFF;
5720
5804
  --radio-default-border: #9CA3AF;
@@ -2,7 +2,7 @@ export declare const modal: {
2
2
  readonly overlay: {
3
3
  readonly bg: string;
4
4
  readonly blur: 4;
5
- readonly animationDuration: "200ms";
5
+ readonly animationDuration: "180ms";
6
6
  };
7
7
  readonly content: {
8
8
  readonly bg: string;
@@ -19,7 +19,7 @@ export declare const modal: {
19
19
  readonly viewportMargin: number;
20
20
  readonly topOffset: number;
21
21
  readonly zIndexOffset: "1";
22
- readonly animationDuration: "160ms";
22
+ readonly animationDuration: "180ms";
23
23
  readonly size: {
24
24
  readonly sm: 400;
25
25
  readonly md: 560;
@@ -78,5 +78,10 @@ export declare const modal: {
78
78
  readonly border: "transparent";
79
79
  };
80
80
  };
81
+ readonly motion: {
82
+ readonly closeDuration: "150ms";
83
+ readonly easing: "cubic-bezier(0.22, 1, 0.36, 1)";
84
+ readonly openDuration: "180ms";
85
+ };
81
86
  };
82
87
  //# sourceMappingURL=modal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../src/dark/components/modal.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBhB,CAAC"}
1
+ {"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../src/dark/components/modal.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBhB,CAAC"}
@@ -1,4 +1,39 @@
1
1
  export declare const radio: {
2
+ readonly size: {
3
+ readonly sm: {
4
+ readonly controlSize: 14;
5
+ readonly indicatorSize: 6;
6
+ readonly labelFontSize: 14;
7
+ readonly labelLineHeight: 20;
8
+ readonly descriptionFontSize: 12;
9
+ readonly descriptionLineHeight: 16;
10
+ };
11
+ readonly md: {
12
+ readonly controlSize: 16;
13
+ readonly indicatorSize: 8;
14
+ readonly labelFontSize: 16;
15
+ readonly labelLineHeight: 24;
16
+ readonly descriptionFontSize: 14;
17
+ readonly descriptionLineHeight: 20;
18
+ };
19
+ readonly lg: {
20
+ readonly controlSize: 20;
21
+ readonly indicatorSize: 10;
22
+ readonly labelFontSize: 20;
23
+ readonly labelLineHeight: 28;
24
+ readonly descriptionFontSize: 16;
25
+ readonly descriptionLineHeight: 24;
26
+ };
27
+ };
28
+ readonly motion: {
29
+ readonly controlDuration: "150ms";
30
+ readonly easing: "cubic-bezier(0.16, 1, 0.3, 1)";
31
+ readonly indicatorDuration: "180ms";
32
+ readonly selectedDuration: "260ms";
33
+ readonly pressedScale: 0.96;
34
+ readonly activeScale: 0.92;
35
+ readonly pressedOpacity: 0.8;
36
+ };
2
37
  readonly default: {
3
38
  readonly bg: "#2F2A42";
4
39
  readonly fg: "#F4F1FB";
@@ -1 +1 @@
1
- {"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../src/dark/components/radio.ts"],"names":[],"mappings":"AAsHA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCR,CAAC"}
1
+ {"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../src/dark/components/radio.ts"],"names":[],"mappings":"AA0HA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCR,CAAC"}
@@ -1,4 +1,4 @@
1
- import { createRadioPalette } from '../../factories/createRadioPalette.js';
1
+ import { createRadioPalette, radioMotionTokens, radioSizeTokens, } from '../../factories/createRadioPalette.js';
2
2
  import { colors } from '../../primitives/colors.js';
3
3
  import { border } from '../semantic/border.js';
4
4
  import { control } from '../semantic/control.js';
@@ -111,6 +111,8 @@ const danger = createRadioPalette({
111
111
  },
112
112
  });
113
113
  export const radio = {
114
+ size: radioSizeTokens,
115
+ motion: radioMotionTokens,
114
116
  default: control.default,
115
117
  hover: control.hover,
116
118
  pressed: control.active,
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/dark/components/select.ts"],"names":[],"mappings":"AA0EA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoOT,CAAC"}
@@ -53,6 +53,7 @@ const warning = createInputColorPalette({
53
53
  filledBg: colors.warning[950],
54
54
  filledHoverBg: colors.warning[900],
55
55
  hoverBg: colors.warning[950],
56
+ placeholder: text.primary,
56
57
  ring: colors.warning[500],
57
58
  });
58
59
  const danger = createInputColorPalette({
@@ -31,7 +31,7 @@ export declare const createModalTokens: (config: ModalTokensConfig) => {
31
31
  readonly overlay: {
32
32
  readonly bg: string;
33
33
  readonly blur: 4;
34
- readonly animationDuration: "200ms";
34
+ readonly animationDuration: "180ms";
35
35
  };
36
36
  readonly content: {
37
37
  readonly bg: string;
@@ -48,7 +48,7 @@ export declare const createModalTokens: (config: ModalTokensConfig) => {
48
48
  readonly viewportMargin: number;
49
49
  readonly topOffset: number;
50
50
  readonly zIndexOffset: "1";
51
- readonly animationDuration: "160ms";
51
+ readonly animationDuration: "180ms";
52
52
  readonly size: {
53
53
  readonly sm: 400;
54
54
  readonly md: 560;
@@ -102,6 +102,11 @@ export declare const createModalTokens: (config: ModalTokensConfig) => {
102
102
  readonly border: "transparent";
103
103
  };
104
104
  };
105
+ readonly motion: {
106
+ readonly closeDuration: "150ms";
107
+ readonly easing: "cubic-bezier(0.22, 1, 0.36, 1)";
108
+ readonly openDuration: "180ms";
109
+ };
105
110
  };
106
111
  export {};
107
112
  //# sourceMappingURL=createModalTokens.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createModalTokens.d.ts","sourceRoot":"","sources":["../../src/factories/createModalTokens.ts"],"names":[],"mappings":"AAAA,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,kBAAkB,EAAE,MAAM,CAA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oBAAoB,EAAE,cAAc,CAAC;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAcF,eAAO,MAAM,iBAAiB,GAAI,QAAQ,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2F9C,CAAC"}
@@ -2,13 +2,17 @@ const modalLayout = {
2
2
  maxHeight: '90vh',
3
3
  nativeMaxHeight: '90%',
4
4
  zIndexOffset: '1',
5
- animationDuration: '160ms',
5
+ };
6
+ const modalMotion = {
7
+ closeDuration: '150ms',
8
+ easing: 'cubic-bezier(0.22, 1, 0.36, 1)',
9
+ openDuration: '180ms',
6
10
  };
7
11
  export const createModalTokens = (config) => ({
8
12
  overlay: {
9
13
  bg: config.overlayBg,
10
14
  blur: 4,
11
- animationDuration: '200ms',
15
+ animationDuration: modalMotion.openDuration,
12
16
  },
13
17
  content: {
14
18
  bg: config.contentBg,
@@ -25,7 +29,7 @@ export const createModalTokens = (config) => ({
25
29
  viewportMargin: config.spacing8,
26
30
  topOffset: config.spacing10,
27
31
  zIndexOffset: modalLayout.zIndexOffset,
28
- animationDuration: modalLayout.animationDuration,
32
+ animationDuration: modalMotion.openDuration,
29
33
  size: {
30
34
  sm: 400,
31
35
  md: 560,
@@ -79,4 +83,5 @@ export const createModalTokens = (config) => ({
79
83
  border: 'transparent',
80
84
  },
81
85
  },
86
+ motion: modalMotion,
82
87
  });
@@ -16,4 +16,39 @@ export declare const createRadioPalette: ({ ring, default: defaultState, hover,
16
16
  readonly hover: RadioState;
17
17
  readonly pressed: RadioState;
18
18
  };
19
+ export declare const radioSizeTokens: {
20
+ readonly sm: {
21
+ readonly controlSize: 14;
22
+ readonly indicatorSize: 6;
23
+ readonly labelFontSize: 14;
24
+ readonly labelLineHeight: 20;
25
+ readonly descriptionFontSize: 12;
26
+ readonly descriptionLineHeight: 16;
27
+ };
28
+ readonly md: {
29
+ readonly controlSize: 16;
30
+ readonly indicatorSize: 8;
31
+ readonly labelFontSize: 16;
32
+ readonly labelLineHeight: 24;
33
+ readonly descriptionFontSize: 14;
34
+ readonly descriptionLineHeight: 20;
35
+ };
36
+ readonly lg: {
37
+ readonly controlSize: 20;
38
+ readonly indicatorSize: 10;
39
+ readonly labelFontSize: 20;
40
+ readonly labelLineHeight: 28;
41
+ readonly descriptionFontSize: 16;
42
+ readonly descriptionLineHeight: 24;
43
+ };
44
+ };
45
+ export declare const radioMotionTokens: {
46
+ readonly controlDuration: "150ms";
47
+ readonly easing: "cubic-bezier(0.16, 1, 0.3, 1)";
48
+ readonly indicatorDuration: "180ms";
49
+ readonly selectedDuration: "260ms";
50
+ readonly pressedScale: 0.96;
51
+ readonly activeScale: 0.92;
52
+ readonly pressedOpacity: 0.8;
53
+ };
19
54
  //# sourceMappingURL=createRadioPalette.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createRadioPalette.d.ts","sourceRoot":"","sources":["../../src/factories/createRadioPalette.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,UAAU,CAAC;IACpB,KAAK,EAAE,UAAU,CAAC;IAClB,OAAO,EAAE,UAAU,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,kDAKhC,kBAAkB;;;;;CAMR,CAAC"}
1
+ {"version":3,"file":"createRadioPalette.d.ts","sourceRoot":"","sources":["../../src/factories/createRadioPalette.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,UAAU,CAAC;IACpB,KAAK,EAAE,UAAU,CAAC;IAClB,OAAO,EAAE,UAAU,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,kDAKhC,kBAAkB;;;;;CAMR,CAAC;AAEd,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;CAyBlB,CAAC;AAEX,eAAO,MAAM,iBAAiB;;;;;;;;CAQpB,CAAC"}
@@ -1,6 +1,42 @@
1
+ import { typography } from '../tokens/typography.js';
1
2
  export const createRadioPalette = ({ ring, default: defaultState, hover, pressed, }) => ({
2
3
  ring,
3
4
  default: defaultState,
4
5
  hover,
5
6
  pressed,
6
7
  });
8
+ export const radioSizeTokens = {
9
+ sm: {
10
+ controlSize: 14,
11
+ indicatorSize: 6,
12
+ labelFontSize: typography.size.sm,
13
+ labelLineHeight: typography.lineHeight.sm,
14
+ descriptionFontSize: typography.size.xs,
15
+ descriptionLineHeight: typography.lineHeight.xs,
16
+ },
17
+ md: {
18
+ controlSize: 16,
19
+ indicatorSize: 8,
20
+ labelFontSize: typography.size.md,
21
+ labelLineHeight: typography.lineHeight.md,
22
+ descriptionFontSize: typography.size.sm,
23
+ descriptionLineHeight: typography.lineHeight.sm,
24
+ },
25
+ lg: {
26
+ controlSize: 20,
27
+ indicatorSize: 10,
28
+ labelFontSize: typography.size.lg,
29
+ labelLineHeight: typography.lineHeight.lg,
30
+ descriptionFontSize: typography.size.md,
31
+ descriptionLineHeight: typography.lineHeight.md,
32
+ },
33
+ };
34
+ export const radioMotionTokens = {
35
+ controlDuration: '150ms',
36
+ easing: 'cubic-bezier(0.16, 1, 0.3, 1)',
37
+ indicatorDuration: '180ms',
38
+ selectedDuration: '260ms',
39
+ pressedScale: 0.96,
40
+ activeScale: 0.92,
41
+ pressedOpacity: 0.8,
42
+ };