polaris_view_components 0.8.1 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/icons/polaris/AnalyticsMinor.svg +1 -0
  3. data/app/assets/icons/polaris/AppsMinor.svg +1 -0
  4. data/app/assets/icons/polaris/BlockMinor.svg +1 -0
  5. data/app/assets/icons/polaris/ButtonMinor.svg +1 -0
  6. data/app/assets/icons/polaris/CaretDownMinor.svg +1 -1
  7. data/app/assets/icons/polaris/CaretUpMinor.svg +1 -1
  8. data/app/assets/icons/polaris/CircleTickMinor.svg +1 -0
  9. data/app/assets/icons/polaris/Columns3Minor.svg +1 -0
  10. data/app/assets/icons/polaris/CustomersMinor.svg +1 -1
  11. data/app/assets/icons/polaris/DiscountsMinor.svg +1 -0
  12. data/app/assets/icons/polaris/DropdownMinor.svg +1 -1
  13. data/app/assets/icons/polaris/FinancesMajor.svg +1 -0
  14. data/app/assets/icons/polaris/FinancesMinor.svg +1 -0
  15. data/app/assets/icons/polaris/HomeMinor.svg +1 -0
  16. data/app/assets/icons/polaris/MarketingMinor.svg +1 -0
  17. data/app/assets/icons/polaris/OnlineStoreMinor.svg +1 -0
  18. data/app/assets/icons/polaris/OrdersMinor.svg +1 -0
  19. data/app/assets/icons/polaris/ProductsMinor.svg +1 -0
  20. data/app/assets/icons/polaris/QuestionMarkInverseMajor.svg +1 -0
  21. data/app/assets/icons/polaris/QuestionMarkInverseMinor.svg +1 -0
  22. data/app/assets/icons/polaris/SelectMinor.svg +1 -1
  23. data/app/assets/icons/polaris/TitleMinor.svg +1 -0
  24. data/app/assets/icons/polaris/WandMinor.svg +1 -0
  25. data/app/assets/javascripts/polaris_view_components/collapsible_controller.js +19 -0
  26. data/app/assets/javascripts/polaris_view_components/dropzone_controller.js +15 -3
  27. data/app/assets/javascripts/polaris_view_components/frame_controller.js +1 -1
  28. data/app/assets/javascripts/polaris_view_components/index.js +2 -0
  29. data/app/assets/javascripts/polaris_view_components/polaris_controller.js +4 -0
  30. data/app/assets/javascripts/polaris_view_components/text_field_controller.js +5 -0
  31. data/app/assets/javascripts/polaris_view_components/toast_controller.js +13 -2
  32. data/app/assets/javascripts/polaris_view_components/{utils.js → utils/index.js} +3 -1
  33. data/app/assets/javascripts/polaris_view_components/utils/use-transition.js +162 -0
  34. data/app/assets/javascripts/polaris_view_components.js +201 -162
  35. data/app/assets/stylesheets/polaris_view_components/custom.css +37 -0
  36. data/app/assets/stylesheets/polaris_view_components.css +68 -33
  37. data/app/components/polaris/action_list/item_component.rb +2 -1
  38. data/app/components/polaris/button_component.html.erb +2 -2
  39. data/app/components/polaris/collapsible_component.rb +37 -0
  40. data/app/components/polaris/dropzone_component.html.erb +9 -6
  41. data/app/components/polaris/filters_component.rb +3 -1
  42. data/app/components/polaris/headless_button.html.erb +2 -2
  43. data/app/components/polaris/headless_button.rb +3 -1
  44. data/app/components/polaris/keyboard_key_component.rb +20 -0
  45. data/app/components/polaris/page_component.html.erb +81 -10
  46. data/app/components/polaris/page_component.rb +85 -28
  47. data/app/components/polaris/resource_item_component.rb +7 -2
  48. data/app/components/polaris/skeleton_display_text_component.rb +32 -0
  49. data/app/components/polaris/skeleton_thumbnail_component.rb +31 -0
  50. data/app/components/polaris/text_field_component.html.erb +1 -1
  51. data/app/components/polaris/text_field_component.rb +1 -1
  52. data/app/components/polaris/visually_hidden_component.rb +0 -3
  53. data/app/helpers/polaris/form_builder.rb +1 -1
  54. data/app/helpers/polaris/view_helper.rb +4 -0
  55. data/lib/polaris/view_components/version.rb +1 -1
  56. metadata +111 -15
