playbook_ui_docs 13.10.0.pre.alpha.play10561428 → 13.10.0.pre.alpha.webpackerregistercomponents1463
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_checkbox/docs/_checkbox_default_swift.md +10 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error_swift.md +12 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate_swift.md +12 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_props_swift.md +7 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/example.yml +7 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_props.md +6 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_swift.md +16 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_defaul_swift.md +7 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes_swift.md +11 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/example.yml +7 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default_react.jsx +1 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/example.yml +0 -3
- data/app/pb_kits/playbook/pb_tooltip/docs/index.js +0 -1
- data/dist/playbook-doc.js +8 -8
- metadata +10 -6
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_truncated.html.erb +0 -31
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_truncated.jsx +0 -45
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_truncated.md +0 -5
- data/app/pb_kits/playbook/pb_tooltip/docs/styles.css +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f70385b8fc1c172b580812a4e9624d392c50b3b49dbf91ba903b954d39116bb
|
4
|
+
data.tar.gz: 9c5102ab42b21bc22490a34fbcf4756636659a0f4cf9bf827542fa27a5862a50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecc654cbfa8824cfe903eb41ce4f63b5fe16ff1bed39e5ba4313d11a24eb55db59009c8b590c7851157e48f66a384efd57e5bc5be14d510ae7aae1fb40b111d0
|
7
|
+
data.tar.gz: 384519a88b90227f8a12885f27606354eff71281ea074cf9791d0e7f152fde06850285390fa5f9e3f926c283226b3fc980bdef612296c8bf341c0d81a5257805
|
@@ -0,0 +1,10 @@
|
|
1
|
+
![checkbox-default](https://github.com/powerhome/playbook/assets/92755007/dc3af1fb-8786-4002-ac64-3111b5b8c476)
|
2
|
+
|
3
|
+
```swift
|
4
|
+
|
5
|
+
PBCheckbox(checked: false, text: "Unchecked", action: {})
|
6
|
+
.padding(.bottom, Spacing.small)
|
7
|
+
|
8
|
+
PBCheckbox(checked: true, text: "Checked", action: {})
|
9
|
+
|
10
|
+
```
|
@@ -0,0 +1,7 @@
|
|
1
|
+
### Props
|
2
|
+
| Name | Type | Description | Default | Values |
|
3
|
+
| --- | ----------- | --------- | --------- | --------- |
|
4
|
+
| **Checked** | `Bool` | Adds a check to the Checkbox | `false` | `true` `false` |
|
5
|
+
| **Checkbox Type** | `CheckboxType` | Changes the style of the Checkbox | `default` | `default` `error` `indeterminate` |
|
6
|
+
| **Text** | `String` | Adds a text label | `nil` | |
|
7
|
+
| **Action** | `(() -> Void)` | Adds an action | `{}` | |
|
@@ -13,3 +13,10 @@ examples:
|
|
13
13
|
- checkbox_custom: Custom Checkbox
|
14
14
|
- checkbox_error: Default w/ Error
|
15
15
|
- checkbox_indeterminate: Indeterminate Checkbox
|
16
|
+
|
17
|
+
swift:
|
18
|
+
- checkbox_default_swift: Default
|
19
|
+
- checkbox_error_swift: Default w/ Error
|
20
|
+
- checkbox_indeterminate_swift: Indeterminate Checkbox
|
21
|
+
- checkbox_props_swift: ""
|
22
|
+
|
@@ -0,0 +1,6 @@
|
|
1
|
+
### Props
|
2
|
+
| Name | Type | Description | Default | Values |
|
3
|
+
| --- | ----------- | --------- | --------- | --------- |
|
4
|
+
| **Icon** | `PlaybookGenericIcon` | Sets the kit's Icon | | |
|
5
|
+
| **Size** | `PBIcon.IconSize` | Changes the size of the Circle Icon | `.x1` | `xSmall` `small` `large` `x1` `x2` `x3` `x4` `x5` `x6` `x7` `x8` `x9` `x10` |
|
6
|
+
| **Color** | `Color` | Changes color of the Icon and background | `.status(.neutral)` | `Color` |
|
@@ -0,0 +1,16 @@
|
|
1
|
+
![icon-circle-colors](https://github.com/powerhome/playbook/assets/92755007/d6507900-98e9-49fb-acfb-a238bef08d1b)
|
2
|
+
|
3
|
+
```swift
|
4
|
+
|
5
|
+
VStack(spacing: Spacing.small) {
|
6
|
+
PBIconCircle(FontAwesome.rocket, size: .small, color: Color.data(.data1))
|
7
|
+
PBIconCircle(FontAwesome.rocket, size: .small, color: Color.data(.data2))
|
8
|
+
PBIconCircle(FontAwesome.rocket, size: .small, color: Color.data(.data3))
|
9
|
+
PBIconCircle(FontAwesome.rocket, size: .small, color: Color.data(.data4))
|
10
|
+
PBIconCircle(FontAwesome.rocket, size: .small, color: Color.data(.data5))
|
11
|
+
PBIconCircle(FontAwesome.rocket, size: .small, color: Color.data(.data6))
|
12
|
+
PBIconCircle(FontAwesome.rocket, size: .small, color: Color.data(.data7))
|
13
|
+
PBIconCircle(FontAwesome.rocket, size: .small, color: Color.data(.data8))
|
14
|
+
}
|
15
|
+
|
16
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
![circle-icon-sizes](https://github.com/powerhome/playbook/assets/92755007/2a474df1-5712-4c2a-9d6b-fb740ae949f2)
|
2
|
+
|
3
|
+
```swift
|
4
|
+
|
5
|
+
VStack(alignment: .leading, spacing: Spacing.small) {
|
6
|
+
PBIconCircle(FontAwesome.rocket, size: .small)
|
7
|
+
PBIconCircle(FontAwesome.rocket, size: .x1)
|
8
|
+
PBIconCircle(FontAwesome.rocket, size: .large)
|
9
|
+
}
|
10
|
+
|
11
|
+
```
|
@@ -12,3 +12,10 @@ examples:
|
|
12
12
|
- icon_circle_sizes: Size
|
13
13
|
- icon_circle_color: Color
|
14
14
|
- icon_circle_emoji: With Emoji
|
15
|
+
|
16
|
+
swift:
|
17
|
+
- icon_circle_defaul_swift: Default
|
18
|
+
- icon_circle_sizes_swift: Size
|
19
|
+
- icon_circle_color_swift: Color
|
20
|
+
- icon_circle_color_props: ""
|
21
|
+
|
@@ -4,7 +4,6 @@ examples:
|
|
4
4
|
- tooltip_default: Default
|
5
5
|
- tooltip_selectors: Using Common Selectors
|
6
6
|
- tooltip_with_icon_circle: Icon Circle Tooltip
|
7
|
-
- tooltip_truncated: Text Truncation
|
8
7
|
|
9
8
|
react:
|
10
9
|
- tooltip_default_react: Default
|
@@ -12,5 +11,3 @@ examples:
|
|
12
11
|
- tooltip_margin: Margin
|
13
12
|
- tooltip_icon: Tooltip with Icon
|
14
13
|
- tooltip_delay: Delay
|
15
|
-
- tooltip_truncated: Text Truncation
|
16
|
-
|
@@ -3,4 +3,3 @@ export { default as TooltipInteraction } from './_tooltip_interaction'
|
|
3
3
|
export { default as TooltipMargin } from './_tooltip_margin'
|
4
4
|
export { default as TooltipIcon } from './_tooltip_icon'
|
5
5
|
export { default as TooltipDelay } from './_tooltip_delay'
|
6
|
-
export { default as TooltipTruncated } from './_tooltip_truncated'
|