playbook_ui 12.25.0.pre.alpha.play824786 → 12.25.0.pre.alpha.railsmultilevelimprovements758

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/_playbook.scss +0 -1
  3. data/app/pb_kits/playbook/index.js +0 -1
  4. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_swift.md +1 -82
  5. data/app/pb_kits/playbook/pb_docs/kit_example.html.erb +13 -14
  6. data/app/pb_kits/playbook/pb_form_pill/_form_pill.tsx +2 -3
  7. data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.scss +98 -58
  8. data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx +102 -337
  9. data/app/pb_kits/playbook/pb_multi_level_select/_multi_select_helper.tsx +31 -0
  10. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.html.erb +4 -4
  11. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md +1 -1
  12. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_return_all_selected.html.erb +0 -1
  13. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_form.html.erb +72 -0
  14. data/app/pb_kits/playbook/pb_multi_level_select/docs/example.yml +1 -0
  15. data/app/pb_kits/playbook/pb_multi_level_select/helper_functions.ts +87 -0
  16. data/app/pb_kits/playbook/pb_multi_level_select/multi_level_select.rb +3 -0
  17. data/app/pb_kits/playbook/pb_multi_level_select/multi_level_select.test.jsx +1 -1
  18. data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.tsx +44 -109
  19. data/app/pb_kits/playbook/pb_phone_number_input/docs/example.yml +1 -3
  20. data/app/pb_kits/playbook/pb_phone_number_input/docs/index.js +0 -1
  21. data/app/pb_kits/playbook/pb_phone_number_input/phone_number_input.rb +0 -6
  22. data/app/pb_kits/playbook/pb_phone_number_input/phone_number_input.test.js +62 -110
  23. data/app/pb_kits/playbook/playbook-doc.js +0 -2
  24. data/dist/menu.yml +0 -1
  25. data/dist/playbook-rails.js +7 -7
  26. data/lib/playbook/forms/builder/{intl_telephone_field.rb → multi_level_select_field.rb} +2 -2
  27. data/lib/playbook/forms/builder.rb +1 -1
  28. data/lib/playbook/version.rb +1 -1
  29. metadata +6 -26
  30. data/app/pb_kits/playbook/pb_detail/_detail.scss +0 -44
  31. data/app/pb_kits/playbook/pb_detail/_detail.tsx +0 -55
  32. data/app/pb_kits/playbook/pb_detail/_detail_mixins.scss +0 -29
  33. data/app/pb_kits/playbook/pb_detail/detail.html.erb +0 -7
  34. data/app/pb_kits/playbook/pb_detail/detail.rb +0 -31
  35. data/app/pb_kits/playbook/pb_detail/detail.test.jsx +0 -46
  36. data/app/pb_kits/playbook/pb_detail/docs/_description.md +0 -1
  37. data/app/pb_kits/playbook/pb_detail/docs/_detail_bold.html.erb +0 -34
  38. data/app/pb_kits/playbook/pb_detail/docs/_detail_bold.jsx +0 -49
  39. data/app/pb_kits/playbook/pb_detail/docs/_detail_bold.md +0 -1
  40. data/app/pb_kits/playbook/pb_detail/docs/_detail_colors.html.erb +0 -24
  41. data/app/pb_kits/playbook/pb_detail/docs/_detail_colors.jsx +0 -38
  42. data/app/pb_kits/playbook/pb_detail/docs/_detail_colors.md +0 -6
  43. data/app/pb_kits/playbook/pb_detail/docs/_detail_default.html.erb +0 -3
  44. data/app/pb_kits/playbook/pb_detail/docs/_detail_default.jsx +0 -13
  45. data/app/pb_kits/playbook/pb_detail/docs/_detail_styled.html.erb +0 -22
  46. data/app/pb_kits/playbook/pb_detail/docs/_detail_styled.jsx +0 -32
  47. data/app/pb_kits/playbook/pb_detail/docs/example.yml +0 -11
  48. data/app/pb_kits/playbook/pb_detail/docs/index.js +0 -4
  49. data/app/pb_kits/playbook/pb_multi_level_select/_helper_functions.tsx +0 -212
  50. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.html.erb +0 -14
  51. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.jsx +0 -60
  52. data/app/pb_kits/playbook/utilities/object.ts +0 -3
