primer_view_components 0.20.1 → 0.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -0
- data/app/assets/javascripts/primer_view_components.js +1 -1
- data/app/assets/javascripts/primer_view_components.js.map +1 -1
- data/app/assets/styles/primer_view_components.css +1 -1
- data/app/assets/styles/primer_view_components.css.map +1 -1
- data/app/components/primer/alpha/banner.css +1 -1
- data/app/components/primer/alpha/banner.css.map +1 -1
- data/app/components/primer/alpha/banner.pcss +4 -4
- data/app/components/primer/alpha/dialog.css +1 -1
- data/app/components/primer/alpha/dialog.css.json +1 -2
- data/app/components/primer/alpha/dialog.css.map +1 -1
- data/app/components/primer/alpha/dialog.pcss +8 -7
- data/app/components/primer/alpha/dropdown.css +1 -1
- data/app/components/primer/alpha/dropdown.css.map +1 -1
- data/app/components/primer/alpha/dropdown.pcss +1 -1
- data/app/components/primer/alpha/segmented_control.css +1 -1
- data/app/components/primer/alpha/segmented_control.css.map +1 -1
- data/app/components/primer/alpha/segmented_control.pcss +1 -0
- data/app/components/primer/alpha/tool_tip.js +46 -77
- data/app/components/primer/alpha/tool_tip.ts +46 -77
- data/app/components/primer/beta/button.css +1 -1
- data/app/components/primer/beta/button.css.json +2 -0
- data/app/components/primer/beta/button.css.map +1 -1
- data/app/components/primer/beta/button.pcss +8 -0
- data/app/components/primer/beta/button_group.rb +4 -2
- data/app/components/primer/beta/flash.css +1 -1
- data/app/components/primer/beta/flash.css.map +1 -1
- data/app/components/primer/beta/flash.pcss +4 -4
- data/app/components/primer/beta/icon_button.rb +2 -0
- data/app/components/primer/beta/popover.css +1 -1
- data/app/components/primer/beta/popover.css.map +1 -1
- data/app/components/primer/beta/popover.pcss +3 -0
- data/app/components/primer/beta/popover.rb +0 -1
- data/app/components/primer/dialog_helper.js +16 -3
- data/app/components/primer/dialog_helper.ts +14 -1
- data/lib/primer/view_components/version.rb +1 -1
- data/previews/primer/alpha/dialog_preview.rb +24 -0
- data/previews/primer/alpha/tooltip_preview/tooltip_e.html.erb +6 -0
- data/previews/primer/alpha/tooltip_preview/tooltip_n.html.erb +6 -0
- data/previews/primer/alpha/tooltip_preview/tooltip_ne.html.erb +6 -0
- data/previews/primer/alpha/tooltip_preview/tooltip_nw.html.erb +6 -0
- data/previews/primer/alpha/tooltip_preview/tooltip_s.html.erb +6 -0
- data/previews/primer/alpha/tooltip_preview/tooltip_se.html.erb +6 -0
- data/previews/primer/alpha/tooltip_preview/tooltip_sw.html.erb +6 -0
- data/previews/primer/alpha/tooltip_preview/tooltip_w.html.erb +6 -0
- data/previews/primer/alpha/tooltip_preview.rb +80 -0
- data/previews/primer/beta/button_group_preview/with_menu_button.html.erb +1 -1
- data/previews/primer/beta/button_group_preview.rb +7 -1
- data/previews/primer/beta/icon_button_preview.rb +25 -0
- data/static/arguments.json +1 -1
- data/static/constants.json +4 -0
- data/static/info_arch.json +131 -1
- data/static/previews.json +130 -0
- metadata +10 -2
@@ -272,6 +272,30 @@ module Primer
|
|
272
272
|
visually_hide_title: visually_hide_title
|
273
273
|
})
|
274
274
|
end
|
275
|
+
|
276
|
+
# @label Initially Open
|
277
|
+
#
|
278
|
+
# @param title [String] text
|
279
|
+
# @param subtitle [String] text
|
280
|
+
# @param size [Symbol] select [small, medium, medium_portrait, large, xlarge]
|
281
|
+
# @param position [Symbol] select [center, left, right]
|
282
|
+
# @param position_narrow [Symbol] select [inherit, bottom, fullscreen, left, right]
|
283
|
+
# @param visually_hide_title [Boolean] toggle
|
284
|
+
# @param disable_button [Boolean] toggle
|
285
|
+
# @param button_text [String] text
|
286
|
+
# @param body_text [String] text
|
287
|
+
# @param icon [Symbol] octicon
|
288
|
+
# @snapshot interactive
|
289
|
+
def initally_open(title: "Test Dialog", subtitle: nil, size: :medium, button_text: "Show Dialog", body_text: "Content", position: :center, position_narrow: :fullscreen, visually_hide_title: false, icon: nil, disable_button: false)
|
290
|
+
render(Primer::Alpha::Dialog.new(open: true, title: title, subtitle: subtitle, size: size, position: position, position_narrow: position_narrow, visually_hide_title: visually_hide_title)) do |d|
|
291
|
+
if icon.present? && (icon != :none)
|
292
|
+
d.with_show_button(icon: icon, "aria-label": icon.to_s, disabled: disable_button)
|
293
|
+
else
|
294
|
+
d.with_show_button(disabled: disable_button) { button_text }
|
295
|
+
end
|
296
|
+
d.with_body { body_text }
|
297
|
+
end
|
298
|
+
end
|
275
299
|
end
|
276
300
|
end
|
277
301
|
end
|
@@ -88,6 +88,86 @@ module Primer
|
|
88
88
|
def tooltip_with_dialog_moving_focus_to_input
|
89
89
|
render_with_template(locals: {})
|
90
90
|
end
|
91
|
+
|
92
|
+
# @label Direction: North
|
93
|
+
# @snapshot interactive
|
94
|
+
def tooltip_n(type: :description)
|
95
|
+
render_with_template(
|
96
|
+
locals: {
|
97
|
+
type: type,
|
98
|
+
}
|
99
|
+
)
|
100
|
+
end
|
101
|
+
|
102
|
+
# @label Direction: South
|
103
|
+
# @snapshot interactive
|
104
|
+
def tooltip_s(type: :description)
|
105
|
+
render_with_template(
|
106
|
+
locals: {
|
107
|
+
type: type,
|
108
|
+
}
|
109
|
+
)
|
110
|
+
end
|
111
|
+
|
112
|
+
# @label Direction: East
|
113
|
+
# @snapshot interactive
|
114
|
+
def tooltip_e(type: :description)
|
115
|
+
render_with_template(
|
116
|
+
locals: {
|
117
|
+
type: type,
|
118
|
+
}
|
119
|
+
)
|
120
|
+
end
|
121
|
+
|
122
|
+
# @label Direction: West
|
123
|
+
# @snapshot interactive
|
124
|
+
def tooltip_w(type: :description)
|
125
|
+
render_with_template(
|
126
|
+
locals: {
|
127
|
+
type: type,
|
128
|
+
}
|
129
|
+
)
|
130
|
+
end
|
131
|
+
|
132
|
+
# @label Direction: Southeast
|
133
|
+
# @snapshot interactive
|
134
|
+
def tooltip_se(type: :description)
|
135
|
+
render_with_template(
|
136
|
+
locals: {
|
137
|
+
type: type,
|
138
|
+
}
|
139
|
+
)
|
140
|
+
end
|
141
|
+
|
142
|
+
# @label Direction: Southwest
|
143
|
+
# @snapshot interactive
|
144
|
+
def tooltip_sw(type: :description)
|
145
|
+
render_with_template(
|
146
|
+
locals: {
|
147
|
+
type: type,
|
148
|
+
}
|
149
|
+
)
|
150
|
+
end
|
151
|
+
|
152
|
+
# @label Direction: Northeast
|
153
|
+
# @snapshot interactive
|
154
|
+
def tooltip_ne(type: :description)
|
155
|
+
render_with_template(
|
156
|
+
locals: {
|
157
|
+
type: type,
|
158
|
+
}
|
159
|
+
)
|
160
|
+
end
|
161
|
+
|
162
|
+
# @label Direction: Northwest
|
163
|
+
# @snapshot interactive
|
164
|
+
def tooltip_nw(type: :description)
|
165
|
+
render_with_template(
|
166
|
+
locals: {
|
167
|
+
type: type,
|
168
|
+
}
|
169
|
+
)
|
170
|
+
end
|
91
171
|
end
|
92
172
|
end
|
93
173
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<%= render(Primer::Beta::ButtonGroup.new) do |component| %>
|
1
|
+
<%= render(Primer::Beta::ButtonGroup.new(scheme: scheme, size: size)) do |component| %>
|
2
2
|
<% component.with_button { "Main menu" } %>
|
3
3
|
<% component.with_menu_button(button_arguments: { "aria-label": "secondary menu" }, menu_arguments: { anchor_align: :end }) do |menu, button| %>
|
4
4
|
<% menu.with_item(label: "Item 1", item_id: :item1) %>
|
@@ -41,8 +41,14 @@ module Primer
|
|
41
41
|
|
42
42
|
# @label With menu button
|
43
43
|
#
|
44
|
+
# @param scheme [Symbol] select [default, primary, secondary, danger, invisible]
|
45
|
+
# @param size [Symbol] select [medium, small]
|
44
46
|
# @snapshot
|
45
|
-
def with_menu_button
|
47
|
+
def with_menu_button(scheme: :default, size: :medium)
|
48
|
+
render_with_template(locals: {
|
49
|
+
scheme: scheme,
|
50
|
+
size: size
|
51
|
+
})
|
46
52
|
end
|
47
53
|
|
48
54
|
# @label Icon buttons
|
@@ -87,6 +87,31 @@ module Primer
|
|
87
87
|
))
|
88
88
|
end
|
89
89
|
|
90
|
+
# @label Primary
|
91
|
+
# @param size select [small, medium, large]
|
92
|
+
# @param aria_label text
|
93
|
+
# @param disabled toggle
|
94
|
+
# @param tag select [a, summary, button]
|
95
|
+
# @snapshot
|
96
|
+
def primary(
|
97
|
+
size: :medium,
|
98
|
+
id: "button-preview",
|
99
|
+
tag: :button,
|
100
|
+
disabled: false,
|
101
|
+
icon: :x,
|
102
|
+
aria_label: "Button"
|
103
|
+
)
|
104
|
+
render(Primer::Beta::IconButton.new(
|
105
|
+
scheme: :primary,
|
106
|
+
size: size,
|
107
|
+
id: id,
|
108
|
+
tag: tag,
|
109
|
+
disabled: disabled,
|
110
|
+
icon: icon,
|
111
|
+
"aria-label": aria_label
|
112
|
+
))
|
113
|
+
end
|
114
|
+
|
90
115
|
# @label Danger
|
91
116
|
# @param size select [small, medium, large]
|
92
117
|
# @param aria_label text
|
data/static/arguments.json
CHANGED
@@ -3760,7 +3760,7 @@
|
|
3760
3760
|
"name": "scheme",
|
3761
3761
|
"type": "Symbol",
|
3762
3762
|
"default": "`:default`",
|
3763
|
-
"description": "One of `:danger`, `:default`, or `:
|
3763
|
+
"description": "One of `:danger`, `:default`, `:invisible`, `:primary`, or `:secondary`."
|
3764
3764
|
},
|
3765
3765
|
{
|
3766
3766
|
"name": "size",
|
data/static/constants.json
CHANGED
@@ -938,11 +938,15 @@
|
|
938
938
|
"DEFAULT_SCHEME": "default",
|
939
939
|
"SCHEME_MAPPINGS": {
|
940
940
|
"default": "Button--secondary",
|
941
|
+
"primary": "Button--primary",
|
942
|
+
"secondary": "Button--secondary",
|
941
943
|
"danger": "Button--danger",
|
942
944
|
"invisible": "Button--invisible"
|
943
945
|
},
|
944
946
|
"SCHEME_OPTIONS": [
|
945
947
|
"default",
|
948
|
+
"primary",
|
949
|
+
"secondary",
|
946
950
|
"danger",
|
947
951
|
"invisible"
|
948
952
|
]
|
data/static/info_arch.json
CHANGED
@@ -3440,6 +3440,19 @@
|
|
3440
3440
|
"color-contrast"
|
3441
3441
|
]
|
3442
3442
|
}
|
3443
|
+
},
|
3444
|
+
{
|
3445
|
+
"preview_path": "primer/alpha/dialog/initally_open",
|
3446
|
+
"name": "initally_open",
|
3447
|
+
"snapshot": "interactive",
|
3448
|
+
"skip_rules": {
|
3449
|
+
"wont_fix": [
|
3450
|
+
"region"
|
3451
|
+
],
|
3452
|
+
"will_fix": [
|
3453
|
+
"color-contrast"
|
3454
|
+
]
|
3455
|
+
}
|
3443
3456
|
}
|
3444
3457
|
],
|
3445
3458
|
"subcomponents": [
|
@@ -8778,6 +8791,110 @@
|
|
8778
8791
|
"color-contrast"
|
8779
8792
|
]
|
8780
8793
|
}
|
8794
|
+
},
|
8795
|
+
{
|
8796
|
+
"preview_path": "primer/alpha/tooltip/tooltip_n",
|
8797
|
+
"name": "tooltip_n",
|
8798
|
+
"snapshot": "interactive",
|
8799
|
+
"skip_rules": {
|
8800
|
+
"wont_fix": [
|
8801
|
+
"region"
|
8802
|
+
],
|
8803
|
+
"will_fix": [
|
8804
|
+
"color-contrast"
|
8805
|
+
]
|
8806
|
+
}
|
8807
|
+
},
|
8808
|
+
{
|
8809
|
+
"preview_path": "primer/alpha/tooltip/tooltip_s",
|
8810
|
+
"name": "tooltip_s",
|
8811
|
+
"snapshot": "interactive",
|
8812
|
+
"skip_rules": {
|
8813
|
+
"wont_fix": [
|
8814
|
+
"region"
|
8815
|
+
],
|
8816
|
+
"will_fix": [
|
8817
|
+
"color-contrast"
|
8818
|
+
]
|
8819
|
+
}
|
8820
|
+
},
|
8821
|
+
{
|
8822
|
+
"preview_path": "primer/alpha/tooltip/tooltip_e",
|
8823
|
+
"name": "tooltip_e",
|
8824
|
+
"snapshot": "interactive",
|
8825
|
+
"skip_rules": {
|
8826
|
+
"wont_fix": [
|
8827
|
+
"region"
|
8828
|
+
],
|
8829
|
+
"will_fix": [
|
8830
|
+
"color-contrast"
|
8831
|
+
]
|
8832
|
+
}
|
8833
|
+
},
|
8834
|
+
{
|
8835
|
+
"preview_path": "primer/alpha/tooltip/tooltip_w",
|
8836
|
+
"name": "tooltip_w",
|
8837
|
+
"snapshot": "interactive",
|
8838
|
+
"skip_rules": {
|
8839
|
+
"wont_fix": [
|
8840
|
+
"region"
|
8841
|
+
],
|
8842
|
+
"will_fix": [
|
8843
|
+
"color-contrast"
|
8844
|
+
]
|
8845
|
+
}
|
8846
|
+
},
|
8847
|
+
{
|
8848
|
+
"preview_path": "primer/alpha/tooltip/tooltip_se",
|
8849
|
+
"name": "tooltip_se",
|
8850
|
+
"snapshot": "interactive",
|
8851
|
+
"skip_rules": {
|
8852
|
+
"wont_fix": [
|
8853
|
+
"region"
|
8854
|
+
],
|
8855
|
+
"will_fix": [
|
8856
|
+
"color-contrast"
|
8857
|
+
]
|
8858
|
+
}
|
8859
|
+
},
|
8860
|
+
{
|
8861
|
+
"preview_path": "primer/alpha/tooltip/tooltip_sw",
|
8862
|
+
"name": "tooltip_sw",
|
8863
|
+
"snapshot": "interactive",
|
8864
|
+
"skip_rules": {
|
8865
|
+
"wont_fix": [
|
8866
|
+
"region"
|
8867
|
+
],
|
8868
|
+
"will_fix": [
|
8869
|
+
"color-contrast"
|
8870
|
+
]
|
8871
|
+
}
|
8872
|
+
},
|
8873
|
+
{
|
8874
|
+
"preview_path": "primer/alpha/tooltip/tooltip_ne",
|
8875
|
+
"name": "tooltip_ne",
|
8876
|
+
"snapshot": "interactive",
|
8877
|
+
"skip_rules": {
|
8878
|
+
"wont_fix": [
|
8879
|
+
"region"
|
8880
|
+
],
|
8881
|
+
"will_fix": [
|
8882
|
+
"color-contrast"
|
8883
|
+
]
|
8884
|
+
}
|
8885
|
+
},
|
8886
|
+
{
|
8887
|
+
"preview_path": "primer/alpha/tooltip/tooltip_nw",
|
8888
|
+
"name": "tooltip_nw",
|
8889
|
+
"snapshot": "interactive",
|
8890
|
+
"skip_rules": {
|
8891
|
+
"wont_fix": [
|
8892
|
+
"region"
|
8893
|
+
],
|
8894
|
+
"will_fix": [
|
8895
|
+
"color-contrast"
|
8896
|
+
]
|
8897
|
+
}
|
8781
8898
|
}
|
8782
8899
|
],
|
8783
8900
|
"subcomponents": [
|
@@ -12329,7 +12446,7 @@
|
|
12329
12446
|
"name": "scheme",
|
12330
12447
|
"type": "Symbol",
|
12331
12448
|
"default": "`:default`",
|
12332
|
-
"description": "One of `:danger`, `:default`, or `:
|
12449
|
+
"description": "One of `:danger`, `:default`, `:invisible`, `:primary`, or `:secondary`."
|
12333
12450
|
},
|
12334
12451
|
{
|
12335
12452
|
"name": "size",
|
@@ -12426,6 +12543,19 @@
|
|
12426
12543
|
]
|
12427
12544
|
}
|
12428
12545
|
},
|
12546
|
+
{
|
12547
|
+
"preview_path": "primer/beta/icon_button/primary",
|
12548
|
+
"name": "primary",
|
12549
|
+
"snapshot": "true",
|
12550
|
+
"skip_rules": {
|
12551
|
+
"wont_fix": [
|
12552
|
+
"region"
|
12553
|
+
],
|
12554
|
+
"will_fix": [
|
12555
|
+
"color-contrast"
|
12556
|
+
]
|
12557
|
+
}
|
12558
|
+
},
|
12429
12559
|
{
|
12430
12560
|
"preview_path": "primer/beta/icon_button/danger",
|
12431
12561
|
"name": "danger",
|
data/static/previews.json
CHANGED
@@ -3217,6 +3217,19 @@
|
|
3217
3217
|
"color-contrast"
|
3218
3218
|
]
|
3219
3219
|
}
|
3220
|
+
},
|
3221
|
+
{
|
3222
|
+
"preview_path": "primer/alpha/dialog/initally_open",
|
3223
|
+
"name": "initally_open",
|
3224
|
+
"snapshot": "interactive",
|
3225
|
+
"skip_rules": {
|
3226
|
+
"wont_fix": [
|
3227
|
+
"region"
|
3228
|
+
],
|
3229
|
+
"will_fix": [
|
3230
|
+
"color-contrast"
|
3231
|
+
]
|
3232
|
+
}
|
3220
3233
|
}
|
3221
3234
|
]
|
3222
3235
|
},
|
@@ -3781,6 +3794,19 @@
|
|
3781
3794
|
]
|
3782
3795
|
}
|
3783
3796
|
},
|
3797
|
+
{
|
3798
|
+
"preview_path": "primer/beta/icon_button/primary",
|
3799
|
+
"name": "primary",
|
3800
|
+
"snapshot": "true",
|
3801
|
+
"skip_rules": {
|
3802
|
+
"wont_fix": [
|
3803
|
+
"region"
|
3804
|
+
],
|
3805
|
+
"will_fix": [
|
3806
|
+
"color-contrast"
|
3807
|
+
]
|
3808
|
+
}
|
3809
|
+
},
|
3784
3810
|
{
|
3785
3811
|
"preview_path": "primer/beta/icon_button/danger",
|
3786
3812
|
"name": "danger",
|
@@ -6797,6 +6823,110 @@
|
|
6797
6823
|
"color-contrast"
|
6798
6824
|
]
|
6799
6825
|
}
|
6826
|
+
},
|
6827
|
+
{
|
6828
|
+
"preview_path": "primer/alpha/tooltip/tooltip_n",
|
6829
|
+
"name": "tooltip_n",
|
6830
|
+
"snapshot": "interactive",
|
6831
|
+
"skip_rules": {
|
6832
|
+
"wont_fix": [
|
6833
|
+
"region"
|
6834
|
+
],
|
6835
|
+
"will_fix": [
|
6836
|
+
"color-contrast"
|
6837
|
+
]
|
6838
|
+
}
|
6839
|
+
},
|
6840
|
+
{
|
6841
|
+
"preview_path": "primer/alpha/tooltip/tooltip_s",
|
6842
|
+
"name": "tooltip_s",
|
6843
|
+
"snapshot": "interactive",
|
6844
|
+
"skip_rules": {
|
6845
|
+
"wont_fix": [
|
6846
|
+
"region"
|
6847
|
+
],
|
6848
|
+
"will_fix": [
|
6849
|
+
"color-contrast"
|
6850
|
+
]
|
6851
|
+
}
|
6852
|
+
},
|
6853
|
+
{
|
6854
|
+
"preview_path": "primer/alpha/tooltip/tooltip_e",
|
6855
|
+
"name": "tooltip_e",
|
6856
|
+
"snapshot": "interactive",
|
6857
|
+
"skip_rules": {
|
6858
|
+
"wont_fix": [
|
6859
|
+
"region"
|
6860
|
+
],
|
6861
|
+
"will_fix": [
|
6862
|
+
"color-contrast"
|
6863
|
+
]
|
6864
|
+
}
|
6865
|
+
},
|
6866
|
+
{
|
6867
|
+
"preview_path": "primer/alpha/tooltip/tooltip_w",
|
6868
|
+
"name": "tooltip_w",
|
6869
|
+
"snapshot": "interactive",
|
6870
|
+
"skip_rules": {
|
6871
|
+
"wont_fix": [
|
6872
|
+
"region"
|
6873
|
+
],
|
6874
|
+
"will_fix": [
|
6875
|
+
"color-contrast"
|
6876
|
+
]
|
6877
|
+
}
|
6878
|
+
},
|
6879
|
+
{
|
6880
|
+
"preview_path": "primer/alpha/tooltip/tooltip_se",
|
6881
|
+
"name": "tooltip_se",
|
6882
|
+
"snapshot": "interactive",
|
6883
|
+
"skip_rules": {
|
6884
|
+
"wont_fix": [
|
6885
|
+
"region"
|
6886
|
+
],
|
6887
|
+
"will_fix": [
|
6888
|
+
"color-contrast"
|
6889
|
+
]
|
6890
|
+
}
|
6891
|
+
},
|
6892
|
+
{
|
6893
|
+
"preview_path": "primer/alpha/tooltip/tooltip_sw",
|
6894
|
+
"name": "tooltip_sw",
|
6895
|
+
"snapshot": "interactive",
|
6896
|
+
"skip_rules": {
|
6897
|
+
"wont_fix": [
|
6898
|
+
"region"
|
6899
|
+
],
|
6900
|
+
"will_fix": [
|
6901
|
+
"color-contrast"
|
6902
|
+
]
|
6903
|
+
}
|
6904
|
+
},
|
6905
|
+
{
|
6906
|
+
"preview_path": "primer/alpha/tooltip/tooltip_ne",
|
6907
|
+
"name": "tooltip_ne",
|
6908
|
+
"snapshot": "interactive",
|
6909
|
+
"skip_rules": {
|
6910
|
+
"wont_fix": [
|
6911
|
+
"region"
|
6912
|
+
],
|
6913
|
+
"will_fix": [
|
6914
|
+
"color-contrast"
|
6915
|
+
]
|
6916
|
+
}
|
6917
|
+
},
|
6918
|
+
{
|
6919
|
+
"preview_path": "primer/alpha/tooltip/tooltip_nw",
|
6920
|
+
"name": "tooltip_nw",
|
6921
|
+
"snapshot": "interactive",
|
6922
|
+
"skip_rules": {
|
6923
|
+
"wont_fix": [
|
6924
|
+
"region"
|
6925
|
+
],
|
6926
|
+
"will_fix": [
|
6927
|
+
"color-contrast"
|
6928
|
+
]
|
6929
|
+
}
|
6800
6930
|
}
|
6801
6931
|
]
|
6802
6932
|
},
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: primer_view_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.21.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub Open Source
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|
@@ -781,7 +781,15 @@ files:
|
|
781
781
|
- previews/primer/alpha/text_field_preview/input_group_trailing_button.html.erb
|
782
782
|
- previews/primer/alpha/toggle_switch_preview.rb
|
783
783
|
- previews/primer/alpha/tooltip_preview.rb
|
784
|
+
- previews/primer/alpha/tooltip_preview/tooltip_e.html.erb
|
784
785
|
- previews/primer/alpha/tooltip_preview/tooltip_inside_primer_overlay.html.erb
|
786
|
+
- previews/primer/alpha/tooltip_preview/tooltip_n.html.erb
|
787
|
+
- previews/primer/alpha/tooltip_preview/tooltip_ne.html.erb
|
788
|
+
- previews/primer/alpha/tooltip_preview/tooltip_nw.html.erb
|
789
|
+
- previews/primer/alpha/tooltip_preview/tooltip_s.html.erb
|
790
|
+
- previews/primer/alpha/tooltip_preview/tooltip_se.html.erb
|
791
|
+
- previews/primer/alpha/tooltip_preview/tooltip_sw.html.erb
|
792
|
+
- previews/primer/alpha/tooltip_preview/tooltip_w.html.erb
|
785
793
|
- previews/primer/alpha/tooltip_preview/tooltip_with_dialog_moving_focus_to_input.html.erb
|
786
794
|
- previews/primer/alpha/tooltip_preview/with_multiple_on_a_page.html.erb
|
787
795
|
- previews/primer/alpha/tooltip_preview/with_right_most_position.html.erb
|