@@ -2,55 +2,112 @@
2
2
 
3
3
  module Polaris
4
4
  class PageComponent < Polaris::Component
5
+ renders_one :title_metadata
6
+ renders_one :thumbnail, Polaris::ThumbnailComponent
5
7
  renders_one :primary_action, ->(primary: true, **system_arguments) do
6
8
  Polaris::ButtonComponent.new(primary: primary, **system_arguments)
7
9
  end
8
- # renders_many :secondary_actions, Polaris::ButtonComponent
9
- renders_one :title_metadata
10
- renders_one :thumbnail, Polaris::ThumbnailComponent
10
+ renders_one :action_group, "ActionGroupComponent"
11
11
 
12
12
  def initialize(
13
13
  title: nil,
14
14
  subtitle: nil,
15
+ compact_title: false,
15
16
  back_url: nil,
17
+ prev_url: nil,
18
+ next_url: nil,
16
19
  narrow_width: false,
17
20
  full_width: false,
18
21
  divider: false,
22
+ secondary_actions: [],
19
23
  **system_arguments
20
24
  )
21
25
  @title = title
22
26
  @subtitle = subtitle
27
+ @compact_title = compact_title
23
28
  @back_url = back_url
24
-
29
+ @prev_url = prev_url
30
+ @next_url = next_url
31
+ @narrow_width = narrow_width
32
+ @full_width = full_width
33
+ @divider = divider
34
+ @secondary_actions = secondary_actions
25
35
  @system_arguments = system_arguments
26
- @system_arguments[:tag] = "div"
27
- @system_arguments[:classes] = class_names(
28
- @system_arguments[:classes],
29
- "Polaris-Page",
30
- "Polaris-Page--narrowWidth": narrow_width,
31
- "Polaris-Page--fullWidth": full_width
32
- )
33
-
34
- @header_arguments = {}
35
- @header_arguments[:tag] = "div"
36
- @header_arguments[:classes] = class_names(
37
- "Polaris-Page-Header",
38
- "Polaris-Page-Header--mobileView",
39
- "Polaris-Page-Header--mediumTitle",
40
- "Polaris-Page-Header--hasNavigation": back_url.present?,
41
- "Polaris-Page-Header--noBreadcrumbs": back_url.blank?
42
- )
43
-
44
- @content_arguments = {}
45
- @content_arguments[:tag] = "div"
46
- @content_arguments[:classes] = class_names(
47
- "Polaris-Page__Content",
48
- "Polaris-Page--divider": divider
49
- )
36
+ end
37
+
38
+ def header_arguments
39
+ {
40
+ tag: "div",
41
+ classes: class_names(
42
+ "Polaris-Page-Header",
43
+ "Polaris-Page-Header--mobileView",
44
+ "Polaris-Page-Header--mediumTitle",
45
+ "Polaris-Page-Header--hasNavigation": @back_url.present?,
46
+ "Polaris-Page-Header--noBreadcrumbs": @back_url.blank?
47
+ )
48
+ }
49
+ end
50
+
51
+ def subtitle_arguments
52
+ {
53
+ tag: "div",
54
+ classes: class_names(
55
+ "Polaris-Header-Title__SubTitle",
56
+ "Polaris-Header-Title__SubtitleCompact": @compact_title
57
+ )
58
+ }
59
+ end
60
+
61
+ def content_arguments
62
+ {
63
+ tag: "div",
64
+ classes: class_names(
65
+ "Polaris-Page__Content",
66
+ "Polaris-Page--divider": @divider
67
+ )
68
+ }
69
+ end
70
+
71
+ def system_arguments
72
+ @system_arguments.tap do |opts|
73
+ opts[:tag] = "div"
74
+ opts[:classes] = class_names(
75
+ opts[:classes],
76
+ "Polaris-Page",
77
+ "Polaris-Page--narrowWidth": @narrow_width,
78
+ "Polaris-Page--fullWidth": @full_width
79
+ )
80
+ end
50
81
  end
51
82
 
52
83
  def render_header?
53
84
  @title.present? || @subtitle.present? || @back_url.present? || primary_action.present?
54
85
  end
