primer_view_components 0.0.117 → 0.0.118
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -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/action_list/item.rb +2 -2
- data/app/components/primer/alpha/dialog.rb +4 -3
- data/app/components/primer/alpha/modal_dialog.js +24 -12
- data/app/components/primer/alpha/modal_dialog.ts +29 -15
- data/app/components/primer/beta/button.css +1 -1
- data/app/components/primer/beta/button.css.map +1 -1
- data/app/components/primer/beta/button.pcss +1 -1
- data/app/components/primer/beta/relative_time.rb +6 -0
- data/lib/primer/view_components/version.rb +1 -1
- data/lib/tasks/docs.rake +1 -1
- data/previews/primer/alpha/dialog_preview/with_text_input.html.erb +10 -0
- data/previews/primer/alpha/dialog_preview.rb +15 -0
- data/previews/primer/beta/relative_time_preview.rb +15 -0
- data/static/arguments.json +76 -70
- data/static/constants.json +11 -2
- metadata +5 -4
data/static/constants.json
CHANGED
@@ -163,14 +163,16 @@
|
|
163
163
|
"medium_portrait": "Overlay--size-medium-portrait",
|
164
164
|
"medium": "Overlay--size-medium",
|
165
165
|
"large": "Overlay--size-large",
|
166
|
-
"xlarge": "Overlay--size-xlarge"
|
166
|
+
"xlarge": "Overlay--size-xlarge",
|
167
|
+
"auto": "Overlay--size-auto"
|
167
168
|
},
|
168
169
|
"SIZE_OPTIONS": [
|
169
170
|
"small",
|
170
171
|
"medium_portrait",
|
171
172
|
"medium",
|
172
173
|
"large",
|
173
|
-
"xlarge"
|
174
|
+
"xlarge",
|
175
|
+
"auto"
|
174
176
|
]
|
175
177
|
},
|
176
178
|
"Primer::Alpha::Dialog::Body": {
|
@@ -798,6 +800,13 @@
|
|
798
800
|
"micro",
|
799
801
|
"elapsed"
|
800
802
|
],
|
803
|
+
"FORMAT_STYLE_DEFAULT": null,
|
804
|
+
"FORMAT_STYLE_OPTIONS": [
|
805
|
+
null,
|
806
|
+
"long",
|
807
|
+
"short",
|
808
|
+
"narrow"
|
809
|
+
],
|
801
810
|
"HOUR_DEFAULT": null,
|
802
811
|
"HOUR_MAPPINGS": {
|
803
812
|
"": null,
|
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.0.
|
4
|
+
version: 0.0.118
|
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:
|
11
|
+
date: 2023-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|
@@ -58,7 +58,7 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.
|
61
|
+
version: 2.81.0
|
62
62
|
- - "<"
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: '3.0'
|
@@ -68,7 +68,7 @@ dependencies:
|
|
68
68
|
requirements:
|
69
69
|
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: 2.
|
71
|
+
version: 2.81.0
|
72
72
|
- - "<"
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '3.0'
|
@@ -925,6 +925,7 @@ files:
|
|
925
925
|
- previews/primer/alpha/dialog_preview/test.html.erb
|
926
926
|
- previews/primer/alpha/dialog_preview/with_footer.html.erb
|
927
927
|
- previews/primer/alpha/dialog_preview/with_form.html.erb
|
928
|
+
- previews/primer/alpha/dialog_preview/with_text_input.html.erb
|
928
929
|
- previews/primer/alpha/dropdown_preview.rb
|
929
930
|
- previews/primer/alpha/hellip_button_preview.rb
|
930
931
|
- previews/primer/alpha/hidden_text_expander_preview.rb
|