@openproject/primer-view-components 0.75.2 → 0.76.0-rc.80a7308d5

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.
@@ -1 +1 @@
1
- .AvatarStack{height:20px;min-width:26px;position:relative}.AvatarStack .AvatarStack-body{position:absolute}.AvatarStack.AvatarStack--two{min-width:36px}.AvatarStack.AvatarStack--three-plus{min-width:46px}.AvatarStack-body{background:var(--bgColor-default);border-radius:100px;display:flex}.AvatarStack-body .avatar{background-color:var(--bgColor-default);border-radius:var(--borderRadius-small);border-right:var(--borderWidth-thin) solid var(--bgColor-default);box-sizing:initial;display:flex;height:20px;margin-right:-11px;position:relative;transition:margin .1s ease-in-out;width:20px;z-index:2}:is(.AvatarStack-body .avatar):first-child{z-index:3}:is(.AvatarStack-body .avatar):last-child{border-right:0;z-index:1}:is(.AvatarStack-body .avatar) img{border-radius:var(--borderRadius-small)}:is(.AvatarStack-body .avatar):nth-child(n+4){display:none;opacity:0}.AvatarStack-body:hover .avatar{margin-right:var(--base-size-4)}.AvatarStack-body:hover .avatar:nth-child(n+4){display:flex;opacity:1}.AvatarStack-body:hover .avatar-more{display:none!important}.avatar.avatar-more{background:var(--bgColor-muted);margin-right:0;z-index:1}.avatar.avatar-more:after,.avatar.avatar-more:before{border-radius:2px;content:"";display:block;height:20px;outline:var(--borderWidth-thin) solid var(--bgColor-default);position:absolute}.avatar.avatar-more:before{background:var(--avatarStack-fade-bgColor-muted);width:17px}.avatar.avatar-more:after{background:var(--avatarStack-fade-bgColor-default);width:14px}.AvatarStack--right .AvatarStack-body{flex-direction:row-reverse;right:0}:is(.AvatarStack--right .AvatarStack-body):hover .avatar{margin-left:var(--base-size-4);margin-right:0}:is(.AvatarStack--right .AvatarStack-body) .avatar:not(:last-child){border-left:0}.AvatarStack--right .avatar.avatar-more{background:var(--avatarStack-fade-bgColor-default)}:is(.AvatarStack--right .avatar.avatar-more):before{width:5px}:is(.AvatarStack--right .avatar.avatar-more):after{background:var(--bgColor-muted);width:2px}.AvatarStack--right .avatar{border-left:var(--borderWidth-thin) solid var(--bgColor-default);border-right:0;margin-left:-11px;margin-right:0}
1
+ .AvatarStack{height:20px;min-width:26px;position:relative}.AvatarStack .AvatarStack-body{position:absolute}.AvatarStack.AvatarStack--two{min-width:36px}.AvatarStack.AvatarStack--three-plus{min-width:46px}.AvatarStack-body{background:var(--bgColor-default);border-radius:100px;display:flex}.AvatarStack-body .avatar{background-color:var(--bgColor-default);border-radius:var(--borderRadius-small);box-sizing:initial;display:flex;height:20px;margin-right:-11px;position:relative;transition:margin .1s ease-in-out;width:20px;z-index:2}:is(.AvatarStack-body .avatar):first-child{z-index:3}:is(.AvatarStack-body .avatar):last-child{z-index:1}:is(.AvatarStack-body .avatar) img{border-radius:var(--borderRadius-small)}:is(.AvatarStack-body .avatar):nth-child(n+4){display:none;opacity:0}.AvatarStack-body:hover .avatar{margin-right:var(--base-size-4)}.AvatarStack-body:hover .avatar:nth-child(n+4){display:flex;opacity:1}.AvatarStack-body:hover .avatar-more{display:none!important}.avatar.avatar-more{background:var(--bgColor-muted);margin-right:0;z-index:1}.avatar.avatar-more:after,.avatar.avatar-more:before{border-radius:2px;content:"";display:block;height:20px;outline:var(--borderWidth-thin) solid var(--bgColor-default);position:absolute}.avatar.avatar-more:before{background:var(--avatarStack-fade-bgColor-muted);width:17px}.avatar.avatar-more:after{background:var(--avatarStack-fade-bgColor-default);width:14px}.AvatarStack--right .AvatarStack-body{flex-direction:row-reverse;right:0}:is(.AvatarStack--right .AvatarStack-body):hover .avatar{margin-left:var(--base-size-4);margin-right:0}.AvatarStack--right .avatar.avatar-more{background:var(--avatarStack-fade-bgColor-default)}:is(.AvatarStack--right .avatar.avatar-more):before{width:5px}:is(.AvatarStack--right .avatar.avatar-more):after{background:var(--bgColor-muted);width:2px}.AvatarStack--right .avatar{margin-left:-11px;margin-right:0}
@@ -19,7 +19,6 @@
19
19
  ".avatar.avatar-more:before",
