playbook_ui 13.12.0.pre.alpha.play1051highchartstest1567 → 13.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx +32 -36
  3. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx +63 -68
  4. data/app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.ts +3 -257
  5. data/app/pb_kits/playbook/pb_gauge/_gauge.tsx +47 -59
  6. data/app/pb_kits/playbook/pb_line_graph/_line_graph.tsx +34 -40
  7. data/app/pb_kits/playbook/pb_section_separator/docs/example.yml +0 -8
  8. data/app/pb_kits/playbook/pb_textarea/docs/example.yml +0 -5
  9. data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.tsx +102 -107
  10. data/app/pb_kits/playbook/playbook-doc.js +4 -4
  11. data/app/pb_kits/playbook/playbook-rails-react-bindings.js +4 -4
  12. data/dist/playbook-rails.js +7 -7
  13. data/lib/playbook/version.rb +2 -2
  14. metadata +7 -16
  15. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_children_swift.md +0 -14
  16. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_dashed_swift.md +0 -7
  17. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_line_swift.md +0 -8
  18. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_props_swift.md +0 -8
  19. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text_swift.md +0 -7
  20. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical_swift.md +0 -18
  21. data/app/pb_kits/playbook/pb_textarea/docs/_textarea_default_swift.md +0 -27
  22. data/app/pb_kits/playbook/pb_textarea/docs/_textarea_error_swift.md +0 -11
  23. data/app/pb_kits/playbook/pb_textarea/docs/_textarea_props_swift.md +0 -9
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- PREVIOUS_VERSION = "13.12.0"
5
- VERSION = "13.12.0.pre.alpha.play1051highchartstest1567"
4
+ PREVIOUS_VERSION = "13.11.1"
5
+ VERSION = "13.12.0"
6
6
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.12.0.pre.alpha.play1051highchartstest1567
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-29 00:00:00.000000000 Z
12
+ date: 2023-11-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -1922,20 +1922,14 @@ files:
1922
1922
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_children.html.erb
1923
1923
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_children.jsx
1924
1924
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_children.md
1925
- - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_children_swift.md
1926
1925
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_dashed.html.erb
1927
1926
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_dashed.jsx
1928
- - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_dashed_swift.md
1929
1927
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_line.html.erb
1930
1928
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_line.jsx
1931
- - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_line_swift.md
1932
- - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_props_swift.md
1933
1929
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text.html.erb
1934
1930
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text.jsx
1935
- - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text_swift.md
1936
1931
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical.html.erb
1937
1932
  - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical.jsx
1938
- - app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical_swift.md
1939
1933
  - app/pb_kits/playbook/pb_section_separator/docs/example.yml
1940
1934
  - app/pb_kits/playbook/pb_section_separator/docs/index.js
1941
1935
  - app/pb_kits/playbook/pb_section_separator/section_separator.html.erb
@@ -2233,14 +2227,11 @@ files:
2233
2227
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_custom.jsx
2234
2228
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_default.html.erb
2235
2229
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_default.jsx
2236
- - app/pb_kits/playbook/pb_textarea/docs/_textarea_default_swift.md
2237
2230
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_error.html.erb
2238
2231
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_error.jsx
2239
2232
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_error.md
2240
- - app/pb_kits/playbook/pb_textarea/docs/_textarea_error_swift.md
2241
2233
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_inline.html.erb
2242
2234
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_inline.jsx
2243
- - app/pb_kits/playbook/pb_textarea/docs/_textarea_props_swift.md
2244
2235
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_resize.html.erb
2245
2236
  - app/pb_kits/playbook/pb_textarea/docs/_textarea_resize.jsx
2246
2237
  - app/pb_kits/playbook/pb_textarea/docs/example.yml
@@ -2710,7 +2701,7 @@ homepage: https://playbook.powerapp.cloud/
2710
2701
  licenses:
2711
2702
  - ISC
2712
2703
  metadata: {}
2713
- post_install_message:
2704
+ post_install_message:
2714
2705
  rdoc_options: []
2715
2706
  require_paths:
2716
2707
  - lib
@@ -2721,12 +2712,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
2721
2712
  version: '0'
2722
2713
  required_rubygems_version: !ruby/object:Gem::Requirement
2723
2714
  requirements:
2724
- - - ">"
2715
+ - - ">="
2725
2716
  - !ruby/object:Gem::Version
2726
- version: 1.3.1
2717
+ version: '0'
2727
2718
  requirements: []
2728
2719
  rubygems_version: 3.3.7
2729
- signing_key:
2720
+ signing_key:
2730
2721
  specification_version: 4
2731
2722
  summary: Playbook Design System
2732
2723
  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,7 +0,0 @@
1
- ![section-separator-dashed](https://github.com/powerhome/playbook/assets/92755007/e4f01870-3d90-4655-9136-5c7565711e1f)
2
-
3
- ```swift
4
-
5
- PBSectionSeparator(variant: .dashed)
6
-
7
- ```
@@ -1,8 +0,0 @@
1
-
2
- ![section-separator-default](https://github.com/powerhome/playbook/assets/92755007/2560d5e2-f345-42d2-bad9-2a2e031b3e08)
3
-
4
- ```swift
5
-
6
- PBSectionSeparator()
7
-
8
- ```
@@ -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,7 +0,0 @@
1
- ![section-separator-text](https://github.com/powerhome/playbook/assets/92755007/4b481a7d-d001-43b6-b779-cfdc6fffc15f)
2
-
3
- ```swift
4
-
5
- PBSectionSeparator("Text separator")
6
-
7
- ```
@@ -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,11 +0,0 @@
1
- ![textarea-error](https://github.com/powerhome/playbook/assets/92755007/6d47a914-ea0b-4fbc-9f2a-6237935a3b4c)
2
-
3
- ```swift
4
-
5
- PBTextArea(
6
- "Label",
7
- text: $errorText,
8
- error: "This field has an error!"
9
- )
10
-
11
- ```
@@ -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` | |