playbook_ui 13.9.0 → 13.10.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_avatar/docs/_avatar_default_swift.md +12 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_monogram_swift.md +12 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_props_swift.md +8 -0
- data/app/pb_kits/playbook/pb_avatar/docs/example.yml +3 -1
- data/app/pb_kits/playbook/pb_background/_background.tsx +103 -52
- data/app/pb_kits/playbook/pb_badge/docs/_badge_colors_swift.md +1 -1
- data/app/pb_kits/playbook/pb_button/_button.scss +2 -2
- data/app/pb_kits/playbook/pb_multi_level_select/_helper_functions.tsx +27 -22
- data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.scss +2 -1
- data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx +258 -111
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.html.erb +6 -7
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids.jsx +1 -1
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.html.erb +73 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.jsx +87 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/example.yml +3 -2
- data/app/pb_kits/playbook/pb_multi_level_select/docs/index.js +2 -1
- data/app/pb_kits/playbook/pb_multi_level_select/multi_level_select.rb +7 -0
- data/dist/playbook-rails.js +5 -5
- data/lib/playbook/version.rb +2 -2
- metadata +7 -3
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_swift.md +0 -82
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: 13.
|
4
|
+
version: 13.10.0
|
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: 2023-10-
|
12
|
+
date: 2023-10-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -276,16 +276,18 @@ files:
|
|
276
276
|
- app/pb_kits/playbook/pb_avatar/avatar.test.js
|
277
277
|
- app/pb_kits/playbook/pb_avatar/docs/_avatar_default.html.erb
|
278
278
|
- app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
|
279
|
+
- app/pb_kits/playbook/pb_avatar/docs/_avatar_default_swift.md
|
279
280
|
- app/pb_kits/playbook/pb_avatar/docs/_avatar_monogram.html.erb
|
280
281
|
- app/pb_kits/playbook/pb_avatar/docs/_avatar_monogram.jsx
|
281
282
|
- app/pb_kits/playbook/pb_avatar/docs/_avatar_monogram.md
|
283
|
+
- app/pb_kits/playbook/pb_avatar/docs/_avatar_monogram_swift.md
|
282
284
|
- app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.html.erb
|
283
285
|
- app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
|
284
286
|
- app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.md
|
287
|
+
- app/pb_kits/playbook/pb_avatar/docs/_avatar_props_swift.md
|
285
288
|
- app/pb_kits/playbook/pb_avatar/docs/_avatar_status.html.erb
|
286
289
|
- app/pb_kits/playbook/pb_avatar/docs/_avatar_status.jsx
|
287
290
|
- app/pb_kits/playbook/pb_avatar/docs/_avatar_status.md
|
288
|
-
- app/pb_kits/playbook/pb_avatar/docs/_avatar_swift.md
|
289
291
|
- app/pb_kits/playbook/pb_avatar/docs/_description.md
|
290
292
|
- app/pb_kits/playbook/pb_avatar/docs/_footer.md
|
291
293
|
- app/pb_kits/playbook/pb_avatar/docs/example.yml
|
@@ -1498,6 +1500,8 @@ files:
|
|
1498
1500
|
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids.html.erb
|
1499
1501
|
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids.jsx
|
1500
1502
|
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids.md
|
1503
|
+
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.html.erb
|
1504
|
+
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.jsx
|
1501
1505
|
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_form.html.erb
|
1502
1506
|
- app/pb_kits/playbook/pb_multi_level_select/docs/example.yml
|
1503
1507
|
- app/pb_kits/playbook/pb_multi_level_select/docs/index.js
|
@@ -1,82 +0,0 @@
|
|
1
|
-
In the world of design, consistency is key. Whether you're designing a website, app, or product, having a consistent visual language can make all the difference. That's where design systems come in.
|
2
|
-
|
3
|
-
A design system is a collection of reusable components, guidelines, and assets that help ensure consistency across all of your design work. It's a way to standardize your design language, making it easier for your team to work together and for your users to navigate your products.
|
4
|
-
|
5
|
-
In this article, we'll explore the various elements of a design system and how they can be used to create a cohesive and effective design language.
|
6
|
-
|
7
|
-
### Headings
|
8
|
-
Headings are an essential component of any design system. They help organize content, provide visual hierarchy, and make it easier for users to scan and find what they're looking for. A good design system will have headings of various sizes, ranging from H1 (the largest) to H6 (the smallest). Here's an example:
|
9
|
-
|
10
|
-
# H1: Main Title Headings
|
11
|
-
## H2: Headings
|
12
|
-
### H3: Subheadings
|
13
|
-
#### H4: Sub-Subheadings
|
14
|
-
|
15
|
-
![image for avatar](https://images.unsplash.com/photo-1684237276530-a562fa8338b1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=580&q=80)
|
16
|
-
|
17
|
-
### Lists
|
18
|
-
Lists are another important component of a design system. They help organize content into easily digestible chunks, making it easier for users to read and understand. There are two types of lists: ordered and unordered.
|
19
|
-
|
20
|
-
Ordered lists are numbered, and each item is listed in a specific order. For example:
|
21
|
-
|
22
|
-
1. Headings
|
23
|
-
2. Lists
|
24
|
-
3. Blockquotes
|
25
|
-
4. Links
|
26
|
-
5. Bold
|
27
|
-
6. Underline
|
28
|
-
7. Code Blocks
|
29
|
-
8. Inline Code
|
30
|
-
9. Example Tables
|
31
|
-
10. Horizontal Rules
|
32
|
-
|
33
|
-
Unordered lists, on the other hand, use bullet points to separate each item. For example:
|
34
|
-
|
35
|
-
* Headings
|
36
|
-
* Lists
|
37
|
-
* Blockquotes
|
38
|
-
* Links
|
39
|
-
* Bold
|
40
|
-
* Underline
|
41
|
-
* Code Blocks
|
42
|
-
* Inline Code
|
43
|
-
* Example Tables
|
44
|
-
* Horizontal Rules
|
45
|
-
|
46
|
-
### Blockquotes
|
47
|
-
Blockquotes are used to highlight a particular section of text or quote. They’re often used to emphasize an important point or to provide context. Here’s an example:
|
48
|
-
|
49
|
-
> “Design systems are a collection of reusable components, guidelines, and assets that help ensure consistency across all of your design work.” - ChatGPT
|
50
|
-
|
51
|
-
|
52
|
-
### Links
|
53
|
-
Links are an important part of any design system. They allow users to navigate between different pages and sections of your product. When using links in your design system, it’s important to make sure they’re consistent in color, size, and style. Here’s an example:
|
54
|
-
Click here to learn more about design systems.
|
55
|
-
|
56
|
-
### Bold, Underline, & Italics
|
57
|
-
**Bold** and _underline_ are used to *highlight specific words* or phrases within ~~a block of~~ text. They help draw the user’s attention to important information. Here’s an example: *Design systems are* a collection of **reusable components**, **guidelines**, and **assets** that help ensure _consistency across all of your design work_.
|
58
|
-
|
59
|
-
### Code Blocks and Inline Code
|
60
|
-
Code blocks and `inline code` are used to display and highlight code within a block of text. This is especially useful for developers who need to reference code snippets in their work.
|
61
|
-
|
62
|
-
Here’s an example:
|
63
|
-
|
64
|
-
```js
|
65
|
-
function greet() {
|
66
|
-
console.log(“Hello, world!”);
|
67
|
-
}
|
68
|
-
```
|
69
|
-
|
70
|
-
### Example Tables
|
71
|
-
Example tables are used to display data in a clear and organized way. They help users compare and analyze information quickly. Here’s an example:
|
72
|
-
|
73
|
-
| Tables | Are | Cool |
|
74
|
-
|----------|:-------------:|------:|
|
75
|
-
| col 1 is | left-aligned | $1600 |
|
76
|
-
| col 2 is | centered | $12 |
|
77
|
-
| col 3 is | right-aligned | $1 |
|
78
|
-
|
79
|
-
---
|
80
|
-
|
81
|
-
### Horizontal Rules
|
82
|
-
Horizontal rules are used to separate sections of content visually. They help break up long blocks of text and make it easier for users
|