86
+
87
+ def has_pagination?
88
+ @next_url.present? || @prev_url.present?
89
+ end
90
+
91
+ class ActionGroupComponent < Polaris::Component
92
+ attr_reader :title
93
+ attr_reader :actions
94
+
95
+ def initialize(title:, actions: [])
96
+ @title = title
97
+ @actions = actions
98
+ end
99
+
100
+ def call
101
+ render(Polaris::PopoverComponent.new) do |popover|
102
+ popover.button(disclosure: true) { @title }
103
+
104
+ polaris_action_list do |list|
105
+ @actions.each do |action|
106
+ list.item(**action) { action[:content] }
107
+ end
108
+ end
109
+ end
110
+ end
111
+ end
55
112
  end
56
113
  end
@@ -29,7 +29,9 @@ module Polaris
29
29
  def initialize(
30
30
  url: nil,
31
31
  vertical_alignment: ALIGNMENT_DEFAULT,
32
+ cursor: CURSOR_DEFAULT,
32
33
  selectable: false,
34
+ selected: false,
33
35
  offset: false,
34
36
  wrapper_arguments: {},
35
37
  container_arguments: {},
@@ -37,7 +39,9 @@ module Polaris
37
39
  )
38
40
  @url = url
39
41
  @vertical_alignment = vertical_alignment
42
+ @cursor = fetch_or_fallback(CURSOR_OPTIONS, cursor, CURSOR_DEFAULT)
40
43
  @selectable = selectable
44
+ @selected = selected
41
45
  @offset = offset
42
46
  @wrapper_arguments = wrapper_arguments
43
47
  @container_arguments = container_arguments
@@ -77,9 +81,10 @@ module Polaris
77
81
  args[:classes] = class_names(
78
82
  args[:classes],
79
83
  "Polaris-ResourceItem",
80
- "Polaris-ResourceItem--selectable": @selectable
84
+ "Polaris-ResourceItem--selectable": @selectable,
85
+ "Polaris-ResourceItem--selected": @selected
81
86
  )
82
- prepend_option(args, :style, "cursor: #{cursor};")
87
+ prepend_option(args, :style, "cursor: #{@cursor};")
83
88
  prepend_option(args[:data], :action, "click->polaris-resource-item#open")
84
89
  end
85
90
  end
@@ -0,0 +1,32 @@
1
+ module Polaris
2
+ class SkeletonDisplayTextComponent < Polaris::Component
3
+ SIZE_DEFAULT = :medium
4
+ SIZE_MAPPINGS = {
5
+ small: "Polaris-SkeletonDisplayText--sizeSmall",
6
+ medium: "Polaris-SkeletonDisplayText--sizeMedium",
7
+ large: "Polaris-SkeletonDisplayText--sizeLarge",
8
+ extra_large: "Polaris-SkeletonDisplayText--sizeExtraLarge"
9
+ }
10
+ SIZE_OPTIONS = SIZE_MAPPINGS.keys
11
+
12
+ def initialize(size: SIZE_DEFAULT, **system_arguments)
13
+ @size = size
14
+ @system_arguments = system_arguments
15
+ end
16
+
17
+ def system_arguments
18
+ @system_arguments.tap do |opts|
19
+ opts[:tag] = "div"
20
+ opts[:classes] = class_names(
21
+ @system_arguments[:classes],
22
+ "Polaris-SkeletonDisplayText__DisplayText",
23
+ SIZE_MAPPINGS[fetch_or_fallback(SIZE_OPTIONS, @size, SIZE_DEFAULT)]
24
+ )
25
+ end
26
+ end
27
+
28
+ def call
29
+ render(Polaris::BaseComponent.new(**system_arguments))
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,31 @@
1
+ module Polaris
2
+ class SkeletonThumbnailComponent < Polaris::Component
3
+ SIZE_DEFAULT = :medium
4
+ SIZE_MAPPINGS = {
5
+ small: "Polaris-SkeletonThumbnail--sizeSmall",
6
+ medium: "Polaris-SkeletonThumbnail--sizeMedium",
7
+ large: "Polaris-SkeletonThumbnail--sizeLarge"
8
+ }
9
+ SIZE_OPTIONS = SIZE_MAPPINGS.keys
10
+
11
+ def initialize(size: SIZE_DEFAULT, **system_arguments)
12
+ @size = size
13
+ @system_arguments = system_arguments
14
+ end
15
+
16
+ def system_arguments
17
+ @system_arguments.tap do |opts|
18
+ opts[:tag] = "div"
19
+ opts[:classes] = class_names(
20
+ @system_arguments[:classes],
21
+ "Polaris-SkeletonThumbnail",
22
+ SIZE_MAPPINGS[fetch_or_fallback(SIZE_OPTIONS, @size, SIZE_DEFAULT)]
23
+ )
24
+ end
25
+ end
26
+
27
+ def call
28
+ render(Polaris::BaseComponent.new(**system_arguments))
29
+ end
30
+ end
31
+ end
@@ -45,7 +45,7 @@
45
45
  type="button"