@@ -3,9 +3,9 @@
3
3
  module Playbook
4
4
  module Forms
5
5
  class Builder
6
- def intl_telephone(name, props: {})
6
+ def multi_level_select(name, props: {})
7
7
  props[:name] = name
8
- @template.pb_rails("phone_number_input", props: props)
8
+ @template.pb_rails("multi_level_select", props: props)
9
9
  end
10
10
  end
11
11
  end
@@ -10,7 +10,7 @@ module Playbook
10
10
  require_relative "builder/form_field_builder"
11
11
  require_relative "builder/select_field"
12
12
  require_relative "builder/typeahead_field"
13
- require_relative "builder/intl_telephone_field"
13
+ require_relative "builder/multi_level_select_field"
14
14
 
15
15
  prepend(FormFieldBuilder.new(:email_field, kit_name: "text_input"))
16
16
  prepend(FormFieldBuilder.new(:number_field, kit_name: "text_input"))
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "12.25.0"
5
- VERSION = "12.25.0.pre.alpha.play824786"
5
+ VERSION = "12.25.0.pre.alpha.railsmultilevelimprovements758"
6
6
  end
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: 12.25.0.pre.alpha.play824786
4
+ version: 12.25.0.pre.alpha.railsmultilevelimprovements758
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-06-15 00:00:00.000000000 Z
12
+ date: 2023-06-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -823,25 +823,6 @@ files:
823
823
  - app/pb_kits/playbook/pb_date_year_stacked/docs/_footer.md
824
824
  - app/pb_kits/playbook/pb_date_year_stacked/docs/example.yml
825
825
  - app/pb_kits/playbook/pb_date_year_stacked/docs/index.js
826
- - app/pb_kits/playbook/pb_detail/_detail.scss
827
- - app/pb_kits/playbook/pb_detail/_detail.tsx
828
- - app/pb_kits/playbook/pb_detail/_detail_mixins.scss
829
- - app/pb_kits/playbook/pb_detail/detail.html.erb
830
- - app/pb_kits/playbook/pb_detail/detail.rb
831
- - app/pb_kits/playbook/pb_detail/detail.test.jsx
832
- - app/pb_kits/playbook/pb_detail/docs/_description.md
833
- - app/pb_kits/playbook/pb_detail/docs/_detail_bold.html.erb
834
- - app/pb_kits/playbook/pb_detail/docs/_detail_bold.jsx
835
- - app/pb_kits/playbook/pb_detail/docs/_detail_bold.md
836
- - app/pb_kits/playbook/pb_detail/docs/_detail_colors.html.erb
837
- - app/pb_kits/playbook/pb_detail/docs/_detail_colors.jsx
838
- - app/pb_kits/playbook/pb_detail/docs/_detail_colors.md
839
- - app/pb_kits/playbook/pb_detail/docs/_detail_default.html.erb
840
- - app/pb_kits/playbook/pb_detail/docs/_detail_default.jsx
841
- - app/pb_kits/playbook/pb_detail/docs/_detail_styled.html.erb
842
- - app/pb_kits/playbook/pb_detail/docs/_detail_styled.jsx
843
- - app/pb_kits/playbook/pb_detail/docs/example.yml
844
- - app/pb_kits/playbook/pb_detail/docs/index.js
845
826
  - app/pb_kits/playbook/pb_dialog/_close_icon.tsx
846
827
  - app/pb_kits/playbook/pb_dialog/_dialog.scss
847
828
  - app/pb_kits/playbook/pb_dialog/_dialog.tsx
@@ -1426,17 +1407,19 @@ files:
1426
1407
  - app/pb_kits/playbook/pb_message/message.html.erb
1427
1408
  - app/pb_kits/playbook/pb_message/message.rb
1428
1409
  - app/pb_kits/playbook/pb_message/message.test.js
