playbook-ui 13.24.0 → 13.25.0-alpha.PLAY1249fixTooltipswrappingformelementscausingmisalignment2783
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.
- package/dist/app/components/playbook/pb_docs/kit_api.html.erb +321 -0
- package/dist/app/components/playbook/pb_docs/kit_api.rb +150 -0
- package/dist/app/components/playbook/pb_docs/kit_example.html.erb +80 -0
- package/dist/app/components/playbook/pb_docs/kit_example.rb +78 -0
- package/dist/menu.yml +5 -1
- package/dist/pb_bar_graph/_bar_graph.d.ts +9 -2
- package/dist/pb_body/_body.d.ts +1 -1
- package/dist/pb_doc_helper.rb +102 -0
- package/dist/pb_dropdown/_dropdown.d.ts +71 -0
- package/dist/pb_dropdown/context/index.d.ts +3 -0
- package/dist/pb_dropdown/hooks/useDropdown.d.ts +2 -0
- package/dist/pb_dropdown/hooks/useHandleOnKeydown.d.ts +2 -0
- package/dist/pb_dropdown/subcomponents/DropdownContainer.d.ts +18 -0
- package/dist/pb_dropdown/subcomponents/DropdownOption.d.ts +22 -0
- package/dist/pb_dropdown/subcomponents/DropdownTrigger.d.ts +19 -0
- package/dist/pb_dropdown/utilities/subComponentHelper.d.ts +16 -0
- package/dist/pb_list/_list_item.d.ts +2 -1
- package/dist/pb_radio/_radio.d.ts +24 -24
- package/dist/pb_select/_select.d.ts +24 -24
- package/dist/pb_text_input/_text_input.d.ts +24 -24
- package/dist/pb_textarea/_textarea.d.ts +24 -24
- package/dist/pb_tooltip/_tooltip.d.ts +24 -24
- package/dist/pb_typeahead/_typeahead.d.ts +2 -2
- package/dist/pb_typeahead/components/index.d.ts +9 -0
- package/dist/playbook-doc.js +10 -10
- package/dist/playbook-rails.js +6 -6
- package/dist/playbook.css +1 -1
- package/dist/playbook.js +9 -9
- package/dist/tokens/colors.scss +1 -1
- package/package.json +3 -3
package/dist/pb_body/_body.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare type BodyProps = {
|
|
|
14
14
|
highlightedText?: string[];
|
|
15
15
|
highlighting?: boolean;
|
|
16
16
|
htmlOptions?: {
|
|
17
|
-
[key: string]: string | number | boolean | (() => void);
|
|
17
|
+
[key: string]: string | number | boolean | (() => void) | ((arg?: Event) => void);
|
|
18
18
|
};
|
|
19
19
|
id?: string;
|
|
20
20
|
status?: 'neutral' | 'negative' | 'positive';
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module PlaybookWebsite
|
|
4
|
+
module PbDocHelper
|
|
5
|
+
def pb_kit_title(title)
|
|
6
|
+
title.remove("pb_").titleize.tr("_", " ")
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
def pb_kit(kit: "", type: "rails", show_code: true, limit_examples: false, dark_mode: false)
|
|
10
|
+
examples = pb_doc_kit_examples(kit, type)
|
|
11
|
+
examples = examples.first(1) if limit_examples
|
|
12
|
+
examples.map do |example|
|
|
13
|
+
pb_rails "docs/kit_example", props: {
|
|
14
|
+
kit: kit,
|
|
15
|
+
example_title: example.values.first,
|
|
16
|
+
example_key: example.keys.first,
|
|
17
|
+
show_code: show_code,
|
|
18
|
+
type: type,
|
|
19
|
+
dark: dark_mode,
|
|
20
|
+
}
|
|
21
|
+
end.join.yield_self(&method(:raw))
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def nav_hash_array(link)
|
|
25
|
+
link.first.last
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# Deal with lists of kits, used in Playbook doc and Externally
|
|
29
|
+
# rubocop:disable Style/StringConcatenation
|
|
30
|
+
def pb_kits(type: "rails", limit_examples: false, dark_mode: false, method: get_kits)
|
|
31
|
+
display_kits = []
|
|
32
|
+
kits = method
|
|
33
|
+
kits.each do |kit|
|
|
34
|
+
if kit.is_a?(Hash)
|
|
35
|
+
nav_hash_array(kit).each do |sub_kit|
|
|
36
|
+
display_kits << render_pb_doc_kit(sub_kit[:name], type, limit_examples, false, dark_mode) if sub_kit[:status] != "beta" && pb_doc_has_kit_type?(sub_kit[:name], type)
|
|
37
|
+
end
|
|
38
|
+
elsif pb_doc_has_kit_type?(kit, type)
|
|
39
|
+
display_kits << render_pb_doc_kit(kit, type, limit_examples, false, dark_mode)
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
raw("<div class='pb--docItem'>" + display_kits.join("</div><div class='pb--docItem'>") + "</div>")
|
|
43
|
+
end
|
|
44
|
+
# rubocop:enable Style/StringConcatenation
|
|
45
|
+
|
|
46
|
+
# rubocop:disable Naming/AccessorMethodName
|
|
47
|
+
def get_kits(_type = "rails")
|
|
48
|
+
aggregate_kits_with_status || []
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
def get_kits_pb_website
|
|
52
|
+
menu = YAML.load_file(Rails.root.join("config/menu.yml"))
|
|
53
|
+
menu["kits"]
|
|
54
|
+
end
|
|
55
|
+
# rubocop:enable Naming/AccessorMethodName
|
|
56
|
+
|
|
57
|
+
# rubocop:disable Style/OptionalBooleanParameter
|
|
58
|
+
def render_pb_doc_kit(kit, type, limit_examples, code = true, dark_mode = false)
|
|
59
|
+
title = pb_doc_render_clickable_title(kit, type)
|
|
60
|
+
ui = raw("<div class='pb--docItem-ui'>
|
|
61
|
+
#{pb_kit(kit: kit, type: type, show_code: code, limit_examples: limit_examples, dark_mode: dark_mode)}</div>")
|
|
62
|
+
title + ui
|
|
63
|
+
end
|
|
64
|
+
# rubocop:enable Style/OptionalBooleanParameter
|
|
65
|
+
|
|
66
|
+
private
|
|
67
|
+
|
|
68
|
+
def pb_doc_kit_path(kit, *args)
|
|
69
|
+
Playbook.kit_path(kit, "docs", *args)
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
def pb_doc_kit_examples(kit, type)
|
|
73
|
+
example_file = pb_doc_kit_path(kit, "example.yml")
|
|
74
|
+
if File.exist?(example_file)
|
|
75
|
+
examples_list = YAML.load_file(example_file)
|
|
76
|
+
.inject({}) { |item, (k, v)| item[k.to_sym] = v; item }
|
|
77
|
+
examples_list.dig(:examples, type) || []
|
|
78
|
+
else
|
|
79
|
+
[]
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
def pb_doc_render_clickable_title(kit, type)
|
|
84
|
+
url = "#"
|
|
85
|
+
begin
|
|
86
|
+
url = case type
|
|
87
|
+
when "react"
|
|
88
|
+
kit_show_reacts_path(kit)
|
|
89
|
+
when "swift"
|
|
90
|
+
kit_show_swift_path(kit)
|
|
91
|
+
else
|
|
92
|
+
kit_show_path(kit)
|
|
93
|
+
end
|
|
94
|
+
# FIXME: this is here because this helper generates a link for playbook website,
|
|
95
|
+
# but shouldn't do anything when used elsewhere
|
|
96
|
+
rescue
|
|
97
|
+
puts "Kit Path Not Avaliable"
|
|
98
|
+
end
|
|
99
|
+
render inline: "<a href='#{url}'>#{pb_rails(:title, props: { text: pb_kit_title(kit), tag: 'h3', size: 2 })}</a>"
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
end
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import React, { ReactElement } from "react";
|
|
2
|
+
import { GenericObject } from "../types";
|
|
3
|
+
declare type DropdownProps = {
|
|
4
|
+
aria?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
autocomplete?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
data?: {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
htmlOptions?: {
|
|
13
|
+
[key: string]: string | number | boolean | (() => void);
|
|
14
|
+
};
|
|
15
|
+
id?: string;
|
|
16
|
+
children?: React.ReactChild[] | React.ReactChild | ReactElement[];
|
|
17
|
+
options: GenericObject;
|
|
18
|
+
onSelect?: (arg: GenericObject) => null;
|
|
19
|
+
};
|
|
20
|
+
declare const Dropdown: {
|
|
21
|
+
(props: DropdownProps): JSX.Element;
|
|
22
|
+
Option: (props: {
|
|
23
|
+
aria?: {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
className?: string;
|
|
27
|
+
children?: React.ReactChild | React.ReactChild[];
|
|
28
|
+
data?: {
|
|
29
|
+
[key: string]: string;
|
|
30
|
+
};
|
|
31
|
+
htmlOptions?: {
|
|
32
|
+
[key: string]: string | number | boolean | (() => void);
|
|
33
|
+
};
|
|
34
|
+
id?: string;
|
|
35
|
+
option?: GenericObject;
|
|
36
|
+
key?: string;
|
|
37
|
+
padding?: string;
|
|
38
|
+
} & import("../utilities/globalProps").GlobalProps) => JSX.Element;
|
|
39
|
+
Trigger: (props: {
|
|
40
|
+
aria?: {
|
|
41
|
+
[key: string]: string;
|
|
42
|
+
};
|
|
43
|
+
children?: React.ReactChild | React.ReactChild[];
|
|
44
|
+
className?: string;
|
|
45
|
+
customDisplay?: React.ReactChild | React.ReactChild[];
|
|
46
|
+
data?: {
|
|
47
|
+
[key: string]: string;
|
|
48
|
+
};
|
|
49
|
+
htmlOptions?: {
|
|
50
|
+
[key: string]: string | number | boolean | (() => void);
|
|
51
|
+
};
|
|
52
|
+
id?: string;
|
|
53
|
+
placeholder?: string;
|
|
54
|
+
}) => JSX.Element;
|
|
55
|
+
Container: (props: {
|
|
56
|
+
aria?: {
|
|
57
|
+
[key: string]: string;
|
|
58
|
+
};
|
|
59
|
+
className?: string;
|
|
60
|
+
children?: React.ReactChild | React.ReactChild[];
|
|
61
|
+
data?: {
|
|
62
|
+
[key: string]: string;
|
|
63
|
+
};
|
|
64
|
+
htmlOptions?: {
|
|
65
|
+
[key: string]: string | number | boolean | (() => void);
|
|
66
|
+
};
|
|
67
|
+
id?: string;
|
|
68
|
+
searchbar?: boolean;
|
|
69
|
+
}) => JSX.Element;
|
|
70
|
+
};
|
|
71
|
+
export default Dropdown;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare type DropdownContainerProps = {
|
|
3
|
+
aria?: {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
};
|
|
6
|
+
className?: string;
|
|
7
|
+
children?: React.ReactChild[] | React.ReactChild;
|
|
8
|
+
data?: {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
htmlOptions?: {
|
|
12
|
+
[key: string]: string | number | boolean | (() => void);
|
|
13
|
+
};
|
|
14
|
+
id?: string;
|
|
15
|
+
searchbar?: boolean;
|
|
16
|
+
};
|
|
17
|
+
declare const DropdownContainer: (props: DropdownContainerProps) => JSX.Element;
|
|
18
|
+
export default DropdownContainer;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { GlobalProps } from "../../utilities/globalProps";
|
|
3
|
+
import { GenericObject } from "../../types";
|
|
4
|
+
declare type DropdownOptionProps = {
|
|
5
|
+
aria?: {
|
|
6
|
+
[key: string]: string;
|
|
7
|
+
};
|
|
8
|
+
className?: string;
|
|
9
|
+
children?: React.ReactChild[] | React.ReactChild;
|
|
10
|
+
data?: {
|
|
11
|
+
[key: string]: string;
|
|
12
|
+
};
|
|
13
|
+
htmlOptions?: {
|
|
14
|
+
[key: string]: string | number | boolean | (() => void);
|
|
15
|
+
};
|
|
16
|
+
id?: string;
|
|
17
|
+
option?: GenericObject;
|
|
18
|
+
key?: string;
|
|
19
|
+
padding?: string;
|
|
20
|
+
} & GlobalProps;
|
|
21
|
+
declare const DropdownOption: (props: DropdownOptionProps) => JSX.Element;
|
|
22
|
+
export default DropdownOption;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare type DropdownTriggerProps = {
|
|
3
|
+
aria?: {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
};
|
|
6
|
+
children?: React.ReactChild[] | React.ReactChild;
|
|
7
|
+
className?: string;
|
|
8
|
+
customDisplay?: React.ReactChild[] | React.ReactChild;
|
|
9
|
+
data?: {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
htmlOptions?: {
|
|
13
|
+
[key: string]: string | number | boolean | (() => void);
|
|
14
|
+
};
|
|
15
|
+
id?: string;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
};
|
|
18
|
+
declare const DropdownTrigger: (props: DropdownTriggerProps) => JSX.Element;
|
|
19
|
+
export default DropdownTrigger;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React, { ReactElement } from "react";
|
|
2
|
+
declare type PrepareComponentsProps = {
|
|
3
|
+
children: React.ReactChild[] | React.ReactChild;
|
|
4
|
+
hasTriggerSubcomponent: boolean;
|
|
5
|
+
hasContainerSubcomponent: boolean;
|
|
6
|
+
trigger: React.ReactChild;
|
|
7
|
+
container: React.ReactChild;
|
|
8
|
+
otherChildren: React.ReactChild[];
|
|
9
|
+
};
|
|
10
|
+
export declare const separateChildComponents: (children: React.ReactChild[] | React.ReactChild | ReactElement[]) => {
|
|
11
|
+
trigger: React.ReactChild;
|
|
12
|
+
container: React.ReactChild;
|
|
13
|
+
otherChildren: React.ReactChild[];
|
|
14
|
+
};
|
|
15
|
+
export declare const prepareSubcomponents: ({ children, hasTriggerSubcomponent, hasContainerSubcomponent, trigger, container, otherChildren, }: PrepareComponentsProps) => (string | number | JSX.Element | React.ReactChild[])[];
|
|
16
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { GlobalProps } from '../utilities/globalProps';
|
|
2
3
|
declare type ListItemProps = {
|
|
3
4
|
aria?: {
|
|
4
5
|
[key: string]: string;
|
|
@@ -11,6 +12,6 @@ declare type ListItemProps = {
|
|
|
11
12
|
};
|
|
12
13
|
id?: string;
|
|
13
14
|
tabIndex?: number;
|
|
14
|
-
};
|
|
15
|
+
} & GlobalProps;
|
|
15
16
|
declare const ListItem: (props: ListItemProps) => JSX.Element;
|
|
16
17
|
export default ListItem;
|
|
@@ -24,13 +24,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
24
24
|
} & {
|
|
25
25
|
alignContent?: never;
|
|
26
26
|
} & {
|
|
27
|
-
alignItems?:
|
|
27
|
+
alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
|
|
28
28
|
} & {
|
|
29
29
|
alignSelf?: never;
|
|
30
30
|
} & {
|
|
31
|
-
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "
|
|
31
|
+
borderRadius?: "none" | "md" | "lg" | "sm" | "xl" | "xs" | "rounded";
|
|
32
32
|
} & {
|
|
33
|
-
cursor?: "none" | "
|
|
33
|
+
cursor?: "none" | "auto" | "text" | "progress" | "default" | "pointer" | "alias" | "cell" | "copy" | "crosshair" | "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";
|
|
34
34
|
} & {
|
|
35
35
|
dark?: boolean;
|
|
36
36
|
} & {
|
|
@@ -50,7 +50,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
50
50
|
} & {
|
|
51
51
|
justifySelf?: never;
|
|
52
52
|
} & {
|
|
53
|
-
lineHeight?: "
|
|
53
|
+
lineHeight?: "normal" | "loosest" | "looser" | "loose" | "tight" | "tighter" | "tightest";
|
|
54
54
|
} & {
|
|
55
55
|
marginRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
56
56
|
marginLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
@@ -66,7 +66,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
66
66
|
} & {
|
|
67
67
|
numberSpacing?: "tabular";
|
|
68
68
|
} & {
|
|
69
|
-
order?: 1 | 2 | 3 |
|
|
69
|
+
order?: "none" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first";
|
|
70
70
|
} & {
|
|
71
71
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
72
72
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -88,7 +88,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
88
88
|
} & {
|
|
89
89
|
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
90
90
|
} & {
|
|
91
|
-
truncate?: 1 | 2 | 3 |
|
|
91
|
+
truncate?: "none" | 1 | 2 | 3 | 4 | 5;
|
|
92
92
|
} & {
|
|
93
93
|
zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
94
94
|
} & {
|
|
@@ -138,13 +138,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
138
138
|
} & {
|
|
139
139
|
alignContent?: never;
|
|
140
140
|
} & {
|
|
141
|
-
alignItems?:
|
|
141
|
+
alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
|
|
142
142
|
} & {
|
|
143
143
|
alignSelf?: never;
|
|
144
144
|
} & {
|
|
145
|
-
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "
|
|
145
|
+
borderRadius?: "none" | "md" | "lg" | "sm" | "xl" | "xs" | "rounded";
|
|
146
146
|
} & {
|
|
147
|
-
cursor?: "none" | "
|
|
147
|
+
cursor?: "none" | "auto" | "text" | "progress" | "default" | "pointer" | "alias" | "cell" | "copy" | "crosshair" | "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";
|
|
148
148
|
} & {
|
|
149
149
|
dark?: boolean;
|
|
150
150
|
} & {
|
|
@@ -164,7 +164,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
164
164
|
} & {
|
|
165
165
|
justifySelf?: never;
|
|
166
166
|
} & {
|
|
167
|
-
lineHeight?: "
|
|
167
|
+
lineHeight?: "normal" | "loosest" | "looser" | "loose" | "tight" | "tighter" | "tightest";
|
|
168
168
|
} & {
|
|
169
169
|
marginRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
170
170
|
marginLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
@@ -180,7 +180,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
180
180
|
} & {
|
|
181
181
|
numberSpacing?: "tabular";
|
|
182
182
|
} & {
|
|
183
|
-
order?: 1 | 2 | 3 |
|
|
183
|
+
order?: "none" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first";
|
|
184
184
|
} & {
|
|
185
185
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
186
186
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -202,7 +202,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
202
202
|
} & {
|
|
203
203
|
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
204
204
|
} & {
|
|
205
|
-
truncate?: 1 | 2 | 3 |
|
|
205
|
+
truncate?: "none" | 1 | 2 | 3 | 4 | 5;
|
|
206
206
|
} & {
|
|
207
207
|
[key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
208
208
|
} & {
|
|
@@ -252,13 +252,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
252
252
|
} & {
|
|
253
253
|
alignContent?: never;
|
|
254
254
|
} & {
|
|
255
|
-
alignItems?:
|
|
255
|
+
alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
|
|
256
256
|
} & {
|
|
257
257
|
alignSelf?: never;
|
|
258
258
|
} & {
|
|
259
|
-
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "
|
|
259
|
+
borderRadius?: "none" | "md" | "lg" | "sm" | "xl" | "xs" | "rounded";
|
|
260
260
|
} & {
|
|
261
|
-
cursor?: "none" | "
|
|
261
|
+
cursor?: "none" | "auto" | "text" | "progress" | "default" | "pointer" | "alias" | "cell" | "copy" | "crosshair" | "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";
|
|
262
262
|
} & {
|
|
263
263
|
dark?: boolean;
|
|
264
264
|
} & import("../types").DisplaySizes & {
|
|
@@ -276,7 +276,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
276
276
|
} & {
|
|
277
277
|
justifySelf?: never;
|
|
278
278
|
} & {
|
|
279
|
-
lineHeight?: "
|
|
279
|
+
lineHeight?: "normal" | "loosest" | "looser" | "loose" | "tight" | "tighter" | "tightest";
|
|
280
280
|
} & {
|
|
281
281
|
marginRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
282
282
|
marginLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
@@ -292,7 +292,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
292
292
|
} & {
|
|
293
293
|
numberSpacing?: "tabular";
|
|
294
294
|
} & {
|
|
295
|
-
order?: 1 | 2 | 3 |
|
|
295
|
+
order?: "none" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first";
|
|
296
296
|
} & {
|
|
297
297
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
298
298
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -314,7 +314,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
314
314
|
} & {
|
|
315
315
|
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
316
316
|
} & {
|
|
317
|
-
truncate?: 1 | 2 | 3 |
|
|
317
|
+
truncate?: "none" | 1 | 2 | 3 | 4 | 5;
|
|
318
318
|
} & {
|
|
319
319
|
zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
320
320
|
} & {
|
|
@@ -364,13 +364,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
364
364
|
} & {
|
|
365
365
|
alignContent?: never;
|
|
366
366
|
} & {
|
|
367
|
-
alignItems?:
|
|
367
|
+
alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
|
|
368
368
|
} & {
|
|
369
369
|
alignSelf?: never;
|
|
370
370
|
} & {
|
|
371
|
-
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "
|
|
371
|
+
borderRadius?: "none" | "md" | "lg" | "sm" | "xl" | "xs" | "rounded";
|
|
372
372
|
} & {
|
|
373
|
-
cursor?: "none" | "
|
|
373
|
+
cursor?: "none" | "auto" | "text" | "progress" | "default" | "pointer" | "alias" | "cell" | "copy" | "crosshair" | "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";
|
|
374
374
|
} & {
|
|
375
375
|
dark?: boolean;
|
|
376
376
|
} & import("../types").DisplaySizes & {
|
|
@@ -388,7 +388,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
388
388
|
} & {
|
|
389
389
|
justifySelf?: never;
|
|
390
390
|
} & {
|
|
391
|
-
lineHeight?: "
|
|
391
|
+
lineHeight?: "normal" | "loosest" | "looser" | "loose" | "tight" | "tighter" | "tightest";
|
|
392
392
|
} & {
|
|
393
393
|
marginRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
394
394
|
marginLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
|
|
@@ -404,7 +404,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
404
404
|
} & {
|
|
405
405
|
numberSpacing?: "tabular";
|
|
406
406
|
} & {
|
|
407
|
-
order?: 1 | 2 | 3 |
|
|
407
|
+
order?: "none" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first";
|
|
408
408
|
} & {
|
|
409
409
|
overflowX?: "auto" | "scroll" | "hidden" | "visible";
|
|
410
410
|
overflowY?: "auto" | "scroll" | "hidden" | "visible";
|
|
@@ -426,7 +426,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
426
426
|
} & {
|
|
427
427
|
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
428
428
|
} & {
|
|
429
|
-
truncate?: 1 | 2 | 3 |
|
|
429
|
+
truncate?: "none" | 1 | 2 | 3 | 4 | 5;
|
|
430
430
|
} & {
|
|
431
431
|
[key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
432
432
|
} & {
|