46
46
  class="Polaris-TextField__ClearButton
47
47
  <% if @value.blank? %>
48
- Polaris-TextField__ClearButton--hidden
48
+ Polaris-TextField__Hidden
49
49
  <% end %>"
50
50
  tabindex="0"
51
51
  data-polaris-text-field-target="clearButton"
@@ -105,7 +105,7 @@ module Polaris
105
105
  tag: "div",
106
106
  data: {
107
107
  polaris_text_field_has_value_class: "Polaris-TextField--hasValue",
108
- polaris_text_field_clear_button_hidden_class: "Polaris-TextField__ClearButton--hidden"
108
+ polaris_text_field_clear_button_hidden_class: "Polaris-TextField__Hidden"
109
109
  }
110
110
  }.deep_merge(@system_arguments).tap do |opts|
111
111
  opts[:classes] = class_names(
@@ -2,9 +2,6 @@
2
2
 
3
3
  module Polaris
4
4
  class VisuallyHiddenComponent < Polaris::Component
5
- def initialize
6
- end
7
-
8
5
  def call
9
6
  content_tag(:span, content, class: "Polaris-VisuallyHidden")
10
7
  end
@@ -16,7 +16,7 @@ module Polaris
16
16
  model: object.class.model_name.human.downcase
17
17
  )
18
18
 
19
- render Polaris::BannerComponent.new(title: title, status: :critical) do
19
+ render Polaris::BannerComponent.new(title: title, status: :critical, within: :container) do
20
20
  render(Polaris::ListComponent.new) do |list|
21
21
  object.errors.full_messages.each do |error|
22
22
  list.item { error.html_safe }
@@ -19,6 +19,7 @@ module Polaris
19
19
  checkbox: "Polaris::CheckboxComponent",
20
20
  check_box: "Polaris::CheckboxComponent",
21
21
  choice_list: "Polaris::ChoiceListComponent",
22
+ collapsible: "Polaris::CollapsibleComponent",
22
23
  data_table: "Polaris::DataTableComponent",
23
24
  description_list: "Polaris::DescriptionListComponent",
24
25
  display_text: "Polaris::DisplayTextComponent",
@@ -33,6 +34,7 @@ module Polaris
33
34
  icon: "Polaris::IconComponent",
34
35
  index_table: "Polaris::IndexTableComponent",
35
36
  inline_error: "Polaris::InlineErrorComponent",
37
+ keyboard_key: "Polaris::KeyboardKeyComponent",
36
38
  layout: "Polaris::LayoutComponent",
37
39
  link: "Polaris::LinkComponent",
38
40
  list: "Polaris::ListComponent",
@@ -56,6 +58,8 @@ module Polaris
56
58
  scrollable: "Polaris::ScrollableComponent",
57
59
  spinner: "Polaris::SpinnerComponent",
58
60
  skeleton_body_text: "Polaris::SkeletonBodyTextComponent",
61
+ skeleton_display_text: "Polaris::SkeletonDisplayTextComponent",
62
+ skeleton_thumbnail: "Polaris::SkeletonThumbnailComponent",
59
63
  spacer: "Polaris::SpacerComponent",
60
64
  tabs: "Polaris::TabsComponent",
61
65
  tag: "Polaris::TagComponent",
@@ -1,5 +1,5 @@
1
1
  module Polaris
2
2
  module ViewComponents
3
- VERSION = "0.8.1"
3
+ VERSION = "0.10.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polaris_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Gamble
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-01-26 00:00:00.000000000 Z
12
+ date: 2022-05-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -18,9 +18,6 @@ dependencies:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: 5.0.0
21
- - - "<"
22
- - !ruby/object:Gem::Version
23
- version: 8.0.0
24
21
  type: :runtime
25
22
  prerelease: false
26
23
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,9 +25,6 @@ dependencies:
28
25
  - - ">="
29
26
  - !ruby/object:Gem::Version
30
27
  version: 5.0.0
