playbook_ui 13.12.0.pre.alpha.PLAY1081exporttypes1609 → 13.12.0.pre.alpha.PLAY1081exporttypes1611
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_card/_card.tsx +2 -2
- data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx +5 -4
- data/app/pb_kits/playbook/pb_file_upload/_file_upload.tsx +1 -1
- data/app/pb_kits/playbook/pb_form_group/_form_group.tsx +3 -3
- data/app/pb_kits/playbook/pb_passphrase/_passphrase.tsx +2 -2
- data/app/pb_kits/playbook/pb_select/_select.tsx +2 -1
- data/app/pb_kits/playbook/pb_selectable_list/_item.tsx +2 -3
- data/app/pb_kits/playbook/pb_text_input/_text_input.tsx +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +1 -181
- data/app/pb_kits/playbook/pb_avatar/_avatar.d.ts +0 -20
- data/app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.d.ts +0 -21
- data/app/pb_kits/playbook/pb_background/_background.d.ts +0 -33
- data/app/pb_kits/playbook/pb_badge/_badge.d.ts +0 -24
- data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.d.ts +0 -35
- data/app/pb_kits/playbook/pb_body/_body.d.ts +0 -24
- data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumb_item.d.ts +0 -12
- data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumbs.d.ts +0 -13
- data/app/pb_kits/playbook/pb_button/_button.d.ts +0 -37
- data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.d.ts +0 -17
- data/app/pb_kits/playbook/pb_caption/_caption.d.ts +0 -20
- data/app/pb_kits/playbook/pb_card/_card.d.ts +0 -42
- data/app/pb_kits/playbook/pb_checkbox/_checkbox.d.ts +0 -24
- data/app/pb_kits/playbook/pb_circle_chart/ChartsTypes.d.ts +0 -2
- data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.d.ts +0 -35
- data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.d.ts +0 -21
- data/app/pb_kits/playbook/pb_collapsible/_collapsible.d.ts +0 -29
- data/app/pb_kits/playbook/pb_collapsible/_helper_functions.d.ts +0 -2
- data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleContent.d.ts +0 -7
- data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.d.ts +0 -10
- data/app/pb_kits/playbook/pb_collapsible/context.d.ts +0 -3
- data/app/pb_kits/playbook/pb_collapsible/useCollapsible.d.ts +0 -2
- data/app/pb_kits/playbook/pb_contact/_contact.d.ts +0 -13
- data/app/pb_kits/playbook/pb_currency/_currency.d.ts +0 -24
- data/app/pb_kits/playbook/pb_dashboard/pbChartsColorsHelper.d.ts +0 -2
- data/app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.d.ts +0 -3
- data/app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.d.ts +0 -3
- data/app/pb_kits/playbook/pb_dashboard/themeTypes.d.ts +0 -40
- data/app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.d.ts +0 -23
- data/app/pb_kits/playbook/pb_dashboard_value/dashboardValueSettings.d.ts +0 -43
- data/app/pb_kits/playbook/pb_date/_date.d.ts +0 -18
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.d.ts +0 -50
- data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.d.ts +0 -23
- data/app/pb_kits/playbook/pb_date_picker/plugins/quickPick.d.ts +0 -18
- data/app/pb_kits/playbook/pb_date_picker/plugins/timeSelect.d.ts +0 -44
- data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.d.ts +0 -13
- data/app/pb_kits/playbook/pb_date_range_stacked/_date_range_stacked.d.ts +0 -10
- data/app/pb_kits/playbook/pb_date_stacked/_date_stacked.d.ts +0 -13
- data/app/pb_kits/playbook/pb_date_time/_date_time.d.ts +0 -18
- data/app/pb_kits/playbook/pb_date_time_stacked/_date_time_stacked.d.ts +0 -10
- data/app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.d.ts +0 -10
- data/app/pb_kits/playbook/pb_detail/_detail.d.ts +0 -20
- data/app/pb_kits/playbook/pb_dialog/_close_icon.d.ts +0 -5
- data/app/pb_kits/playbook/pb_dialog/_dialog.d.ts +0 -68
- data/app/pb_kits/playbook/pb_dialog/_dialog_context.d.ts +0 -2
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_body.d.ts +0 -8
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_footer.d.ts +0 -20
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_header.d.ts +0 -19
- data/app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.d.ts +0 -10
- data/app/pb_kits/playbook/pb_enhanced_element/element_observer.d.ts +0 -17
- data/app/pb_kits/playbook/pb_enhanced_element/index.d.ts +0 -17
- data/app/pb_kits/playbook/pb_file_upload/_file_upload.d.ts +0 -16
- data/app/pb_kits/playbook/pb_filter/Filter/CurrentFilters.d.ts +0 -10
- data/app/pb_kits/playbook/pb_filter/Filter/FilterBackground.d.ts +0 -10
- data/app/pb_kits/playbook/pb_filter/Filter/FilterDouble.d.ts +0 -14
- data/app/pb_kits/playbook/pb_filter/Filter/FilterSingle.d.ts +0 -14
- data/app/pb_kits/playbook/pb_filter/Filter/FiltersPopover.d.ts +0 -11
- data/app/pb_kits/playbook/pb_filter/Filter/ResultsCount.d.ts +0 -8
- data/app/pb_kits/playbook/pb_filter/Filter/SortMenu.d.ts +0 -18
- data/app/pb_kits/playbook/pb_filter/Filter/index.d.ts +0 -8
- data/app/pb_kits/playbook/pb_filter/_filter.d.ts +0 -1
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.d.ts +0 -18
- data/app/pb_kits/playbook/pb_flex/_flex.d.ts +0 -24
- data/app/pb_kits/playbook/pb_flex/_flex_item.d.ts +0 -14
- data/app/pb_kits/playbook/pb_form_group/_form_group.d.ts +0 -12
- data/app/pb_kits/playbook/pb_form_pill/_form_pill.d.ts +0 -20
- data/app/pb_kits/playbook/pb_gauge/_gauge.d.ts +0 -31
- data/app/pb_kits/playbook/pb_hashtag/_hashtag.d.ts +0 -17
- data/app/pb_kits/playbook/pb_highlight/_highlight.d.ts +0 -14
- data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.d.ts +0 -23
- data/app/pb_kits/playbook/pb_icon/_icon.d.ts +0 -29
- data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.d.ts +0 -16
- data/app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.d.ts +0 -18
- data/app/pb_kits/playbook/pb_icon_value/_icon_value.d.ts +0 -14
- data/app/pb_kits/playbook/pb_image/_image.d.ts +0 -20
- data/app/pb_kits/playbook/pb_kit/dateTime.d.ts +0 -67
- data/app/pb_kits/playbook/pb_label_pill/_label_pill.d.ts +0 -15
- data/app/pb_kits/playbook/pb_label_value/_label_value.d.ts +0 -19
- data/app/pb_kits/playbook/pb_layout/_layout.d.ts +0 -48
- data/app/pb_kits/playbook/pb_legend/_legend.d.ts +0 -14
- data/app/pb_kits/playbook/pb_lightbox/Carousel/Slide.d.ts +0 -12
- data/app/pb_kits/playbook/pb_lightbox/Carousel/Slides.d.ts +0 -10
- data/app/pb_kits/playbook/pb_lightbox/Carousel/Thumbnail.d.ts +0 -11
- data/app/pb_kits/playbook/pb_lightbox/Carousel/Thumbnails.d.ts +0 -9
- data/app/pb_kits/playbook/pb_lightbox/Carousel/index.d.ts +0 -16
- data/app/pb_kits/playbook/pb_lightbox/Header/_lightbox_header.d.ts +0 -22
- data/app/pb_kits/playbook/pb_lightbox/_lightbox.d.ts +0 -45
- data/app/pb_kits/playbook/pb_lightbox/_lightbox_context.d.ts +0 -2
- data/app/pb_kits/playbook/pb_lightbox/hooks/useKbdControls.d.ts +0 -3
- data/app/pb_kits/playbook/pb_lightbox/hooks/useWindowSize.d.ts +0 -6
- data/app/pb_kits/playbook/pb_line_graph/_line_graph.d.ts +0 -35
- data/app/pb_kits/playbook/pb_list/_list.d.ts +0 -22
- data/app/pb_kits/playbook/pb_list/_list_item.d.ts +0 -13
- data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.d.ts +0 -13
- data/app/pb_kits/playbook/pb_map/_map.d.ts +0 -30
- data/app/pb_kits/playbook/pb_map/_map_controls.d.ts +0 -11
- data/app/pb_kits/playbook/pb_map/_map_custom_button.d.ts +0 -6
- data/app/pb_kits/playbook/pb_map/pbMapTheme.d.ts +0 -20
- data/app/pb_kits/playbook/pb_message/_message.d.ts +0 -33
- data/app/pb_kits/playbook/pb_message/_message_mention.d.ts +0 -13
- data/app/pb_kits/playbook/pb_multi_level_select/_helper_functions.d.ts +0 -33
- data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.d.ts +0 -25
- data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.d.ts +0 -20
- data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.d.ts +0 -16
- data/app/pb_kits/playbook/pb_nav/_item.d.ts +0 -40
- data/app/pb_kits/playbook/pb_nav/_nav.d.ts +0 -23
- data/app/pb_kits/playbook/pb_nav/navTypes.d.ts +0 -22
- data/app/pb_kits/playbook/pb_online_status/_online_status.d.ts +0 -14
- data/app/pb_kits/playbook/pb_passphrase/_passphrase.d.ts +0 -19
- data/app/pb_kits/playbook/pb_person/_person.d.ts +0 -15
- data/app/pb_kits/playbook/pb_person_contact/_person_contact.d.ts +0 -18
- data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.d.ts +0 -34
- data/app/pb_kits/playbook/pb_pill/_pill.d.ts +0 -16
- data/app/pb_kits/playbook/pb_popover/_popover.d.ts +0 -22
- data/app/pb_kits/playbook/pb_popover/index.d.ts +0 -21
- data/app/pb_kits/playbook/pb_progress_pills/_progress_pills.d.ts +0 -17
- data/app/pb_kits/playbook/pb_progress_simple/_progress_simple.d.ts +0 -15
- data/app/pb_kits/playbook/pb_progress_step/_progress_step.d.ts +0 -19
- data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.d.ts +0 -12
- data/app/pb_kits/playbook/pb_radio/_radio.d.ts +0 -355
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/EditorButton.d.ts +0 -9
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/EditorTypes.d.ts +0 -9
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/MoreExtensionsDropdown.d.ts +0 -2
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/Toolbar.d.ts +0 -2
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarDropdown.d.ts +0 -2
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarHistory.d.ts +0 -2
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarNodes.d.ts +0 -2
- data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.d.ts +0 -31
- data/app/pb_kits/playbook/pb_rich_text_editor/inlineFocus.d.ts +0 -2
- data/app/pb_kits/playbook/pb_rich_text_editor/useFocus.d.ts +0 -2
- data/app/pb_kits/playbook/pb_section_separator/_section_separator.d.ts +0 -19
- data/app/pb_kits/playbook/pb_select/_select.d.ts +0 -385
- data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.d.ts +0 -30
- data/app/pb_kits/playbook/pb_selectable_card_icon/_selectable_card_icon.d.ts +0 -27
- data/app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.d.ts +0 -21
- data/app/pb_kits/playbook/pb_selectable_list/_item.d.ts +0 -20
- data/app/pb_kits/playbook/pb_selectable_list/_selectable_list.d.ts +0 -17
- data/app/pb_kits/playbook/pb_source/_source.d.ts +0 -17
- data/app/pb_kits/playbook/pb_star_rating/_star_rating.d.ts +0 -14
- data/app/pb_kits/playbook/pb_stat_change/_stat_change.d.ts +0 -10
- data/app/pb_kits/playbook/pb_stat_value/_stat_value.d.ts +0 -9
- data/app/pb_kits/playbook/pb_table/_table.d.ts +0 -24
- data/app/pb_kits/playbook/pb_table/_table_row.d.ts +0 -15
- data/app/pb_kits/playbook/pb_table/index.d.ts +0 -5
- data/app/pb_kits/playbook/pb_text_input/_text_input.d.ts +0 -383
- data/app/pb_kits/playbook/pb_textarea/_textarea.d.ts +0 -380
- data/app/pb_kits/playbook/pb_textarea/index.d.ts +0 -10
- data/app/pb_kits/playbook/pb_time/_time.d.ts +0 -16
- data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.d.ts +0 -20
- data/app/pb_kits/playbook/pb_time_stacked/_time_stacked.d.ts +0 -15
- data/app/pb_kits/playbook/pb_timeline/_item.d.ts +0 -11
- data/app/pb_kits/playbook/pb_timeline/_timeline.d.ts +0 -26
- data/app/pb_kits/playbook/pb_timestamp/_timestamp.d.ts +0 -22
- data/app/pb_kits/playbook/pb_title/_title.d.ts +0 -26
- data/app/pb_kits/playbook/pb_title_count/_title_count.d.ts +0 -18
- data/app/pb_kits/playbook/pb_title_detail/_title_detail.d.ts +0 -16
- data/app/pb_kits/playbook/pb_toggle/_toggle.d.ts +0 -21
- data/app/pb_kits/playbook/pb_tooltip/_tooltip.d.ts +0 -356
- data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.d.ts +0 -27
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.d.ts +0 -35
- data/app/pb_kits/playbook/pb_typeahead/components/ClearIndicator.d.ts +0 -2
- data/app/pb_kits/playbook/pb_typeahead/components/Control.d.ts +0 -5
- data/app/pb_kits/playbook/pb_typeahead/components/IndicatorsContainer.d.ts +0 -2
- data/app/pb_kits/playbook/pb_typeahead/components/MenuList.d.ts +0 -2
- data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.d.ts +0 -9
- data/app/pb_kits/playbook/pb_typeahead/components/Option.d.ts +0 -2
- data/app/pb_kits/playbook/pb_typeahead/components/Placeholder.d.ts +0 -2
- data/app/pb_kits/playbook/pb_typeahead/components/ValueContainer.d.ts +0 -2
- data/app/pb_kits/playbook/pb_typeahead/index.d.ts +0 -39
- data/app/pb_kits/playbook/pb_user/_user.d.ts +0 -23
- data/app/pb_kits/playbook/pb_user_badge/_user_badge.d.ts +0 -14
- data/app/pb_kits/playbook/pb_user_badge/badges/million-dollar.d.ts +0 -2
- data/app/pb_kits/playbook/pb_user_badge/badges/veteran.d.ts +0 -2
- data/app/pb_kits/playbook/pb_walkthrough/_walkthrough.d.ts +0 -41
- data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.d.ts +0 -15
- data/app/pb_kits/playbook/utilities/globalProps.d.ts +0 -113
- data/app/pb_kits/playbook/utilities/object.d.ts +0 -1
- data/app/pb_kits/playbook/utilities/props.d.ts +0 -38
- data/app/pb_kits/playbook/utilities/text.d.ts +0 -3
- data/app/pb_kits/playbook/utilities/validEmojiChecker.d.ts +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 829227e19b591a8e0a9780ed034e659da981017692e44459079c1023d8368d4a
|
4
|
+
data.tar.gz: 85940c7954538bf83462de8a8a13944f646cc24b551dacbba00deda4d61506fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b547005aba919e450f78cc88fe1839f1f72c0b99873edc28a26df0e4f09bbee51d15376ae95fa849f483ef78a5643f3b85639509d25cc3839659ad333bb62e1
|
7
|
+
data.tar.gz: ecc3940426fdadcde83505c48be7aeb851a8558286146f8906594c8e48913758d76e51d0a1bec885fc124f45acddd2938f7a84a2079b576502c2301d9f5cc0d1
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* eslint-disable react/no-multi-comp */
|
2
2
|
|
3
|
-
import React from 'react'
|
3
|
+
import React, { ReactNode } from 'react'
|
4
4
|
import { get } from 'lodash'
|
5
5
|
import classnames from 'classnames'
|
6
6
|
|
@@ -104,7 +104,7 @@ const Card = (props: CardPropTypes) => {
|
|
104
104
|
})
|
105
105
|
}
|
106
106
|
|
107
|
-
const nonHeaderChildren = cardChildren.filter((child:
|
107
|
+
const nonHeaderChildren = cardChildren.filter((child: ReactNode) => (get(child, 'type.displayName') !== 'Header'))
|
108
108
|
|
109
109
|
const tagOptions = ['div', 'section', 'footer', 'header', 'article', 'aside', 'main', 'nav']
|
110
110
|
const Tag = tagOptions.includes(tag) ? tag : 'div'
|
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
/* eslint-disable */
|
2
|
+
import React, { useEffect, useState, ReactNode } from "react";
|
2
3
|
import classnames from "classnames";
|
3
4
|
import HighchartsReact from "highcharts-react-official";
|
4
5
|
import highchartsMore from "highcharts/highcharts-more";
|
@@ -15,11 +16,11 @@ type CircleChartProps = {
|
|
15
16
|
align?: "left" | "right" | "center";
|
16
17
|
aria: { [key: string]: string };
|
17
18
|
chartData?: [];
|
18
|
-
children?:
|
19
|
+
children?: ReactNode;
|
19
20
|
className?: string;
|
20
21
|
colors?: string[];
|
21
|
-
dark?:
|
22
|
-
data?:
|
22
|
+
dark?: boolean;
|
23
|
+
data?: unknown;
|
23
24
|
dataLabelHtml?: string;
|
24
25
|
dataLabels?: boolean;
|
25
26
|
height?: string;
|
@@ -1,13 +1,13 @@
|
|
1
|
-
import React from 'react'
|
1
|
+
import React, { ReactNode } from 'react'
|
2
2
|
import classnames from 'classnames'
|
3
3
|
import { buildAriaProps, buildCss, buildDataProps } from '../utilities/props'
|
4
4
|
import { globalProps } from '../utilities/globalProps'
|
5
5
|
|
6
6
|
type FormGroupProps = {
|
7
7
|
aria?: {[key: string]: string},
|
8
|
-
children?:
|
8
|
+
children?: ReactNode,
|
9
9
|
className?: string,
|
10
|
-
data?:
|
10
|
+
data?: unknown,
|
11
11
|
fullWidth?: boolean,
|
12
12
|
id?: string,
|
13
13
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* @flow */
|
2
|
-
|
2
|
+
/* eslint-disable */
|
3
3
|
import React, { useCallback, useMemo, useState } from "react"
|
4
4
|
import classnames from "classnames"
|
5
5
|
|
@@ -52,7 +52,7 @@ const Passphrase = (props: PassphraseProps) => {
|
|
52
52
|
const [showPassphrase, setShowPassphrase] = useState(false)
|
53
53
|
|
54
54
|
const handleChange = useCallback(
|
55
|
-
(e) => (uncontrolled ? setUncontrolledValue(e.target.value) : onChange(e)),
|
55
|
+
(e: any) => (uncontrolled ? setUncontrolledValue(e.target.value) : onChange(e)),
|
56
56
|
[uncontrolled, onChange]
|
57
57
|
)
|
58
58
|
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/* eslint-disable */
|
1
2
|
import React, { forwardRef } from 'react'
|
2
3
|
import classnames from 'classnames'
|
3
4
|
|
@@ -85,7 +86,7 @@ const Select = ({
|
|
85
86
|
)
|
86
87
|
|
87
88
|
const selectWrapperClass = classnames(buildCss('pb_select_kit_wrapper'), { error }, className)
|
88
|
-
const selectBody =(() =>{
|
89
|
+
const selectBody: any =(() =>{
|
89
90
|
if (children) return children
|
90
91
|
return (
|
91
92
|
<select
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/* eslint-disable */
|
1
2
|
import React, { useState } from "react";
|
2
3
|
import classnames from "classnames";
|
3
4
|
|
@@ -96,9 +97,7 @@ const SelectableListItem = ({
|
|
96
97
|
{children}
|
97
98
|
</>
|
98
99
|
)}
|
99
|
-
{variant !== "checkbox" && variant !== "radio" &&
|
100
|
-
{ children }
|
101
|
-
)}
|
100
|
+
{ variant !== "checkbox" && variant !== "radio" && children }
|
102
101
|
</div>
|
103
102
|
</ListItem>
|
104
103
|
);
|
@@ -127,7 +127,7 @@ const TextInput = (props: TextInputProps, ref: React.LegacyRef<HTMLInputElement>
|
|
127
127
|
</React.Fragment>
|
128
128
|
)
|
129
129
|
|
130
|
-
const render = (() => {
|
130
|
+
const render: any = (() => {
|
131
131
|
if(children) return children
|
132
132
|
if (shouldShowAddOn) return addOnInput
|
133
133
|
|
data/lib/playbook/version.rb
CHANGED