playbook_ui 13.12.0.pre.alpha.PLAY1051removinghighchartsdependency1551 → 13.12.0.pre.alpha.PLAY1081exporttypes1609
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_avatar/_avatar.d.ts +20 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.d.ts +21 -0
- data/app/pb_kits/playbook/pb_background/_background.d.ts +33 -0
- data/app/pb_kits/playbook/pb_badge/_badge.d.ts +24 -0
- data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.d.ts +35 -0
- data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx +32 -36
- data/app/pb_kits/playbook/pb_body/_body.d.ts +24 -0
- data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumb_item.d.ts +12 -0
- data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumbs.d.ts +13 -0
- data/app/pb_kits/playbook/pb_button/_button.d.ts +37 -0
- data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.d.ts +17 -0
- data/app/pb_kits/playbook/pb_caption/_caption.d.ts +20 -0
- data/app/pb_kits/playbook/pb_card/_card.d.ts +42 -0
- data/app/pb_kits/playbook/pb_checkbox/_checkbox.d.ts +24 -0
- data/app/pb_kits/playbook/pb_circle_chart/ChartsTypes.d.ts +2 -0
- data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.d.ts +35 -0
- data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx +63 -67
- data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.d.ts +21 -0
- data/app/pb_kits/playbook/pb_collapsible/_collapsible.d.ts +29 -0
- data/app/pb_kits/playbook/pb_collapsible/_helper_functions.d.ts +2 -0
- data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleContent.d.ts +7 -0
- data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.d.ts +10 -0
- data/app/pb_kits/playbook/pb_collapsible/context.d.ts +3 -0
- data/app/pb_kits/playbook/pb_collapsible/useCollapsible.d.ts +2 -0
- data/app/pb_kits/playbook/pb_contact/_contact.d.ts +13 -0
- data/app/pb_kits/playbook/pb_currency/_currency.d.ts +24 -0
- data/app/pb_kits/playbook/pb_dashboard/pbChartsColorsHelper.d.ts +2 -0
- data/app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.d.ts +3 -0
- data/app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.d.ts +3 -0
- data/app/pb_kits/playbook/pb_dashboard/themeTypes.d.ts +40 -0
- data/app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.d.ts +23 -0
- data/app/pb_kits/playbook/pb_dashboard_value/dashboardValueSettings.d.ts +43 -0
- data/app/pb_kits/playbook/pb_date/_date.d.ts +18 -0
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.d.ts +50 -0
- data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.d.ts +23 -0
- data/app/pb_kits/playbook/pb_date_picker/plugins/quickPick.d.ts +18 -0
- data/app/pb_kits/playbook/pb_date_picker/plugins/timeSelect.d.ts +44 -0
- data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.d.ts +13 -0
- data/app/pb_kits/playbook/pb_date_range_stacked/_date_range_stacked.d.ts +10 -0
- data/app/pb_kits/playbook/pb_date_stacked/_date_stacked.d.ts +13 -0
- data/app/pb_kits/playbook/pb_date_time/_date_time.d.ts +18 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/_date_time_stacked.d.ts +10 -0
- data/app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.d.ts +10 -0
- data/app/pb_kits/playbook/pb_detail/_detail.d.ts +20 -0
- data/app/pb_kits/playbook/pb_dialog/_close_icon.d.ts +5 -0
- data/app/pb_kits/playbook/pb_dialog/_dialog.d.ts +68 -0
- data/app/pb_kits/playbook/pb_dialog/_dialog_context.d.ts +2 -0
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_body.d.ts +8 -0
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_footer.d.ts +20 -0
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_header.d.ts +19 -0
- data/app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.d.ts +10 -0
- data/app/pb_kits/playbook/pb_enhanced_element/element_observer.d.ts +17 -0
- data/app/pb_kits/playbook/pb_enhanced_element/index.d.ts +17 -0
- data/app/pb_kits/playbook/pb_file_upload/_file_upload.d.ts +16 -0
- data/app/pb_kits/playbook/pb_filter/Filter/CurrentFilters.d.ts +10 -0
- data/app/pb_kits/playbook/pb_filter/Filter/FilterBackground.d.ts +10 -0
- data/app/pb_kits/playbook/pb_filter/Filter/FilterDouble.d.ts +14 -0
- data/app/pb_kits/playbook/pb_filter/Filter/FilterSingle.d.ts +14 -0
- data/app/pb_kits/playbook/pb_filter/Filter/FiltersPopover.d.ts +11 -0
- data/app/pb_kits/playbook/pb_filter/Filter/ResultsCount.d.ts +8 -0
- data/app/pb_kits/playbook/pb_filter/Filter/SortMenu.d.ts +18 -0
- data/app/pb_kits/playbook/pb_filter/Filter/index.d.ts +8 -0
- data/app/pb_kits/playbook/pb_filter/_filter.d.ts +1 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.d.ts +18 -0
- data/app/pb_kits/playbook/pb_flex/_flex.d.ts +24 -0
- data/app/pb_kits/playbook/pb_flex/_flex_item.d.ts +14 -0
- data/app/pb_kits/playbook/pb_form_group/_form_group.d.ts +12 -0
- data/app/pb_kits/playbook/pb_form_pill/_form_pill.d.ts +20 -0
- data/app/pb_kits/playbook/pb_gauge/_gauge.d.ts +31 -0
- data/app/pb_kits/playbook/pb_gauge/_gauge.tsx +46 -57
- data/app/pb_kits/playbook/pb_hashtag/_hashtag.d.ts +17 -0
- data/app/pb_kits/playbook/pb_highlight/_highlight.d.ts +14 -0
- data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.d.ts +23 -0
- data/app/pb_kits/playbook/pb_icon/_icon.d.ts +29 -0
- data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.d.ts +16 -0
- data/app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.d.ts +18 -0
- data/app/pb_kits/playbook/pb_icon_value/_icon_value.d.ts +14 -0
- data/app/pb_kits/playbook/pb_image/_image.d.ts +20 -0
- data/app/pb_kits/playbook/pb_kit/dateTime.d.ts +67 -0
- data/app/pb_kits/playbook/pb_label_pill/_label_pill.d.ts +15 -0
- data/app/pb_kits/playbook/pb_label_value/_label_value.d.ts +19 -0
- data/app/pb_kits/playbook/pb_layout/_layout.d.ts +48 -0
- data/app/pb_kits/playbook/pb_legend/_legend.d.ts +14 -0
- data/app/pb_kits/playbook/pb_lightbox/Carousel/Slide.d.ts +12 -0
- data/app/pb_kits/playbook/pb_lightbox/Carousel/Slides.d.ts +10 -0
- data/app/pb_kits/playbook/pb_lightbox/Carousel/Thumbnail.d.ts +11 -0
- data/app/pb_kits/playbook/pb_lightbox/Carousel/Thumbnails.d.ts +9 -0
- data/app/pb_kits/playbook/pb_lightbox/Carousel/index.d.ts +16 -0
- data/app/pb_kits/playbook/pb_lightbox/Header/_lightbox_header.d.ts +22 -0
- data/app/pb_kits/playbook/pb_lightbox/_lightbox.d.ts +45 -0
- data/app/pb_kits/playbook/pb_lightbox/_lightbox_context.d.ts +2 -0
- data/app/pb_kits/playbook/pb_lightbox/hooks/useKbdControls.d.ts +3 -0
- data/app/pb_kits/playbook/pb_lightbox/hooks/useWindowSize.d.ts +6 -0
- data/app/pb_kits/playbook/pb_line_graph/_line_graph.d.ts +35 -0
- data/app/pb_kits/playbook/pb_line_graph/_line_graph.tsx +34 -39
- data/app/pb_kits/playbook/pb_list/_list.d.ts +22 -0
- data/app/pb_kits/playbook/pb_list/_list_item.d.ts +13 -0
- data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.d.ts +13 -0
- data/app/pb_kits/playbook/pb_map/_map.d.ts +30 -0
- data/app/pb_kits/playbook/pb_map/_map_controls.d.ts +11 -0
- data/app/pb_kits/playbook/pb_map/_map_custom_button.d.ts +6 -0
- data/app/pb_kits/playbook/pb_map/pbMapTheme.d.ts +20 -0
- data/app/pb_kits/playbook/pb_message/_message.d.ts +33 -0
- data/app/pb_kits/playbook/pb_message/_message_mention.d.ts +13 -0
- data/app/pb_kits/playbook/pb_multi_level_select/_helper_functions.d.ts +33 -0
- data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.d.ts +25 -0
- data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.d.ts +20 -0
- data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_default_swift.md +11 -0
- data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_props_swift.md +7 -0
- data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_reverse_swift.md +13 -0
- data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_size_swift.md +11 -0
- data/app/pb_kits/playbook/pb_multiple_users/docs/example.yml +6 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.d.ts +16 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_default_swift.md +15 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_props_swift.md +5 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_small_swift.md +15 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_xsmall_swift.md +15 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/example.yml +6 -0
- data/app/pb_kits/playbook/pb_nav/_item.d.ts +40 -0
- data/app/pb_kits/playbook/pb_nav/_nav.d.ts +23 -0
- data/app/pb_kits/playbook/pb_nav/navTypes.d.ts +22 -0
- data/app/pb_kits/playbook/pb_online_status/_online_status.d.ts +14 -0
- data/app/pb_kits/playbook/pb_passphrase/_passphrase.d.ts +19 -0
- data/app/pb_kits/playbook/pb_person/_person.d.ts +15 -0
- data/app/pb_kits/playbook/pb_person_contact/_person_contact.d.ts +18 -0
- data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.d.ts +34 -0
- data/app/pb_kits/playbook/pb_pill/_pill.d.ts +16 -0
- data/app/pb_kits/playbook/pb_popover/_popover.d.ts +22 -0
- data/app/pb_kits/playbook/pb_popover/index.d.ts +21 -0
- data/app/pb_kits/playbook/pb_progress_pills/_progress_pills.d.ts +17 -0
- data/app/pb_kits/playbook/pb_progress_simple/_progress_simple.d.ts +15 -0
- data/app/pb_kits/playbook/pb_progress_step/_progress_step.d.ts +19 -0
- data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.d.ts +12 -0
- data/app/pb_kits/playbook/pb_radio/_radio.d.ts +355 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/EditorButton.d.ts +9 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/EditorTypes.d.ts +9 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/MoreExtensionsDropdown.d.ts +2 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/Toolbar.d.ts +2 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarDropdown.d.ts +2 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarHistory.d.ts +2 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarNodes.d.ts +2 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.d.ts +31 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/inlineFocus.d.ts +2 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/useFocus.d.ts +2 -0
- data/app/pb_kits/playbook/pb_section_separator/_section_separator.d.ts +19 -0
- data/app/pb_kits/playbook/pb_select/_select.d.ts +385 -0
- data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.d.ts +30 -0
- data/app/pb_kits/playbook/pb_selectable_card_icon/_selectable_card_icon.d.ts +27 -0
- data/app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.d.ts +21 -0
- data/app/pb_kits/playbook/pb_selectable_list/_item.d.ts +20 -0
- data/app/pb_kits/playbook/pb_selectable_list/_selectable_list.d.ts +17 -0
- data/app/pb_kits/playbook/pb_source/_source.d.ts +17 -0
- data/app/pb_kits/playbook/pb_star_rating/_star_rating.d.ts +14 -0
- data/app/pb_kits/playbook/pb_stat_change/_stat_change.d.ts +10 -0
- data/app/pb_kits/playbook/pb_stat_value/_stat_value.d.ts +9 -0
- data/app/pb_kits/playbook/pb_table/_table.d.ts +24 -0
- data/app/pb_kits/playbook/pb_table/_table_row.d.ts +15 -0
- data/app/pb_kits/playbook/pb_table/index.d.ts +5 -0
- data/app/pb_kits/playbook/pb_text_input/_text_input.d.ts +383 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_add_on_swift.md +35 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default_swift.md +29 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_disabled_swift.md +13 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_error_swift.md +24 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_props_swift.md +13 -0
- data/app/pb_kits/playbook/pb_text_input/docs/example.yml +7 -0
- data/app/pb_kits/playbook/pb_textarea/_textarea.d.ts +380 -0
- data/app/pb_kits/playbook/pb_textarea/index.d.ts +10 -0
- data/app/pb_kits/playbook/pb_time/_time.d.ts +16 -0
- data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.d.ts +20 -0
- data/app/pb_kits/playbook/pb_time_stacked/_time_stacked.d.ts +15 -0
- data/app/pb_kits/playbook/pb_timeline/_item.d.ts +11 -0
- data/app/pb_kits/playbook/pb_timeline/_timeline.d.ts +26 -0
- data/app/pb_kits/playbook/pb_timestamp/_timestamp.d.ts +22 -0
- data/app/pb_kits/playbook/pb_title/_title.d.ts +26 -0
- data/app/pb_kits/playbook/pb_title_count/_title_count.d.ts +18 -0
- data/app/pb_kits/playbook/pb_title_detail/_title_detail.d.ts +16 -0
- data/app/pb_kits/playbook/pb_toggle/_toggle.d.ts +21 -0
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_default_swift.md +11 -0
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_name_swift.md +10 -0
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_props_swift.md +6 -0
- data/app/pb_kits/playbook/pb_toggle/docs/example.yml +4 -0
- data/app/pb_kits/playbook/pb_tooltip/_tooltip.d.ts +356 -0
- data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.d.ts +27 -0
- data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.tsx +28 -33
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.d.ts +35 -0
- data/app/pb_kits/playbook/pb_typeahead/components/ClearIndicator.d.ts +2 -0
- data/app/pb_kits/playbook/pb_typeahead/components/Control.d.ts +5 -0
- data/app/pb_kits/playbook/pb_typeahead/components/IndicatorsContainer.d.ts +2 -0
- data/app/pb_kits/playbook/pb_typeahead/components/MenuList.d.ts +2 -0
- data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.d.ts +9 -0
- data/app/pb_kits/playbook/pb_typeahead/components/Option.d.ts +2 -0
- data/app/pb_kits/playbook/pb_typeahead/components/Placeholder.d.ts +2 -0
- data/app/pb_kits/playbook/pb_typeahead/components/ValueContainer.d.ts +2 -0
- data/app/pb_kits/playbook/pb_typeahead/index.d.ts +39 -0
- data/app/pb_kits/playbook/pb_user/_user.d.ts +23 -0
- data/app/pb_kits/playbook/pb_user_badge/_user_badge.d.ts +14 -0
- data/app/pb_kits/playbook/pb_user_badge/badges/million-dollar.d.ts +2 -0
- data/app/pb_kits/playbook/pb_user_badge/badges/veteran.d.ts +2 -0
- data/app/pb_kits/playbook/pb_walkthrough/_walkthrough.d.ts +41 -0
- data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.d.ts +15 -0
- data/app/pb_kits/playbook/utilities/globalProps.d.ts +113 -0
- data/app/pb_kits/playbook/utilities/object.d.ts +1 -0
- data/app/pb_kits/playbook/utilities/props.d.ts +38 -0
- data/app/pb_kits/playbook/utilities/text.d.ts +3 -0
- data/app/pb_kits/playbook/utilities/validEmojiChecker.d.ts +1 -0
- data/dist/playbook-rails.js +7 -7
- data/lib/playbook/version.rb +1 -1
- metadata +198 -2
@@ -0,0 +1,385 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { InputCallback } from '../types';
|
3
|
+
declare type SelectOption = {
|
4
|
+
value: string;
|
5
|
+
text: string;
|
6
|
+
disabled?: boolean;
|
7
|
+
};
|
8
|
+
declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
9
|
+
aria?: {
|
10
|
+
[key: string]: string;
|
11
|
+
};
|
12
|
+
blankSelection?: string;
|
13
|
+
children?: Node;
|
14
|
+
className?: string;
|
15
|
+
compact?: boolean;
|
16
|
+
data?: {
|
17
|
+
[key: string]: string;
|
18
|
+
};
|
19
|
+
disabled?: boolean;
|
20
|
+
error?: string;
|
21
|
+
id?: string;
|
22
|
+
includeBlank?: string;
|
23
|
+
inline?: boolean;
|
24
|
+
label?: string;
|
25
|
+
margin: string;
|
26
|
+
marginBottom: string;
|
27
|
+
multiple?: boolean;
|
28
|
+
name?: string;
|
29
|
+
onChange: InputCallback<HTMLSelectElement>;
|
30
|
+
options: SelectOption[];
|
31
|
+
required?: boolean;
|
32
|
+
value?: string;
|
33
|
+
} & {
|
34
|
+
alignContent?: never;
|
35
|
+
} & {
|
36
|
+
alignItems?: never;
|
37
|
+
} & {
|
38
|
+
alignSelf?: never;
|
39
|
+
} & {
|
40
|
+
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
41
|
+
} & {
|
42
|
+
cursor?: "none" | "progress" | "text" | "pointer" | "alias" | "auto" | "cell" | "copy" | "crosshair" | "default" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
|
43
|
+
} & {
|
44
|
+
dark?: boolean;
|
45
|
+
} & {
|
46
|
+
display?: import("../types").DisplayType;
|
47
|
+
} & import("../types").DisplaySizes & {
|
48
|
+
flex?: "none" | "initial" | "auto" | "1" | "2" | "3" | "4" | "5" | "0" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
49
|
+
} & {
|
50
|
+
flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
|
51
|
+
} & {
|
52
|
+
flexGrow?: 0 | 1;
|
53
|
+
} & {
|
54
|
+
flexShrink?: 0 | 1;
|
55
|
+
} & {
|
56
|
+
flexWrap?: "wrap" | "nowrap" | "wrapReverse";
|
57
|
+
} & {
|
58
|
+
justifyContent?: never;
|
59
|
+
} & {
|
60
|
+
justifySelf?: never;
|
61
|
+
} & {
|
62
|
+
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
63
|
+
} & {
|
64
|
+
marginRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
65
|
+
marginLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
66
|
+
marginTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
67
|
+
marginBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
68
|
+
marginX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
69
|
+
marginY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
70
|
+
margin?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
71
|
+
break?: string;
|
72
|
+
default?: string;
|
73
|
+
} & {
|
74
|
+
maxWidth?: import("../types").Sizes;
|
75
|
+
} & {
|
76
|
+
numberSpacing?: "tabular";
|
77
|
+
} & {
|
78
|
+
order?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
79
|
+
} & {
|
80
|
+
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
81
|
+
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
82
|
+
overflow?: "auto" | "scroll" | "hidden" | "visible";
|
83
|
+
} & {
|
84
|
+
paddingRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
85
|
+
paddingLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
86
|
+
paddingTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
87
|
+
paddingBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
88
|
+
paddingX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
89
|
+
paddingY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
90
|
+
padding?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
91
|
+
break?: string;
|
92
|
+
default?: string;
|
93
|
+
} & {
|
94
|
+
position?: "fixed" | "relative" | "absolute" | "sticky" | "static";
|
95
|
+
} & {
|
96
|
+
shadow?: "none" | "deep" | "deeper" | "deepest";
|
97
|
+
} & {
|
98
|
+
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
99
|
+
} & {
|
100
|
+
zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
101
|
+
} & {
|
102
|
+
hover?: string;
|
103
|
+
}, string | number> | Pick<{
|
104
|
+
aria?: {
|
105
|
+
[key: string]: string;
|
106
|
+
};
|
107
|
+
blankSelection?: string;
|
108
|
+
children?: Node;
|
109
|
+
className?: string;
|
110
|
+
compact?: boolean;
|
111
|
+
data?: {
|
112
|
+
[key: string]: string;
|
113
|
+
};
|
114
|
+
disabled?: boolean;
|
115
|
+
error?: string;
|
116
|
+
id?: string;
|
117
|
+
includeBlank?: string;
|
118
|
+
inline?: boolean;
|
119
|
+
label?: string;
|
120
|
+
margin: string;
|
121
|
+
marginBottom: string;
|
122
|
+
multiple?: boolean;
|
123
|
+
name?: string;
|
124
|
+
onChange: InputCallback<HTMLSelectElement>;
|
125
|
+
options: SelectOption[];
|
126
|
+
required?: boolean;
|
127
|
+
value?: string;
|
128
|
+
} & {
|
129
|
+
alignContent?: never;
|
130
|
+
} & {
|
131
|
+
alignItems?: never;
|
132
|
+
} & {
|
133
|
+
alignSelf?: never;
|
134
|
+
} & {
|
135
|
+
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
136
|
+
} & {
|
137
|
+
cursor?: "none" | "progress" | "text" | "pointer" | "alias" | "auto" | "cell" | "copy" | "crosshair" | "default" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
|
138
|
+
} & {
|
139
|
+
dark?: boolean;
|
140
|
+
} & {
|
141
|
+
display?: import("../types").DisplayType;
|
142
|
+
} & import("../types").DisplaySizes & {
|
143
|
+
flex?: "none" | "initial" | "auto" | "1" | "2" | "3" | "4" | "5" | "0" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
144
|
+
} & {
|
145
|
+
flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
|
146
|
+
} & {
|
147
|
+
flexGrow?: 0 | 1;
|
148
|
+
} & {
|
149
|
+
flexShrink?: 0 | 1;
|
150
|
+
} & {
|
151
|
+
flexWrap?: "wrap" | "nowrap" | "wrapReverse";
|
152
|
+
} & {
|
153
|
+
justifyContent?: never;
|
154
|
+
} & {
|
155
|
+
justifySelf?: never;
|
156
|
+
} & {
|
157
|
+
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
158
|
+
} & {
|
159
|
+
marginRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
160
|
+
marginLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
161
|
+
marginTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
162
|
+
marginBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
163
|
+
marginX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
164
|
+
marginY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
165
|
+
margin?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
166
|
+
break?: string;
|
167
|
+
default?: string;
|
168
|
+
} & {
|
169
|
+
maxWidth?: import("../types").Sizes;
|
170
|
+
} & {
|
171
|
+
numberSpacing?: "tabular";
|
172
|
+
} & {
|
173
|
+
order?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
174
|
+
} & {
|
175
|
+
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
176
|
+
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
177
|
+
overflow?: "auto" | "scroll" | "hidden" | "visible";
|
178
|
+
} & {
|
179
|
+
paddingRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
180
|
+
paddingLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
181
|
+
paddingTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
182
|
+
paddingBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
183
|
+
paddingX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
184
|
+
paddingY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
185
|
+
padding?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
186
|
+
break?: string;
|
187
|
+
default?: string;
|
188
|
+
} & {
|
189
|
+
position?: "fixed" | "relative" | "absolute" | "sticky" | "static";
|
190
|
+
} & {
|
191
|
+
shadow?: "none" | "deep" | "deeper" | "deepest";
|
192
|
+
} & {
|
193
|
+
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
194
|
+
} & {
|
195
|
+
[key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
196
|
+
} & {
|
197
|
+
hover?: string;
|
198
|
+
}, string | number> | Pick<{
|
199
|
+
aria?: {
|
200
|
+
[key: string]: string;
|
201
|
+
};
|
202
|
+
blankSelection?: string;
|
203
|
+
children?: Node;
|
204
|
+
className?: string;
|
205
|
+
compact?: boolean;
|
206
|
+
data?: {
|
207
|
+
[key: string]: string;
|
208
|
+
};
|
209
|
+
disabled?: boolean;
|
210
|
+
error?: string;
|
211
|
+
id?: string;
|
212
|
+
includeBlank?: string;
|
213
|
+
inline?: boolean;
|
214
|
+
label?: string;
|
215
|
+
margin: string;
|
216
|
+
marginBottom: string;
|
217
|
+
multiple?: boolean;
|
218
|
+
name?: string;
|
219
|
+
onChange: InputCallback<HTMLSelectElement>;
|
220
|
+
options: SelectOption[];
|
221
|
+
required?: boolean;
|
222
|
+
value?: string;
|
223
|
+
} & {
|
224
|
+
alignContent?: never;
|
225
|
+
} & {
|
226
|
+
alignItems?: never;
|
227
|
+
} & {
|
228
|
+
alignSelf?: never;
|
229
|
+
} & {
|
230
|
+
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
231
|
+
} & {
|
232
|
+
cursor?: "none" | "progress" | "text" | "pointer" | "alias" | "auto" | "cell" | "copy" | "crosshair" | "default" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
|
233
|
+
} & {
|
234
|
+
dark?: boolean;
|
235
|
+
} & import("../types").DisplaySizes & {
|
236
|
+
flex?: "none" | "initial" | "auto" | "1" | "2" | "3" | "4" | "5" | "0" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
237
|
+
} & {
|
238
|
+
flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
|
239
|
+
} & {
|
240
|
+
flexGrow?: 0 | 1;
|
241
|
+
} & {
|
242
|
+
flexShrink?: 0 | 1;
|
243
|
+
} & {
|
244
|
+
flexWrap?: "wrap" | "nowrap" | "wrapReverse";
|
245
|
+
} & {
|
246
|
+
justifyContent?: never;
|
247
|
+
} & {
|
248
|
+
justifySelf?: never;
|
249
|
+
} & {
|
250
|
+
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
251
|
+
} & {
|
252
|
+
marginRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
253
|
+
marginLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
254
|
+
marginTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
255
|
+
marginBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
256
|
+
marginX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
257
|
+
marginY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
258
|
+
margin?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
259
|
+
break?: string;
|
260
|
+
default?: string;
|
261
|
+
} & {
|
262
|
+
maxWidth?: import("../types").Sizes;
|
263
|
+
} & {
|
264
|
+
numberSpacing?: "tabular";
|
265
|
+
} & {
|
266
|
+
order?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
267
|
+
} & {
|
268
|
+
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
269
|
+
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
270
|
+
overflow?: "auto" | "scroll" | "hidden" | "visible";
|
271
|
+
} & {
|
272
|
+
paddingRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
273
|
+
paddingLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
274
|
+
paddingTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
275
|
+
paddingBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
276
|
+
paddingX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
277
|
+
paddingY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
278
|
+
padding?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
279
|
+
break?: string;
|
280
|
+
default?: string;
|
281
|
+
} & {
|
282
|
+
position?: "fixed" | "relative" | "absolute" | "sticky" | "static";
|
283
|
+
} & {
|
284
|
+
shadow?: "none" | "deep" | "deeper" | "deepest";
|
285
|
+
} & {
|
286
|
+
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
287
|
+
} & {
|
288
|
+
zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
289
|
+
} & {
|
290
|
+
hover?: string;
|
291
|
+
}, string | number> | Pick<{
|
292
|
+
aria?: {
|
293
|
+
[key: string]: string;
|
294
|
+
};
|
295
|
+
blankSelection?: string;
|
296
|
+
children?: Node;
|
297
|
+
className?: string;
|
298
|
+
compact?: boolean;
|
299
|
+
data?: {
|
300
|
+
[key: string]: string;
|
301
|
+
};
|
302
|
+
disabled?: boolean;
|
303
|
+
error?: string;
|
304
|
+
id?: string;
|
305
|
+
includeBlank?: string;
|
306
|
+
inline?: boolean;
|
307
|
+
label?: string;
|
308
|
+
margin: string;
|
309
|
+
marginBottom: string;
|
310
|
+
multiple?: boolean;
|
311
|
+
name?: string;
|
312
|
+
onChange: InputCallback<HTMLSelectElement>;
|
313
|
+
options: SelectOption[];
|
314
|
+
required?: boolean;
|
315
|
+
value?: string;
|
316
|
+
} & {
|
317
|
+
alignContent?: never;
|
318
|
+
} & {
|
319
|
+
alignItems?: never;
|
320
|
+
} & {
|
321
|
+
alignSelf?: never;
|
322
|
+
} & {
|
323
|
+
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
324
|
+
} & {
|
325
|
+
cursor?: "none" | "progress" | "text" | "pointer" | "alias" | "auto" | "cell" | "copy" | "crosshair" | "default" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
|
326
|
+
} & {
|
327
|
+
dark?: boolean;
|
328
|
+
} & import("../types").DisplaySizes & {
|
329
|
+
flex?: "none" | "initial" | "auto" | "1" | "2" | "3" | "4" | "5" | "0" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
330
|
+
} & {
|
331
|
+
flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
|
332
|
+
} & {
|
333
|
+
flexGrow?: 0 | 1;
|
334
|
+
} & {
|
335
|
+
flexShrink?: 0 | 1;
|
336
|
+
} & {
|
337
|
+
flexWrap?: "wrap" | "nowrap" | "wrapReverse";
|
338
|
+
} & {
|
339
|
+
justifyContent?: never;
|
340
|
+
} & {
|
341
|
+
justifySelf?: never;
|
342
|
+
} & {
|
343
|
+
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
344
|
+
} & {
|
345
|
+
marginRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
346
|
+
marginLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
347
|
+
marginTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
348
|
+
marginBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
349
|
+
marginX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
350
|
+
marginY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
351
|
+
margin?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
352
|
+
break?: string;
|
353
|
+
default?: string;
|
354
|
+
} & {
|
355
|
+
maxWidth?: import("../types").Sizes;
|
356
|
+
} & {
|
357
|
+
numberSpacing?: "tabular";
|
358
|
+
} & {
|
359
|
+
order?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
360
|
+
} & {
|
361
|
+
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
362
|
+
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
363
|
+
overflow?: "auto" | "scroll" | "hidden" | "visible";
|
364
|
+
} & {
|
365
|
+
paddingRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
366
|
+
paddingLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
367
|
+
paddingTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
368
|
+
paddingBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
369
|
+
paddingX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
370
|
+
paddingY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
371
|
+
padding?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
|
372
|
+
break?: string;
|
373
|
+
default?: string;
|
374
|
+
} & {
|
375
|
+
position?: "fixed" | "relative" | "absolute" | "sticky" | "static";
|
376
|
+
} & {
|
377
|
+
shadow?: "none" | "deep" | "deeper" | "deepest";
|
378
|
+
} & {
|
379
|
+
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
380
|
+
} & {
|
381
|
+
[key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
382
|
+
} & {
|
383
|
+
hover?: string;
|
384
|
+
}, string | number>) & React.RefAttributes<HTMLSelectElement>>;
|
385
|
+
export default _default;
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { GlobalProps } from '../utilities/globalProps';
|
3
|
+
declare type SelectableCardProps = {
|
4
|
+
aria?: {
|
5
|
+
[key: string]: string;
|
6
|
+
};
|
7
|
+
checked?: boolean;
|
8
|
+
children?: React.ReactChild[] | React.ReactChild;
|
9
|
+
className?: string;
|
10
|
+
customIcon?: {
|
11
|
+
[key: string]: SVGElement;
|
12
|
+
};
|
13
|
+
dark?: boolean;
|
14
|
+
data?: {
|
15
|
+
[key: string]: string;
|
16
|
+
};
|
17
|
+
disabled?: boolean;
|
18
|
+
error?: boolean;
|
19
|
+
icon?: boolean;
|
20
|
+
id?: string;
|
21
|
+
inputId?: string;
|
22
|
+
multi?: boolean;
|
23
|
+
name?: string;
|
24
|
+
onChange: (event: React.FormEvent<HTMLInputElement>) => void;
|
25
|
+
text?: string;
|
26
|
+
value?: string;
|
27
|
+
variant?: string;
|
28
|
+
} & GlobalProps;
|
29
|
+
declare const SelectableCard: (props: SelectableCardProps) => JSX.Element;
|
30
|
+
export default SelectableCard;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare type SelectableCardIconProps = {
|
3
|
+
aria?: {
|
4
|
+
[key: string]: string;
|
5
|
+
};
|
6
|
+
checked?: boolean;
|
7
|
+
checkmark: boolean;
|
8
|
+
className?: string;
|
9
|
+
customIcon?: {
|
10
|
+
[key: string]: SVGElement;
|
11
|
+
};
|
12
|
+
dark?: boolean;
|
13
|
+
data?: {
|
14
|
+
[key: string]: string;
|
15
|
+
};
|
16
|
+
disabled?: boolean;
|
17
|
+
icon?: string;
|
18
|
+
inputId?: string;
|
19
|
+
multi?: boolean;
|
20
|
+
name?: string;
|
21
|
+
titleText?: string;
|
22
|
+
bodyText?: string;
|
23
|
+
value?: string;
|
24
|
+
onChange?: (event: React.FormEvent<HTMLInputElement>) => void;
|
25
|
+
};
|
26
|
+
declare const SelectableCardIcon: (props: SelectableCardIconProps) => JSX.Element;
|
27
|
+
export default SelectableCardIcon;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
declare type SelectableIconProps = {
|
2
|
+
aria?: {
|
3
|
+
[key: string]: string;
|
4
|
+
};
|
5
|
+
checked?: boolean;
|
6
|
+
className?: string;
|
7
|
+
customIcon?: {
|
8
|
+
[key: string]: SVGElement;
|
9
|
+
};
|
10
|
+
disabled?: boolean;
|
11
|
+
data?: Object;
|
12
|
+
icon: string;
|
13
|
+
inputId: string;
|
14
|
+
inputs: string;
|
15
|
+
multi?: boolean;
|
16
|
+
name: string;
|
17
|
+
text: string;
|
18
|
+
value?: string;
|
19
|
+
};
|
20
|
+
declare const SelectableIcon: ({ aria, className, checked, customIcon, data, disabled, icon, inputId, inputs, multi, name, text, value, ...props }: SelectableIconProps) => JSX.Element;
|
21
|
+
export default SelectableIcon;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import React from "react";
|
2
|
+
export declare type SelectableListItemProps = {
|
3
|
+
aria?: {
|
4
|
+
[key: string]: string;
|
5
|
+
};
|
6
|
+
children: React.ReactNode[] | React.ReactNode;
|
7
|
+
checked?: boolean;
|
8
|
+
className?: string;
|
9
|
+
data?: object;
|
10
|
+
defaultChecked?: boolean;
|
11
|
+
id?: string;
|
12
|
+
label?: string;
|
13
|
+
text?: string;
|
14
|
+
name?: string;
|
15
|
+
value?: string;
|
16
|
+
variant?: string;
|
17
|
+
onChange: (arg: React.ChangeEvent<HTMLInputElement> | null) => void;
|
18
|
+
};
|
19
|
+
declare const SelectableListItem: ({ aria, checked, children, className, data, defaultChecked, id, label, text, name, value, variant, onChange, ...props }: SelectableListItemProps) => JSX.Element;
|
20
|
+
export default SelectableListItem;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { SelectableListItemProps } from './_item.js';
|
3
|
+
declare type SelectableListProps = {
|
4
|
+
aria?: {
|
5
|
+
[key: string]: string;
|
6
|
+
};
|
7
|
+
children?: React.ReactElement[];
|
8
|
+
className?: string;
|
9
|
+
data?: object;
|
10
|
+
id?: string;
|
11
|
+
variant?: 'checkbox' | 'radio';
|
12
|
+
};
|
13
|
+
declare const SelectableList: {
|
14
|
+
(props: SelectableListProps): JSX.Element;
|
15
|
+
Item: ({ aria, checked, children, className, data, defaultChecked, id, label, text, name, value, variant, onChange, ...props }: SelectableListItemProps) => JSX.Element;
|
16
|
+
};
|
17
|
+
export default SelectableList;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { AvatarProps } from '../pb_avatar/_avatar';
|
2
|
+
declare type SourceProps = {
|
3
|
+
aria?: {
|
4
|
+
[key: string]: string;
|
5
|
+
};
|
6
|
+
className?: string;
|
7
|
+
data?: {
|
8
|
+
[key: string]: string;
|
9
|
+
};
|
10
|
+
hideIcon: boolean;
|
11
|
+
id?: string;
|
12
|
+
source?: string;
|
13
|
+
type: "events" | "inbound" | "outbound" | "prospecting" | "referral" | "retail" | "user";
|
14
|
+
user: AvatarProps;
|
15
|
+
};
|
16
|
+
declare const Source: ({ aria, className, data, hideIcon, id, source, type, user, }: SourceProps) => JSX.Element;
|
17
|
+
export default Source;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
declare type StarRatingProps = {
|
2
|
+
aria?: {
|
3
|
+
[key: string]: string;
|
4
|
+
};
|
5
|
+
className?: string;
|
6
|
+
data?: object;
|
7
|
+
fixedWidth?: boolean;
|
8
|
+
hideRating: boolean;
|
9
|
+
icon?: string;
|
10
|
+
id?: string;
|
11
|
+
rating: number;
|
12
|
+
};
|
13
|
+
declare const StarRating: ({ aria, className, data, hideRating, id, rating, }: StarRatingProps) => JSX.Element;
|
14
|
+
export default StarRating;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare type StatChangeProps = {
|
3
|
+
change?: 'increase' | 'decrease' | 'neutral';
|
4
|
+
className?: string;
|
5
|
+
icon?: string;
|
6
|
+
id?: string;
|
7
|
+
value?: string | number;
|
8
|
+
};
|
9
|
+
declare const StatChange: (props: StatChangeProps) => React.ReactElement;
|
10
|
+
export default StatChange;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare type TableProps = {
|
3
|
+
aria?: {
|
4
|
+
[key: string]: string;
|
5
|
+
};
|
6
|
+
children: React.ReactNode[] | React.ReactNode;
|
7
|
+
className: string;
|
8
|
+
collapse?: "sm" | "md" | "lg";
|
9
|
+
container: boolean;
|
10
|
+
dark?: boolean;
|
11
|
+
data?: {
|
12
|
+
[key: string]: string;
|
13
|
+
};
|
14
|
+
dataTable: boolean;
|
15
|
+
disableHover: boolean;
|
16
|
+
id?: string;
|
17
|
+
responsive: "collapse" | "scroll" | "none";
|
18
|
+
singleLine: boolean;
|
19
|
+
size: "sm" | "md" | "lg";
|
20
|
+
sticky?: boolean;
|
21
|
+
verticalBorder?: boolean;
|
22
|
+
};
|
23
|
+
declare const Table: (props: TableProps) => JSX.Element;
|
24
|
+
export default Table;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare type TableRowPropTypes = {
|
3
|
+
aria?: {
|
4
|
+
[key: string]: string;
|
5
|
+
};
|
6
|
+
children: React.ReactNode[] | React.ReactNode;
|
7
|
+
className: string;
|
8
|
+
data?: {
|
9
|
+
[key: string]: string;
|
10
|
+
};
|
11
|
+
id?: string;
|
12
|
+
sideHighlightColor: string;
|
13
|
+
};
|
14
|
+
declare const TableRow: (props: TableRowPropTypes) => JSX.Element;
|
15
|
+
export default TableRow;
|