31
- - - "<"
32
- - !ruby/object:Gem::Version
33
- version: 8.0.0
34
28
  - !ruby/object:Gem::Dependency
35
29
  name: view_component
36
30
  requirement: !ruby/object:Gem::Requirement
@@ -38,9 +32,6 @@ dependencies:
38
32
  - - ">="
39
33
  - !ruby/object:Gem::Version
40
34
  version: 2.0.0
41
- - - "<"
42
- - !ruby/object:Gem::Version
43
- version: '3.0'
44
35
  type: :runtime
45
36
  prerelease: false
46
37
  version_requirements: !ruby/object:Gem::Requirement
@@ -48,9 +39,90 @@ dependencies:
48
39
  - - ">="
49
40
  - !ruby/object:Gem::Version
50
41
  version: 2.0.0
51
- - - "<"
42
+ - !ruby/object:Gem::Dependency
43
+ name: capybara
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '3'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '3'
56
+ - !ruby/object:Gem::Dependency
57
+ name: webdrivers
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '5.0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '5.0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: selenium-webdriver
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '4.1'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '4.1'
84
+ - !ruby/object:Gem::Dependency
85
+ name: minitest
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '5.0'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: '5.0'
98
+ - !ruby/object:Gem::Dependency
99
+ name: pry
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
112
+ - !ruby/object:Gem::Dependency
113
+ name: sprockets-rails
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
52
124
  - !ruby/object:Gem::Version
53
- version: '3.0'
125
+ version: '0'
54
126
  description:
55
127
  email:
56
128
  - dan@dangamble.co.uk
@@ -71,8 +143,10 @@ files:
71
143
  - app/assets/icons/polaris/AffiliateMajor.svg
72
144
  - app/assets/icons/polaris/AlertMinor.svg
73
145
  - app/assets/icons/polaris/AnalyticsMajor.svg
146
+ - app/assets/icons/polaris/AnalyticsMinor.svg
74
147
  - app/assets/icons/polaris/AppExtensionMinor.svg
75
148
  - app/assets/icons/polaris/AppsMajor.svg
149
+ - app/assets/icons/polaris/AppsMinor.svg
76
150
  - app/assets/icons/polaris/ArchiveMajor.svg
77
151
  - app/assets/icons/polaris/ArchiveMinor.svg
78
152
  - app/assets/icons/polaris/ArrowDownMinor.svg
@@ -91,12 +165,14 @@ files:
91
165
  - app/assets/icons/polaris/BillingStatementPoundMajor.svg
92
166
  - app/assets/icons/polaris/BillingStatementRupeeMajor.svg
93
167
  - app/assets/icons/polaris/BillingStatementYenMajor.svg
168
+ - app/assets/icons/polaris/BlockMinor.svg
94
169
  - app/assets/icons/polaris/BlockquoteMajor.svg
95
170
  - app/assets/icons/polaris/BlogMajor.svg
96
171
  - app/assets/icons/polaris/BugMajor.svg
97
172
  - app/assets/icons/polaris/ButtonCornerPillMajor.svg
98
173
  - app/assets/icons/polaris/ButtonCornerRoundedMajor.svg
99
174
  - app/assets/icons/polaris/ButtonCornerSquareMajor.svg
175
+ - app/assets/icons/polaris/ButtonMinor.svg
100
176
  - app/assets/icons/polaris/BuyButtonButtonLayoutMajor.svg
101
177
  - app/assets/icons/polaris/BuyButtonHorizontalLayoutMajor.svg
102
178
  - app/assets/icons/polaris/BuyButtonMajor.svg
@@ -152,6 +228,7 @@ files:
152
228
  - app/assets/icons/polaris/CirclePlusOutlineMinor.svg
153
229
  - app/assets/icons/polaris/CircleRightMajor.svg
154
230
  - app/assets/icons/polaris/CircleTickMajor.svg
231
+ - app/assets/icons/polaris/CircleTickMinor.svg
155
232
  - app/assets/icons/polaris/CircleTickOutlineMinor.svg
156
233
  - app/assets/icons/polaris/CircleUpMajor.svg
157
234
  - app/assets/icons/polaris/ClipboardMinor.svg
@@ -165,6 +242,7 @@ files:
165
242
  - app/assets/icons/polaris/ColumnWithTextMajor.svg
166
243
  - app/assets/icons/polaris/Columns2Major.svg
