@primer/view-components 0.28.0-rc.538292aa → 0.28.0-rc.bfe86ece

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.28.0-rc.538292aa",
3
+ "version": "0.28.0-rc.bfe86ece",
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",
@@ -2352,124 +2352,6 @@
2352
2352
  }
2353
2353
  ]
2354
2354
  },
2355
- {
2356
- "component": "SelectPanel",
2357
- "status": "alpha",
2358
- "a11y_reviewed": false,
2359
- "short_name": "SelectPanel",
2360
- "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/select_panel.rb",
2361
- "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/select_panel/default/",
2362
- "parameters": [
2363
- {
2364
- "name": "src",
2365
- "type": "String",
2366
- "default": "`nil`",
2367
- "description": "The URL to fetch search results from."
2368
- },
2369
- {
2370
- "name": "title",
2371
- "type": "String",
2372
- "default": "`\"Menu\"`",
2373
- "description": "The title that appears at the top of the panel."
2374
- },
2375
- {
2376
- "name": "id",
2377
- "type": "String",
2378
- "default": "`self.class.generate_id`",
2379
- "description": "The unique ID of the panel."
2380
- },
2381
- {
2382
- "name": "size",
2383
- "type": "Symbol",
2384
- "default": "`:small`",
2385
- "description": "The size of the panel. One of `:auto`, `:large`, `:medium`, `:medium_portrait`, `:small`, or `:xlarge`."
2386
- },
2387
- {
2388
- "name": "select_variant",
2389
- "type": "Symbol",
2390
- "default": "`:single`",
2391
- "description": "One of `:multiple`, `:multiple_checkbox`, `:none`, or `:single`."
2392
- },
2393
- {
2394
- "name": "fetch_strategy",
2395
- "type": "Symbol",
2396
- "default": "`:remote`",
2397
- "description": "One of `:eventually_local`, `:local`, or `:remote`."
2398
- },
2399
- {
2400
- "name": "no_results_label",
2401
- "type": "String",
2402
- "default": "`\"No results found\"`",
2403
- "description": "The label to display when no results are found."
2404
- },
2405
- {
2406
- "name": "preload",
2407
- "type": "Boolean",
2408
- "default": "`false`",
2409
- "description": "Whether to preload search results when the page loads. If this option is false, results are loaded when the panel is opened."
2410
- },
2411
- {
2412
- "name": "dynamic_label",
2413
- "type": "Boolean",
2414
- "default": "`false`",
2415
- "description": "Whether or not to display the text of the currently selected item in the show button."
2416
- },
2417
- {
2418
- "name": "dynamic_label_prefix",
2419
- "type": "String",
2420
- "default": "`nil`",
2421
- "description": "If provided, the prefix is prepended to the dynamic label and displayed in the show button."
2422
- },
2423
- {
2424
- "name": "dynamic_aria_label_prefix",
2425
- "type": "String",
2426
- "default": "`nil`",
2427
- "description": "If provided, the prefix is prepended to the dynamic label and set as the value of the `aria-label` attribute on the show button."
2428
- },
2429
- {
2430
- "name": "body_id",
2431
- "type": "String",
2432
- "default": "`nil`",
2433
- "description": "The unique ID of the panel body. If not provided, the body ID will be set to the panel ID with a \"-body\" suffix."
2434
- },
2435
- {
2436
- "name": "list_arguments",
2437
- "type": "Hash",
2438
- "default": "`{}`",
2439
- "description": "Arguments to pass to the underlying [ActionList](/components/alpha/actionlist) component. Only has an effect for the local fetch strategy."
2440
- },
2441
- {
2442
- "name": "form_arguments",
2443
- "type": "Hash",
2444
- "default": "`{}`",
2445
- "description": "Form arguments to pass to the underlying [ActionList](/components/alpha/actionlist) component. Only has an effect for the local fetch strategy."
2446
- },
2447
- {
2448
- "name": "show_filter",
2449
- "type": "Boolean",
2450
- "default": "`true`",
2451
- "description": "Whether or not to show the filter input."
2452
- },
2453
- {
2454
- "name": "open_on_load",
2455
- "type": "Boolean",
2456
- "default": "`false`",
2457
- "description": "Open the panel when the page loads."
2458
- },
2459
- {
2460
- "name": "anchor_align",
2461
- "type": "Symbol",
2462
- "default": "`:start`",
2463
- "description": "The anchor alignment of the Overlay. One of `:center`, `:end`, or `:start`."
2464
- },
2465
- {
2466
- "name": "anchor_side",
2467
- "type": "Symbol",
2468
- "default": "`:outside_bottom`",
2469
- "description": "The side to anchor the Overlay to. One of `:inside_bottom`, `:inside_center`, `:inside_left`, `:inside_right`, `:inside_top`, `:outside_bottom`, `:outside_left`, `:outside_right`, or `:outside_top`."
2470
- }
2471
- ]
2472
- },
2473
2355
  {
2474
2356
  "component": "SubmitButton",
2475
2357
  "status": "alpha",
@@ -52,7 +52,6 @@
52
52
  "Primer::Alpha::SegmentedControl": "2023-02-01",
53
53
  "Primer::Alpha::SegmentedControl::Item": "2023-02-01",
54
54
  "Primer::Alpha::Select": "",
55
- "Primer::Alpha::SelectPanel": "",
56
55
  "Primer::Alpha::SubmitButton": "",
57
56
  "Primer::Alpha::TabContainer": "",
58
57
  "Primer::Alpha::TabNav": "",
@@ -597,22 +597,6 @@
597
597
  },
598
598
  "Primer::Alpha::Select": {
599
599
  },
600
- "Primer::Alpha::SelectPanel": {
601
- "DEFAULT_FETCH_STRATEGY": "remote",
602
- "DEFAULT_PRELOAD": false,
603
- "DEFAULT_SELECT_VARIANT": "single",
604
- "FETCH_STRATEGIES": [
605
- "remote",
606
- "eventually_local",
607
- "local"
608
- ],
609
- "ItemList": "Primer::Alpha::ActionList",
610
- "SELECT_VARIANT_OPTIONS": [
611
- "single",
612
- "multiple",
613
- "none"
614
- ]
615
- },
616
600
  "Primer::Alpha::SubmitButton": {
617
601
  },
618
602
  "Primer::Alpha::TabContainer": {