@revolut/ui-kit-miniapp 0.2.1 → 0.3.1

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 (2) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +386 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revolut/ui-kit-miniapp",
3
- "version": "0.2.1",
3
+ "version": "0.3.1",
4
4
  "license": "Apache-2.0",
5
5
  "main": "",
6
6
  "types": "types/index.d.ts",
package/types/index.d.ts CHANGED
@@ -68,6 +68,7 @@ declare const DEFAULT_MESSAGES: {
68
68
  readonly 'action.open-menu': "Open menu";
69
69
  readonly 'action.open-filters': "Open filters";
70
70
  readonly 'label.apps': "Apps";
71
+ readonly 'label.all-apps': "All apps";
71
72
  readonly 'label.notifications': "Notifications";
72
73
  readonly 'label.accounts': "Accounts";
73
74
  readonly 'label.profile': "Profile";
@@ -263,10 +264,6 @@ declare const color: {
263
264
  readonly ultraLight: "var(--rui-color-ultra-light)";
264
265
  readonly ultraLightBlue: "var(--rui-color-ultra-light-blue)";
265
266
  readonly ultraMid: "var(--rui-color-ultra-mid)";
266
- readonly reflectiveSmallUIOverlay: "var(--rui-color-reflective-small-ui-overlay)";
267
- readonly groupedBackgroundReflective: "var(--rui-color-grouped-background-reflective, var(--rui-color-grouped-background))";
268
- readonly popoverBackgroundReflective: "var(--rui-color-popover-background-reflective, var(--rui-color-popover-background))";
269
- readonly widgetBackgroundReflective: "var(--rui-color-widget-background-reflective, var(--rui-color-widget-background))";
270
267
  };
271
268
  declare const Token$1: {
272
269
  readonly breakpoint: {
@@ -1674,7 +1671,7 @@ declare const sprinkles: ((props: {
1674
1671
  xxl?: "center" | "start" | "right" | "left" | "end" | undefined;
1675
1672
  } | undefined;
1676
1673
  }) => string) & {
1677
- properties: Set<"position" | "display" | "overflow" | "textAlign" | "alignItems" | "justifyContent" | "flexWrap" | "flexDirection" | "alignSelf">;
1674
+ properties: Set<"display" | "overflow" | "textAlign" | "alignItems" | "justifyContent" | "flexWrap" | "flexDirection" | "alignSelf" | "position">;
1678
1675
  };
1679
1676
  type Sprinkles = Parameters<typeof sprinkles>[0];
1680
1677
 
@@ -2013,6 +2010,58 @@ interface ImageProps$1 extends Omit<BoxProps<'img'>, 'variant' | 'use'> {
2013
2010
  image?: ImageProp$1;
2014
2011
  }
2015
2012
 
2013
+ interface MapMarker$1<T = string> {
2014
+ id?: string;
2015
+ title: string;
2016
+ lat: number;
2017
+ lng: number;
2018
+ image?: string;
2019
+ description?: string;
2020
+ data?: T;
2021
+ }
2022
+ interface MapCenter$1 {
2023
+ lat: number;
2024
+ lng: number;
2025
+ }
2026
+ /**
2027
+ * Corner points rather than Google's `north`/`south`/`east`/`west` edges, so
2028
+ * each corner is ready to send as a single `<Latitude>,<Longitude>` pair.
2029
+ */
2030
+ interface MapBounds {
2031
+ southWest: MapCenter$1;
2032
+ northEast: MapCenter$1;
2033
+ }
2034
+ interface MapViewportEvent {
2035
+ center: MapCenter$1;
2036
+ zoom: number;
2037
+ bounds: MapBounds;
2038
+ }
2039
+ interface MapErrorEvent {
2040
+ message: string;
2041
+ }
2042
+ interface MapControls$1 {
2043
+ zoomControl?: boolean;
2044
+ mapTypeControl?: boolean;
2045
+ scaleControl?: boolean;
2046
+ streetViewControl?: boolean;
2047
+ rotateControl?: boolean;
2048
+ fullscreenControl?: boolean;
2049
+ gestureHandling?: 'auto' | 'cooperative' | 'greedy' | 'none';
2050
+ }
2051
+ declare const MapLoadingState$1: {
2052
+ readonly BUSY: "busy";
2053
+ readonly FAILED: "failed";
2054
+ readonly LOADING: "loading";
2055
+ readonly READY: "ready";
2056
+ };
2057
+ type MapLoadingState$1 = ValueOf<typeof MapLoadingState$1>;
2058
+
2059
+ declare const SliderVariant: {
2060
+ readonly SLIDER: "slider";
2061
+ readonly RANGE: "range";
2062
+ };
2063
+ type SliderVariant = ValueOf<typeof SliderVariant>;
2064
+
2016
2065
  declare const ToastTimeout: {
2017
2066
  readonly SHORT: "short";
2018
2067
  readonly LONG: "long";
@@ -4074,6 +4123,176 @@ interface ListProps {
4074
4123
  */
4075
4124
  declare const List: ({ items }: ListProps) => react_jsx_runtime.JSX.Element;
4076
4125
 
4126
+ /**
4127
+ * Marker to display on the map.
4128
+ */
4129
+ type MapMarker = MapMarker$1;
4130
+ /**
4131
+ * Map center coordinates.
4132
+ */
4133
+ type MapCenter = MapCenter$1;
4134
+ /**
4135
+ * Map loading state options.
4136
+ * - 'loading': initial script load (skeleton shown)
4137
+ * - 'busy': reloading results over an already-ready map
4138
+ * - 'failed': map failed to load (error state shown)
4139
+ * - 'ready': map is ready (default)
4140
+ */
4141
+ type MapLoadingState = MapLoadingState$1;
4142
+ /**
4143
+ * Map controls configuration.
4144
+ */
4145
+ type MapControls = MapControls$1;
4146
+ /**
4147
+ * Props for the Map component.
4148
+ *
4149
+ * @example
4150
+ * ```tsx
4151
+ * <Map apiKey="YOUR_API_KEY" center={{ lat: 51.5074, lng: -0.1278 }} />
4152
+ * ```
4153
+ */
4154
+ interface MapProps {
4155
+ /**
4156
+ * Google Maps API key (required).
4157
+ */
4158
+ apiKey: string;
4159
+ /**
4160
+ * Google Maps map ID.
4161
+ */
4162
+ mapId?: string;
4163
+ /**
4164
+ * Initial map center coordinates.
4165
+ * @default { lat: 51.5074, lng: -0.1278 }
4166
+ */
4167
+ center?: MapCenter;
4168
+ /**
4169
+ * Initial zoom level.
4170
+ * @default 11
4171
+ */
4172
+ zoom?: number;
4173
+ /**
4174
+ * Markers to display on the map.
4175
+ */
4176
+ markers?: MapMarker[];
4177
+ /**
4178
+ * Map UI controls configuration.
4179
+ */
4180
+ controls?: MapControls;
4181
+ /**
4182
+ * Loading state override.
4183
+ */
4184
+ loadingState?: MapLoadingState;
4185
+ /**
4186
+ * Label shown when the map fails to load.
4187
+ */
4188
+ labelFailedState?: React__default.ReactNode;
4189
+ /**
4190
+ * Label for the retry button shown on failure.
4191
+ */
4192
+ labelRetry?: React__default.ReactNode;
4193
+ /**
4194
+ * Callback fired when the user retries after a failure.
4195
+ */
4196
+ onRetry?: () => void;
4197
+ /**
4198
+ * Callback fired when the map errors.
4199
+ */
4200
+ onError?: (error: MapErrorEvent) => void;
4201
+ /**
4202
+ * Callback fired when the user finishes dragging the map.
4203
+ */
4204
+ onDragEnd?: (event: MapViewportEvent) => void;
4205
+ /**
4206
+ * Callback fired when the map zoom changes.
4207
+ */
4208
+ onZoom?: (event: MapViewportEvent) => void;
4209
+ /**
4210
+ * Custom marker renderer.
4211
+ */
4212
+ renderMarker?: (marker: MapMarker) => React__default.ReactNode;
4213
+ /**
4214
+ * Custom popup renderer shown when a marker is activated.
4215
+ */
4216
+ renderPopup?: (marker: MapMarker) => React__default.ReactNode;
4217
+ }
4218
+ /**
4219
+ * Map component for embedding an interactive Google Map.
4220
+ *
4221
+ * Renders a Google Map with optional markers, custom controls, and
4222
+ * custom marker/popup renderers. Requires a Google Maps API key.
4223
+ *
4224
+ * @example
4225
+ * ```tsx
4226
+ * import { Map } from '@revolut/ui-kit-miniapp'
4227
+ *
4228
+ * function BasicExample() {
4229
+ * return (
4230
+ * <Map
4231
+ * apiKey="YOUR_API_KEY"
4232
+ * center={{ lat: 51.5074, lng: -0.1278 }}
4233
+ * />
4234
+ * )
4235
+ * }
4236
+ * ```
4237
+ *
4238
+ * @example
4239
+ * ```tsx
4240
+ * import { Map } from '@revolut/ui-kit-miniapp'
4241
+ *
4242
+ * // With markers
4243
+ * function MarkersExample() {
4244
+ * return (
4245
+ * <Map
4246
+ * apiKey="YOUR_API_KEY"
4247
+ * center={{ lat: 51.5074, lng: -0.1278 }}
4248
+ * markers={[
4249
+ * { id: 'office', title: 'Revolut Office', lat: 51.5044, lng: -0.0204 },
4250
+ * ]}
4251
+ * />
4252
+ * )
4253
+ * }
4254
+ * ```
4255
+ *
4256
+ * @example
4257
+ * ```tsx
4258
+ * import { Map } from '@revolut/ui-kit-miniapp'
4259
+ *
4260
+ * // With viewport events
4261
+ * function ViewportExample() {
4262
+ * return (
4263
+ * <Map
4264
+ * apiKey="YOUR_API_KEY"
4265
+ * center={{ lat: 51.5074, lng: -0.1278 }}
4266
+ * onDragEnd={(event) => console.log('Center:', event.center)}
4267
+ * onZoom={(event) => console.log('Zoom:', event.zoom)}
4268
+ * />
4269
+ * )
4270
+ * }
4271
+ * ```
4272
+ *
4273
+ * @example
4274
+ * ```tsx
4275
+ * import { Map } from '@revolut/ui-kit-miniapp'
4276
+ *
4277
+ * // With custom controls
4278
+ * function ControlsExample() {
4279
+ * return (
4280
+ * <Map
4281
+ * apiKey="YOUR_API_KEY"
4282
+ * center={{ lat: 51.5074, lng: -0.1278 }}
4283
+ * controls={{
4284
+ * zoomControl: false,
4285
+ * fullscreenControl: false,
4286
+ * streetViewControl: false,
4287
+ * mapTypeControl: false,
4288
+ * }}
4289
+ * />
4290
+ * )
4291
+ * }
4292
+ * ```
4293
+ */
4294
+ declare const Map: ({ apiKey, mapId, center, zoom, markers, controls, loadingState, labelFailedState, labelRetry, onRetry, onError, onDragEnd, onZoom, renderMarker, renderPopup, }: MapProps) => react_jsx_runtime.JSX.Element;
4295
+
4077
4296
  /**
4078
4297
  * Props for the FilterButton component.
4079
4298
  *
@@ -4257,6 +4476,165 @@ interface SearchProps extends NativeInputProps$2 {
4257
4476
  */
4258
4477
  declare const Search: ({ value, defaultValue, onChange, placeholder, labelButtonClear, disabled, readOnly, invalid, ...rest }: SearchProps) => react_jsx_runtime.JSX.Element;
4259
4478
 
4479
+ interface SliderBaseProps extends Omit<NativeDivProps, 'onChange' | 'value' | 'defaultValue' | 'variant'> {
4480
+ /**
4481
+ * Minimum allowed value.
4482
+ * @default 0
4483
+ */
4484
+ min?: number;
4485
+ /**
4486
+ * Maximum allowed value.
4487
+ * @default 1
4488
+ */
4489
+ max?: number;
4490
+ /**
4491
+ * Step between allowed values.
4492
+ * @default 0.01
4493
+ */
4494
+ step?: number;
4495
+ /**
4496
+ * Whether the slider is disabled.
4497
+ * @default false
4498
+ */
4499
+ disabled?: boolean;
4500
+ /**
4501
+ * Accessible label for the maximum handle.
4502
+ */
4503
+ labelMax?: string;
4504
+ /**
4505
+ * Accessible label for the minimum handle.
4506
+ */
4507
+ labelMin?: string;
4508
+ /**
4509
+ * Whether to show a tooltip with the current value while interacting.
4510
+ * @default false
4511
+ */
4512
+ showTooltip?: boolean;
4513
+ }
4514
+ /**
4515
+ * Props for the single-value Slider variant.
4516
+ */
4517
+ interface SingleSliderProps extends SliderBaseProps {
4518
+ variant: typeof SliderVariant.SLIDER;
4519
+ /**
4520
+ * Controlled value.
4521
+ */
4522
+ value?: number;
4523
+ /**
4524
+ * Default value for uncontrolled usage.
4525
+ */
4526
+ defaultValue?: number;
4527
+ /**
4528
+ * Callback fired continuously while the value changes.
4529
+ */
4530
+ onChange?: (value: number) => void;
4531
+ /**
4532
+ * Callback fired once when the user finishes changing the value.
4533
+ */
4534
+ onChangeEnd?: (value: number) => void;
4535
+ /**
4536
+ * Positions to mark and snap to on the track. Values at the `min` and `max`
4537
+ * edges are ignored. Only supported on the single (non-range) variant.
4538
+ */
4539
+ checkpoints?: number[];
4540
+ }
4541
+ /**
4542
+ * Props for the range Slider variant.
4543
+ */
4544
+ interface RangeSliderProps extends SliderBaseProps {
4545
+ variant: typeof SliderVariant.RANGE;
4546
+ /**
4547
+ * Controlled [min, max] values.
4548
+ */
4549
+ value?: [number, number];
4550
+ /**
4551
+ * Default [min, max] values for uncontrolled usage.
4552
+ */
4553
+ defaultValue?: [number, number];
4554
+ /**
4555
+ * Callback fired continuously while the values change.
4556
+ */
4557
+ onChange?: (value: [number, number]) => void;
4558
+ /**
4559
+ * Callback fired once when the user finishes changing the values.
4560
+ */
4561
+ onChangeEnd?: (value: [number, number]) => void;
4562
+ }
4563
+ /**
4564
+ * Props for the Slider component.
4565
+ */
4566
+ type SliderProps = SingleSliderProps | RangeSliderProps;
4567
+ /**
4568
+ * Slider component for picking a single numeric value or a min–max range.
4569
+ *
4570
+ * Use sliders for approximate adjustments where dragging is faster than typing an exact number.
4571
+ *
4572
+ * @example
4573
+ * ```tsx
4574
+ * import { Slider } from '@revolut/ui-kit-miniapp'
4575
+ *
4576
+ * // Uncontrolled single value
4577
+ * function SingleExample() {
4578
+ * return (
4579
+ * <Slider
4580
+ * defaultValue={0.5}
4581
+ * min={0}
4582
+ * max={1}
4583
+ * onChange={(value) => console.log('Value:', value)}
4584
+ * />
4585
+ * )
4586
+ * }
4587
+ * ```
4588
+ *
4589
+ * @example
4590
+ * ```tsx
4591
+ * import { Slider } from '@revolut/ui-kit-miniapp'
4592
+ * import { useState } from 'react'
4593
+ *
4594
+ * // Controlled range
4595
+ * function RangeExample() {
4596
+ * const [value, setValue] = useState<[number, number]>([0.25, 0.75])
4597
+ *
4598
+ * return (
4599
+ * <Slider
4600
+ * variant="range"
4601
+ * value={value}
4602
+ * onChange={setValue}
4603
+ * labelMin="Minimum"
4604
+ * labelMax="Maximum"
4605
+ * />
4606
+ * )
4607
+ * }
4608
+ * ```
4609
+ *
4610
+ * @example
4611
+ * ```tsx
4612
+ * import { Slider } from '@revolut/ui-kit-miniapp'
4613
+ *
4614
+ * // With checkpoints and tooltip
4615
+ * function CheckpointsExample() {
4616
+ * return (
4617
+ * <Slider
4618
+ * defaultValue={0.5}
4619
+ * checkpoints={[0.25, 0.5, 0.75]}
4620
+ * showTooltip
4621
+ * />
4622
+ * )
4623
+ * }
4624
+ * ```
4625
+ *
4626
+ * @example
4627
+ * ```tsx
4628
+ * import { Slider } from '@revolut/ui-kit-miniapp'
4629
+ *
4630
+ * // Disabled state
4631
+ * function DisabledExample() {
4632
+ * return <Slider disabled defaultValue={0.4} />
4633
+ * }
4634
+ * ```
4635
+ */
4636
+ declare const Slider: (props: SliderProps) => react_jsx_runtime.JSX.Element;
4637
+
4260
4638
  /**
4261
4639
  * Props for the HStack component.
4262
4640
  *
@@ -6162,7 +6540,7 @@ declare const Token: {
6162
6540
  * Token.color.danger // Error state
6163
6541
  * ```
6164
6542
  */
6165
- readonly color: Record<"searchBackground" | "segmentedWidgetBackground" | "segmentedBackground" | "segmentedActive" | "actionPhotoHeaderText" | "actionPhotoHeaderTextNeutral" | "actionPhotoHeaderBackground" | "actionPhotoHeaderBackgroundNeutral" | "redActionBackground" | "nestedBackground" | "greyTone5" | "greyTone8" | "greyTone10" | "greyTone20" | "greyTone50" | "actionLabel" | "actionLabelNeutral" | "inputError" | "inputErrorFocus" | "disabledBackground" | "progressNeutral" | "up" | "down" | "neutral" | "shimmer" | "onShimmer" | "modalOverlay" | "metalDark" | "metalLight" | "plus" | "premiumDark" | "premiumLight" | "premiumMid" | "ultraDark" | "ultraLight" | "ultraLightBlue" | "ultraMid" | "reflectiveSmallUIOverlay" | "groupedBackgroundReflective" | "popoverBackgroundReflective" | "widgetBackgroundReflective" | ("accent" | "negative" | "accentNeutral" | "blue" | "coldBlue" | "pink" | "green" | "orange" | "red" | "deepPink" | "terracotta" | "yellow" | "lime" | "lightGreen" | "teal" | "cyan" | "lightBlue" | "indigo" | "deepPurple" | "purple" | "brown" | "deepGrey" | "black" | "grey50" | "grey20" | "grey10" | "grey5" | "grey8" | "grey2" | "white" | "actionBlue" | "actionBlueNeutral" | "onAccent" | "onAccentNeutral" | "actionBackground" | "actionBackgroundNeutral" | "widgetBackground" | "groupedBackground" | "popoverBackground" | "background" | "greyTone2" | "foreground" | "success" | "warning" | "danger" | "inactive" | "positive" | "static" | "layoutBackground" | "accent_5" | "accent_10" | "accent_20" | "accent_30" | "accent_40" | "accent_50" | "accent_60" | "accent_70" | "accent_80" | "accent_90" | "negative_5" | "negative_10" | "negative_20" | "negative_30" | "negative_40" | "negative_50" | "negative_60" | "negative_70" | "negative_80" | "negative_90" | "accentNeutral_5" | "accentNeutral_10" | "accentNeutral_20" | "accentNeutral_30" | "accentNeutral_40" | "accentNeutral_50" | "accentNeutral_60" | "accentNeutral_70" | "accentNeutral_80" | "accentNeutral_90" | "blue_5" | "blue_10" | "blue_20" | "blue_30" | "blue_40" | "blue_50" | "blue_60" | "blue_70" | "blue_80" | "blue_90" | "coldBlue_5" | "coldBlue_10" | "coldBlue_20" | "coldBlue_30" | "coldBlue_40" | "coldBlue_50" | "coldBlue_60" | "coldBlue_70" | "coldBlue_80" | "coldBlue_90" | "pink_5" | "pink_10" | "pink_20" | "pink_30" | "pink_40" | "pink_50" | "pink_60" | "pink_70" | "pink_80" | "pink_90" | "green_5" | "green_10" | "green_20" | "green_30" | "green_40" | "green_50" | "green_60" | "green_70" | "green_80" | "green_90" | "orange_5" | "orange_10" | "orange_20" | "orange_30" | "orange_40" | "orange_50" | "orange_60" | "orange_70" | "orange_80" | "orange_90" | "red_5" | "red_10" | "red_20" | "red_30" | "red_40" | "red_50" | "red_60" | "red_70" | "red_80" | "red_90" | "deepPink_5" | "deepPink_10" | "deepPink_20" | "deepPink_30" | "deepPink_40" | "deepPink_50" | "deepPink_60" | "deepPink_70" | "deepPink_80" | "deepPink_90" | "terracotta_5" | "terracotta_10" | "terracotta_20" | "terracotta_30" | "terracotta_40" | "terracotta_50" | "terracotta_60" | "terracotta_70" | "terracotta_80" | "terracotta_90" | "yellow_5" | "yellow_10" | "yellow_20" | "yellow_30" | "yellow_40" | "yellow_50" | "yellow_60" | "yellow_70" | "yellow_80" | "yellow_90" | "lime_5" | "lime_10" | "lime_20" | "lime_30" | "lime_40" | "lime_50" | "lime_60" | "lime_70" | "lime_80" | "lime_90" | "lightGreen_5" | "lightGreen_10" | "lightGreen_20" | "lightGreen_30" | "lightGreen_40" | "lightGreen_50" | "lightGreen_60" | "lightGreen_70" | "lightGreen_80" | "lightGreen_90" | "teal_5" | "teal_10" | "teal_20" | "teal_30" | "teal_40" | "teal_50" | "teal_60" | "teal_70" | "teal_80" | "teal_90" | "cyan_5" | "cyan_10" | "cyan_20" | "cyan_30" | "cyan_40" | "cyan_50" | "cyan_60" | "cyan_70" | "cyan_80" | "cyan_90" | "lightBlue_5" | "lightBlue_10" | "lightBlue_20" | "lightBlue_30" | "lightBlue_40" | "lightBlue_50" | "lightBlue_60" | "lightBlue_70" | "lightBlue_80" | "lightBlue_90" | "indigo_5" | "indigo_10" | "indigo_20" | "indigo_30" | "indigo_40" | "indigo_50" | "indigo_60" | "indigo_70" | "indigo_80" | "indigo_90" | "deepPurple_5" | "deepPurple_10" | "deepPurple_20" | "deepPurple_30" | "deepPurple_40" | "deepPurple_50" | "deepPurple_60" | "deepPurple_70" | "deepPurple_80" | "deepPurple_90" | "purple_5" | "purple_10" | "purple_20" | "purple_30" | "purple_40" | "purple_50" | "purple_60" | "purple_70" | "purple_80" | "purple_90" | "brown_5" | "brown_10" | "brown_20" | "brown_30" | "brown_40" | "brown_50" | "brown_60" | "brown_70" | "brown_80" | "brown_90" | "deepGrey_5" | "deepGrey_10" | "deepGrey_20" | "deepGrey_30" | "deepGrey_40" | "deepGrey_50" | "deepGrey_60" | "deepGrey_70" | "deepGrey_80" | "deepGrey_90" | "black_5" | "black_10" | "black_20" | "black_30" | "black_40" | "black_50" | "black_60" | "black_70" | "black_80" | "black_90" | "grey50_5" | "grey50_10" | "grey50_20" | "grey50_30" | "grey50_40" | "grey50_50" | "grey50_60" | "grey50_70" | "grey50_80" | "grey50_90" | "grey20_5" | "grey20_10" | "grey20_20" | "grey20_30" | "grey20_40" | "grey20_50" | "grey20_60" | "grey20_70" | "grey20_80" | "grey20_90" | "grey10_5" | "grey10_10" | "grey10_20" | "grey10_30" | "grey10_40" | "grey10_50" | "grey10_60" | "grey10_70" | "grey10_80" | "grey10_90" | "grey5_5" | "grey5_10" | "grey5_20" | "grey5_30" | "grey5_40" | "grey5_50" | "grey5_60" | "grey5_70" | "grey5_80" | "grey5_90" | "grey8_5" | "grey8_10" | "grey8_20" | "grey8_30" | "grey8_40" | "grey8_50" | "grey8_60" | "grey8_70" | "grey8_80" | "grey8_90" | "grey2_5" | "grey2_10" | "grey2_20" | "grey2_30" | "grey2_40" | "grey2_50" | "grey2_60" | "grey2_70" | "grey2_80" | "grey2_90" | "white_5" | "white_10" | "white_20" | "white_30" | "white_40" | "white_50" | "white_60" | "white_70" | "white_80" | "white_90" | "actionBlue_5" | "actionBlue_10" | "actionBlue_20" | "actionBlue_30" | "actionBlue_40" | "actionBlue_50" | "actionBlue_60" | "actionBlue_70" | "actionBlue_80" | "actionBlue_90" | "actionBlueNeutral_5" | "actionBlueNeutral_10" | "actionBlueNeutral_20" | "actionBlueNeutral_30" | "actionBlueNeutral_40" | "actionBlueNeutral_50" | "actionBlueNeutral_60" | "actionBlueNeutral_70" | "actionBlueNeutral_80" | "actionBlueNeutral_90" | "onAccent_5" | "onAccent_10" | "onAccent_20" | "onAccent_30" | "onAccent_40" | "onAccent_50" | "onAccent_60" | "onAccent_70" | "onAccent_80" | "onAccent_90" | "onAccentNeutral_5" | "onAccentNeutral_10" | "onAccentNeutral_20" | "onAccentNeutral_30" | "onAccentNeutral_40" | "onAccentNeutral_50" | "onAccentNeutral_60" | "onAccentNeutral_70" | "onAccentNeutral_80" | "onAccentNeutral_90" | "actionBackgroundNeutral_5" | "actionBackgroundNeutral_10" | "actionBackgroundNeutral_20" | "actionBackgroundNeutral_30" | "actionBackgroundNeutral_40" | "actionBackgroundNeutral_50" | "actionBackgroundNeutral_60" | "actionBackgroundNeutral_70" | "actionBackgroundNeutral_80" | "actionBackgroundNeutral_90" | "popoverBackground_5" | "popoverBackground_10" | "popoverBackground_20" | "popoverBackground_30" | "popoverBackground_40" | "popoverBackground_50" | "popoverBackground_60" | "popoverBackground_70" | "popoverBackground_80" | "popoverBackground_90" | "greyTone2_5" | "greyTone2_10" | "greyTone2_20" | "greyTone2_30" | "greyTone2_40" | "greyTone2_50" | "greyTone2_60" | "greyTone2_70" | "greyTone2_80" | "greyTone2_90" | "success_5" | "success_10" | "success_20" | "success_30" | "success_40" | "success_50" | "success_60" | "success_70" | "success_80" | "success_90" | "warning_5" | "warning_10" | "warning_20" | "warning_30" | "warning_40" | "warning_50" | "warning_60" | "warning_70" | "warning_80" | "warning_90" | "danger_5" | "danger_10" | "danger_20" | "danger_30" | "danger_40" | "danger_50" | "danger_60" | "danger_70" | "danger_80" | "danger_90" | "inactive_5" | "inactive_10" | "inactive_20" | "inactive_30" | "inactive_40" | "inactive_50" | "inactive_60" | "inactive_70" | "inactive_80" | "inactive_90" | "positive_5" | "positive_10" | "positive_20" | "positive_30" | "positive_40" | "positive_50" | "positive_60" | "positive_70" | "positive_80" | "positive_90" | "static_5" | "static_10" | "static_20" | "static_30" | "static_40" | "static_50" | "static_60" | "static_70" | "static_80" | "static_90"), string>;
6543
+ readonly color: Record<"searchBackground" | "segmentedWidgetBackground" | "segmentedBackground" | "segmentedActive" | "actionPhotoHeaderText" | "actionPhotoHeaderTextNeutral" | "actionPhotoHeaderBackground" | "actionPhotoHeaderBackgroundNeutral" | "redActionBackground" | "nestedBackground" | "greyTone5" | "greyTone8" | "greyTone10" | "greyTone20" | "greyTone50" | "actionLabel" | "actionLabelNeutral" | "inputError" | "inputErrorFocus" | "disabledBackground" | "progressNeutral" | "up" | "down" | "neutral" | "shimmer" | "onShimmer" | "modalOverlay" | "metalDark" | "metalLight" | "plus" | "premiumDark" | "premiumLight" | "premiumMid" | "ultraDark" | "ultraLight" | "ultraLightBlue" | "ultraMid" | ("accent" | "accentNeutral" | "blue" | "coldBlue" | "pink" | "green" | "orange" | "red" | "deepPink" | "terracotta" | "yellow" | "lime" | "lightGreen" | "teal" | "cyan" | "lightBlue" | "indigo" | "deepPurple" | "purple" | "brown" | "deepGrey" | "black" | "grey50" | "grey20" | "grey10" | "grey5" | "grey8" | "grey2" | "white" | "actionBlue" | "actionBlueNeutral" | "onAccent" | "onAccentNeutral" | "actionBackground" | "actionBackgroundNeutral" | "widgetBackground" | "groupedBackground" | "popoverBackground" | "background" | "greyTone2" | "foreground" | "success" | "warning" | "danger" | "inactive" | "positive" | "negative" | "static" | "layoutBackground" | "accent_5" | "accent_10" | "accent_20" | "accent_30" | "accent_40" | "accent_50" | "accent_60" | "accent_70" | "accent_80" | "accent_90" | "accentNeutral_5" | "accentNeutral_10" | "accentNeutral_20" | "accentNeutral_30" | "accentNeutral_40" | "accentNeutral_50" | "accentNeutral_60" | "accentNeutral_70" | "accentNeutral_80" | "accentNeutral_90" | "blue_5" | "blue_10" | "blue_20" | "blue_30" | "blue_40" | "blue_50" | "blue_60" | "blue_70" | "blue_80" | "blue_90" | "coldBlue_5" | "coldBlue_10" | "coldBlue_20" | "coldBlue_30" | "coldBlue_40" | "coldBlue_50" | "coldBlue_60" | "coldBlue_70" | "coldBlue_80" | "coldBlue_90" | "pink_5" | "pink_10" | "pink_20" | "pink_30" | "pink_40" | "pink_50" | "pink_60" | "pink_70" | "pink_80" | "pink_90" | "green_5" | "green_10" | "green_20" | "green_30" | "green_40" | "green_50" | "green_60" | "green_70" | "green_80" | "green_90" | "orange_5" | "orange_10" | "orange_20" | "orange_30" | "orange_40" | "orange_50" | "orange_60" | "orange_70" | "orange_80" | "orange_90" | "red_5" | "red_10" | "red_20" | "red_30" | "red_40" | "red_50" | "red_60" | "red_70" | "red_80" | "red_90" | "deepPink_5" | "deepPink_10" | "deepPink_20" | "deepPink_30" | "deepPink_40" | "deepPink_50" | "deepPink_60" | "deepPink_70" | "deepPink_80" | "deepPink_90" | "terracotta_5" | "terracotta_10" | "terracotta_20" | "terracotta_30" | "terracotta_40" | "terracotta_50" | "terracotta_60" | "terracotta_70" | "terracotta_80" | "terracotta_90" | "yellow_5" | "yellow_10" | "yellow_20" | "yellow_30" | "yellow_40" | "yellow_50" | "yellow_60" | "yellow_70" | "yellow_80" | "yellow_90" | "lime_5" | "lime_10" | "lime_20" | "lime_30" | "lime_40" | "lime_50" | "lime_60" | "lime_70" | "lime_80" | "lime_90" | "lightGreen_5" | "lightGreen_10" | "lightGreen_20" | "lightGreen_30" | "lightGreen_40" | "lightGreen_50" | "lightGreen_60" | "lightGreen_70" | "lightGreen_80" | "lightGreen_90" | "teal_5" | "teal_10" | "teal_20" | "teal_30" | "teal_40" | "teal_50" | "teal_60" | "teal_70" | "teal_80" | "teal_90" | "cyan_5" | "cyan_10" | "cyan_20" | "cyan_30" | "cyan_40" | "cyan_50" | "cyan_60" | "cyan_70" | "cyan_80" | "cyan_90" | "lightBlue_5" | "lightBlue_10" | "lightBlue_20" | "lightBlue_30" | "lightBlue_40" | "lightBlue_50" | "lightBlue_60" | "lightBlue_70" | "lightBlue_80" | "lightBlue_90" | "indigo_5" | "indigo_10" | "indigo_20" | "indigo_30" | "indigo_40" | "indigo_50" | "indigo_60" | "indigo_70" | "indigo_80" | "indigo_90" | "deepPurple_5" | "deepPurple_10" | "deepPurple_20" | "deepPurple_30" | "deepPurple_40" | "deepPurple_50" | "deepPurple_60" | "deepPurple_70" | "deepPurple_80" | "deepPurple_90" | "purple_5" | "purple_10" | "purple_20" | "purple_30" | "purple_40" | "purple_50" | "purple_60" | "purple_70" | "purple_80" | "purple_90" | "brown_5" | "brown_10" | "brown_20" | "brown_30" | "brown_40" | "brown_50" | "brown_60" | "brown_70" | "brown_80" | "brown_90" | "deepGrey_5" | "deepGrey_10" | "deepGrey_20" | "deepGrey_30" | "deepGrey_40" | "deepGrey_50" | "deepGrey_60" | "deepGrey_70" | "deepGrey_80" | "deepGrey_90" | "black_5" | "black_10" | "black_20" | "black_30" | "black_40" | "black_50" | "black_60" | "black_70" | "black_80" | "black_90" | "grey50_5" | "grey50_10" | "grey50_20" | "grey50_30" | "grey50_40" | "grey50_50" | "grey50_60" | "grey50_70" | "grey50_80" | "grey50_90" | "grey20_5" | "grey20_10" | "grey20_20" | "grey20_30" | "grey20_40" | "grey20_50" | "grey20_60" | "grey20_70" | "grey20_80" | "grey20_90" | "grey10_5" | "grey10_10" | "grey10_20" | "grey10_30" | "grey10_40" | "grey10_50" | "grey10_60" | "grey10_70" | "grey10_80" | "grey10_90" | "grey5_5" | "grey5_10" | "grey5_20" | "grey5_30" | "grey5_40" | "grey5_50" | "grey5_60" | "grey5_70" | "grey5_80" | "grey5_90" | "grey8_5" | "grey8_10" | "grey8_20" | "grey8_30" | "grey8_40" | "grey8_50" | "grey8_60" | "grey8_70" | "grey8_80" | "grey8_90" | "grey2_5" | "grey2_10" | "grey2_20" | "grey2_30" | "grey2_40" | "grey2_50" | "grey2_60" | "grey2_70" | "grey2_80" | "grey2_90" | "white_5" | "white_10" | "white_20" | "white_30" | "white_40" | "white_50" | "white_60" | "white_70" | "white_80" | "white_90" | "actionBlue_5" | "actionBlue_10" | "actionBlue_20" | "actionBlue_30" | "actionBlue_40" | "actionBlue_50" | "actionBlue_60" | "actionBlue_70" | "actionBlue_80" | "actionBlue_90" | "actionBlueNeutral_5" | "actionBlueNeutral_10" | "actionBlueNeutral_20" | "actionBlueNeutral_30" | "actionBlueNeutral_40" | "actionBlueNeutral_50" | "actionBlueNeutral_60" | "actionBlueNeutral_70" | "actionBlueNeutral_80" | "actionBlueNeutral_90" | "onAccent_5" | "onAccent_10" | "onAccent_20" | "onAccent_30" | "onAccent_40" | "onAccent_50" | "onAccent_60" | "onAccent_70" | "onAccent_80" | "onAccent_90" | "onAccentNeutral_5" | "onAccentNeutral_10" | "onAccentNeutral_20" | "onAccentNeutral_30" | "onAccentNeutral_40" | "onAccentNeutral_50" | "onAccentNeutral_60" | "onAccentNeutral_70" | "onAccentNeutral_80" | "onAccentNeutral_90" | "actionBackgroundNeutral_5" | "actionBackgroundNeutral_10" | "actionBackgroundNeutral_20" | "actionBackgroundNeutral_30" | "actionBackgroundNeutral_40" | "actionBackgroundNeutral_50" | "actionBackgroundNeutral_60" | "actionBackgroundNeutral_70" | "actionBackgroundNeutral_80" | "actionBackgroundNeutral_90" | "popoverBackground_5" | "popoverBackground_10" | "popoverBackground_20" | "popoverBackground_30" | "popoverBackground_40" | "popoverBackground_50" | "popoverBackground_60" | "popoverBackground_70" | "popoverBackground_80" | "popoverBackground_90" | "greyTone2_5" | "greyTone2_10" | "greyTone2_20" | "greyTone2_30" | "greyTone2_40" | "greyTone2_50" | "greyTone2_60" | "greyTone2_70" | "greyTone2_80" | "greyTone2_90" | "success_5" | "success_10" | "success_20" | "success_30" | "success_40" | "success_50" | "success_60" | "success_70" | "success_80" | "success_90" | "warning_5" | "warning_10" | "warning_20" | "warning_30" | "warning_40" | "warning_50" | "warning_60" | "warning_70" | "warning_80" | "warning_90" | "danger_5" | "danger_10" | "danger_20" | "danger_30" | "danger_40" | "danger_50" | "danger_60" | "danger_70" | "danger_80" | "danger_90" | "inactive_5" | "inactive_10" | "inactive_20" | "inactive_30" | "inactive_40" | "inactive_50" | "inactive_60" | "inactive_70" | "inactive_80" | "inactive_90" | "positive_5" | "positive_10" | "positive_20" | "positive_30" | "positive_40" | "positive_50" | "positive_60" | "positive_70" | "positive_80" | "positive_90" | "negative_5" | "negative_10" | "negative_20" | "negative_30" | "negative_40" | "negative_50" | "negative_60" | "negative_70" | "negative_80" | "negative_90" | "static_5" | "static_10" | "static_20" | "static_30" | "static_40" | "static_50" | "static_60" | "static_70" | "static_80" | "static_90"), string>;
6166
6544
  /**
6167
6545
  * Border radius tokens.
6168
6546
  *
@@ -6276,5 +6654,5 @@ declare const Token: {
6276
6654
  };
6277
6655
  };
6278
6656
 
6279
- export { Action, ActionButton, Avatar, Badge, BottomSheet, Button, Calendar, Cell, CellSkeleton, Checkbox, CompactInput, Copyable, DetailsCell, Dropdown, FilterButton, Footnote, Group, HStack, Icon, Image, Input, Link, List, MessageBubble, Page, Placeholder, Popup, ProgressSteps, Radio, RootProvider, Search, Spacer, StarRating, Subheader, Switch, TabBar, Text, TextArea, Toast, ToggleButton, Token, VStack, VisuallyHidden, copyToClipboard, nodeChain, useDateFormat, useDateRangeFormat, useDateTimeFormat, useDropdown, useIsRTL, useMoneyFormat, useStatusSheet, useTimeFormat, useToast };
6280
- export type { ActionButtonProps, ActionButtonVariant, ActionProps, AvatarProps, AvatarSize, BadgeProps, BottomSheetActionsProps, BottomSheetContentProps, BottomSheetHeaderProps, BottomSheetProps, ButtonProps, ButtonVariant, CalendarDateProps, CalendarDisabledDays, CalendarProps, CalendarRangeProps, CalendarVariant, CellProps, CellVariant, CheckboxProps, CompactInputProps, CopyableProps, CurrencyDefinition, DateFormatOptions, DateRangeFormatOptions, DateTimeFormatOptions, DetailsCellProps, DropdownOptions, DropdownProps, DropdownState, FilterButtonProps, FootnoteProps, GroupProps, GroupVariant, HStackProps, IconName, IconProps, ImageFit, ImageProp, ImageProps, InputProps, InputType, IntlMessages, LinkProps, ListProps, MessageBubbleProps, PageHeaderProps, PageMainProps, PageProps, PageTabsProps, PlaceholderProps, PopupProps, ProgressStepsProps, RadioProps, RootProviderProps, SearchProps, Space, SpacerProps, StackAlignment, StarRatingProps, StatusSheetAction, StatusSheetInstance, StatusSheetOptions, StatusSheetVariant, SubheaderProps, SubheaderVariant, SwitchProps, TabBarItem, TabBarProps, TabBarVariant, TextAreaProps, TextProps, TextVariant, ThemeBackground, ThemeMode, TimeFormatOptions, ToastActions, ToastProps, ToggleButtonProps, UseMoneyFormatOptions, VStackProps, VisuallyHiddenProps };
6657
+ export { Action, ActionButton, Avatar, Badge, BottomSheet, Button, Calendar, Cell, CellSkeleton, Checkbox, CompactInput, Copyable, DetailsCell, Dropdown, FilterButton, Footnote, Group, HStack, Icon, Image, Input, Link, List, Map, MessageBubble, Page, Placeholder, Popup, ProgressSteps, Radio, RootProvider, Search, Slider, SliderVariant, Spacer, StarRating, Subheader, Switch, TabBar, Text, TextArea, Toast, ToggleButton, Token, VStack, VisuallyHidden, copyToClipboard, nodeChain, useDateFormat, useDateRangeFormat, useDateTimeFormat, useDropdown, useIsRTL, useMoneyFormat, useStatusSheet, useTimeFormat, useToast };
6658
+ export type { ActionButtonProps, ActionButtonVariant, ActionProps, AvatarProps, AvatarSize, BadgeProps, BottomSheetActionsProps, BottomSheetContentProps, BottomSheetHeaderProps, BottomSheetProps, ButtonProps, ButtonVariant, CalendarDateProps, CalendarDisabledDays, CalendarProps, CalendarRangeProps, CalendarVariant, CellProps, CellVariant, CheckboxProps, CompactInputProps, CopyableProps, CurrencyDefinition, DateFormatOptions, DateRangeFormatOptions, DateTimeFormatOptions, DetailsCellProps, DropdownOptions, DropdownProps, DropdownState, FilterButtonProps, FootnoteProps, GroupProps, GroupVariant, HStackProps, IconName, IconProps, ImageFit, ImageProp, ImageProps, InputProps, InputType, IntlMessages, LinkProps, ListProps, MapCenter, MapControls, MapLoadingState, MapMarker, MapProps, MessageBubbleProps, PageHeaderProps, PageMainProps, PageProps, PageTabsProps, PlaceholderProps, PopupProps, ProgressStepsProps, RadioProps, RangeSliderProps, RootProviderProps, SearchProps, SingleSliderProps, SliderProps, Space, SpacerProps, StackAlignment, StarRatingProps, StatusSheetAction, StatusSheetInstance, StatusSheetOptions, StatusSheetVariant, SubheaderProps, SubheaderVariant, SwitchProps, TabBarItem, TabBarProps, TabBarVariant, TextAreaProps, TextProps, TextVariant, ThemeBackground, ThemeMode, TimeFormatOptions, ToastActions, ToastProps, ToggleButtonProps, UseMoneyFormatOptions, VStackProps, VisuallyHiddenProps };