167
244
  - app/assets/icons/polaris/Columns3Major.svg
245
+ - app/assets/icons/polaris/Columns3Minor.svg
168
246
  - app/assets/icons/polaris/ComposeMajor.svg
169
247
  - app/assets/icons/polaris/ConfettiMajor.svg
170
248
  - app/assets/icons/polaris/ConnectMinor.svg
@@ -187,6 +265,7 @@ files:
187
265
  - app/assets/icons/polaris/DiscountAutomaticMajor.svg
188
266
  - app/assets/icons/polaris/DiscountCodeMajor.svg
189
267
  - app/assets/icons/polaris/DiscountsMajor.svg
268
+ - app/assets/icons/polaris/DiscountsMinor.svg
190
269
  - app/assets/icons/polaris/DisputeMinor.svg
191
270
  - app/assets/icons/polaris/DnsSettingsMajor.svg
192
271
  - app/assets/icons/polaris/DomainNewMajor.svg
@@ -214,6 +293,8 @@ files:
214
293
  - app/assets/icons/polaris/FeaturedCollectionMajor.svg
215
294
  - app/assets/icons/polaris/FeaturedContentMajor.svg
216
295
  - app/assets/icons/polaris/FilterMajor.svg
296
+ - app/assets/icons/polaris/FinancesMajor.svg
297
+ - app/assets/icons/polaris/FinancesMinor.svg
217
298
  - app/assets/icons/polaris/FirstOrderMajor.svg
218
299
  - app/assets/icons/polaris/FirstVisitMajor.svg
219
300
  - app/assets/icons/polaris/FlagMajor.svg
@@ -246,6 +327,7 @@ files:
246
327
  - app/assets/icons/polaris/HideMinor.svg
247
328
  - app/assets/icons/polaris/HintMajor.svg
248
329
  - app/assets/icons/polaris/HomeMajor.svg
330
+ - app/assets/icons/polaris/HomeMinor.svg
249
331
  - app/assets/icons/polaris/HorizontalDotsMinor.svg
250
332
  - app/assets/icons/polaris/IconsMajor.svg
251
333
  - app/assets/icons/polaris/IllustrationMajor.svg
@@ -282,6 +364,7 @@ files:
282
364
  - app/assets/icons/polaris/MarkFulfilledMinor.svg
283
365
  - app/assets/icons/polaris/MarkPaidMinor.svg
284
366
  - app/assets/icons/polaris/MarketingMajor.svg
367
+ - app/assets/icons/polaris/MarketingMinor.svg
285
368
  - app/assets/icons/polaris/MaximizeMajor.svg
286
369
  - app/assets/icons/polaris/MaximizeMinor.svg
287
370
  - app/assets/icons/polaris/MentionMajor.svg
@@ -305,8 +388,10 @@ files:
305
388
  - app/assets/icons/polaris/NoteMinor.svg
306
389
  - app/assets/icons/polaris/NotificationMajor.svg
307
390
  - app/assets/icons/polaris/OnlineStoreMajor.svg
391
+ - app/assets/icons/polaris/OnlineStoreMinor.svg
308
392
  - app/assets/icons/polaris/OrderStatusMinor.svg
309
393
  - app/assets/icons/polaris/OrdersMajor.svg
394
+ - app/assets/icons/polaris/OrdersMinor.svg
310
395
  - app/assets/icons/polaris/OutgoingMajor.svg
311
396
  - app/assets/icons/polaris/PackageMajor.svg
312
397
  - app/assets/icons/polaris/PageDownMajor.svg
@@ -337,9 +422,12 @@ files:
337
422
  - app/assets/icons/polaris/PrintMinor.svg
338
423
  - app/assets/icons/polaris/ProductReturnsMinor.svg
339
424
  - app/assets/icons/polaris/ProductsMajor.svg
425
+ - app/assets/icons/polaris/ProductsMinor.svg
340
426
  - app/assets/icons/polaris/ProfileMajor.svg
341
427
  - app/assets/icons/polaris/ProfileMinor.svg
342
428
  - app/assets/icons/polaris/PromoteMinor.svg
429
+ - app/assets/icons/polaris/QuestionMarkInverseMajor.svg
430
+ - app/assets/icons/polaris/QuestionMarkInverseMinor.svg
343
431
  - app/assets/icons/polaris/QuestionMarkMajor.svg
344
432
  - app/assets/icons/polaris/QuestionMarkMinor.svg
