@primer/view-components 0.36.0-rc.e60e7258 → 0.36.0-rc.eb4eeef9

Sign up to get free protection for your applications and to get access to all the features.
@@ -47,13 +47,6 @@ let ActionBarElement = class ActionBarElement extends HTMLElement {
47
47
  _ActionBarElement_focusZoneAbortController.set(this, null);
48
48
  }
49
49
  connectedCallback() {
50
- // Calculate the width of all the items before hiding anything
51
- for (const item of this.items) {
52
- const width = item.getBoundingClientRect().width;
53
- const marginLeft = parseInt(window.getComputedStyle(item)?.marginLeft, 10);
54
- const marginRight = parseInt(window.getComputedStyle(item)?.marginRight, 10);
55
- item.setAttribute('data-offset-width', `${width + marginLeft + marginRight}`);
56
- }
57
50
  resizeObserver.observe(this);
58
51
  instersectionObserver.observe(this);
59
52
  requestAnimationFrame(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/view-components",
3
- "version": "0.36.0-rc.e60e7258",
3
+ "version": "0.36.0-rc.eb4eeef9",
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",
@@ -68,7 +68,7 @@
68
68
  "@github/markdownlint-github": "^0.6.0",
69
69
  "@github/prettier-config": "0.0.6",
70
70
  "@playwright/test": "^1.35.1",
71
- "@primer/css": "21.5.0",
71
+ "@primer/css": "21.5.1",
72
72
  "@primer/stylelint-config": "^13.1.1",
73
73
  "@rollup/plugin-node-resolve": "^15.2.3",
74
74
  "@rollup/plugin-typescript": "^8.3.3",