playbook-ui 13.12.0 → 13.13.0

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 (192) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/changelog.rb +47 -0
  3. package/dist/pb_avatar/_avatar.d.ts +23 -0
  4. package/dist/pb_avatar_action_button/_avatar_action_button.d.ts +24 -0
  5. package/dist/pb_background/_background.d.ts +36 -0
  6. package/dist/pb_badge/_badge.d.ts +27 -0
  7. package/dist/pb_bar_graph/_bar_graph.d.ts +38 -0
  8. package/dist/pb_body/_body.d.ts +27 -0
  9. package/dist/pb_bread_crumbs/_bread_crumb_item.d.ts +15 -0
  10. package/dist/pb_bread_crumbs/_bread_crumbs.d.ts +16 -0
  11. package/dist/pb_button/_button.d.ts +40 -0
  12. package/dist/pb_button_toolbar/_button_toolbar.d.ts +20 -0
  13. package/dist/pb_caption/_caption.d.ts +23 -0
  14. package/dist/pb_card/_card.d.ts +45 -0
  15. package/dist/pb_checkbox/_checkbox.d.ts +27 -0
  16. package/dist/pb_circle_chart/ChartsTypes.d.ts +2 -0
  17. package/dist/pb_circle_chart/_circle_chart.d.ts +38 -0
  18. package/dist/pb_circle_icon_button/_circle_icon_button.d.ts +24 -0
  19. package/dist/pb_collapsible/_collapsible.d.ts +32 -0
  20. package/dist/pb_collapsible/_helper_functions.d.ts +2 -0
  21. package/dist/pb_collapsible/child_kits/CollapsibleContent.d.ts +7 -0
  22. package/dist/pb_collapsible/child_kits/CollapsibleMain.d.ts +10 -0
  23. package/dist/pb_collapsible/context.d.ts +3 -0
  24. package/dist/pb_collapsible/useCollapsible.d.ts +2 -0
  25. package/dist/pb_contact/_contact.d.ts +16 -0
  26. package/dist/pb_currency/_currency.d.ts +27 -0
  27. package/dist/pb_dashboard/pbChartsColorsHelper.d.ts +2 -0
  28. package/dist/pb_dashboard/pbChartsDarkTheme.d.ts +3 -0
  29. package/dist/pb_dashboard/pbChartsLightTheme.d.ts +3 -0
  30. package/dist/pb_dashboard/themeTypes.d.ts +40 -0
  31. package/dist/pb_dashboard_value/_dashboard_value.d.ts +26 -0
  32. package/dist/pb_dashboard_value/dashboardValueSettings.d.ts +43 -0
  33. package/dist/pb_date/_date.d.ts +21 -0
  34. package/dist/pb_date_picker/_date_picker.d.ts +53 -0
  35. package/dist/pb_date_picker/date_picker_helper.d.ts +23 -0
  36. package/dist/pb_date_picker/plugins/quickPick.d.ts +18 -0
  37. package/dist/pb_date_picker/plugins/timeSelect.d.ts +44 -0
  38. package/dist/pb_date_range_inline/_date_range_inline.d.ts +16 -0
  39. package/dist/pb_date_range_stacked/_date_range_stacked.d.ts +13 -0
  40. package/dist/pb_date_stacked/_date_stacked.d.ts +16 -0
  41. package/dist/pb_date_time/_date_time.d.ts +21 -0
  42. package/dist/pb_date_time_stacked/_date_time_stacked.d.ts +13 -0
  43. package/dist/pb_date_year_stacked/_date_year_stacked.d.ts +13 -0
  44. package/dist/pb_detail/_detail.d.ts +23 -0
  45. package/dist/pb_dialog/_close_icon.d.ts +5 -0
  46. package/dist/pb_dialog/_dialog.d.ts +77 -0
  47. package/dist/pb_dialog/_dialog_context.d.ts +2 -0
  48. package/dist/pb_dialog/child_kits/_dialog_body.d.ts +8 -0
  49. package/dist/pb_dialog/child_kits/_dialog_footer.d.ts +23 -0
  50. package/dist/pb_dialog/child_kits/_dialog_header.d.ts +22 -0
  51. package/dist/pb_distribution_bar/_distribution_bar.d.ts +13 -0
  52. package/dist/pb_enhanced_element/element_observer.d.ts +17 -0
  53. package/dist/pb_enhanced_element/index.d.ts +17 -0
  54. package/dist/pb_file_upload/_file_upload.d.ts +19 -0
  55. package/dist/pb_filter/Filter/CurrentFilters.d.ts +10 -0
  56. package/dist/pb_filter/Filter/FilterBackground.d.ts +10 -0
  57. package/dist/pb_filter/Filter/FilterDouble.d.ts +14 -0
  58. package/dist/pb_filter/Filter/FilterSingle.d.ts +14 -0
  59. package/dist/pb_filter/Filter/FiltersPopover.d.ts +11 -0
  60. package/dist/pb_filter/Filter/ResultsCount.d.ts +8 -0
  61. package/dist/pb_filter/Filter/SortMenu.d.ts +18 -0
  62. package/dist/pb_filter/Filter/index.d.ts +8 -0
  63. package/dist/pb_filter/_filter.d.ts +1 -0
  64. package/dist/pb_fixed_confirmation_toast/_fixed_confirmation_toast.d.ts +21 -0
  65. package/dist/pb_flex/_flex.d.ts +27 -0
  66. package/dist/pb_flex/_flex_item.d.ts +17 -0
  67. package/dist/pb_form_group/_form_group.d.ts +15 -0
  68. package/dist/pb_form_pill/_form_pill.d.ts +23 -0
  69. package/dist/pb_gauge/_gauge.d.ts +34 -0
  70. package/dist/pb_hashtag/_hashtag.d.ts +20 -0
  71. package/dist/pb_highlight/_highlight.d.ts +17 -0
  72. package/dist/pb_home_address_street/_home_address_street.d.ts +26 -0
  73. package/dist/pb_icon/_icon.d.ts +32 -0
  74. package/dist/pb_icon_circle/_icon_circle.d.ts +19 -0
  75. package/dist/pb_icon_stat_value/_icon_stat_value.d.ts +21 -0
  76. package/dist/pb_icon_value/_icon_value.d.ts +17 -0
  77. package/dist/pb_image/_image.d.ts +23 -0
  78. package/dist/pb_kit/dateTime.d.ts +67 -0
  79. package/dist/pb_label_pill/_label_pill.d.ts +18 -0
  80. package/dist/pb_label_value/_label_value.d.ts +22 -0
  81. package/dist/pb_layout/_layout.d.ts +51 -0
  82. package/dist/pb_legend/_legend.d.ts +17 -0
  83. package/dist/pb_lightbox/Carousel/Slide.d.ts +12 -0
  84. package/dist/pb_lightbox/Carousel/Slides.d.ts +10 -0
  85. package/dist/pb_lightbox/Carousel/Thumbnail.d.ts +11 -0
  86. package/dist/pb_lightbox/Carousel/Thumbnails.d.ts +9 -0
  87. package/dist/pb_lightbox/Carousel/index.d.ts +16 -0
  88. package/dist/pb_lightbox/Header/_lightbox_header.d.ts +25 -0
  89. package/dist/pb_lightbox/_lightbox.d.ts +51 -0
  90. package/dist/pb_lightbox/_lightbox_context.d.ts +2 -0
  91. package/dist/pb_lightbox/hooks/useKbdControls.d.ts +3 -0
  92. package/dist/pb_lightbox/hooks/useWindowSize.d.ts +6 -0
  93. package/dist/pb_line_graph/_line_graph.d.ts +38 -0
  94. package/dist/pb_list/_list.d.ts +25 -0
  95. package/dist/pb_list/_list_item.d.ts +16 -0
  96. package/dist/pb_loading_inline/_loading_inline.d.ts +16 -0
  97. package/dist/pb_map/_map.d.ts +33 -0
  98. package/dist/pb_map/_map_controls.d.ts +11 -0
  99. package/dist/pb_map/_map_custom_button.d.ts +6 -0
  100. package/dist/pb_map/pbMapTheme.d.ts +20 -0
  101. package/dist/pb_message/_message.d.ts +39 -0
  102. package/dist/pb_message/_message_mention.d.ts +16 -0
  103. package/dist/pb_multi_level_select/_helper_functions.d.ts +33 -0
  104. package/dist/pb_multi_level_select/_multi_level_select.d.ts +28 -0
  105. package/dist/pb_multiple_users/_multiple_users.d.ts +23 -0
  106. package/dist/pb_multiple_users_stacked/_multiple_users_stacked.d.ts +19 -0
  107. package/dist/pb_nav/_item.d.ts +43 -0
  108. package/dist/pb_nav/_nav.d.ts +26 -0
  109. package/dist/pb_nav/navTypes.d.ts +22 -0
  110. package/dist/pb_online_status/_online_status.d.ts +17 -0
  111. package/dist/pb_passphrase/_passphrase.d.ts +22 -0
  112. package/dist/pb_person/_person.d.ts +18 -0
  113. package/dist/pb_person_contact/_person_contact.d.ts +21 -0
  114. package/dist/pb_phone_number_input/_phone_number_input.d.ts +37 -0
  115. package/dist/pb_pill/_pill.d.ts +19 -0
  116. package/dist/pb_popover/_popover.d.ts +25 -0
  117. package/dist/pb_popover/index.d.ts +21 -0
  118. package/dist/pb_progress_pills/_progress_pills.d.ts +20 -0
  119. package/dist/pb_progress_simple/_progress_simple.d.ts +18 -0
  120. package/dist/pb_progress_step/_progress_step.d.ts +22 -0
  121. package/dist/pb_progress_step/_progress_step_item.d.ts +15 -0
  122. package/dist/pb_radio/_radio.d.ts +367 -0
  123. package/dist/pb_rich_text_editor/TipTap/EditorButton.d.ts +9 -0
  124. package/dist/pb_rich_text_editor/TipTap/EditorTypes.d.ts +9 -0
  125. package/dist/pb_rich_text_editor/TipTap/MoreExtensionsDropdown.d.ts +2 -0
  126. package/dist/pb_rich_text_editor/TipTap/Toolbar.d.ts +2 -0
  127. package/dist/pb_rich_text_editor/TipTap/ToolbarDropdown.d.ts +2 -0
  128. package/dist/pb_rich_text_editor/TipTap/ToolbarHistory.d.ts +2 -0
  129. package/dist/pb_rich_text_editor/TipTap/ToolbarNodes.d.ts +2 -0
  130. package/dist/pb_rich_text_editor/_rich_text_editor.d.ts +34 -0
  131. package/dist/pb_rich_text_editor/inlineFocus.d.ts +2 -0
  132. package/dist/pb_rich_text_editor/useFocus.d.ts +2 -0
  133. package/dist/pb_section_separator/_section_separator.d.ts +22 -0
  134. package/dist/pb_select/_select.d.ts +397 -0
  135. package/dist/pb_selectable_card/_selectable_card.d.ts +33 -0
  136. package/dist/pb_selectable_card_icon/_selectable_card_icon.d.ts +30 -0
  137. package/dist/pb_selectable_icon/_selectable_icon.d.ts +24 -0
  138. package/dist/pb_selectable_list/_item.d.ts +23 -0
  139. package/dist/pb_selectable_list/_selectable_list.d.ts +20 -0
  140. package/dist/pb_source/_source.d.ts +20 -0
  141. package/dist/pb_star_rating/_star_rating.d.ts +17 -0
  142. package/dist/pb_stat_change/_stat_change.d.ts +13 -0
  143. package/dist/pb_stat_value/_stat_value.d.ts +12 -0
  144. package/dist/pb_table/_table.d.ts +27 -0
  145. package/dist/pb_table/_table_row.d.ts +18 -0
  146. package/dist/pb_table/index.d.ts +5 -0
  147. package/dist/pb_text_input/_text_input.d.ts +395 -0
  148. package/dist/pb_textarea/_textarea.d.ts +392 -0
  149. package/dist/pb_textarea/index.d.ts +10 -0
  150. package/dist/pb_time/_time.d.ts +19 -0
  151. package/dist/pb_time_range_inline/_time_range_inline.d.ts +23 -0
  152. package/dist/pb_time_stacked/_time_stacked.d.ts +18 -0
  153. package/dist/pb_timeline/_item.d.ts +14 -0
  154. package/dist/pb_timeline/_timeline.d.ts +32 -0
  155. package/dist/pb_timestamp/_timestamp.d.ts +25 -0
  156. package/dist/pb_title/_title.d.ts +29 -0
  157. package/dist/pb_title_count/_title_count.d.ts +21 -0
  158. package/dist/pb_title_detail/_title_detail.d.ts +19 -0
  159. package/dist/pb_toggle/_toggle.d.ts +24 -0
  160. package/dist/pb_tooltip/_tooltip.d.ts +368 -0
  161. package/dist/pb_treemap_chart/_treemap_chart.d.ts +30 -0
  162. package/dist/pb_typeahead/_typeahead.d.ts +38 -0
  163. package/dist/pb_typeahead/components/ClearIndicator.d.ts +2 -0
  164. package/dist/pb_typeahead/components/Control.d.ts +5 -0
  165. package/dist/pb_typeahead/components/IndicatorsContainer.d.ts +2 -0
  166. package/dist/pb_typeahead/components/MenuList.d.ts +2 -0
  167. package/dist/pb_typeahead/components/MultiValue.d.ts +9 -0
  168. package/dist/pb_typeahead/components/Option.d.ts +2 -0
  169. package/dist/pb_typeahead/components/Placeholder.d.ts +2 -0
  170. package/dist/pb_typeahead/components/ValueContainer.d.ts +2 -0
  171. package/dist/pb_typeahead/index.d.ts +39 -0
  172. package/dist/pb_user/_user.d.ts +26 -0
  173. package/dist/pb_user_badge/_user_badge.d.ts +17 -0
  174. package/dist/pb_user_badge/badges/million-dollar.d.ts +2 -0
  175. package/dist/pb_user_badge/badges/veteran.d.ts +2 -0
  176. package/dist/pb_walkthrough/_walkthrough.d.ts +44 -0
  177. package/dist/pb_weekday_stacked/_weekday_stacked.d.ts +18 -0
  178. package/dist/playbook-doc.js +6 -6
  179. package/dist/playbook-rails.js +5 -5
  180. package/dist/playbook.js +8 -8
  181. package/dist/types/base.d.ts +7 -0
  182. package/dist/types/colors.d.ts +19 -0
  183. package/dist/types/display.d.ts +8 -0
  184. package/dist/types/index.d.ts +5 -0
  185. package/dist/types/sizes.d.ts +1 -0
  186. package/dist/types/spacing.d.ts +1 -0
  187. package/dist/utilities/globalProps.d.ts +113 -0
  188. package/dist/utilities/object.d.ts +1 -0
  189. package/dist/utilities/props.d.ts +50 -0
  190. package/dist/utilities/text.d.ts +3 -0
  191. package/dist/utilities/validEmojiChecker.d.ts +1 -0
  192. package/package.json +2 -1
