playbook_ui_docs 13.12.0.pre.alpha.play1051testhighcharts1581 → 13.12.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_section_separator/docs/example.yml +0 -8
- data/app/pb_kits/playbook/pb_textarea/docs/example.yml +0 -5
- data/dist/playbook-doc.js +8 -8
- metadata +7 -16
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_children_swift.md +0 -14
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_dashed_swift.md +0 -7
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_line_swift.md +0 -8
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_props_swift.md +0 -8
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text_swift.md +0 -7
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical_swift.md +0 -18
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_default_swift.md +0 -27
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_error_swift.md +0 -11
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_props_swift.md +0 -9
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui_docs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 13.12.0
|
4
|
+
version: 13.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
8
8
|
- Power Devs
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-11-
|
12
|
+
date: 2023-11-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: playbook_ui
|
@@ -1201,20 +1201,14 @@ files:
|
|
1201
1201
|
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_children.html.erb
|
1202
1202
|
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_children.jsx
|
1203
1203
|
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_children.md
|
1204
|
-
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_children_swift.md
|
1205
1204
|
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_dashed.html.erb
|
1206
1205
|
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_dashed.jsx
|
1207
|
-
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_dashed_swift.md
|
1208
1206
|
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_line.html.erb
|
1209
1207
|
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_line.jsx
|
1210
|
-
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_line_swift.md
|
1211
|
-
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_props_swift.md
|
1212
1208
|
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text.html.erb
|
1213
1209
|
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text.jsx
|
1214
|
-
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text_swift.md
|
1215
1210
|
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical.html.erb
|
1216
1211
|
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical.jsx
|
1217
|
-
- app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical_swift.md
|
1218
1212
|
- app/pb_kits/playbook/pb_section_separator/docs/example.yml
|
1219
1213
|
- app/pb_kits/playbook/pb_section_separator/docs/index.js
|
1220
1214
|
- app/pb_kits/playbook/pb_select/docs/_description.md
|
@@ -1422,14 +1416,11 @@ files:
|
|
1422
1416
|
- app/pb_kits/playbook/pb_textarea/docs/_textarea_custom.jsx
|
1423
1417
|
- app/pb_kits/playbook/pb_textarea/docs/_textarea_default.html.erb
|
1424
1418
|
- app/pb_kits/playbook/pb_textarea/docs/_textarea_default.jsx
|
1425
|
-
- app/pb_kits/playbook/pb_textarea/docs/_textarea_default_swift.md
|
1426
1419
|
- app/pb_kits/playbook/pb_textarea/docs/_textarea_error.html.erb
|
1427
1420
|
- app/pb_kits/playbook/pb_textarea/docs/_textarea_error.jsx
|
1428
1421
|
- app/pb_kits/playbook/pb_textarea/docs/_textarea_error.md
|
1429
|
-
- app/pb_kits/playbook/pb_textarea/docs/_textarea_error_swift.md
|
1430
1422
|
- app/pb_kits/playbook/pb_textarea/docs/_textarea_inline.html.erb
|
1431
1423
|
- app/pb_kits/playbook/pb_textarea/docs/_textarea_inline.jsx
|
1432
|
-
- app/pb_kits/playbook/pb_textarea/docs/_textarea_props_swift.md
|
1433
1424
|
- app/pb_kits/playbook/pb_textarea/docs/_textarea_resize.html.erb
|
1434
1425
|
- app/pb_kits/playbook/pb_textarea/docs/_textarea_resize.jsx
|
1435
1426
|
- app/pb_kits/playbook/pb_textarea/docs/example.yml
|
@@ -1667,7 +1658,7 @@ homepage: https://playbook.powerapp.cloud/
|
|
1667
1658
|
licenses:
|
1668
1659
|
- ISC
|
1669
1660
|
metadata: {}
|
1670
|
-
post_install_message:
|
1661
|
+
post_install_message:
|
1671
1662
|
rdoc_options: []
|
1672
1663
|
require_paths:
|
1673
1664
|
- lib
|
@@ -1678,12 +1669,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1678
1669
|
version: '0'
|
1679
1670
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1680
1671
|
requirements:
|
1681
|
-
- - "
|
1672
|
+
- - ">="
|
1682
1673
|
- !ruby/object:Gem::Version
|
1683
|
-
version:
|
1674
|
+
version: '0'
|
1684
1675
|
requirements: []
|
1685
1676
|
rubygems_version: 3.3.7
|
1686
|
-
signing_key:
|
1677
|
+
signing_key:
|
1687
1678
|
specification_version: 4
|
1688
1679
|
summary: Playbook Design System Docs
|
1689
1680
|
test_files: []
|
@@ -1,14 +0,0 @@
|
|
1
|
-
|
2
|
-
![section-separator-children](https://github.com/powerhome/playbook/assets/92755007/acd6a8eb-d034-4efd-b2e6-afabe739e678)
|
3
|
-
|
4
|
-
```swift
|
5
|
-
|
6
|
-
PBSectionSeparator(variant: .dashed) {
|
7
|
-
PBCard(alignment: .center, borderRadius: BorderRadius.rounded, padding: Spacing.xxSmall, width: 70) {
|
8
|
-
Text("Today")
|
9
|
-
.pbFont(.caption)
|
10
|
-
.frame(maxWidth: .infinity, alignment: .center)
|
11
|
-
}
|
12
|
-
}
|
13
|
-
|
14
|
-
```
|
@@ -1,8 +0,0 @@
|
|
1
|
-
### Props
|
2
|
-
| Name | Type | Description | Default | Values |
|
3
|
-
| --- | ----------- | --------- | --------- | --------- |
|
4
|
-
| **text** | `String` | Adds text to the Section Separator | `nil` | |
|
5
|
-
| **orientation** | `Orientation` | Changes the orientation | `.horizontal` | `.horizontal` `.vertical` |
|
6
|
-
| **variant** | `Variant` | Changes the style of the Section Separator | `.card` | `.dashed` `.card` |
|
7
|
-
| **dividerOpacity** | `CGFloat` | Adjusts the opacity of the divider | `1` | |
|
8
|
-
| **margin** | `CGFloat` | Adds margin between text and the divider | `Spacing.xSmall` | `Spacing.none` `Spacing.xxSmall` `Spacing.xSmall` `Spacing.small` `Spacing.medium` `Spacing.large` `Spacing.xLarge` |
|
@@ -1,18 +0,0 @@
|
|
1
|
-
![section-separator-verticle](https://github.com/powerhome/playbook/assets/92755007/21ca54a5-6b8a-459f-91ad-4e9b68258f68)
|
2
|
-
|
3
|
-
```swift
|
4
|
-
|
5
|
-
let loremIpsum: some View = Text(
|
6
|
-
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididt labore et dolore"
|
7
|
-
)
|
8
|
-
|
9
|
-
HStack(spacing: Spacing.none) {
|
10
|
-
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididt labore et dolore"
|
11
|
-
PBSectionSeparator(orientation: .vertical)
|
12
|
-
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididt labore et dolore"
|
13
|
-
}
|
14
|
-
.frame(maxWidth: .infinity)
|
15
|
-
.frame(height: 120, alignment: .center)
|
16
|
-
.listRowSeparator(.hidden)
|
17
|
-
|
18
|
-
```
|
@@ -1,27 +0,0 @@
|
|
1
|
-
![textarea-default](https://github.com/powerhome/playbook/assets/92755007/40eec958-63d7-4840-bf5c-f8d1e34c911a)
|
2
|
-
|
3
|
-
```swift
|
4
|
-
|
5
|
-
@State var defaultText = ""
|
6
|
-
@State var placeholderText = ""
|
7
|
-
@State var customText = "Default value text"
|
8
|
-
|
9
|
-
VStack(alignment: .leading, spacing: Spacing.small) {
|
10
|
-
PBTextArea(
|
11
|
-
"Label",
|
12
|
-
text: $defaultText
|
13
|
-
)
|
14
|
-
|
15
|
-
PBTextArea(
|
16
|
-
"Label",
|
17
|
-
text: $placeholderText,
|
18
|
-
placeholder: "Placeholder with text"
|
19
|
-
)
|
20
|
-
|
21
|
-
PBTextArea(
|
22
|
-
"Label",
|
23
|
-
text: $customText
|
24
|
-
)
|
25
|
-
}
|
26
|
-
|
27
|
-
```
|
@@ -1,9 +0,0 @@
|
|
1
|
-
### Props
|
2
|
-
| Name | Type | Description | Default | Values |
|
3
|
-
| --- | ----------- | --------- | --------- | --------- |
|
4
|
-
| **characterCount** | `CharacterCount` | Adds a character counter to the Textarea | `.noCount` | `.noCount` `.count` `.maxCharacterCount` `.maxCharacterCountBlock` `.maxCharacterCountError` |
|
5
|
-
| **inline** | `Bool` | Changes the style of the Textarea | `false` | `true` `false` |
|
6
|
-
| **label** | `String` | Adds a label | `nil` | |
|
7
|
-
| **placeholder** | `String` | Adds placeholder text | `nil` | |
|
8
|
-
| **text** | `String` | Sets the Textarea's text value | `Binding<String>` | |
|
9
|
-
| **error** | `String` | Changes the style of the Textarea | `nil` | |
|