@livetiles/reach-plugin-types 0.5.0-preview.1034 → 0.5.0-preview.1035

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/lib/index.d.ts +72 -12
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -3174,6 +3174,7 @@ declare module "libs/reach/util/common/src/theme/theme2/colors" {
3174
3174
  primary: "#0F0E0E";
3175
3175
  secondary: "#3E3938";
3176
3176
  tertiary: "#5C5653";
3177
+ themeIcon: "#663120";
3177
3178
  };
3178
3179
  export const strokeColors: {
3179
3180
  avatar: "#FFFFFF";
@@ -3181,6 +3182,12 @@ declare module "libs/reach/util/common/src/theme/theme2/colors" {
3181
3182
  disabled: "#C2BCB9";
3182
3183
  focus: "#0F0E0E";
3183
3184
  primary: "#0F0E0E";
3185
+ theme: {
3186
+ default: "#FF7A50";
3187
+ focus: "#663120";
3188
+ hover: "#CC6240";
3189
+ pressed: "#994930";
3190
+ };
3184
3191
  };
3185
3192
  divider: {
3186
3193
  disabled: "#C2BCB9";
@@ -3201,7 +3208,11 @@ declare module "libs/reach/util/common/src/theme/theme2/colors" {
3201
3208
  export const themeColors: {
3202
3209
  disabled: "#FFE4DC";
3203
3210
  hover: "#FF7A50";
3204
- interactionSelected: "#FFE4DC";
3211
+ interaction: {
3212
+ hover: "#FFCAB9";
3213
+ selected: "#FFE4DC";
3214
+ pressed: "#FFAF96";
3215
+ };
3205
3216
  inverted: {
3206
3217
  hover: "#FFE4DC";
3207
3218
  pressed: "#FFCAB9";
@@ -3384,6 +3395,7 @@ declare module "libs/reach/util/common/src/theme/theme2/index" {
3384
3395
  primary: "#0F0E0E";
3385
3396
  secondary: "#3E3938";
3386
3397
  tertiary: "#5C5653";
3398
+ themeIcon: "#663120";
3387
3399
  };
3388
3400
  stroke: {
3389
3401
  avatar: "#FFFFFF";
@@ -3391,6 +3403,12 @@ declare module "libs/reach/util/common/src/theme/theme2/index" {
3391
3403
  disabled: "#C2BCB9";
3392
3404
  focus: "#0F0E0E";
3393
3405
  primary: "#0F0E0E";
3406
+ theme: {
3407
+ default: "#FF7A50";
3408
+ focus: "#663120";
3409
+ hover: "#CC6240";
3410
+ pressed: "#994930";
3411
+ };
3394
3412
  };
3395
3413
  divider: {
3396
3414
  disabled: "#C2BCB9";
@@ -3411,7 +3429,11 @@ declare module "libs/reach/util/common/src/theme/theme2/index" {
3411
3429
  theme: {
3412
3430
  disabled: "#FFE4DC";
3413
3431
  hover: "#FF7A50";
3414
- interactionSelected: "#FFE4DC";
3432
+ interaction: {
3433
+ hover: "#FFCAB9";
3434
+ selected: "#FFE4DC";
3435
+ pressed: "#FFAF96";
3436
+ };
3415
3437
  inverted: {
3416
3438
  hover: "#FFE4DC";
3417
3439
  pressed: "#FFCAB9";
@@ -3599,6 +3621,7 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
3599
3621
  primary: "#0F0E0E";
3600
3622
  secondary: "#3E3938";
3601
3623
  tertiary: "#5C5653";
3624
+ themeIcon: "#663120";
3602
3625
  };
3603
3626
  stroke: {
3604
3627
  avatar: "#FFFFFF";
@@ -3606,6 +3629,12 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
3606
3629
  disabled: "#C2BCB9";
3607
3630
  focus: "#0F0E0E";
3608
3631
  primary: "#0F0E0E";
3632
+ theme: {
3633
+ default: "#FF7A50";
3634
+ focus: "#663120";
3635
+ hover: "#CC6240";
3636
+ pressed: "#994930";
3637
+ };
3609
3638
  };
3610
3639
  divider: {
3611
3640
  disabled: "#C2BCB9";
@@ -3626,7 +3655,11 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
3626
3655
  theme: {
3627
3656
  disabled: "#FFE4DC";
3628
3657
  hover: "#FF7A50";
3629
- interactionSelected: "#FFE4DC";
3658
+ interaction: {
3659
+ hover: "#FFCAB9";
3660
+ selected: "#FFE4DC";
3661
+ pressed: "#FFAF96";
3662
+ };
3630
3663
  inverted: {
3631
3664
  hover: "#FFE4DC";
3632
3665
  pressed: "#FFCAB9";
@@ -6382,6 +6415,7 @@ declare module "libs/reach/ui/common/src/reach-2/inputs/components/Legend" {
6382
6415
  }
6383
6416
  declare module "libs/reach/ui/common/src/reach-2/tags/Tag" {
6384
6417
  import React, { SVGProps } from 'react';
6418
+ export type TagSize = 'Large' | 'Small';
6385
6419
  interface TagProps {
6386
6420
  className?: string;
6387
6421
  error?: boolean;
@@ -6389,6 +6423,7 @@ declare module "libs/reach/ui/common/src/reach-2/tags/Tag" {
6389
6423
  label: string;
6390
6424
  onClick?: () => void;
6391
6425
  onClose?: () => void;
6426
+ size?: TagSize;
6392
6427
  }
6393
6428
  const Tag: React.FC<TagProps>;
6394
6429
  export default Tag;
@@ -6497,6 +6532,25 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/BasePopover" {
6497
6532
  }
6498
6533
  export const BasePopover: FC<BasePopoverProps>;
6499
6534
  }
6535
+ declare module "libs/reach/ui/common/src/reach-2/utils" {
6536
+ import { TagSize } from "libs/reach/ui/common/src/reach-2/tags/Tag";
6537
+ export const getNormalizedPercentageBasedOnDeviceHeight: (heightToConvert: number, safeArea?: number, fullyExpandThreshold?: number) => number;
6538
+ export const useNormalizedBreakpointValuesBasedOnDeviceHeight: (heightToConvert: number, safeArea?: number, fullyExpandThreshold?: number) => {
6539
+ breakpoints: number[];
6540
+ initialBreakpoint: number;
6541
+ };
6542
+ export const getIsMobilePhone: () => boolean;
6543
+ export type TagValue = {
6544
+ id: string;
6545
+ label?: string;
6546
+ name?: string;
6547
+ };
6548
+ export const getMaxTagList: (items: TagValue[], availableWidth: number, options?: {
6549
+ hasError?: (value: TagValue) => boolean;
6550
+ onClose?: (value: TagValue) => void;
6551
+ size?: TagSize;
6552
+ }) => any[];
6553
+ }
6500
6554
  declare module "libs/reach/ui/common/src/reach-2/select/Select" {
6501
6555
  import { IconProps } from "libs/reach/ui/common/src/reach-2/icons/index";
6502
6556
  type SelectSize = 'Large' | 'Small';
@@ -6593,10 +6647,11 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/MobileInlineModal" {
6593
6647
  import { AnimationBuilder } from '@ionic/core';
6594
6648
  import { BaseDialogProps } from "libs/reach/ui/common/src/reach-2/surfaces/BaseDialog";
6595
6649
  export type MobileInlineModalProps = BaseDialogProps & {
6650
+ customActionButton?: SVGProps<SVGElement>;
6596
6651
  enterAnimation?: AnimationBuilder;
6597
- leaveAnimation?: AnimationBuilder;
6652
+ footer?: JSX.Element;
6598
6653
  hideHeader?: boolean;
6599
- customActionButton?: SVGProps<SVGElement>;
6654
+ leaveAnimation?: AnimationBuilder;
6600
6655
  };
6601
6656
  export const MobileInlineModal: FC<MobileInlineModalProps>;
6602
6657
  }
@@ -6697,13 +6752,17 @@ declare module "libs/reach/ui/common/src/reach-2/table/Table" {
6697
6752
  const _default_2: import("react").ForwardRefExoticComponent<TableProps<any> & import("react").RefAttributes<any>>;
6698
6753
  export default _default_2;
6699
6754
  }
6700
- declare module "libs/reach/ui/common/src/reach-2/utils" {
6701
- export function getNormalizedPercentageBasedOnDeviceHeight(heightToConvert: number, safeArea?: number, fullyExpandThreshold?: number): number;
6702
- export function useNormalizedBreakpointValuesBasedOnDeviceHeight(heightToConvert: number, safeArea?: number, fullyExpandThreshold?: number): {
6703
- initialBreakpoint: number;
6704
- breakpoints: number[];
6705
- };
6706
- export const getIsMobilePhone: () => boolean;
6755
+ declare module "libs/reach/ui/common/src/reach-2/tags/SelectableTag" {
6756
+ import { SVGProps } from 'react';
6757
+ export interface SelectableTagProps {
6758
+ className?: string;
6759
+ icon?: SVGProps<SVGElement>;
6760
+ isSelected?: boolean;
6761
+ label: string;
6762
+ onClick: () => void;
6763
+ }
6764
+ const SelectableTag: React.FC<SelectableTagProps>;
6765
+ export default SelectableTag;
6707
6766
  }
6708
6767
  declare module "libs/reach/ui/common/src/reach-2/index" {
6709
6768
  export * from "libs/reach/ui/common/src/reach-2/DateTimeDisplay";
@@ -6724,6 +6783,7 @@ declare module "libs/reach/ui/common/src/reach-2/index" {
6724
6783
  export { default as Table } from "libs/reach/ui/common/src/reach-2/table/Table";
6725
6784
  export * from "libs/reach/ui/common/src/reach-2/table/Table";
6726
6785
  export { default as Tag } from "libs/reach/ui/common/src/reach-2/tags/Tag";
6786
+ export { default as SelectableTag } from "libs/reach/ui/common/src/reach-2/tags/SelectableTag";
6727
6787
  export { default as Typography } from "libs/reach/ui/common/src/reach-2/typography/Typography";
6728
6788
  export type { ITypographyProps } from "libs/reach/ui/common/src/reach-2/typography/Typography";
6729
6789
  export * from "libs/reach/ui/common/src/reach-2/utils";
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.1034",
7
+ "version": "0.5.0-preview.1035",
8
8
  "dependencies": {}
9
9
  }