@primer/view-components 0.30.0-rc.98020e6f → 0.30.0

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.30.0-rc.98020e6f",
3
+ "version": "0.30.0",
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",
@@ -2986,6 +2986,12 @@
2986
2986
  "default": "`:start`",
2987
2987
  "description": "Which side of the toggle switch to render the status label. One of `:end` or `:start`."
2988
2988
  },
2989
+ {
2990
+ "name": "turbo",
2991
+ "type": "Boolean",
2992
+ "default": "`false`",
2993
+ "description": "Whether or not to request a turbo stream and render the response as such."
2994
+ },
2989
2995
  {
2990
2996
  "name": "system_arguments",
2991
2997
  "type": "Hash",
@@ -9334,6 +9334,12 @@
9334
9334
  "default": "`:start`",
9335
9335
  "description": "Which side of the toggle switch to render the status label. One of `:end` or `:start`."
9336
9336
  },
9337
+ {
9338
+ "name": "turbo",
9339
+ "type": "Boolean",
9340
+ "default": "`false`",
9341
+ "description": "Whether or not to request a turbo stream and render the response as such."
9342
+ },
9337
9343
  {
9338
9344
  "name": "system_arguments",
9339
9345
  "type": "Hash",
@@ -9501,6 +9507,20 @@
9501
9507
  "color-contrast"
9502
9508
  ]
9503
9509
  }
9510
+ },
9511
+ {
9512
+ "preview_path": "primer/alpha/toggle_switch/with_turbo",
9513
+ "name": "with_turbo",
9514
+ "snapshot": "false",
9515
+ "skip_rules": {
9516
+ "wont_fix": [
9517
+ "region",
9518
+ "button-name"
9519
+ ],
9520
+ "will_fix": [
9521
+ "color-contrast"
9522
+ ]
9523
+ }
9504
9524
  }
9505
9525
  ],
9506
9526
  "subcomponents": [
@@ -7213,6 +7213,20 @@
7213
7213
  "color-contrast"
7214
7214
  ]
7215
7215
  }
7216
+ },
7217
+ {
7218
+ "preview_path": "primer/alpha/toggle_switch/with_turbo",
7219
+ "name": "with_turbo",
7220
+ "snapshot": "false",
7221
+ "skip_rules": {
7222
+ "wont_fix": [
7223
+ "region",
7224
+ "button-name"
7225
+ ],
7226
+ "will_fix": [
7227
+ "color-contrast"
7228
+ ]
7229
+ }
7216
7230
  }
7217
7231
  ]
7218
7232
  },