playbook_ui_docs 13.10.0.pre.alpha.play10481357 → 13.10.0.pre.alpha.play10561409
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_button/docs/_button_circle_swift.md +28 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_default_swift.md +23 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_full_width_swift.md +9 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_icon_options_swift.md +18 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_props_swift.md +11 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_size_swift.md +20 -0
- data/app/pb_kits/playbook/pb_button/docs/example.yml +8 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_background_swift.md +29 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_border_none_swift.md +7 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_border_radius_swift.md +33 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_header_swift.md +33 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_highlight_swift.md +17 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_light_swift.md +7 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_padding_swift.md +33 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_props_swift.md +10 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_selected_swift.md +0 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_separator_swift.md +11 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_shadow_swift.md +21 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_styles_swift.md +17 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_tag_swift.md +0 -0
- data/app/pb_kits/playbook/pb_card/docs/example.yml +12 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/index.js +1 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_header.html.erb +47 -31
- data/app/pb_kits/playbook/pb_table/docs/_table_header.md +5 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default_react.jsx +0 -1
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_truncated.html.erb +31 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_truncated.jsx +45 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_truncated.md +5 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/example.yml +3 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/styles.css +7 -0
- data/dist/playbook-doc.js +8 -8
- metadata +25 -4
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_disabled.jsx +0 -33
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_disabled.md +0 -3
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui_docs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 13.10.0.pre.alpha.
|
4
|
+
version: 13.10.0.pre.alpha.play10561409
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-11-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: playbook_ui
|
@@ -150,19 +150,23 @@ files:
|
|
150
150
|
- app/pb_kits/playbook/pb_button/docs/_button_block_content.html.erb
|
151
151
|
- app/pb_kits/playbook/pb_button/docs/_button_block_content.jsx
|
152
152
|
- app/pb_kits/playbook/pb_button/docs/_button_block_content.md
|
153
|
+
- app/pb_kits/playbook/pb_button/docs/_button_circle_swift.md
|
153
154
|
- app/pb_kits/playbook/pb_button/docs/_button_default.html.erb
|
154
155
|
- app/pb_kits/playbook/pb_button/docs/_button_default.jsx
|
155
156
|
- app/pb_kits/playbook/pb_button/docs/_button_default.md
|
157
|
+
- app/pb_kits/playbook/pb_button/docs/_button_default_swift.md
|
156
158
|
- app/pb_kits/playbook/pb_button/docs/_button_form.html.erb
|
157
159
|
- app/pb_kits/playbook/pb_button/docs/_button_form.jsx
|
158
160
|
- app/pb_kits/playbook/pb_button/docs/_button_full_width.html.erb
|
159
161
|
- app/pb_kits/playbook/pb_button/docs/_button_full_width.jsx
|
160
162
|
- app/pb_kits/playbook/pb_button/docs/_button_full_width.md
|
163
|
+
- app/pb_kits/playbook/pb_button/docs/_button_full_width_swift.md
|
161
164
|
- app/pb_kits/playbook/pb_button/docs/_button_hover.html.erb
|
162
165
|
- app/pb_kits/playbook/pb_button/docs/_button_hover.jsx
|
163
166
|
- app/pb_kits/playbook/pb_button/docs/_button_icon_options.html.erb
|
164
167
|
- app/pb_kits/playbook/pb_button/docs/_button_icon_options.jsx
|
165
168
|
- app/pb_kits/playbook/pb_button/docs/_button_icon_options.md
|
169
|
+
- app/pb_kits/playbook/pb_button/docs/_button_icon_options_swift.md
|
166
170
|
- app/pb_kits/playbook/pb_button/docs/_button_link.html.erb
|
167
171
|
- app/pb_kits/playbook/pb_button/docs/_button_link.jsx
|
168
172
|
- app/pb_kits/playbook/pb_button/docs/_button_link.md
|
@@ -171,12 +175,14 @@ files:
|
|
171
175
|
- app/pb_kits/playbook/pb_button/docs/_button_loading.md
|
172
176
|
- app/pb_kits/playbook/pb_button/docs/_button_options.html.erb
|
173
177
|
- app/pb_kits/playbook/pb_button/docs/_button_options.jsx
|
178
|
+
- app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
|
174
179
|
- app/pb_kits/playbook/pb_button/docs/_button_reaction.html.erb
|
175
180
|
- app/pb_kits/playbook/pb_button/docs/_button_reaction.jsx
|
176
181
|
- app/pb_kits/playbook/pb_button/docs/_button_reaction.md
|
177
182
|
- app/pb_kits/playbook/pb_button/docs/_button_size.html.erb
|
178
183
|
- app/pb_kits/playbook/pb_button/docs/_button_size.jsx
|
179
184
|
- app/pb_kits/playbook/pb_button/docs/_button_size.md
|
185
|
+
- app/pb_kits/playbook/pb_button/docs/_button_size_swift.md
|
180
186
|
- app/pb_kits/playbook/pb_button/docs/_footer.md
|
181
187
|
- app/pb_kits/playbook/pb_button/docs/example.yml
|
182
188
|
- app/pb_kits/playbook/pb_button/docs/index.js
|
@@ -201,33 +207,46 @@ files:
|
|
201
207
|
- app/pb_kits/playbook/pb_card/docs/_card_background.html.erb
|
202
208
|
- app/pb_kits/playbook/pb_card/docs/_card_background.jsx
|
203
209
|
- app/pb_kits/playbook/pb_card/docs/_card_background.md
|
210
|
+
- app/pb_kits/playbook/pb_card/docs/_card_background_swift.md
|
204
211
|
- app/pb_kits/playbook/pb_card/docs/_card_border_none.html.erb
|
205
212
|
- app/pb_kits/playbook/pb_card/docs/_card_border_none.jsx
|
206
213
|
- app/pb_kits/playbook/pb_card/docs/_card_border_none.md
|
214
|
+
- app/pb_kits/playbook/pb_card/docs/_card_border_none_swift.md
|
207
215
|
- app/pb_kits/playbook/pb_card/docs/_card_border_radius.html.erb
|
208
216
|
- app/pb_kits/playbook/pb_card/docs/_card_border_radius.jsx
|
209
217
|
- app/pb_kits/playbook/pb_card/docs/_card_border_radius.md
|
218
|
+
- app/pb_kits/playbook/pb_card/docs/_card_border_radius_swift.md
|
210
219
|
- app/pb_kits/playbook/pb_card/docs/_card_content.html.erb
|
211
220
|
- app/pb_kits/playbook/pb_card/docs/_card_content.jsx
|
212
221
|
- app/pb_kits/playbook/pb_card/docs/_card_header.html.erb
|
213
222
|
- app/pb_kits/playbook/pb_card/docs/_card_header.jsx
|
214
223
|
- app/pb_kits/playbook/pb_card/docs/_card_header.md
|
224
|
+
- app/pb_kits/playbook/pb_card/docs/_card_header_swift.md
|
215
225
|
- app/pb_kits/playbook/pb_card/docs/_card_highlight.html.erb
|
216
226
|
- app/pb_kits/playbook/pb_card/docs/_card_highlight.jsx
|
217
227
|
- app/pb_kits/playbook/pb_card/docs/_card_highlight.md
|
228
|
+
- app/pb_kits/playbook/pb_card/docs/_card_highlight_swift.md
|
218
229
|
- app/pb_kits/playbook/pb_card/docs/_card_light.html.erb
|
219
230
|
- app/pb_kits/playbook/pb_card/docs/_card_light.jsx
|
220
231
|
- app/pb_kits/playbook/pb_card/docs/_card_light.md
|
232
|
+
- app/pb_kits/playbook/pb_card/docs/_card_light_swift.md
|
221
233
|
- app/pb_kits/playbook/pb_card/docs/_card_padding.html.erb
|
222
234
|
- app/pb_kits/playbook/pb_card/docs/_card_padding.jsx
|
235
|
+
- app/pb_kits/playbook/pb_card/docs/_card_padding_swift.md
|
236
|
+
- app/pb_kits/playbook/pb_card/docs/_card_props_swift.md
|
223
237
|
- app/pb_kits/playbook/pb_card/docs/_card_selected.html.erb
|
224
238
|
- app/pb_kits/playbook/pb_card/docs/_card_selected.jsx
|
239
|
+
- app/pb_kits/playbook/pb_card/docs/_card_selected_swift.md
|
225
240
|
- app/pb_kits/playbook/pb_card/docs/_card_separator.html.erb
|
226
241
|
- app/pb_kits/playbook/pb_card/docs/_card_separator.jsx
|
242
|
+
- app/pb_kits/playbook/pb_card/docs/_card_separator_swift.md
|
227
243
|
- app/pb_kits/playbook/pb_card/docs/_card_shadow.html.erb
|
228
244
|
- app/pb_kits/playbook/pb_card/docs/_card_shadow.jsx
|
245
|
+
- app/pb_kits/playbook/pb_card/docs/_card_shadow_swift.md
|
246
|
+
- app/pb_kits/playbook/pb_card/docs/_card_styles_swift.md
|
229
247
|
- app/pb_kits/playbook/pb_card/docs/_card_tag.html.erb
|
230
248
|
- app/pb_kits/playbook/pb_card/docs/_card_tag.jsx
|
249
|
+
- app/pb_kits/playbook/pb_card/docs/_card_tag_swift.md
|
231
250
|
- app/pb_kits/playbook/pb_card/docs/example.yml
|
232
251
|
- app/pb_kits/playbook/pb_card/docs/index.js
|
233
252
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_checked.html.erb
|
@@ -1140,8 +1159,6 @@ files:
|
|
1140
1159
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_templates.jsx
|
1141
1160
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_bottom.html.erb
|
1142
1161
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_bottom.jsx
|
1143
|
-
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_disabled.jsx
|
1144
|
-
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_disabled.md
|
1145
1162
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml
|
1146
1163
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/index.js
|
1147
1164
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/templates.js
|
@@ -1496,9 +1513,13 @@ files:
|
|
1496
1513
|
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_margin.md
|
1497
1514
|
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_selectors.html.erb
|
1498
1515
|
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_selectors.md
|
1516
|
+
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_truncated.html.erb
|
1517
|
+
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_truncated.jsx
|
1518
|
+
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_truncated.md
|
1499
1519
|
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_with_icon_circle.html.erb
|
1500
1520
|
- app/pb_kits/playbook/pb_tooltip/docs/example.yml
|
1501
1521
|
- app/pb_kits/playbook/pb_tooltip/docs/index.js
|
1522
|
+
- app/pb_kits/playbook/pb_tooltip/docs/styles.css
|
1502
1523
|
- app/pb_kits/playbook/pb_treemap_chart/docs/_description.md
|
1503
1524
|
- app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_colors.html.erb
|
1504
1525
|
- app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_colors.jsx
|
@@ -1,33 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
import { useEditor, EditorContent } from "@tiptap/react";
|
3
|
-
|
4
|
-
import { RichTextEditor } from "../..";
|
5
|
-
|
6
|
-
import Document from "@tiptap/extension-document";
|
7
|
-
import Paragraph from "@tiptap/extension-paragraph";
|
8
|
-
import Text from "@tiptap/extension-text";
|
9
|
-
|
10
|
-
const RichTextEditorToolbarDisabled = (props) => {
|
11
|
-
const editor = useEditor({
|
12
|
-
extensions: [Document, Paragraph, Text],
|
13
|
-
content:
|
14
|
-
"Add your text here. You can format your text, add links, quotes, and bullets.",
|
15
|
-
});
|
16
|
-
if (!editor) {
|
17
|
-
return null;
|
18
|
-
}
|
19
|
-
|
20
|
-
return (
|
21
|
-
<div>
|
22
|
-
<RichTextEditor
|
23
|
-
advancedEditor={editor}
|
24
|
-
advancedEditorToolbar={false}
|
25
|
-
{...props}
|
26
|
-
>
|
27
|
-
<EditorContent editor={editor} />
|
28
|
-
</RichTextEditor>
|
29
|
-
</div>
|
30
|
-
);
|
31
|
-
};
|
32
|
-
|
33
|
-
export default RichTextEditorToolbarDisabled;
|
@@ -1,3 +0,0 @@
|
|
1
|
-
This variant allows you to optionally include the default toolbar.
|
2
|
-
|
3
|
-
The default toolbar relies on [Tiptap's StarterKit](https://tiptap.dev/api/extensions/starter-kit) which might add that are not necessary for your application. Setting the `advancedEditorToobar` to false enables you to instantiate an editor with the minimum requirements.
|