playbook_ui 6.1.0 → 6.2.0
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.jsx +4 -4
- data/app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.jsx +9 -9
- data/app/pb_kits/playbook/pb_badge/_badge.jsx +4 -4
- data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.jsx +16 -16
- data/app/pb_kits/playbook/pb_body/_body.jsx +7 -7
- data/app/pb_kits/playbook/pb_button/_button.jsx +15 -15
- data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.jsx +6 -6
- data/app/pb_kits/playbook/pb_caption/_caption.jsx +4 -4
- data/app/pb_kits/playbook/pb_card/_card.jsx +15 -16
- data/app/pb_kits/playbook/pb_card/_card.scss +1 -1
- data/app/pb_kits/playbook/pb_card/_card_mixin.scss +4 -4
- data/app/pb_kits/playbook/pb_card/card_header.rb +3 -3
- data/app/pb_kits/playbook/pb_card/docs/_card_header.html.erb +38 -7
- data/app/pb_kits/playbook/pb_card/docs/_card_header.jsx +54 -6
- data/app/pb_kits/playbook/pb_card/docs/_card_header.md +1 -1
- data/app/pb_kits/playbook/pb_checkbox/_checkbox.jsx +9 -9
- data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.jsx +7 -7
- data/app/pb_kits/playbook/pb_contact/_contact.jsx +5 -5
- data/app/pb_kits/playbook/pb_currency/_currency.jsx +7 -7
- data/app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.jsx +7 -7
- data/app/pb_kits/playbook/pb_date/_date.jsx +2 -2
- data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.jsx +5 -5
- data/app/pb_kits/playbook/pb_date_range_stacked/_date_range_stacked.jsx +6 -6
- data/app/pb_kits/playbook/pb_date_stacked/_date_stacked.jsx +6 -6
- data/app/pb_kits/playbook/pb_date_time_stacked/_date_time_stacked.jsx +4 -4
- data/app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.jsx +5 -5
- data/app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.jsx +4 -4
- data/app/pb_kits/playbook/pb_file_upload/_file_upload.jsx +2 -2
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.jsx +4 -4
- data/app/pb_kits/playbook/pb_flex/_flex.jsx +6 -6
- data/app/pb_kits/playbook/pb_flex/_flex_item.jsx +4 -4
- data/app/pb_kits/playbook/pb_form_pill/_form_pill.jsx +6 -6
- data/app/pb_kits/playbook/pb_gauge/_gauge.jsx +14 -14
- data/app/pb_kits/playbook/pb_hashtag/_hashtag.jsx +6 -6
- data/app/pb_kits/playbook/pb_highlight/_highlight.jsx +5 -5
- data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.jsx +11 -11
- data/app/pb_kits/playbook/pb_icon/_icon.jsx +9 -9
- data/app/pb_kits/playbook/pb_image/_image.jsx +4 -4
- data/app/pb_kits/playbook/pb_label_pill/_label_pill.jsx +4 -4
- data/app/pb_kits/playbook/pb_label_value/_label_value.jsx +10 -10
- data/app/pb_kits/playbook/pb_layout/_layout.jsx +14 -14
- data/app/pb_kits/playbook/pb_legend/_legend.jsx +5 -5
- data/app/pb_kits/playbook/pb_line_graph/_line_graph.jsx +17 -17
- data/app/pb_kits/playbook/pb_list/_list.jsx +10 -10
- data/app/pb_kits/playbook/pb_list/_list_item.jsx +4 -4
- data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.jsx +4 -4
- data/app/pb_kits/playbook/pb_logistic/_logistic.jsx +7 -7
- data/app/pb_kits/playbook/pb_message/_message.jsx +8 -8
- data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.jsx +5 -5
- data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.jsx +3 -3
- data/app/pb_kits/playbook/pb_nav/_item.jsx +5 -5
- data/app/pb_kits/playbook/pb_nav/_nav.jsx +4 -4
- data/app/pb_kits/playbook/pb_online_status/_online_status.jsx +2 -2
- data/app/pb_kits/playbook/pb_person/_person.jsx +4 -4
- data/app/pb_kits/playbook/pb_person_contact/_person_contact.jsx +9 -9
- data/app/pb_kits/playbook/pb_pill/_pill.jsx +3 -3
- data/app/pb_kits/playbook/pb_popover/_popover.jsx +4 -4
- data/app/pb_kits/playbook/pb_progress_pills/_progress_pills.jsx +7 -7
- data/app/pb_kits/playbook/pb_progress_simple/_progress_simple.jsx +9 -9
- data/app/pb_kits/playbook/pb_progress_step/_progress_step.jsx +6 -6
- data/app/pb_kits/playbook/pb_progress_step/_progress_step.scss +178 -1
- data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.jsx +1 -1
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_child.html.erb +11 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_child.jsx +23 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.html.erb +0 -12
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.jsx +0 -12
- data/app/pb_kits/playbook/pb_progress_step/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_progress_step/progress_step.rb +1 -1
- data/app/pb_kits/playbook/pb_radio/_radio.jsx +11 -11
- data/app/pb_kits/playbook/pb_section_separator/_section_separator.jsx +4 -4
- data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.jsx +11 -11
- data/app/pb_kits/playbook/pb_selectable_card_icon/_selectable_card_icon.jsx +12 -12
- data/app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.jsx +10 -10
- data/app/pb_kits/playbook/pb_source/_source.jsx +4 -4
- data/app/pb_kits/playbook/pb_star_rating/_star_rating.jsx +6 -6
- data/app/pb_kits/playbook/pb_stat_change/_stat_change.jsx +3 -3
- data/app/pb_kits/playbook/pb_stat_value/_stat_value.jsx +4 -4
- data/app/pb_kits/playbook/pb_table/_table.jsx +1 -1
- data/app/pb_kits/playbook/pb_table/_table_row.jsx +3 -3
- data/app/pb_kits/playbook/pb_text_input/_text_input.html.erb +1 -0
- data/app/pb_kits/playbook/pb_text_input/_text_input.jsx +17 -14
- data/app/pb_kits/playbook/pb_text_input/_text_input.scss +1 -1
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_disabled.html.erb +1 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_disabled.jsx +18 -0
- data/app/pb_kits/playbook/pb_text_input/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_text_input/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_text_input/text_input.rb +1 -7
- data/app/pb_kits/playbook/pb_textarea/_textarea.jsx +22 -20
- data/app/pb_kits/playbook/pb_textarea/_textarea.scss +1 -3
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_dark.jsx +0 -1
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_dark_error.jsx +0 -1
- data/app/pb_kits/playbook/pb_textarea/textarea.rb +1 -7
- data/app/pb_kits/playbook/pb_time/_time.jsx +5 -5
- data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.jsx +8 -8
- data/app/pb_kits/playbook/pb_time_stacked/_time_stacked.jsx +5 -5
- data/app/pb_kits/playbook/pb_timeline/_item.jsx +2 -2
- data/app/pb_kits/playbook/pb_timeline/_timeline.jsx +6 -6
- data/app/pb_kits/playbook/pb_timestamp/_timestamp.jsx +3 -3
- data/app/pb_kits/playbook/pb_title/_title.jsx +4 -4
- data/app/pb_kits/playbook/pb_title_count/_title_count.jsx +3 -3
- data/app/pb_kits/playbook/pb_title_detail/docs/_title_detail_dark.html.erb +19 -0
- data/app/pb_kits/playbook/pb_title_detail/docs/_title_detail_dark.jsx +29 -0
- data/app/pb_kits/playbook/pb_toggle/_toggle.jsx +5 -5
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.html.erb +2 -3
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +1 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_context_dark.html.erb +0 -1
- data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +1 -9
- data/app/pb_kits/playbook/pb_user/_user.jsx +7 -7
- data/app/pb_kits/playbook/pb_user_badge/_user_badge.jsx +2 -2
- data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.jsx +5 -5
- data/lib/generators/kit/templates/kit_jsx.erb.tt +2 -2
- data/lib/playbook/version.rb +1 -1
- metadata +24 -3
@@ -1 +1 @@
|
|
1
|
-
Card headers passes category colors only. List of all category colors can be viewed <a href="https://playbook.powerapp.cloud/utilities" target="_blank">here</a>.
|
1
|
+
Card headers passes category and product colors only. List of all category and product colors can be viewed <a href="https://playbook.powerapp.cloud/utilities" target="_blank">here</a>.
|
@@ -9,17 +9,17 @@ import { globalProps } from '../utilities/globalProps.js'
|
|
9
9
|
|
10
10
|
type CheckboxProps = {
|
11
11
|
aria?: object,
|
12
|
-
checked?:
|
13
|
-
className?:
|
14
|
-
dark?:
|
12
|
+
checked?: boolean,
|
13
|
+
className?: string,
|
14
|
+
dark?: boolean,
|
15
15
|
data?: object,
|
16
|
-
error?:
|
17
|
-
id?:
|
18
|
-
name:
|
19
|
-
text:
|
20
|
-
value:
|
16
|
+
error?: boolean,
|
17
|
+
id?: string,
|
18
|
+
name: string,
|
19
|
+
text: string,
|
20
|
+
value: string,
|
21
21
|
children: Node,
|
22
|
-
onChange: (
|
22
|
+
onChange: (boolean) => void,
|
23
23
|
}
|
24
24
|
|
25
25
|
const Checkbox = (props: CheckboxProps) => {
|
@@ -15,15 +15,15 @@ import { globalProps } from '../utilities/globalProps.js'
|
|
15
15
|
|
16
16
|
type CircleIconButtonProps = {
|
17
17
|
aria?: object,
|
18
|
-
className?:
|
19
|
-
dark?:
|
18
|
+
className?: string,
|
19
|
+
dark?: boolean,
|
20
20
|
data?: object,
|
21
|
-
disabled?:
|
22
|
-
icon:
|
23
|
-
id?:
|
24
|
-
link?:
|
21
|
+
disabled?: boolean,
|
22
|
+
icon: string,
|
23
|
+
id?: string,
|
24
|
+
link?: string,
|
25
25
|
onClick?: Callback,
|
26
|
-
newWindow?:
|
26
|
+
newWindow?: boolean,
|
27
27
|
type?: 'button' | 'submit' | 'reset',
|
28
28
|
variant?: 'primary' | 'secondary' | 'link',
|
29
29
|
}
|
@@ -39,12 +39,12 @@ const formatContact = (contactString, contactType) => {
|
|
39
39
|
|
40
40
|
type ContactProps = {
|
41
41
|
aria?: object,
|
42
|
-
className?:
|
43
|
-
contactDetail?:
|
44
|
-
contactType?:
|
45
|
-
contactValue:
|
42
|
+
className?: string | array<string>,
|
43
|
+
contactDetail?: string,
|
44
|
+
contactType?: string,
|
45
|
+
contactValue: string,
|
46
46
|
data?: object,
|
47
|
-
id?:
|
47
|
+
id?: string,
|
48
48
|
}
|
49
49
|
|
50
50
|
const Contact = (props: ContactProps) => {
|
@@ -9,16 +9,16 @@ import { buildAriaProps, buildCss, buildDataProps } from '../utilities/props'
|
|
9
9
|
|
10
10
|
type CurrencyProps = {
|
11
11
|
align?: 'center' | 'left' | 'right',
|
12
|
-
amount:
|
12
|
+
amount: string,
|
13
13
|
aria?: object,
|
14
|
-
className?:
|
15
|
-
dark?:
|
14
|
+
className?: string,
|
15
|
+
dark?: boolean,
|
16
16
|
data?: object,
|
17
|
-
id?:
|
18
|
-
label?:
|
17
|
+
id?: string,
|
18
|
+
label?: string,
|
19
19
|
size?: 'sm' | 'md' | 'lg',
|
20
|
-
symbol?:
|
21
|
-
unit?:
|
20
|
+
symbol?: string,
|
21
|
+
unit?: string,
|
22
22
|
}
|
23
23
|
|
24
24
|
const sizes = {
|
@@ -13,17 +13,17 @@ import {
|
|
13
13
|
type DashboardValueProps = {
|
14
14
|
align?: 'left' | 'center' | 'right',
|
15
15
|
aria?: object,
|
16
|
-
className?:
|
16
|
+
className?: string,
|
17
17
|
data?: object,
|
18
|
-
id?:
|
18
|
+
id?: string,
|
19
19
|
statChange?: {
|
20
|
-
change?:
|
21
|
-
value?:
|
20
|
+
change?: string,
|
21
|
+
value?: string | Number
|
22
22
|
},
|
23
|
-
statLabel?:
|
23
|
+
statLabel?: string,
|
24
24
|
statValue?: {
|
25
|
-
unit?:
|
26
|
-
value?:
|
25
|
+
unit?: string,
|
26
|
+
value?: string | Number
|
27
27
|
}
|
28
28
|
}
|
29
29
|
|
@@ -49,8 +49,8 @@ const LargeDate = ({ value, ...props }: DateSubcomponent) => (
|
|
49
49
|
|
50
50
|
type PbDateProps = {
|
51
51
|
size?: "xs" | "sm" | "lg",
|
52
|
-
value?:
|
53
|
-
className?:
|
52
|
+
value?: string,
|
53
|
+
className?: string
|
54
54
|
}
|
55
55
|
|
56
56
|
const PbDate = ({ size, value, className, ...props }: PbDateProps) => {
|
@@ -7,11 +7,11 @@ import classnames from 'classnames'
|
|
7
7
|
import { globalProps } from '../utilities/globalProps.js'
|
8
8
|
|
9
9
|
type DateRangeInlineProps = {
|
10
|
-
className?:
|
11
|
-
data?:
|
12
|
-
endDate?:
|
13
|
-
id?:
|
14
|
-
startDate?:
|
10
|
+
className?: string,
|
11
|
+
data?: string,
|
12
|
+
endDate?: date,
|
13
|
+
id?: string,
|
14
|
+
startDate?: date,
|
15
15
|
}
|
16
16
|
|
17
17
|
const dateTimestamp = (dateValue) => {
|
@@ -8,12 +8,12 @@ import { globalProps } from '../utilities/globalProps.js'
|
|
8
8
|
import { Body, DateYearStacked, Flex, FlexItem, Icon } from '../'
|
9
9
|
|
10
10
|
type DateRangeStackedProps = {
|
11
|
-
className?:
|
12
|
-
data?:
|
13
|
-
dark?:
|
14
|
-
endDate:
|
15
|
-
id?:
|
16
|
-
startDate:
|
11
|
+
className?: string | array<string>,
|
12
|
+
data?: string,
|
13
|
+
dark?: boolean,
|
14
|
+
endDate: string,
|
15
|
+
id?: string,
|
16
|
+
startDate: string,
|
17
17
|
}
|
18
18
|
|
19
19
|
const DateRangeStacked = (props: DateRangeStackedProps) => {
|
@@ -9,13 +9,13 @@ import { globalProps } from '../utilities/globalProps.js'
|
|
9
9
|
|
10
10
|
type DateStackedProps = {
|
11
11
|
align?: "left" | "center" | "right",
|
12
|
-
className?:
|
13
|
-
dark?:
|
14
|
-
data?:
|
15
|
-
date:
|
12
|
+
className?: string | array<string>,
|
13
|
+
dark?: boolean,
|
14
|
+
data?: string,
|
15
|
+
date: string,
|
16
16
|
size?: "sm" | "md",
|
17
|
-
id?:
|
18
|
-
reverse?:
|
17
|
+
id?: string,
|
18
|
+
reverse?: boolean,
|
19
19
|
}
|
20
20
|
|
21
21
|
const sizes = {
|
@@ -5,10 +5,10 @@ import { DateStacked, Flex, FlexItem, TimeStacked } from '../'
|
|
5
5
|
import { globalProps } from '../utilities/globalProps.js'
|
6
6
|
|
7
7
|
type DateTimeStackedProps = {
|
8
|
-
data?:
|
9
|
-
id?:
|
10
|
-
date:
|
11
|
-
dark:
|
8
|
+
data?: string,
|
9
|
+
id?: string,
|
10
|
+
date: date,
|
11
|
+
dark: boolean,
|
12
12
|
}
|
13
13
|
|
14
14
|
const DateTimeStacked = (props: DateTimeStackedProps) => {
|
@@ -10,11 +10,11 @@ import { Body, Title } from '../'
|
|
10
10
|
|
11
11
|
type DateYearStackedProps = {
|
12
12
|
align?: "left" | "center" | "right",
|
13
|
-
className?:
|
14
|
-
dark?:
|
15
|
-
data?:
|
16
|
-
date:
|
17
|
-
id?:
|
13
|
+
className?: string | array<string>,
|
14
|
+
dark?: boolean,
|
15
|
+
data?: string,
|
16
|
+
date: string,
|
17
|
+
id?: string,
|
18
18
|
}
|
19
19
|
|
20
20
|
const DateYearStacked = (props: DateYearStackedProps) => {
|
@@ -5,11 +5,11 @@ import classnames from 'classnames'
|
|
5
5
|
import { globalProps } from '../utilities/globalProps.js'
|
6
6
|
|
7
7
|
type DistributionBarProps = {
|
8
|
-
className?:
|
9
|
-
data?:
|
10
|
-
id?:
|
8
|
+
className?: string,
|
9
|
+
data?: string,
|
10
|
+
id?: string,
|
11
11
|
size?: "lg" | "sm",
|
12
|
-
widths?:
|
12
|
+
widths?: array<number>,
|
13
13
|
}
|
14
14
|
|
15
15
|
const normalizeCharacters = (widths) => {
|
@@ -13,11 +13,11 @@ const iconMap = {
|
|
13
13
|
}
|
14
14
|
|
15
15
|
type FixedConfirmationToastProps = {
|
16
|
-
className?:
|
17
|
-
data?:
|
18
|
-
id?:
|
16
|
+
className?: string,
|
17
|
+
data?: string,
|
18
|
+
id?: string,
|
19
19
|
status?: "success" | "error" | "neutral" | "tip",
|
20
|
-
text:
|
20
|
+
text: string,
|
21
21
|
}
|
22
22
|
|
23
23
|
const FixedConfirmationToast = (props: FixedConfirmationToastProps) => {
|
@@ -5,16 +5,16 @@ import classnames from 'classnames'
|
|
5
5
|
import { buildCss } from '../utilities/props'
|
6
6
|
import { globalProps } from '../utilities/globalProps.js'
|
7
7
|
type FlexProps = {
|
8
|
-
children:
|
9
|
-
className?:
|
8
|
+
children: array<React.ReactNode> | React.ReactNode,
|
9
|
+
className?: string,
|
10
10
|
horizontal?: "left" | "center" | "right" | "stretch",
|
11
|
-
id?:
|
12
|
-
inline?:
|
11
|
+
id?: string,
|
12
|
+
inline?: boolean,
|
13
13
|
orientation?: "row" | "column",
|
14
14
|
spacing?: "around" | "between" | "evenly" | "none",
|
15
|
-
reverse?:
|
15
|
+
reverse?: boolean,
|
16
16
|
vertical?: "top" | "center" | "bottom" | "stretch",
|
17
|
-
wrap?:
|
17
|
+
wrap?: boolean,
|
18
18
|
}
|
19
19
|
|
20
20
|
const Flex = (props: FlexProps) => {
|
@@ -4,10 +4,10 @@ import classnames from 'classnames'
|
|
4
4
|
import { buildCss } from '../utilities/props'
|
5
5
|
import { globalProps } from '../utilities/globalProps.js'
|
6
6
|
type FlexItemPropTypes = {
|
7
|
-
children:
|
8
|
-
fixedSize:
|
9
|
-
grow:
|
10
|
-
className:
|
7
|
+
children: array<React.ReactNode> | React.ReactNode,
|
8
|
+
fixedSize: string,
|
9
|
+
grow: boolean,
|
10
|
+
className: string,
|
11
11
|
}
|
12
12
|
|
13
13
|
const FlexItem = (props: FlexItemPropTypes) => {
|
@@ -7,13 +7,13 @@ import Avatar from '../pb_avatar/_avatar.jsx'
|
|
7
7
|
import { globalProps } from '../utilities/globalProps.js'
|
8
8
|
|
9
9
|
type FormPillProps = {
|
10
|
-
className?:
|
11
|
-
id?:
|
12
|
-
text:
|
13
|
-
name:
|
10
|
+
className?: string,
|
11
|
+
id?: string,
|
12
|
+
text: string,
|
13
|
+
name: string,
|
14
14
|
onClick?: EventHandler,
|
15
|
-
avatar?:
|
16
|
-
avatarUrl?:
|
15
|
+
avatar?: boolean,
|
16
|
+
avatarUrl?: string,
|
17
17
|
}
|
18
18
|
const FormPill = (props: FormPillProps) => {
|
19
19
|
const { className, text, name, onClick = () => {}, avatarUrl } = props
|
@@ -14,21 +14,21 @@ import {
|
|
14
14
|
|
15
15
|
type GaugeProps = {
|
16
16
|
aria: Object,
|
17
|
-
className?:
|
18
|
-
chartData?:
|
17
|
+
className?: string,
|
18
|
+
chartData?: array,
|
19
19
|
data?: Object,
|
20
|
-
disableAnimation:
|
21
|
-
fullCircle:
|
22
|
-
height:
|
23
|
-
id?:
|
24
|
-
max:
|
25
|
-
min:
|
26
|
-
prefix:
|
27
|
-
showLabels:
|
28
|
-
style:
|
29
|
-
suffix:
|
30
|
-
title:
|
31
|
-
tooltipHtml:
|
20
|
+
disableAnimation: boolean,
|
21
|
+
fullCircle: boolean,
|
22
|
+
height: string,
|
23
|
+
id?: string,
|
24
|
+
max: number,
|
25
|
+
min: number,
|
26
|
+
prefix: string,
|
27
|
+
showLabels: boolean,
|
28
|
+
style: string,
|
29
|
+
suffix: string,
|
30
|
+
title: string,
|
31
|
+
tooltipHtml: string,
|
32
32
|
}
|
33
33
|
|
34
34
|
const Gauge = (props: GaugeProps) => {
|
@@ -9,13 +9,13 @@ import { buildCss } from '../utilities/props'
|
|
9
9
|
import { globalProps } from '../utilities/globalProps.js'
|
10
10
|
|
11
11
|
type HashtagProps = {
|
12
|
-
className?:
|
13
|
-
data?:
|
14
|
-
dark?:
|
15
|
-
id?:
|
16
|
-
text?:
|
12
|
+
className?: string,
|
13
|
+
data?: string,
|
14
|
+
dark?: boolean,
|
15
|
+
id?: string,
|
16
|
+
text?: string,
|
17
17
|
type: "default" | "home" | "project" | "appointment",
|
18
|
-
url?:
|
18
|
+
url?: string,
|
19
19
|
}
|
20
20
|
|
21
21
|
const typeMap = {
|
@@ -6,12 +6,12 @@ import classnames from 'classnames'
|
|
6
6
|
import { globalProps } from '../utilities/globalProps.js'
|
7
7
|
|
8
8
|
type HighlightProps = {
|
9
|
-
className?:
|
10
|
-
data?:
|
11
|
-
id?:
|
9
|
+
className?: string,
|
10
|
+
data?: string,
|
11
|
+
id?: string,
|
12
12
|
children?: React.Node,
|
13
|
-
text?:
|
14
|
-
highlightedText?:
|
13
|
+
text?: string,
|
14
|
+
highlightedText?: array<string>,
|
15
15
|
}
|
16
16
|
|
17
17
|
const Highlight = (props: HighlightProps) => {
|
@@ -8,18 +8,18 @@ import { Body, Hashtag, Title } from '../'
|
|
8
8
|
import { globalProps } from '../utilities/globalProps.js'
|
9
9
|
|
10
10
|
type HomeAddressStreetProps = {
|
11
|
-
address:
|
12
|
-
addressCont:
|
13
|
-
city:
|
14
|
-
className?:
|
15
|
-
dark?:
|
11
|
+
address: string,
|
12
|
+
addressCont: string,
|
13
|
+
city: string,
|
14
|
+
className?: string,
|
15
|
+
dark?: boolean,
|
16
16
|
emphasis: "street" | "city",
|
17
|
-
homeId:
|
18
|
-
houseStyle:
|
19
|
-
homeUrl:
|
20
|
-
state:
|
21
|
-
zipcode:
|
22
|
-
territory:
|
17
|
+
homeId: number,
|
18
|
+
houseStyle: string,
|
19
|
+
homeUrl: string,
|
20
|
+
state: string,
|
21
|
+
zipcode: string,
|
22
|
+
territory: string,
|
23
23
|
}
|
24
24
|
|
25
25
|
const HomeAddressStreet = (props: HomeAddressStreetProps) => {
|
@@ -6,16 +6,16 @@ import { globalProps } from '../utilities/globalProps.js'
|
|
6
6
|
|
7
7
|
type IconProps = {
|
8
8
|
aria?: Object,
|
9
|
-
border?:
|
10
|
-
className?:
|
11
|
-
fixedWidth?:
|
9
|
+
border?: boolean,
|
10
|
+
className?: string,
|
11
|
+
fixedWidth?: boolean,
|
12
12
|
flip?: "horizontal" | "vertical" | "both" | "none",
|
13
|
-
icon:
|
14
|
-
id?:
|
15
|
-
inverse?:
|
16
|
-
listItem?:
|
13
|
+
icon: string,
|
14
|
+
id?: string,
|
15
|
+
inverse?: boolean,
|
16
|
+
listItem?: boolean,
|
17
17
|
pull?: "left" | "right" | "none",
|
18
|
-
pulse?:
|
18
|
+
pulse?: boolean,
|
19
19
|
rotation?: 90 | 180 | 270,
|
20
20
|
size?: | "lg"
|
21
21
|
| "xs"
|
@@ -30,7 +30,7 @@ type IconProps = {
|
|
30
30
|
| "8x"
|
31
31
|
| "9x"
|
32
32
|
| "10x",
|
33
|
-
spin?:
|
33
|
+
spin?: boolean,
|
34
34
|
}
|
35
35
|
|
36
36
|
const flipMap = {
|