20
20
  ".AvatarStack--right .AvatarStack-body",
21
21
  ":is(.AvatarStack--right .AvatarStack-body):hover .avatar",
22
- ":is(.AvatarStack--right .AvatarStack-body) .avatar:not(:last-child)",
23
22
  ".AvatarStack--right .avatar.avatar-more",
24
23
  ":is(.AvatarStack--right .avatar.avatar-more):before",
25
24
  ":is(.AvatarStack--right .avatar.avatar-more):after",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openproject/primer-view-components",
3
- "version": "0.75.2",
3
+ "version": "0.76.0-rc.80a7308d5",
4
4
  "description": "ViewComponents of the Primer Design System for OpenProject",
5
5
  "main": "app/assets/javascripts/primer_view_components.js",
6
6
  "module": "app/components/primer/primer.js",
@@ -2607,13 +2607,7 @@
2607
2607
  "name": "form_arguments",
2608
2608
  "type": "Hash",
2609
2609
  "default": "`{}`",
2610
- "description": "Form arguments. Supported for `local`, and experimentally supported for `remote` and `eventually_local` strategies by enabling the `use_experimental_non_local_form` flag."
2611
- },
2612
- {
2613
- "name": "use_experimental_non_local_form",
2614
- "type": "Boolean",
2615
- "default": "`false`",
2616
- "description": "A feature flag used to slowly roll out moving the input field (generated from form arguments) to the top of the SelectPanel HTML thus allowing remote fetching to have default form values. At this time, support is only available for the :single select variant. See: https://github.com/github/primer/issues/4923."
2610
+ "description": "Form arguments. Supported for all fetch strategies."
2617
2611
  },
2618
2612
  {
2619
2613
  "name": "show_filter",
@@ -7854,13 +7854,7 @@
7854
7854
  "name": "form_arguments",
7855
7855
  "type": "Hash",
7856
7856
  "default": "`{}`",
7857
- "description": "Form arguments. Supported for `local`, and experimentally supported for `remote` and `eventually_local` strategies by enabling the `use_experimental_non_local_form` flag."
7858
- },
7859
- {
7860
- "name": "use_experimental_non_local_form",
7861
- "type": "Boolean",
7862
- "default": "`false`",
7863
- "description": "A feature flag used to slowly roll out moving the input field (generated from form arguments) to the top of the SelectPanel HTML thus allowing remote fetching to have default form values. At this time, support is only available for the :single select variant. See: https://github.com/github/primer/issues/4923."
7857
+ "description": "Form arguments. Supported for all fetch strategies."
7864
7858
  },
7865
7859
  {
7866
7860
  "name": "show_filter",
@@ -7940,6 +7934,12 @@
7940
7934
  "name": "show_button",
7941
7935
  "description": "Adds a show button (i.e. a button) that will open the panel when clicked.",
7942
7936
  "parameters": [
7937
+ {
7938
+ "name": "icon",
7939
+ "type": "String",
7940
+ "default": "N/A",
7941
+ "description": "Name of {{link_to_octicons}} to use instead of text. If an [icon](https://primer.style/octicons/usage-guidelines/) is provided, a {{#link_to_component}}Primer::Beta::IconButton{{/link_to_component}} will be rendered. Otherwise a {{#link_to_component}}Primer::Beta::Button{{/link_to_component}} will be rendered."
7942
+ },
7943
7943
  {
7944
7944
  "name": "system_arguments",
7945
7945
  "type": "Hash",
@@ -8263,6 +8263,19 @@
8263
8263
  ]
8264
8264
  }
8265
8265
  },
8266
+ {
8267
+ "preview_path": "primer/alpha/select_panel/select_panel_with_icon_button",
8268
+ "name": "select_panel_with_icon_button",
8269
+ "snapshot": "interactive",
8270
+ "skip_rules": {
8271
+ "wont_fix": [
8272
+ "region"
8273
+ ],
8274
+ "will_fix": [
8275
+ "color-contrast"
8276
+ ]
8277
+ }
8278
+ },
8266
8279
  {
8267
8280
  "preview_path": "primer/alpha/select_panel/with_leading_icons",
8268
8281
  "name": "with_leading_icons",
@@ -7248,6 +7248,19 @@
7248
7248
  ]
7249
7249
  }
7250
7250
  },
7251
+ {
7252
+ "preview_path": "primer/alpha/select_panel/select_panel_with_icon_button",
7253
+ "name": "select_panel_with_icon_button",
7254
+ "snapshot": "interactive",
7255
+ "skip_rules": {
7256
+ "wont_fix": [
7257
+ "region"
7258
+ ],
7259
+ "will_fix": [
7260
+ "color-contrast"
7261
+ ]
7262
+ }
7263
+ },
7251
7264
  {
7252
7265
  "preview_path": "primer/alpha/select_panel/with_leading_icons",
7253
7266
  "name": "with_leading_icons",