playbook_ui 15.1.0.pre.alpha.testingtiptap11043 → 15.1.0.pre.alpha.typeaheadscss11143
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.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +11 -0
- data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.tsx +2 -2
- data/app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.scss +15 -21
- data/app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.tsx +6 -5
- data/app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.html.erb +2 -0
- data/app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.rb +11 -3
- data/app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.test.js +9 -8
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/Toolbar.tsx +1 -39
- data/app/pb_kits/playbook/pb_rich_text_editor/_previewer_mixin.scss +13 -3
- data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.tsx +0 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/_tiptap_styles.scss +10 -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 +0 -1
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +10 -10
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.tsx +39 -1
- data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +2 -0
- data/dist/chunks/{_line_graph-Ck_xk6x5.js → _line_graph-B-1uF3pN.js} +1 -1
- data/dist/chunks/{_typeahead-xcdYzO-v.js → _typeahead-C8eN5nhR.js} +1 -1
- data/dist/chunks/{_weekday_stacked-CcaJugnT.js → _weekday_stacked-1o7KVL87.js} +2 -2
- data/dist/chunks/vendor.js +1 -1
- data/dist/playbook-doc.js +2 -2
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/dist/playbook.css +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +5 -6
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_simple.jsx +0 -37
data/lib/playbook/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 15.1.0.pre.alpha.
|
4
|
+
version: 15.1.0.pre.alpha.typeaheadscss11143
|
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: 2025-10-
|
12
|
+
date: 2025-10-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -2703,7 +2703,6 @@ files:
|
|
2703
2703
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_default.jsx
|
2704
2704
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_default.md
|
2705
2705
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_preview.jsx
|
2706
|
-
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_simple.jsx
|
2707
2706
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_attributes.html.erb
|
2708
2707
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_attributes.jsx
|
2709
2708
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.html.erb
|
@@ -3709,9 +3708,9 @@ files:
|
|
3709
3708
|
- app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
|
3710
3709
|
- app/pb_kits/playbook/utilities/text.ts
|
3711
3710
|
- app/pb_kits/playbook/utilities/validEmojiChecker.ts
|
3712
|
-
- dist/chunks/_line_graph-
|
3713
|
-
- dist/chunks/_typeahead-
|
3714
|
-
- dist/chunks/_weekday_stacked-
|
3711
|
+
- dist/chunks/_line_graph-B-1uF3pN.js
|
3712
|
+
- dist/chunks/_typeahead-C8eN5nhR.js
|
3713
|
+
- dist/chunks/_weekday_stacked-1o7KVL87.js
|
3715
3714
|
- dist/chunks/componentRegistry-DzmmLR2x.js
|
3716
3715
|
- dist/chunks/lazysizes-B7xYodB-.js
|
3717
3716
|
- dist/chunks/lib-QZuu1ltS.js
|
@@ -1,37 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
import RichTextEditor from '../../pb_rich_text_editor/_rich_text_editor'
|
3
|
-
import { useEditor, EditorContent } from "@tiptap/react"
|
4
|
-
import StarterKit from "@tiptap/starter-kit"
|
5
|
-
import Link from '@tiptap/extension-link'
|
6
|
-
|
7
|
-
|
8
|
-
const RichTextEditorAdvancedSimple = (props) => {
|
9
|
-
|
10
|
-
const editor = useEditor({
|
11
|
-
extensions: [
|
12
|
-
StarterKit,
|
13
|
-
Link
|
14
|
-
],
|
15
|
-
content:"Add your text here. You can format your text, add links, quotes, and bullets."
|
16
|
-
})
|
17
|
-
if (!editor) {
|
18
|
-
return null
|
19
|
-
}
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
return (
|
25
|
-
<div>
|
26
|
-
<RichTextEditor
|
27
|
-
advancedEditor={editor}
|
28
|
-
simple
|
29
|
-
{...props}
|
30
|
-
>
|
31
|
-
<EditorContent editor={editor}/>
|
32
|
-
</RichTextEditor>
|
33
|
-
</div>
|
34
|
-
)
|
35
|
-
}
|
36
|
-
|
37
|
-
export default RichTextEditorAdvancedSimple
|