@@ -0,0 +1,11 @@
1
+ import React, { ReactNode } from 'react';
2
+ declare type FiltersPopoverProps = {
3
+ children?: React.ReactChild[] | React.ReactChild | (({ closePopover }: {
4
+ closePopover: () => void;
5
+ }) => ReactNode);
6
+ dark?: boolean;
7
+ minWidth?: string;
8
+ placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
9
+ };
10
+ declare const FiltersPopover: ({ children, dark, minWidth, placement }: FiltersPopoverProps) => React.ReactElement;
11
+ export default FiltersPopover;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ declare type ResultsCountProps = {
3
+ dark?: boolean;
4
+ results?: number | null;
5
+ title?: boolean;
6
+ };
7
+ declare const ResultsCount: ({ dark, results, title }: ResultsCountProps) => React.ReactElement;
8
+ export default ResultsCount;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ export declare type Direction = 'asc' | 'desc';
3
+ export declare type SortOptions = {
4
+ [name: string]: string;
5
+ };
6
+ export declare type SortValue = {
7
+ name: string;
8
+ dir: Direction;
9
+ };
10
+ export declare type SortingChangeCallback = (value: SortValue[]) => void;
11
+ export declare type SortMenuProps = {
12
+ dark?: boolean;
13
+ onChange: SortingChangeCallback;
14
+ options: SortOptions;
15
+ value?: SortValue[];
16
+ };
17
+ declare const SortMenu: ({ dark, options, value, onChange }: SortMenuProps) => React.ReactElement;
18
+ export default SortMenu;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { FilterSingleProps } from './FilterSingle';
3
+ import { FilterDoubleProps } from './FilterDouble';
4
+ declare type FilterProps = FilterSingleProps | (FilterDoubleProps & {
5
+ double?: boolean;
6
+ });
7
+ declare const Filter: ({ double, ...templateProps }: FilterProps) => React.ReactElement;
8
+ export default Filter;
@@ -0,0 +1 @@
1
+ export { default } from './Filter';
@@ -0,0 +1,21 @@
1
+ import React from "react";
2
+ declare type FixedConfirmationToastProps = {
3
+ autoClose?: number;
4
+ children?: React.ReactChild[] | React.ReactChild;
5
+ className?: string;
6
+ closeable?: boolean;
7
+ data?: string;
8
+ horizontal?: "right" | "left" | "center";
9
+ htmlOptions?: {
10
+ [key: string]: string | number | boolean | Function;
11
+ };
12
+ id?: string;
13
+ multiLine?: boolean;
14
+ onClose?: () => void;
15
+ open?: boolean;
16
+ status?: "success" | "error" | "neutral" | "tip";
17
+ text?: string;
18
+ vertical?: "top" | "bottom";
19
+ };
20
+ declare const FixedConfirmationToast: (props: FixedConfirmationToastProps) => JSX.Element;
21
+ export default FixedConfirmationToast;
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import { GlobalProps } from '../utilities/globalProps';
3
+ import { Sizes } from '../types';
4
+ declare type FlexProps = {
5
+ children: React.ReactChild[] | React.ReactNode;
6
+ className?: string;
7
+ data?: object;
8
+ horizontal?: "left" | "center" | "right" | "stretch" | "none";
9
+ justify?: "start" | "center" | "end" | "around" | "between" | "evenly" | "none";
10
+ htmlOptions?: {
11
+ [key: string]: string | number | boolean | Function;
12
+ };
13
+ id?: string;
14
+ inline?: boolean;
15
+ orientation?: "row" | "column";
16
+ spacing?: "around" | "between" | "evenly" | "none";
17
+ reverse?: boolean;
18
+ vertical?: "top" | "center" | "bottom" | "stretch" | "baseline" | "none";
19
+ align?: "start" | "center" | "end" | "stretch" | "baseline" | "none";
20
+ gap?: Sizes | "none";
21
+ rowGap?: Sizes | "none";
22
+ columnGap?: Sizes | "none";
23
+ wrap?: boolean;
24
+ alignSelf?: "start" | "end" | "center" | "stretch" | "none";
25
+ } & GlobalProps;
26
+ declare const Flex: (props: FlexProps) => JSX.Element;
27
+ export default Flex;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { GlobalProps } from '../utilities/globalProps';
3
+ declare type FlexItemPropTypes = {
4
+ children: React.ReactNode[] | React.ReactNode;
5
+ fixedSize?: string;
6
+ grow?: boolean;
7
+ htmlOptions?: {
8
+ [key: string]: string | number | boolean | Function;
9
+ };
10
+ shrink?: boolean;
11
+ className?: string;
12
+ order?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 'first' | 'none';
13
+ alignSelf?: "start" | "end" | "center" | "stretch" | null;
14
+ displayFlex?: boolean;
15
+ } & GlobalProps;
16
+ declare const FlexItem: (props: FlexItemPropTypes) => React.ReactElement;
17
+ export default FlexItem;
@@ -0,0 +1,15 @@
1
+ declare type FormGroupProps = {
2
+ aria?: {
3
+ [key: string]: string;
4
+ };
5
+ children?: Node;
6
+ className?: string;
7
+ data?: object;
8
+ fullWidth?: boolean;
9
+ htmlOptions?: {
10
+ [key: string]: string | number | boolean | Function;
11
+ };
12
+ id?: string;
13
+ };
14
+ declare const FormGroup: (props: FormGroupProps) => JSX.Element;
15
+ export default FormGroup;
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import { GlobalProps } from '../utilities/globalProps';
3
+ declare type FormPillProps = {
4
+ className?: string;
5
+ htmlOptions?: {
6
+ [key: string]: string | number | boolean | Function;
7
+ };
8
+ id?: string;
9
+ text: string;
10
+ name?: string;
11
+ onClick?: React.MouseEventHandler<HTMLSpanElement>;
12
+ avatar?: boolean;
13
+ avatarUrl?: string;
14
+ size?: string;
15
+ textTransform?: 'none' | 'lowercase';
16
+ closeProps?: {
17
+ onClick?: React.MouseEventHandler<HTMLSpanElement>;
18
+ onMouseDown?: React.MouseEventHandler<HTMLSpanElement>;
19
+ onTouchEnd?: React.TouchEventHandler<HTMLSpanElement>;
20
+ };
21
+ } & GlobalProps;
22
+ declare const FormPill: (props: FormPillProps) => JSX.Element;
23
+ export default FormPill;
@@ -0,0 +1,34 @@
1
+ declare type GaugeProps = {
2
+ aria: {
3
+ [key: string]: string;
4
+ };
5
+ className?: string;
6
+ chartData?: {
7
+ name: string;
8
+ value: number[] | number;
9
+ }[];
10
+ dark?: Boolean;
11
+ data?: {
12
+ [key: string]: string;
13
+ };
14
+ disableAnimation?: boolean;
15
+ fullCircle?: boolean;
16
+ height?: string;
17
+ htmlOptions?: {
18
+ [key: string]: string | number | boolean | Function;
19
+ };
20
+ id?: string;
21
+ max?: number;
22
+ min?: number;
23
+ prefix?: string;
24
+ showLabels?: boolean;
25
+ style?: string;
26
+ suffix?: string;
27
+ title?: string;
28
+ tooltipHtml?: string;
29
+ colors: string[];
30
+ minorTickInterval: any;
31
+ circumference: number[];
32
+ };
33
+ declare const Gauge: ({ aria, className, chartData, dark, data, disableAnimation, fullCircle, height, htmlOptions, id, max, min, prefix, showLabels, style, suffix, title, tooltipHtml, colors, minorTickInterval, circumference, ...props }: GaugeProps) => JSX.Element;
34
+ export default Gauge;
@@ -0,0 +1,20 @@
1
+ import { GlobalProps } from '../utilities/globalProps';
2
+ declare type HashtagProps = {
3
+ aria?: {
4
+ [key: string]: string;
5
+ };
6
+ className?: string;
7
+ dark?: boolean;
8
+ data?: string;
9
+ htmlOptions?: {
10
+ [key: string]: string | number | boolean | Function;
11
+ };
12
+ id?: string;
13
+ newWindow?: boolean;
14
+ rel?: string;
15
+ text?: string;
16
+ type: "default" | "home" | "project" | "appointment";
17
+ url?: string;
18
+ } & GlobalProps;
19
+ declare const Hashtag: (props: HashtagProps) => JSX.Element;
20
+ export default Hashtag;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { GlobalProps } from '../utilities/globalProps';
3
+ declare type HighlightProps = {
4
+ className?: string;
5
+ data?: {
6
+ [key: string]: string;
7
+ };
8
+ htmlOptions?: {
9
+ [key: string]: string | number | boolean | Function;
10
+ };
11
+ id?: string;
12
+ children?: React.ReactChild[] | React.ReactChild | string;
13
+ text?: string;
14
+ highlightedText?: string[];
15
+ } & GlobalProps;
16
+ declare const Highlight: (props: HighlightProps) => React.ReactElement;
17
+ export default Highlight;
@@ -0,0 +1,26 @@
1
+ declare type HomeAddressStreetProps = {
2
+ aria?: {
3
+ [key: string]: string;
4
+ };
5
+ address: string;
6
+ addressCont: string;
7
+ city: string;
8
+ className?: string;
9
+ data?: {
10
+ [key: string]: string;
11
+ };
12
+ dark?: boolean;
13
+ emphasis: "street" | "city";
14
+ htmlOptions?: {
15
+ [key: string]: string | number | boolean | Function;
16
+ };
17
+ homeId: string;
18
+ houseStyle: string;
19
+ homeUrl: string;
20
+ newWindow: boolean;
21
+ state: string;
22
+ zipcode: string;
23
+ territory: string;
24
+ };
25
+ declare const HomeAddressStreet: (props: HomeAddressStreetProps) => JSX.Element;
26
+ export default HomeAddressStreet;
@@ -0,0 +1,32 @@
1
+ import { GlobalProps } from '../utilities/globalProps';
2
+ export declare type IconSizes = "lg" | "xs" | "sm" | "1x" | "2x" | "3x" | "4x" | "5x" | "6x" | "7x" | "8x" | "9x" | "10x" | "";
3
+ declare type IconProps = {
4
+ aria?: {
5
+ [key: string]: string;
6
+ };
7
+ border?: string;
8
+ className?: string;
9
+ customIcon?: {
10
+ [key: string]: SVGElement;
11
+ };
12
+ data?: {
13
+ [key: string]: string;
14
+ };
15
+ fixedWidth?: boolean;
16
+ flip?: "horizontal" | "vertical" | "both" | "none";
17
+ icon: string;
18
+ htmlOptions?: {
19
+ [key: string]: string | number | boolean | Function;
20
+ };
21
+ id?: string;
22
+ inverse?: boolean;
23
+ listItem?: boolean;
24
+ pull?: "left" | "right" | "none";
25
+ pulse?: boolean;
26
+ rotation?: 90 | 180 | 270;
27
+ size?: IconSizes;
28
+ fontStyle?: 'far' | 'fas' | 'fab' | 'fak';
29
+ spin?: boolean;
30
+ } & GlobalProps;
31
+ declare const Icon: (props: IconProps) => JSX.Element;
32
+ export default Icon;
@@ -0,0 +1,19 @@
1
+ declare type IconCircleProps = {
2
+ aria?: {
3
+ [key: string]: string;
4
+ };
5
+ className?: string;
6
+ dark?: boolean;
7
+ data?: {
8
+ [key: string]: string;
9
+ };
10
+ icon: string;
11
+ htmlOptions?: {
12
+ [key: string]: string | number | boolean | Function;
13
+ };
14
+ id?: string;
15
+ size?: "base" | "xs" | "sm" | "md" | "lg" | "xl";
16
+ variant?: "default" | "royal" | "blue" | "purple" | "teal" | "red" | "yellow" | "orange" | "green";
17
+ };
18
+ declare const IconCircle: (props: IconCircleProps) => JSX.Element;
19
+ export default IconCircle;
@@ -0,0 +1,21 @@
1
+ declare type IconStatValueProps = {
2
+ aria?: {
3
+ [key: string]: string;
4
+ };
5
+ className?: string;
6
+ data?: object;
7
+ dark?: boolean;
8
+ icon: string;
9
+ htmlOptions?: {
10
+ [key: string]: string | number | boolean | Function;
11
+ };
12
+ id?: string;
13
+ orientation?: "vertical" | "horizontal";
14
+ size?: "sm" | "md" | "lg";
15
+ text?: string;
16
+ unit?: string;
17
+ value: number;
18
+ variant?: "default" | "royal" | "blue" | "purple" | "teal" | "red" | "yellow" | "orange" | "green";
19
+ };
20
+ declare const IconStatValue: (props: IconStatValueProps) => JSX.Element;
21
+ export default IconStatValue;
@@ -0,0 +1,17 @@
1
+ declare type IconValueProps = {
2
+ align?: "left" | "center" | "right";
3
+ aria?: {
4
+ [key: string]: string;
5
+ };
6
+ className?: string;
7
+ dark?: boolean;
8
+ data?: object;
9
+ icon: string;
10
+ htmlOptions?: {
11
+ [key: string]: string | number | boolean | Function;
12
+ };
13
+ id?: string;
14
+ text: string;
15
+ };
16
+ declare const IconValue: (props: IconValueProps) => JSX.Element;
17
+ export default IconValue;
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import { GlobalProps } from '../utilities/globalProps';
3
+ declare type ImageType = {
4
+ alt?: string;
5
+ aria?: {
6
+ [key: string]: string;
7
+ };
8
+ className?: string;
9
+ data?: {
10
+ [key: string]: string;
11
+ };
12
+ htmlOptions?: {
13
+ [key: string]: string | number | boolean | Function;
14
+ };
15
+ id?: string;
16
+ onError?: () => void;
17
+ size?: "xs" | "sm" | "md" | "lg" | "xl";
18
+ rounded?: boolean;
19
+ transition?: "blur" | "fade" | "scale";
20
+ url?: string;
21
+ } & GlobalProps;
22
+ declare const Image: (props: ImageType) => React.ReactElement;
23
+ export default Image;
@@ -0,0 +1,67 @@
1
+ export declare const toMinute: (newDate: Date | string, timeZone?: string) => string;
2
+ export declare const toHour: (newDate: Date | string, timeZone?: string) => string;
3
+ export declare const toDay: (newDate: Date | string, timeZone?: string) => number;
4
+ export declare const toDayAbbr: (newDate: Date | string) => string;
5
+ export declare const toWeekday: (newDate: Date | string) => string;
6
+ export declare const toMonth: (newDate: Date | string, timeZone?: string) => string;
7
+ export declare const toMonthNum: (newDate: Date | string) => number;
8
+ export declare const toYear: (newDate: Date | string, timeZone?: string) => number;
9
+ export declare const toTime: (newDate: Date | string, timeZone?: string) => string;
10
+ export declare const toMeridiem: (newDate: Date | string, timeZone?: string) => string;
11
+ export declare const toTimeZone: (newDate: Date | string, timeZone?: string) => string;
12
+ export declare const toTimeWithMeridiem: (newDate: Date | string, timeZone: string) => string;
13
+ export declare const toIso: (newDate: Date | string) => string;
14
+ export declare const fromNow: (newDate: Date | string) => string;
15
+ export declare const toCustomFormat: (newDate: Date | string, format?: string) => string;
16
+ export declare const getYesterdayDate: (newDate: Date | string) => Date;
17
+ export declare const getFirstDayOfWeek: (newDate: Date | string) => Date;
18
+ export declare const getLastDayOfWeek: (newDate: Date | string) => Date;
19
+ export declare const getPreviousWeekStartDate: (newDate: Date | string) => Date;
20
+ export declare const getPreviousWeekEndDate: (newDate: Date | string) => Date;
21
+ export declare const getMonthStartDate: (newDate: Date | string) => Date;
22
+ export declare const getMonthEndDate: (newDate: Date | string) => Date;
23
+ export declare const getPreviousMonthStartDate: (newDate: Date | string) => Date;
24
+ export declare const getPreviousMonthEndDate: (newDate: Date | string) => Date;
25
+ export declare const getQuarterStartDate: (newDate: Date | string) => Date;
26
+ export declare const getQuarterEndDate: (newDate: Date | string) => Date;
27
+ export declare const getPreviousQuarterStartDate: (newDate: Date | string) => Date;
28
+ export declare const getPreviousQuarterEndDate: (newDate: Date | string) => Date;
29
+ export declare const getYearStartDate: (newDate: Date | string) => Date;
30
+ export declare const getYearEndDate: (newDate: Date | string) => Date;
31
+ export declare const getPreviousYearStartDate: (newDate: Date | string) => Date;
32
+ export declare const getPreviousYearEndDate: (newDate: Date | string) => Date;
33
+ declare const _default: {
34
+ toMinute: (newDate: string | Date, timeZone?: string) => string;
35
+ toHour: (newDate: string | Date, timeZone?: string) => string;
36
+ toDay: (newDate: string | Date, timeZone?: string) => number;
37
+ toDayAbbr: (newDate: string | Date) => string;
38
+ toWeekday: (newDate: string | Date) => string;
39
+ toMonth: (newDate: string | Date, timeZone?: string) => string;
40
+ toMonthNum: (newDate: string | Date) => number;
41
+ toYear: (newDate: string | Date, timeZone?: string) => number;
42
+ toTime: (newDate: string | Date, timeZone?: string) => string;
43
+ toMeridiem: (newDate: string | Date, timeZone?: string) => string;
44
+ toTimeZone: (newDate: string | Date, timeZone?: string) => string;
45
+ toTimeWithMeridiem: (newDate: string | Date, timeZone: string) => string;
46
+ toIso: (newDate: string | Date) => string;
47
+ fromNow: (newDate: string | Date) => string;
48
+ toCustomFormat: (newDate: string | Date, format?: string) => string;
49
+ getYesterdayDate: (newDate: string | Date) => Date;
50
+ getFirstDayOfWeek: (newDate: string | Date) => Date;
51
+ getLastDayOfWeek: (newDate: string | Date) => Date;
52
+ getPreviousWeekStartDate: (newDate: string | Date) => Date;
53
+ getPreviousWeekEndDate: (newDate: string | Date) => Date;
54
+ getMonthStartDate: (newDate: string | Date) => Date;
55
+ getMonthEndDate: (newDate: string | Date) => Date;
56
+ getPreviousMonthStartDate: (newDate: string | Date) => Date;
57
+ getPreviousMonthEndDate: (newDate: string | Date) => Date;
58
+ getQuarterStartDate: (newDate: string | Date) => Date;
59
+ getQuarterEndDate: (newDate: string | Date) => Date;
60
+ getPreviousQuarterStartDate: (newDate: string | Date) => Date;
61
+ getPreviousQuarterEndDate: (newDate: string | Date) => Date;
62
+ getYearStartDate: (newDate: string | Date) => Date;
63
+ getYearEndDate: (newDate: string | Date) => Date;
64
+ getPreviousYearStartDate: (newDate: string | Date) => Date;
65
+ getPreviousYearEndDate: (newDate: string | Date) => Date;
66
+ };
67
+ export default _default;
@@ -0,0 +1,18 @@
1
+ declare type LabelPillProps = {
2
+ aria?: {
3
+ [key: string]: string;
4
+ };
5
+ className?: string;
6
+ data?: {
7
+ [key: string]: string;
8
+ };
9
+ htmlOptions?: {
10
+ [key: string]: string | number | boolean | Function;
11
+ };
12
+ id?: string;
13
+ label?: string;
14
+ pillValue?: string;
15
+ variant: "error" | "info" | "neutral" | "primary" | "success" | "warning";
16
+ };
17
+ declare const LabelPill: (props: LabelPillProps) => JSX.Element;
18
+ export default LabelPill;
@@ -0,0 +1,22 @@
1
+ declare type LabelValueProps = {
2
+ active?: boolean;
3
+ aria?: {
4
+ [key: string]: string;
5
+ };
6
+ className?: string;
7
+ dark?: boolean;
8
+ data?: object;
9
+ date?: Date;
10
+ htmlOptions?: {
11
+ [key: string]: string | number | boolean | Function;
12
+ };
13
+ id?: string;
14
+ label: string;
15
+ value?: string;
16
+ variant?: "default" | "details";
17
+ icon?: string;
18
+ description?: string;
19
+ title?: string;
20
+ };
21
+ declare const LabelValue: (props: LabelValueProps) => JSX.Element;
22
+ export default LabelValue;
@@ -0,0 +1,51 @@
1
+ import React from 'react';
2
+ declare type LayoutPropTypes = {
3
+ aria?: {
4
+ [key: string]: string;
5
+ };
6
+ children?: React.ReactChild[] | React.ReactChild;
7
+ className?: string;
8
+ collapse?: "xs" | "sm" | "md" | "lg" | "xl";
9
+ dark?: boolean;
10
+ data?: object;
11
+ full?: boolean;
12
+ htmlOptions?: {
13
+ [key: string]: string | number | boolean | Function;
14
+ };
15
+ position?: "left" | "right";
16
+ responsive?: boolean;
17
+ size?: "xs" | "sm" | "md" | "base" | "lg" | "xl";
18
+ variant?: "light" | "dark" | "gradient";
19
+ transparent?: boolean;
20
+ layout?: "sidebar" | "collection" | "kanban" | "content" | "masonry";
21
+ };
22
+ declare type LayoutSideProps = {
23
+ children: React.ReactNode[] | React.ReactNode;
24
+ className?: string;
25
+ };
26
+ declare type LayoutBodyProps = {
27
+ children: React.ReactNode[] | React.ReactNode;
28
+ className?: string;
29
+ };
30
+ declare type LayoutItemProps = {
31
+ children: React.ReactNode[] | React.ReactNode;
32
+ className?: string;
33
+ size?: "sm" | "md" | "lg";
34
+ };
35
+ declare type LayoutHeaderProps = {
36
+ children: React.ReactNode[] | React.ReactNode;
37
+ className?: string;
38
+ };
39
+ declare type LayoutFooterProps = {
40
+ children: React.ReactNode[] | React.ReactNode;
41
+ className?: string;
42
+ };
43
+ declare const Layout: {
44
+ (props: LayoutPropTypes): JSX.Element;
45
+ Side: (props: LayoutSideProps) => JSX.Element;
46
+ Body: (props: LayoutBodyProps) => JSX.Element;
47
+ Item: (props: LayoutItemProps) => JSX.Element;
48
+ Header: (props: LayoutHeaderProps) => JSX.Element;
49
+ Footer: (props: LayoutFooterProps) => JSX.Element;
50
+ };
51
+ export default Layout;
@@ -0,0 +1,17 @@
1
+ declare type LegendProps = {
2
+ aria?: {
3
+ [key: string]: string;
4
+ };
5
+ className?: string;
6
+ color?: string;
7
+ dark?: boolean;
8
+ data?: object;
9
+ htmlOptions?: {
10
+ [key: string]: string | number | boolean | Function;
11
+ };
12
+ id?: string;
13
+ prefixText?: string;
14
+ text: string;
15
+ };
16
+ declare const Legend: (props: LegendProps) => JSX.Element;
17
+ export default Legend;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ declare type SlideType = {
3
+ alt?: string;
4
+ current?: number;
5
+ onClick: () => void;
6
+ onChange?: (index: number) => void;
7
+ onZoom: (zoom: boolean) => void;
8
+ zooming: boolean;
9
+ url: string;
10
+ };
11
+ export default function Slide({ alt, onClick, onZoom, url, zooming, }: SlideType): React.ReactElement;
12
+ export {};
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ declare type SlidesType = {
3
+ urls: Array<string>;
4
+ current: number;
5
+ onChange: (index: number) => void;
6
+ onClick: (index: number) => void;
7
+ setIndex?: (index: number) => void;
8
+ };
9
+ export default function Slides({ urls, current, onChange, setIndex, }: SlidesType): React.ReactElement;
10
+ export {};
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ declare type ThumbnailType = {
3
+ active?: boolean;
4
+ alt?: string;
5
+ onClick: () => void;
6
+ buttonRef?: React.RefObject<HTMLButtonElement>;
7
+ url: string;
8
+ width?: string;
9
+ };
10
+ export default function Thumbnail({ active, alt, width, url, onClick, buttonRef, }: ThumbnailType): React.ReactElement;
11
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export declare const indexWithinBounds: (current: number, min: number, max: number) => number;
3
+ declare type ThumbnailsType = {
4
+ current: number;
5
+ onChange: (index: number) => void;
6
+ urls: string[];
7
+ };
8
+ export default function Thumbnails({ current, onChange, urls, }: ThumbnailsType): React.ReactElement;
9
+ export {};
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ declare type CarouselType = {
3
+ initialPhoto?: string;
4
+ onClose?: () => void;
5
+ icon?: string;
6
+ currentIndex: number;
7
+ photos: {
8
+ url: string;
9
+ thumbnail: string;
10
+ }[];
11
+ onChange: (index: number) => void;
12
+ onClick?: (index: number) => void;
13
+ setIndex?: (index: number) => void;
14
+ };
15
+ export default function Carousel({ currentIndex, photos, onClick, onChange, setIndex, }: CarouselType): React.ReactElement;
16
+ export {};
@@ -0,0 +1,25 @@
1
+ import React from "react";
2
+ import { GlobalProps } from "../../utilities/globalProps";
3
+ declare type LightboxHeaderProps = {
4
+ aria?: {
5
+ [key: string]: string;
6
+ };
7
+ children?: React.ReactNode[] | React.ReactNode | string;
8
+ className?: string;
9
+ closeable?: boolean;
10
+ data?: {
11
+ [key: string]: string | number;
12
+ };
13
+ htmlOptions?: {
14
+ [key: string]: string | number | boolean | Function;
15
+ };
16
+ icon?: string;
17
+ id?: string;
18
+ onClickRight?: () => void;
19
+ onClose?: () => void;
20
+ text?: string;
21
+ navRight?: string;
22
+ title?: string;
23
+ } & GlobalProps;
24
+ declare const LightboxHeader: (props: LightboxHeaderProps) => React.ReactElement;
25
+ export default LightboxHeader;