@theroutingcompany/components 0.0.26-alpha.1 → 0.0.26-alpha.11

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 (102) hide show
  1. package/dist/trc-components.es.js +10376 -8962
  2. package/dist/trc-components.es.js.map +1 -1
  3. package/dist/trc-components.umd.js +1325 -873
  4. package/dist/trc-components.umd.js.map +1 -1
  5. package/dist/tsconfig.tsbuildinfo +1 -1
  6. package/package.json +16 -11
  7. package/types/{src/components → components}/AccessibleIcon/AccessibleIcon.d.ts +1 -2
  8. package/types/{src/components → components}/AlertDialog/AlertDialog.d.ts +2 -2
  9. package/types/{src/components → components}/Badge/Badge.d.ts +2 -2
  10. package/types/components/Box/Box.d.ts +17 -0
  11. package/types/{src/components → components}/Button/Button.d.ts +4 -8
  12. package/types/components/Button/ButtonBase.d.ts +6 -0
  13. package/types/components/Button/HighEmphasisButton/HighEmphasisButton.d.ts +6 -0
  14. package/types/components/Button/LowEmphasisButton/LowEmphasisButton.d.ts +5 -0
  15. package/types/components/Button/MediumEmphasisButton/MediumEmphasisButton.d.ts +5 -0
  16. package/types/components/ButtonV2/ButtonV2.d.ts +24 -0
  17. package/types/components/ButtonV2/styles.d.ts +25 -0
  18. package/types/{src/components → components}/Calendar/Calendar.d.ts +1 -2
  19. package/types/components/Calendar/CalendarCell.d.ts +11 -0
  20. package/types/{src/components → components}/Calendar/CalendarGrid.d.ts +1 -2
  21. package/types/{src/components → components}/Calendar/CalendarHeader.d.ts +1 -1
  22. package/types/{src/components → components}/Calendar/RangeCalendar.d.ts +1 -2
  23. package/types/{src/components → components}/Calendar/TimeDateSelect.d.ts +3 -1
  24. package/types/{src/components → components}/ComboBox/ComboBox.d.ts +1 -2
  25. package/types/{src/components → components}/Connect/Connect.d.ts +1 -1
  26. package/types/{src/components → components}/Dialog/Dialog.d.ts +2 -2
  27. package/types/{src/components → components}/Drawer/Drawer.d.ts +3 -3
  28. package/types/{src/components → components}/Fieldset/Fieldset.d.ts +1 -2
  29. package/types/components/Flex/Flex.d.ts +11 -0
  30. package/types/{src/components → components}/FormControl/FormControl.d.ts +14 -6
  31. package/types/components/IconButton/IconButton.d.ts +31 -0
  32. package/types/components/Input/InlineEdit/InlineEdit.d.ts +21 -0
  33. package/types/{src/components → components}/Input/InputBase.d.ts +12 -4
  34. package/types/{src/components → components}/Input/NumberInput/NumberInput.d.ts +6 -2
  35. package/types/{src/components → components}/Input/TextArea/TextArea.d.ts +5 -1
  36. package/types/{src/components → components}/Input/TextInput/TextInput.d.ts +8 -2
  37. package/types/components/Input/TimeInput/TimeInput.d.ts +9 -0
  38. package/types/{src/components → components}/Label/Label.d.ts +1 -1
  39. package/types/{src/components → components}/ListBox/ListBox.d.ts +5 -5
  40. package/types/{src/components → components}/MultiSelect/MultiSelectListBox.d.ts +1 -1
  41. package/types/{src/components → components}/MultiSelect/MultiSelectPopover.d.ts +1 -1
  42. package/types/{src/components → components}/NavigationMenu/NavigationMenu.d.ts +4 -4
  43. package/types/{src/components → components}/Page/PageHeader.d.ts +1 -1
  44. package/types/{src/components → components}/Paginator/Paginator.d.ts +1 -1
  45. package/types/{src/components → components}/Popover/Popover.d.ts +1 -1
  46. package/types/{src/components → components}/RadioGroup/RadioGroup.d.ts +2 -2
  47. package/types/{src/components → components}/ReactAriaButton/ReactAriaButton.d.ts +1 -1
  48. package/types/{src/components → components}/SegmentControl/SegmentControl.d.ts +1 -1
  49. package/types/{src/components → components}/Select/Select.d.ts +2 -2
  50. package/types/{src/components → components}/SingleSelect/SingleSelect.d.ts +1 -2
  51. package/types/components/Skeleton/Skeleton.d.ts +30 -0
  52. package/types/components/Stack/Stack.d.ts +15 -0
  53. package/types/{src/components → components}/Table/Table.d.ts +1 -2
  54. package/types/{src/components → components}/Toast/Toast.d.ts +2 -2
  55. package/types/{src/components → components}/Tooltip/IconTooltip.d.ts +1 -1
  56. package/types/{src/components → components}/Tooltip/Tooltip.d.ts +1 -1
  57. package/types/{src/components → components}/index.d.ts +4 -1
  58. package/types/{src/helpers → helpers}/index.d.ts +1 -0
  59. package/types/helpers/props.d.ts +45 -0
  60. package/types/{src/helpers → helpers}/tokenUtils.d.ts +3 -0
  61. package/types/helpers/typeHelpers.d.ts +90 -0
  62. package/types/styles/index.d.ts +34 -0
  63. package/types/cypress/support/commands.d.ts +0 -0
  64. package/types/cypress/support/component.d.ts +0 -9
  65. package/types/cypress.config.d.ts +0 -3
  66. package/types/src/components/Badge/Badge.cy.d.ts +0 -1
  67. package/types/src/components/Box/Box.d.ts +0 -133
  68. package/types/src/components/Button/ButtonBase.d.ts +0 -54
  69. package/types/src/components/Button/Group.d.ts +0 -10
  70. package/types/src/components/Button/styles.d.ts +0 -1
  71. package/types/src/components/Calendar/CalendarCell.d.ts +0 -12
  72. package/types/src/components/Flex/Flex.d.ts +0 -73
  73. package/types/src/components/Input/InlineEdit/InlineEdit.d.ts +0 -11
  74. package/types/src/components/Input/TimeInput/TimeInput.d.ts +0 -3
  75. package/types/src/components/Stack/Stack.d.ts +0 -0
  76. package/types/src/components/Tokens/Tokens.cy.d.ts +0 -1
  77. package/types/src/helpers/typeHelpers.d.ts +0 -27
  78. /package/types/{src/components → components}/Breadcrumbs/Breadcrumbs.d.ts +0 -0
  79. /package/types/{src/components/Button → components/ButtonV2}/Icon.d.ts +0 -0
  80. /package/types/{src/components → components}/Calendar/index.d.ts +0 -0
  81. /package/types/{src/components → components}/Checkbox/Checkbox.d.ts +0 -0
  82. /package/types/{src/components → components}/DropdownMenu/DropdownMenu.d.ts +0 -0
  83. /package/types/{src/components → components}/FileUpload/FileUpload.d.ts +0 -0
  84. /package/types/{src/components → components}/FormControl/useFormInput.d.ts +0 -0
  85. /package/types/{src/components → components}/Grid/Grid.d.ts +0 -0
  86. /package/types/{src/components → components}/Heading/Heading.d.ts +0 -0
  87. /package/types/{src/components → components}/Inline/Inline.d.ts +0 -0
  88. /package/types/{src/components → components}/ListBox/timezones.d.ts +0 -0
  89. /package/types/{src/components → components}/MultiSelect/MultiSelect.d.ts +0 -0
  90. /package/types/{src/components → components}/MultiSelect/useMultiSelect.d.ts +0 -0
  91. /package/types/{src/components → components}/MultiSelect/useMultiSelectListState.d.ts +0 -0
  92. /package/types/{src/components → components}/MultiSelect/useMultiSelectState.d.ts +0 -0
  93. /package/types/{src/components → components}/Page/Page.d.ts +0 -0
  94. /package/types/{src/components → components}/Search/Search.d.ts +0 -0
  95. /package/types/{src/components → components}/Switch/Switch.d.ts +0 -0
  96. /package/types/{src/components → components}/Tabs/Tabs.d.ts +0 -0
  97. /package/types/{src/components → components}/Text/Text.d.ts +0 -0
  98. /package/types/{src/components → components}/Title/Title.d.ts +0 -0
  99. /package/types/{src/components → components}/UnstyledLink/UnstyledLink.d.ts +0 -0
  100. /package/types/{src/helpers → helpers}/css.d.ts +0 -0
  101. /package/types/{src/helpers → helpers}/interactionStates.d.ts +0 -0
  102. /package/types/{src/index.d.ts → index.d.ts} +0 -0
