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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a9910aa7ddf2bedaba1ac25b50e36262211927ec14e1959ec60dbd5d178ec937
4
- data.tar.gz: 8c0f71901ebc99aa4dcc522cb4ac2332655577ae3a50034abd9a5818be4fc085
3
+ metadata.gz: 6f70385b8fc1c172b580812a4e9624d392c50b3b49dbf91ba903b954d39116bb
4
+ data.tar.gz: 9c5102ab42b21bc22490a34fbcf4756636659a0f4cf9bf827542fa27a5862a50
5
5
  SHA512:
6
- metadata.gz: 7ebe74f371e1fba8e4cdf565ed8e1dbb99798bc55d8399021c396852dcb16d64753d2548549f4ee86b706c8323cb28b92e66fae42db6d22442b366cb7fe7cdbf
7
- data.tar.gz: 8d3727a0257faca87c5c66ddae889bd68e17a028b9351d1a21b194d19c3f4ea7b0dd93a67f3060e7054e128af70f81df3038319272e2ad07ed68be5d0b0cf43d
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,12 @@
1
+ ![checkbox-error](https://github.com/powerhome/playbook/assets/92755007/6466de7f-fbfb-418b-8c5a-74d07a0c4f63)
2
+
3
+ ```swift
4
+
5
+ PBCheckbox(
6
+ checked: false,
7
+ checkboxType: .error,
8
+ text: "Error",
9
+ action: {}
10
+ )
11
+
12
+ ```
@@ -0,0 +1,12 @@
1
+ ![checkbox-indeterminate](https://github.com/powerhome/playbook/assets/92755007/eacd6976-bd00-41a9-aca1-75ce23b6a58c)
2
+
3
+ ```swift
4
+
5
+ PBCheckbox(
6
+ checked: true,
7
+ checkboxType: .indeterminate,
8
+ text: "Indeterminate",
9
+ action: {}
10
+ )
11
+
12
+ ```
@@ -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,7 @@
1
+ ![icon-circle-default](https://github.com/powerhome/playbook/assets/92755007/d5de652d-ff9e-4b54-b55e-a3bf58d7cb23)
2
+
3
+ ```swift
4
+
5
+ PBIconCircle(FontAwesome.rocket)
6
+
7
+ ```
@@ -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
+
@@ -14,6 +14,7 @@ const TooltipDefaultReact = (props) => {
14
14
  >
15
15
  <FlexItem>
16
16
  <Tooltip
17
+ className={"customClassNameHere"}
17
18
  placement='top'
18
19
  text="Whoa. I'm a Tooltip"
19
20
  zIndex={10}
@@ -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'