1429
- - app/pb_kits/playbook/pb_multi_level_select/_helper_functions.tsx
1430
1410
  - app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.scss
1431
1411
  - app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx
1412
+ - app/pb_kits/playbook/pb_multi_level_select/_multi_select_helper.tsx
1432
1413
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.html.erb
1433
1414
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.jsx
1434
1415
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
1435
1416
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_return_all_selected.html.erb
1436
1417
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_return_all_selected.jsx
1437
1418
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_return_all_selected.md
1419
+ - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_form.html.erb
1438
1420
  - app/pb_kits/playbook/pb_multi_level_select/docs/example.yml
1439
1421
  - app/pb_kits/playbook/pb_multi_level_select/docs/index.js
1422
+ - app/pb_kits/playbook/pb_multi_level_select/helper_functions.ts
1440
1423
  - app/pb_kits/playbook/pb_multi_level_select/multi_level_select.html.erb
1441
1424
  - app/pb_kits/playbook/pb_multi_level_select/multi_level_select.rb
1442
1425
  - app/pb_kits/playbook/pb_multi_level_select/multi_level_select.test.jsx
@@ -1600,8 +1583,6 @@ files:
1600
1583
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.html.erb
1601
1584
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.jsx
1602
1585
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.md
1603
- - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.html.erb
1604
- - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.jsx
1605
1586
  - app/pb_kits/playbook/pb_phone_number_input/docs/example.yml
1606
1587
  - app/pb_kits/playbook/pb_phone_number_input/docs/index.js
1607
1588
  - app/pb_kits/playbook/pb_phone_number_input/phone_number_input.html.erb
@@ -2413,7 +2394,6 @@ files:
2413
2394
  - app/pb_kits/playbook/utilities/flexbox_global_props/_justify_self.scss
2414
2395
  - app/pb_kits/playbook/utilities/flexbox_global_props/_order.scss
2415
2396
  - app/pb_kits/playbook/utilities/globalProps.ts
2416
- - app/pb_kits/playbook/utilities/object.ts
2417
2397
  - app/pb_kits/playbook/utilities/props.ts
2418
2398
  - app/pb_kits/playbook/utilities/test-utils.js
2419
2399
  - app/pb_kits/playbook/utilities/test/globalProps/alignContent.test.js
@@ -2452,7 +2432,7 @@ files:
2452
2432
  - lib/playbook/forms/builder/collection_select_field.rb
2453
2433
  - lib/playbook/forms/builder/date_picker_field.rb
2454
2434
  - lib/playbook/forms/builder/form_field_builder.rb
2455
- - lib/playbook/forms/builder/intl_telephone_field.rb
2435
+ - lib/playbook/forms/builder/multi_level_select_field.rb
2456
2436
  - lib/playbook/forms/builder/select_field.rb
2457
2437
  - lib/playbook/forms/builder/typeahead_field.rb
2458
2438
  - lib/playbook/justify_content.rb
