@primer/view-components 0.22.1-rc.38e8d62a → 0.22.1-rc.39ee8e77

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/view-components",
3
- "version": "0.22.1-rc.38e8d62a",
3
+ "version": "0.22.1-rc.39ee8e77",
4
4
  "description": "ViewComponents for the Primer Design System",
5
5
  "main": "app/assets/javascripts/primer_view_components.js",
6
6
  "module": "app/components/primer/primer.js",
@@ -3400,6 +3400,12 @@
3400
3400
  "default": "`false`",
3401
3401
  "description": "Whether or not the button is disabled. If true, this option forces `tag:` to `:button`."
3402
3402
  },
3403
+ {
3404
+ "name": "label_wrap",
3405
+ "type": "Boolean",
3406
+ "default": "`false`",
3407
+ "description": "Whether or not the button label text wraps and the button height expands."
3408
+ },
3403
3409
  {
3404
3410
  "name": "system_arguments",
3405
3411
  "type": "Hash",
@@ -10967,6 +10967,12 @@
10967
10967
  "default": "`false`",
10968
10968
  "description": "Whether or not the button is disabled. If true, this option forces `tag:` to `:button`."
10969
10969
  },
10970
+ {
10971
+ "name": "label_wrap",
10972
+ "type": "Boolean",
10973
+ "default": "`false`",
10974
+ "description": "Whether or not the button label text wraps and the button height expands."
10975
+ },
10970
10976
  {
10971
10977
  "name": "system_arguments",
10972
10978
  "type": "Hash",
@@ -11151,6 +11157,19 @@
11151
11157
  ]
11152
11158
  }
11153
11159
  },
11160
+ {
11161
+ "preview_path": "primer/beta/button/label_wrap",
11162
+ "name": "label_wrap",
11163
+ "snapshot": "true",
11164
+ "skip_rules": {
11165
+ "wont_fix": [
11166
+ "region"
11167
+ ],
11168
+ "will_fix": [
11169
+ "color-contrast"
11170
+ ]
11171
+ }
11172
+ },
11154
11173
  {
11155
11174
  "preview_path": "primer/beta/button/link_as_button",
11156
11175
  "name": "link_as_button",
@@ -2137,6 +2137,19 @@
2137
2137
  ]
2138
2138
  }
2139
2139
  },
2140
+ {
2141
+ "preview_path": "primer/beta/button/label_wrap",
2142
+ "name": "label_wrap",
2143
+ "snapshot": "true",
2144
+ "skip_rules": {
2145
+ "wont_fix": [
2146
+ "region"
2147
+ ],
2148
+ "will_fix": [
2149
+ "color-contrast"
2150
+ ]
2151
+ }
2152
+ },
2140
2153
  {
2141
2154
  "preview_path": "primer/beta/button/link_as_button",
2142
2155
  "name": "link_as_button",