345
433
  - app/assets/icons/polaris/QuickSaleMajor.svg
@@ -418,6 +506,7 @@ files:
418
506
  - app/assets/icons/polaris/TickSmallMinor.svg
419
507
  - app/assets/icons/polaris/TimelineAttachmentMajor.svg
420
508
  - app/assets/icons/polaris/TipsMajor.svg
509
+ - app/assets/icons/polaris/TitleMinor.svg
421
510
  - app/assets/icons/polaris/ToolsMajor.svg
422
511
  - app/assets/icons/polaris/TransactionFeeDollarMajor.svg
423
512
  - app/assets/icons/polaris/TransactionFeeEuroMajor.svg
@@ -444,12 +533,14 @@ files:
444
533
  - app/assets/icons/polaris/ViewportWideMajor.svg
445
534
  - app/assets/icons/polaris/VocabularyMajor.svg
446
535
  - app/assets/icons/polaris/WandMajor.svg
536
+ - app/assets/icons/polaris/WandMinor.svg
447
537
  - app/assets/icons/polaris/WearableMajor.svg
448
538
  - app/assets/icons/polaris/WholesaleMajor.svg
449
539
  - app/assets/icons/polaris/WifiMajor.svg
450
540
  - app/assets/javascripts/polaris_view_components.js
451
541
  - app/assets/javascripts/polaris_view_components/autocomplete_controller.js
452
542
  - app/assets/javascripts/polaris_view_components/button_controller.js
543
+ - app/assets/javascripts/polaris_view_components/collapsible_controller.js
453
544
  - app/assets/javascripts/polaris_view_components/dropzone_controller.js
454
545
  - app/assets/javascripts/polaris_view_components/frame_controller.js
455
546
  - app/assets/javascripts/polaris_view_components/index.js
@@ -462,7 +553,8 @@ files:
462
553
  - app/assets/javascripts/polaris_view_components/select_controller.js
463
554
  - app/assets/javascripts/polaris_view_components/text_field_controller.js
464
555
  - app/assets/javascripts/polaris_view_components/toast_controller.js
465
- - app/assets/javascripts/polaris_view_components/utils.js
556
+ - app/assets/javascripts/polaris_view_components/utils/index.js
557
+ - app/assets/javascripts/polaris_view_components/utils/use-transition.js
466
558
  - app/assets/stylesheets/polaris_view_components.css
467
559
  - app/assets/stylesheets/polaris_view_components.postcss.css
468
560
  - app/assets/stylesheets/polaris_view_components/custom.css
@@ -511,6 +603,7 @@ files:
511
603
  - app/components/polaris/choice_component.rb
512
604
  - app/components/polaris/choice_list_component.html.erb
513
605
  - app/components/polaris/choice_list_component.rb
606
+ - app/components/polaris/collapsible_component.rb
514
607
  - app/components/polaris/component.rb
515
608
  - app/components/polaris/data_table/cell_component.html.erb
516
609
  - app/components/polaris/data_table/cell_component.rb
@@ -554,6 +647,7 @@ files:
554
647
  - app/components/polaris/index_table_component.rb
555
648
  - app/components/polaris/inline_error_component.html.erb
556
649
  - app/components/polaris/inline_error_component.rb
650
+ - app/components/polaris/keyboard_key_component.rb
557
651
  - app/components/polaris/label_component.html.erb
558
652
  - app/components/polaris/label_component.rb
559
653
  - app/components/polaris/labelled_component.html.erb
@@ -613,6 +707,8 @@ files:
613
707
  - app/components/polaris/shopify_navigation_component.rb
614
708
  - app/components/polaris/skeleton_body_text_component.html.erb
615
709
  - app/components/polaris/skeleton_body_text_component.rb
710
+ - app/components/polaris/skeleton_display_text_component.rb
711
+ - app/components/polaris/skeleton_thumbnail_component.rb
616
712
  - app/components/polaris/spacer_component.rb
617
713
  - app/components/polaris/spinner_component.html.erb
618
714
  - app/components/polaris/spinner_component.rb
@@ -673,7 +769,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
673
769
  - !ruby/object:Gem::Version
674
770
  version: '0'
675
771
  requirements: []
676
- rubygems_version: 3.2.32
772
+ rubygems_version: 3.3.7
677
773
  signing_key:
678
774
  specification_version: 4
679
775
  summary: ViewComponents for Polaris Design System