@@ -1,54 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const buttonPadding: {
3
- readonly small: "0.5rem 0.75rem";
4
- readonly large: "0.75rem 1rem";
5
- };
6
- export declare const ButtonBase: import("styled-components").StyledComponent<"div", any, {
7
- display?: "none" | "inline" | "block" | "inline-block" | "contents" | undefined;
8
- position?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.Position> | undefined;
9
- top?: import("csstype").Property.Top<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900"> | undefined;
10
- bottom?: import("csstype").Property.Bottom<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900"> | undefined;
11
- left?: import("csstype").Property.Left<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900"> | undefined;
12
- right?: import("csstype").Property.Right<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900"> | undefined;
13
- zIndex?: import("csstype").Property.ZIndex | undefined;
14
- w?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.Width<"0" | "1000" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900" | "350" | "1100" | "1150" | "1200" | "1300" | "1350" | "1400" | "1500">> | undefined;
15
- minW?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.MinWidth<"0" | "1000" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900" | "350" | "1100" | "1150" | "1200" | "1300" | "1350" | "1400" | "1500">> | undefined;
16
- maxW?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.MaxWidth<"0" | "1000" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900" | "350" | "1100" | "1150" | "1200" | "1300" | "1350" | "1400" | "1500">> | undefined;
17
- h?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.Height<"0" | "1000" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900" | "350" | "1100" | "1150" | "1200" | "1300" | "1350" | "1400" | "1500">> | undefined;
18
- minH?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.MinHeight<"0" | "1000" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900" | "350" | "1100" | "1150" | "1200" | "1300" | "1350" | "1400" | "1500">> | undefined;
19
- maxH?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.MaxHeight<"0" | "1000" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900" | "350" | "1100" | "1150" | "1200" | "1300" | "1350" | "1400" | "1500">> | undefined;
20
- m?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.Margin<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900">> | undefined;
21
- mt?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.MarginTop<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900">> | undefined;
22
- mb?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.MarginBottom<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900">> | undefined;
23
- ml?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.MarginLeft<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900">> | undefined;
24
- mr?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.MarginRight<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900">> | undefined;
25
- p?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.Padding<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900">> | undefined;
26
- pt?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.PaddingTop<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900">> | undefined;
27
- pr?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.PaddingRight<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900">> | undefined;
28
- pb?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.PaddingBottom<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900">> | undefined;
29
- pl?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.PaddingLeft<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900">> | undefined;
30
- borderRadius?: import("csstype").Property.BorderRadius<"circle" | "0" | "400" | "100" | "200" | "800" | "pill"> | undefined;
31
- borderTopLeftRadius?: import("csstype").Property.BorderTopLeftRadius<"circle" | "0" | "400" | "100" | "200" | "800" | "pill"> | undefined;
32
- borderTopRightRadius?: import("csstype").Property.BorderTopRightRadius<"circle" | "0" | "400" | "100" | "200" | "800" | "pill"> | undefined;
33
- borderBottomLeftRadius?: import("csstype").Property.BorderBottomLeftRadius<"circle" | "0" | "400" | "100" | "200" | "800" | "pill"> | undefined;
34
- borderBottomRightRadius?: import("csstype").Property.BorderBottomRightRadius<"circle" | "0" | "400" | "100" | "200" | "800" | "pill"> | undefined;
35
- elevation?: import("../../helpers/tokenUtils").ElevationToken | undefined;
36
- flexShrink?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.FlexShrink> | undefined;
37
- flexGrow?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.FlexGrow> | undefined;
38
- flexBasis?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.FlexBasis<"0" | "1000" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900" | "350" | "1100" | "1150" | "1200" | "1300" | "1350" | "1400" | "1500">> | undefined;
39
- flex?: import("csstype").Property.Flex<"0" | "1000" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900" | "350" | "1100" | "1150" | "1200" | "1300" | "1350" | "1400" | "1500"> | undefined;
40
- alignSelf?: import("csstype").Property.AlignSelf | undefined;
41
- order?: import("csstype").Property.Order | undefined;
42
- border?: import("csstype").Property.Border<0 | (string & {})> | undefined;
43
- borderColor?: import("csstype").Property.BorderColor | undefined;
44
- borderWidth?: import("csstype").Property.BorderWidth<0 | (string & {})> | undefined;
45
- bg?: import("csstype").Property.Background<0 | (string & {})> | undefined;
46
- bgColor?: import("csstype").Property.BackgroundColor | undefined;
47
- opacity?: import("csstype").Property.Background<0 | (string & {})> | undefined;
48
- color?: import("csstype").Property.Color | undefined;
49
- overflow?: import("../../helpers/tokenUtils").RemoveVendorProperties<import("csstype").Property.Overflow> | undefined;
50
- } & {
51
- children?: import("react").ReactNode;
52
- } & {
53
- buttonPadding?: string | undefined;
54
- }, never>;
@@ -1,10 +0,0 @@
1
- import type React from 'react';
2
- export type ButtonGroupProps = {
3
- className?: string;
4
- children?: React.ReactNode;
5
- };
6
- declare const Group: {
7
- ({ children, className }: ButtonGroupProps): JSX.Element;
8
- displayName: string;
9
- };
10
- export default Group;
@@ -1 +0,0 @@
1
- export declare const group: () => string;
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import { type CalendarDate } from '@internationalized/date';
3
- import type { CalendarState, RangeCalendarState } from '@react-stately/calendar';
4
- type CalendarCellProps<T> = {
5
- state: T;
6
- date: CalendarDate;
7
- currentMonth: CalendarDate;
8
- disabled?: boolean | undefined;
9
- today: CalendarDate;
10
- };
11
- export declare function CalendarCell<T extends CalendarState | RangeCalendarState>({ state, date, today, disabled, currentMonth, }: CalendarCellProps<T>): JSX.Element;
12
- export {};
@@ -1,73 +0,0 @@
1
- import type { PropsWithChildren } from 'react';
2
- import type { Property } from 'csstype';
3
- import { type SpacingToken } from '../../helpers/tokenUtils';
4
- export type FlexProps = PropsWithChildren<{
5
- display?: 'flex' | 'inline-flex';
6
- wrap?: Property.FlexWrap;
7
- direction?: Property.FlexDirection;
8
- alignItems?: Property.AlignItems;
9
- alignContent?: Property.AlignContent;
10
- justifyContent?: Property.JustifyContent;
11
- flow?: Property.FlexFlow;
12
- gap?: Property.Gap<SpacingToken>;
13
- columnGap?: Property.ColumnGap<SpacingToken>;
14
- rowGap?: Property.RowGap<SpacingToken>;
15
- }>;
16
- export declare const Flex: import("styled-components").StyledComponent<"div", any, {
17
- display?: "none" | "inline" | "block" | "inline-block" | "contents" | undefined;
18
- position?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.Position> | undefined;
19
- top?: Property.Top<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900"> | undefined;
20
- bottom?: Property.Bottom<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900"> | undefined;
21
- left?: Property.Left<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900"> | undefined;
22
- right?: Property.Right<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900"> | undefined;
23
- zIndex?: Property.ZIndex | undefined;
24
- w?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.Width<"0" | "1000" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900" | "350" | "1100" | "1150" | "1200" | "1300" | "1350" | "1400" | "1500">> | undefined;
25
- minW?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.MinWidth<"0" | "1000" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900" | "350" | "1100" | "1150" | "1200" | "1300" | "1350" | "1400" | "1500">> | undefined;
26
- maxW?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.MaxWidth<"0" | "1000" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900" | "350" | "1100" | "1150" | "1200" | "1300" | "1350" | "1400" | "1500">> | undefined;
27
- h?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.Height<"0" | "1000" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900" | "350" | "1100" | "1150" | "1200" | "1300" | "1350" | "1400" | "1500">> | undefined;
28
- minH?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.MinHeight<"0" | "1000" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900" | "350" | "1100" | "1150" | "1200" | "1300" | "1350" | "1400" | "1500">> | undefined;
29
- maxH?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.MaxHeight<"0" | "1000" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900" | "350" | "1100" | "1150" | "1200" | "1300" | "1350" | "1400" | "1500">> | undefined;
30
- m?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.Margin<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900">> | undefined;
31
- mt?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.MarginTop<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900">> | undefined;
32
- mb?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.MarginBottom<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900">> | undefined;
33
- ml?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.MarginLeft<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900">> | undefined;
34
- mr?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.MarginRight<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900">> | undefined;
35
- p?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.Padding<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900">> | undefined;
36
- pt?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.PaddingTop<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900">> | undefined;
37
- pr?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.PaddingRight<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900">> | undefined;
38
- pb?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.PaddingBottom<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900">> | undefined;
39
- pl?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.PaddingLeft<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900">> | undefined;
40
- borderRadius?: Property.BorderRadius<"circle" | "0" | "400" | "100" | "200" | "800" | "pill"> | undefined;
41
- borderTopLeftRadius?: Property.BorderTopLeftRadius<"circle" | "0" | "400" | "100" | "200" | "800" | "pill"> | undefined;
42
- borderTopRightRadius?: Property.BorderTopRightRadius<"circle" | "0" | "400" | "100" | "200" | "800" | "pill"> | undefined;
43
- borderBottomLeftRadius?: Property.BorderBottomLeftRadius<"circle" | "0" | "400" | "100" | "200" | "800" | "pill"> | undefined;
44
- borderBottomRightRadius?: Property.BorderBottomRightRadius<"circle" | "0" | "400" | "100" | "200" | "800" | "pill"> | undefined;
45
- elevation?: import("../../helpers/tokenUtils").ElevationToken | undefined;
46
- flexShrink?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.FlexShrink> | undefined;
47
- flexGrow?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.FlexGrow> | undefined;
48
- flexBasis?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.FlexBasis<"0" | "1000" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900" | "350" | "1100" | "1150" | "1200" | "1300" | "1350" | "1400" | "1500">> | undefined;
49
- flex?: Property.Flex<"0" | "1000" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900" | "350" | "1100" | "1150" | "1200" | "1300" | "1350" | "1400" | "1500"> | undefined;
50
- alignSelf?: Property.AlignSelf | undefined;
51
- order?: Property.Order | undefined;
52
- border?: Property.Border<0 | (string & {})> | undefined;
53
- borderColor?: Property.BorderColor | undefined;
54
- borderWidth?: Property.BorderWidth<0 | (string & {})> | undefined;
55
- bg?: Property.Background<0 | (string & {})> | undefined;
56
- bgColor?: Property.BackgroundColor | undefined;
57
- opacity?: Property.Background<0 | (string & {})> | undefined;
58
- color?: Property.Color | undefined;
59
- overflow?: import("../../helpers/tokenUtils").RemoveVendorProperties<Property.Overflow> | undefined;
60
- } & {
61
- children?: import("react").ReactNode;
62
- } & {
63
- display?: "flex" | "inline-flex" | undefined;
64
- wrap?: Property.FlexWrap | undefined;
65
- direction?: Property.FlexDirection | undefined;
66
- alignItems?: Property.AlignItems | undefined;
67
- alignContent?: Property.AlignContent | undefined;
68
- justifyContent?: Property.JustifyContent | undefined;
69
- flow?: Property.FlexFlow | undefined;
70
- gap?: Property.Gap<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900"> | undefined;
71
- columnGap?: Property.ColumnGap<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900"> | undefined;
72
- rowGap?: Property.RowGap<"0" | "300" | "400" | "500" | "600" | "100" | "200" | "450" | "550" | "650" | "700" | "750" | "800" | "850" | "900"> | undefined;
73
- }, never>;
@@ -1,11 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- export declare const EditButtonRight: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("components/Button/Button").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>, any, {}, never>;
3
- interface CustomProps {
4
- children: ReactNode;
5
- defaultValue?: string;
6
- padding?: string;
7
- placeholder?: string;
8
- }
9
- export type InlineEditProps = CustomProps;
10
- export declare const InlineEdit: import("react").ForwardRefExoticComponent<CustomProps & import("react").RefAttributes<HTMLInputElement>>;
11
- export {};
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export { Time } from '@internationalized/date';
3
- export declare function TimeInput(props: any): JSX.Element;
File without changes
@@ -1 +0,0 @@
1
- export {};
@@ -1,27 +0,0 @@
1
- import type { ComponentPropsWithoutRef, ElementType } from 'react';
2
- declare module 'csstype' {
3
- interface Properties {
4
- [index: `--${string}`]: string | number | undefined;
5
- }
6
- }
7
- export type Falsy = '' | 0 | false | null | undefined;
8
- /** Util for filtering arrays with type guard to remove falsy values from the type */
9
- export declare function typedBoolean<T>(value: T): value is Exclude<T, Falsy>;
10
- /** Utility type to get pretty readout of all of the members of an intersection. TS Quirk */
11
- export type Prettify<T> = {
12
- [K in keyof T]: T[K];
13
- } & {};
14
- export type ComponentPropsWithoutStyles<E extends ElementType> = Omit<ComponentPropsWithoutRef<E>, 'style'>;
15
- type RemovePrefix<S extends string, Prefix extends string = 'is'> = S extends `${Prefix}${infer R}` ? Uncapitalize<R> : never;
16
- export type RenameMisprefixedProps<InputProps extends Record<PropertyKey, any>, Prefix extends string, MisnamedKeys extends `${Prefix}${string}`> = Omit<InputProps, MisnamedKeys> & {
17
- [S in MisnamedKeys as RemovePrefix<S, Prefix>]?: InputProps[S];
18
- };
19
- type RemoveSuffix<S extends string, Suffix extends string = 'Value'> = S extends `${infer R}${Suffix}` ? Uncapitalize<R> : never;
20
- export type RenameMissuffixedProps<InputProps extends Record<PropertyKey, any>, Suffix extends string, MisnamedKeys extends `${string}${Suffix}`> = Omit<InputProps, MisnamedKeys> & {
21
- [S in MisnamedKeys as RemoveSuffix<S, Suffix>]?: InputProps[S];
22
- };
23
- /** Get a type warning when an `errorMessage` is passed without a `validationState` prop. */
24
- type MisprefixedBooleanProps = 'isDisabled' | 'isRequired' | 'isReadOnly';
25
- /** renames `isDisabled`, `isRequired,` and `isReadonly` to `disabled`, `required,` and `readOnly` in an object type */
26
- export type RenameBooleanProps<InputProps extends Record<PropertyKey, any>> = RenameMisprefixedProps<InputProps, 'is', MisprefixedBooleanProps>;
27
- export {};
File without changes
File without changes