@@ -1,44 +0,0 @@
1
- @import "./detail_mixins";
2
- @import "../tokens/titles";
3
- @import "../tokens/typography";
4
-
5
- [class^=pb_detail_kit]{
6
- @include pb_detail;
7
-
8
- @each $color_name, $color_value in $pb_detail_colors {
9
- &[class*=_#{$color_name}] {
10
- @include pb_detail($color_value);
11
- }
12
- }
13
-
14
- @each $dark_color_name, $dark_color_value in $pb_dark_detail_colors{
15
- &[class*=_#{$dark_color_name}][class*=dark]{
16
- @include pb_detail($dark_color_value)
17
- }
18
- }
19
-
20
- // Styles
21
- &.bold,
22
- &.bold.dark,
23
- b,
24
- strong {
25
- font-weight: $bold;
26
- }
27
-
28
- a {
29
- color: $primary;
30
- &:hover {
31
- cursor: pointer;
32
- color: $text_lt_default;
33
- }
34
- }
35
-
36
- em {
37
- font-weight: $bold;
38
- }
39
-
40
- small {
41
- font-size: $font_smaller;
42
- letter-spacing: $lspace_loose;
43
- }
44
- }
@@ -1,55 +0,0 @@
1
- import React from 'react'
2
- import classnames from 'classnames'
3
- import { buildAriaProps, buildCss, buildDataProps } from '../utilities/props'
4
- import { globalProps, GlobalProps } from '../utilities/globalProps'
5
-
6
- type DetailProps = {
7
- aria?: { [key: string]: string },
8
- bold?: boolean,
9
- children?: React.ReactChild[] | React.ReactChild,
10
- className?: string,
11
- color?: 'light' | 'default' | 'lighter' | 'link' | 'error' | 'success',
12
- dark?: boolean,
13
- data?: { [key: string]: string },
14
- id?: string,
15
- tag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'div',
16
- text?: string,
17
- } & GlobalProps
18
-
19
- const Detail = (props: DetailProps) => {
20
- const {
21
- aria = {},
22
- bold = false,
23
- children,
24
- className,
25
- color = 'light',
26
- data = {},
27
- id = '',
28
- tag = 'div',
29
- text= ''
30
- } = props
31
-
32
- const ariaProps: {[key: string]: any} = buildAriaProps(aria)
33
- const dataProps: {[key: string]: any} = buildDataProps(data)
34
- const isBold = bold ? "bold" : null
35
- const classes = classnames(
36
- buildCss('pb_detail_kit', color),
37
- isBold,
38
- globalProps(props),
39
- className
40
- )
41
- const Tag: React.ReactElement | any = `${tag}`
42
-
43
- return (
44
- <Tag
45
- {...ariaProps}
46
- {...dataProps}
47
- className={classes}
48
- id={id}
49
- >
50
- {text || children}
51
- </Tag>
52
- )
53
- }
54
-
55
- export default Detail
@@ -1,29 +0,0 @@
1
- @import "../tokens/colors";
2
- @import "../tokens/line_height";
3
- @import "../tokens/typography";
4
-
5
- $pb_detail_colors: (
6
- light: $text_lt_light,
7
- default: $text_lt_default,
8
- lighter: $text_lt_lighter,
9
- link: $primary,
10
- error: $error,
11
- success: $text_lt_success_sm,
12
- );
13
-
14
- $pb_dark_detail_colors: (
15
- light: $text_dk_light,
16
- default: $text_dk_default,
17
- lighter: $text_dk_lighter,
18
- link: $primary,
19
- error: $error_dark,
20
- success: $text_dk_success_sm,
21
- );
22
-
23
- @mixin pb_detail($color: $text_lt_light) {
24
- line-height: $lh_tight;
25
- color: $color;
26
- font-size: $text_small;
27
- font-weight: $regular;
28
- font-family: $font-family-base;
29
- }
@@ -1,7 +0,0 @@
1
- <%= content_tag(object.tag,
2
- aria: object.aria,
3
- class: object.classname,
4
- data: object.data,
5
- id: object.id) do %>
6
- <%= object.content %>
7
- <% end %>
@@ -1,31 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Playbook
4
- module PbDetail
5
- class Detail < Playbook::KitBase
6
- prop :bold, type: Playbook::Props::Boolean,
7
- default: false
8
- prop :color, type: Playbook::Props::Enum,
9
- values: %w[light default lighter link error success],
10
- default: "light"
11
- prop :tag, type: Playbook::Props::Enum,
12
- values: %w[h1 h2 h3 h4 h5 h6 p span div],
13
- default: "div"
14
- prop :text
15
-
16
- def classname
17
- generate_classname("pb_detail_kit", color) + is_bold
18
- end
19
-
20
- def content
21
- super.presence || text
22
- end
23
-
24
- private
25
-
26
- def is_bold
27
- bold ? " bold" : ""
28
- end
29
- end
30
- end
31
- end
@@ -1,46 +0,0 @@
1
- import React from 'react'
2
- import { render, screen } from '../utilities/test-utils'
3
-
4
- import Detail from './_detail'
5
-
6
- test('returns namespaced class name', () => {
7
- render(
8
- <Detail
9
- data={{ testid: 'primary-test' }}
10
- text="Test class name"
11
- />
12
- )
13
-
14
- const kit = screen.getByTestId('primary-test')
15
- expect(kit).toHaveClass('pb_detail_kit_light')
16
- })
17
-
18
- test('with colors', () => {
19
- ['light', 'default', 'lighter', 'link', 'success', 'error'].forEach((color) => {
20
- const testId = `colors-test-${color}`
21
-
22
- render(
23
- <Detail
24
- color={color}
25
- data={{ testid: testId }}
26
- text="Test colors"
27
- />
28
- )
29
-
30
- const kit = screen.getByTestId(testId)
31
- expect(kit).toHaveClass(`pb_detail_kit_${color}`)
32
- })
33
- })
34
-
35
- test('bold font-weight should be 600', () => {
36
- render(
37
- <Detail
38
- bold
39
- data={{ testid: 'primary-test' }}
40
- text="Test bold prop"
41
- />
42
- )
43
-
44
- const kit = screen.getByTestId('primary-test')
45
- expect(kit).toHaveClass("bold")
46
- })
@@ -1 +0,0 @@
1
- Used for tables or designs with large amounts of data or text.
@@ -1,34 +0,0 @@
1
- <%= pb_rails("detail", props: {
2
- bold: true,
3
- text: "I am a bold detail kit"
4
- }) %>
5
-
6
- <%= pb_rails("detail", props: {
7
- bold: true,
8
- color: "default",
9
- text: "I am a bold detail kit"
10
- }) %>
11
-
12
- <%= pb_rails("detail", props: {
13
- bold: true,
14
- color: "lighter",
15
- text: "I am a bold detail kit"
16
- }) %>
17
-
18
- <%= pb_rails("detail", props: {
19
- bold: true,
20
- color: "link",
21
- text: "I am a bold detail kit"
22
- }) %>
23
-
24
- <%= pb_rails("detail", props: {
25
- bold: true,
26
- color: "error",
27
- text: "I am a bold detail kit"
28
- }) %>
29
-
30
- <%= pb_rails("detail", props: {
31
- bold: true,
32
- color: "success",
33
- text: "I am a bold detail kit"
34
- }) %>
@@ -1,49 +0,0 @@
1
- import React from 'react'
2
- import { Detail } from '../..'
3
-
4
- const DetailBold = (props) => (
5
- <div>
6
- <Detail
7
- bold
8
- text="I am a bold detail kit"
9
- {...props}
10
- />
11
-
12
- <Detail
13
- bold
14
- color="default"
15
- text="I am a bold detail kit"
16
- {...props}
17
- />
18
-
19
- <Detail
20
- bold
21
- color="lighter"
22
- text="I am a bold detail kit"
23
- {...props}
24
- />
25
-
26
- <Detail
27
- bold
28
- color="link"
29
- text="I am a bold detail kit"
30
- {...props}
31
- />
32
-
33
- <Detail
34
- bold
35
- color="error"
36
- text="I am a bold detail kit"
37
- {...props}
38
- />
39
-
40
- <Detail
41
- bold
42
- color="success"
43
- text="I am a bold detail kit"
44
- {...props}
45
- />
46
- </div>
47
- )
48
-
49
- export default DetailBold
@@ -1 +0,0 @@
1
- Use the `bold` prop to strongly emphasis your text.
@@ -1,24 +0,0 @@
1
- <%= pb_rails("detail", props: {
2
- text: "I am a detail kit",
3
- color: "default"
4
- }) %>
5
-
6
- <%= pb_rails("detail", props: {
7
- text: "I am a detail kit",
8
- color: "lighter"
9
- }) %>
10
-
11
- <%= pb_rails("detail", props: {
12
- text: "I am a detail kit",
13
- color: "link"
14
- }) %>
15
-
16
- <%= pb_rails("detail", props: {
17
- text: "I am a detail kit",
18
- color: "error"
19
- }) %>
20
-
21
- <%= pb_rails("detail", props: {
22
- text: "I am a detail kit",
23
- color: "success"
24
- }) %>
@@ -1,38 +0,0 @@
1
- import React from 'react'
2
- import { Detail } from '../..'
3
-
4
- const DetailColors = (props) => (
5
- <div>
6
- <Detail
7
- color="default"
8
- text="I am a detail kit"
9
- {...props}
10
- />
11
-
12
- <Detail
13
- color="lighter"
14
- text="I am a detail kit"
15
- {...props}
16
- />
17
-
18
- <Detail
19
- color="link"
20
- text="I am a detail kit"
21
- {...props}
22
- />
23
-
24
- <Detail
25
- color="error"
26
- text="I am a detail kit"
27
- {...props}
28
- />
29
-
30
- <Detail
31
- color="success"
32
- text="I am a detail kit"
33
- {...props}
34
- />
35
- </div>
36
- )
37
-
38
- export default DetailColors
@@ -1,6 +0,0 @@
1
- ##### Prop
2
- This kit uses the `light` color by default, and can be replaced with colors below:
3
-
4
- `default` `lighter` `link` `error` `success`
5
-
6
- These colors are not for standard usage. You can use the `color` prop to make fixes if colors are not appearing properly, but consult your UX team members if you are deciding to implement it.
@@ -1,3 +0,0 @@
1
- <%= pb_rails("detail", props: {
2
- text: "I am a detail kit"
3
- }) %>
@@ -1,13 +0,0 @@
1
- import React from 'react'
2
- import { Detail } from '../..'
3
-
4
- const DetailDefault = (props) => (
5
- <div>
6
- <Detail
7
- text="I am a detail kit"
8
- {...props}
9
- />
10
- </div>
11
- )
12
-
13
- export default DetailDefault
@@ -1,22 +0,0 @@
1
- <%= pb_rails("detail") do %>
2
- <b>This text is using the <%="<b>"%> tag.</b>
3
- <br />
4
- <br />
5
- <strong>This text is using the <%="<strong>"%> tag.</strong>
6
- <br />
7
- <br />
8
- <a>This text is using the <%="<a>"%> tag.</a>
9
- <br />
10
- <br />
11
- <i>This text is using the <%="<i>"%> tag.</i>
12
- <br />
13
- <br />
14
- This <em>word</em> is using an <%="<em>"%> tag.
15
- <br />
16
- <br />
17
- <small>This text is using the <%="<small>"%> tag.</small>
18
- <br />
19
- <br />
20
- <u>This text is using the <%="<u>"%> tag.</u>
21
- <br />
22
- <% end %>
@@ -1,32 +0,0 @@
1
- import React from 'react'
2
- import { Detail } from '../..'
3
-
4
- const DetailStyled = (props) => (
5
- <>
6
- <Detail {...props}>
7
- <b>{"This text is using the <b> tag."}</b>
8
- <br />
9
- <br />
10
- <strong>{"This text is using the <strong> tag."}</strong>
11
- <br />
12
- <br />
13
- <a>{"This text is using the <a> tag."}</a>
14
- <br />
15
- <br />
16
- <i>{"This text is using the <i> tag."}</i>
17
- <br />
18
- <br />
19
- {"This "}<em>{"word"}</em>{" is using an <em> tag."}
20
- <br />
21
- <br />
22
- <small>{"This text is using the <small> tag."}</small>
23
- <br />
24
- <br />
25
- <u>{"This text is using the <u> tag."}</u>
26
- <br />
27
- <br />
28
- </Detail>
29
- </>
30
- )
31
-
32
- export default DetailStyled
@@ -1,11 +0,0 @@
1
- examples:
2
-
3
- rails:
4
- - detail_default: Default
5
- - detail_colors: Colors
6
- - detail_bold: Bold
7
-
8
- react:
9
- - detail_default: Default
10
- - detail_colors: Colors
11
- - detail_bold: Bold
@@ -1,4 +0,0 @@
1
- export { default as DetailDefault } from './_detail_default.jsx'
2
- export { default as DetailColors } from './_detail_colors.jsx'
3
- export { default as DetailStyled } from './_detail_styled.jsx'
4
- export { default as DetailBold } from './_detail_bold.jsx'