@blueprintui/grid 2.6.0 → 2.6.1
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.
- package/CHANGELOG.md +7 -0
- package/dist/custom-elements.json +0 -8
- package/dist/detail/element.d.ts +0 -2
- package/dist/detail/element.js +1 -1
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@blueprintui/grid-v2.6.1](https://github.com/blueprintui/blueprintui/compare/@blueprintui/grid-v2.6.0...@blueprintui/grid-v2.6.1) (2026-01-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **components:** refactor to base popover mixin logic ([87dd198](https://github.com/blueprintui/blueprintui/commit/87dd198031ce52cb44a5c982459d934a7b008e49))
|
|
7
|
+
|
|
1
8
|
# [@blueprintui/grid-v2.6.0](https://github.com/blueprintui/blueprintui/compare/@blueprintui/grid-v2.5.0...@blueprintui/grid-v2.6.0) (2025-12-23)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -740,14 +740,6 @@
|
|
|
740
740
|
},
|
|
741
741
|
"attribute": "closable"
|
|
742
742
|
},
|
|
743
|
-
{
|
|
744
|
-
"kind": "field",
|
|
745
|
-
"name": "typePopoverController",
|
|
746
|
-
"type": {
|
|
747
|
-
"text": "TypePopoverController<this>"
|
|
748
|
-
},
|
|
749
|
-
"privacy": "protected"
|
|
750
|
-
},
|
|
751
743
|
{
|
|
752
744
|
"kind": "field",
|
|
753
745
|
"name": "#grid",
|
package/dist/detail/element.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
-
import { TypePopoverController } from '@blueprintui/components/internals';
|
|
3
2
|
/**
|
|
4
3
|
* Grid Detail
|
|
5
4
|
*
|
|
@@ -52,7 +51,6 @@ export declare class BpGridDetail extends LitElement {
|
|
|
52
51
|
position: 'inline-start' | 'inline-end';
|
|
53
52
|
trigger: HTMLElement | string;
|
|
54
53
|
closable: boolean;
|
|
55
|
-
protected typePopoverController: TypePopoverController<this>;
|
|
56
54
|
_internals: ElementInternals;
|
|
57
55
|
static styles: CSSStyleSheet[];
|
|
58
56
|
render(): import("lit").TemplateResult<1>;
|
package/dist/detail/element.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__decorate as t}from"tslib";import{LitElement as e,html as i,nothing as r}from"lit";import{I18nService as s,baseStyles as n,
|
|
1
|
+
import{__decorate as t}from"tslib";import{LitElement as e,html as i,nothing as r}from"lit";import{I18nService as s,baseStyles as n,i18n as o,stateDirection as l,interactionResponsive as a}from"@blueprintui/components/internals";import g from"./element.css.js";let h=class extends e{static{this.properties={i18n:{type:Object},position:{type:String,reflect:!0},trigger:{type:String},closable:{type:Boolean}}}constructor(){super(...arguments),this.i18n=s.keys.actions,this.position="inline-end"}get#t(){return this.parentElement}#e;get#i(){return"string"==typeof this.trigger?this.getRootNode().querySelector("#"+this.trigger):this.trigger}get#r(){return this.#i?.closest("bp-grid-row")}get#s(){return parseInt(getComputedStyle(this).getPropertyValue("--full-width-breakpoint"))}static{this.styles=[n,g]}render(){return i`<div part="internal" role="presentation">${this.closable?i`<bp-button-icon @click="${this.hidePopover}" aria-label="${this.i18n.close}" shape="close" action="flat" type="button"></bp-button-icon>`:r}<slot></slot></div>${this.trigger?i`<div part="pointer" role="presentation"></div>`:r}`}async connectedCallback(){super.connectedCallback(),this.slot="detail",this.#n()}firstUpdated(t){super.firstUpdated(t),this.#o(),this.addEventListener("toggle",t=>{"open"===t.newState&&this.#o()})}async updated(t){super.updated(t),await this.updateComplete,t.has("trigger")&&t.get("trigger")!==this.#i&&!this.hidden&&this.#l(t.get("trigger"))}disconnectedCallback(){super.disconnectedCallback(),this.#e.disconnect()}#l(t){t?.closest&&t?.closest("bp-grid-row")?.removeAttribute("_detail-row");const e=this.#i?.getBoundingClientRect()?.top-this.getBoundingClientRect().top;this.style.setProperty("--pointer-top",e-2+"px")}#n(){this.addEventListener("resize-layout",t=>{t.detail.width<this.#s?this.setAttribute("full-width",""):t.detail.width>this.#s+parseInt(this.style.insetInlineStart)&&(this.removeAttribute("full-width"),this.#o())})}async#o(){this.#t.scrollLock=!this.hidden,await this.updateComplete;const t=Array.from(this.#r?this.#r.querySelectorAll("bp-grid-cell"):[]).find(t=>"rowheader"===t.role);if(t){const e=this.#t?.getBoundingClientRect(),i=t.getBoundingClientRect();this.style.width="auto","inline-start"===this.position||"rtl"===this.#t?.getAttribute("dir")?this.style.insetInlineStart=Math.floor(e.right-i.left)+"px":this.style.insetInlineStart=Math.floor(i.right-e.left)+"px"}}};h=t([o({key:"actions"}),l(),a()],h);export{h as BpGridDetail};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blueprintui/grid",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"package.json",
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"lit": "^3.3.1",
|
|
64
64
|
"tslib": "^2.8.1",
|
|
65
|
+
"@blueprintui/components": "^2.17.2",
|
|
65
66
|
"@blueprintui/themes": "^2.1.12",
|
|
66
67
|
"@blueprintui/icons": "^2.1.6",
|
|
67
68
|
"@blueprintui/crane": "^2.1.8",
|
|
68
|
-
"@blueprintui/components": "^2.17.1",
|
|
69
69
|
"@blueprintui/typewriter": "^2.1.11"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
@@ -87,11 +87,11 @@
|
|
|
87
87
|
"publint": "0.3.12",
|
|
88
88
|
"web-test-runner-jasmine": "0.1.4",
|
|
89
89
|
"web-test-runner-performance": "0.1.6",
|
|
90
|
-
"@blueprintui-internals/eslint": "0.0.0",
|
|
91
|
-
"@blueprintui/typography": "^2.2.1",
|
|
92
90
|
"@blueprintui/test": "^0.0.0",
|
|
93
91
|
"@blueprintui/layout": "^2.2.0",
|
|
94
|
-
"@blueprintui/
|
|
92
|
+
"@blueprintui/typography": "^2.2.1",
|
|
93
|
+
"@blueprintui/virtual": "^1.0.1",
|
|
94
|
+
"@blueprintui-internals/eslint": "0.0.0"
|
|
95
95
|
},
|
|
96
96
|
"wireit": {
|
|
97
97
|
"ci": {
|
|
@@ -118,7 +118,8 @@
|
|
|
118
118
|
"../themes:build",
|
|
119
119
|
"../typewriter:build",
|
|
120
120
|
"../layout:build",
|
|
121
|
-
"../typography:build"
|
|
121
|
+
"../typography:build",
|
|
122
|
+
"../virtual:build"
|
|
122
123
|
],
|
|
123
124
|
"files": [
|
|
124
125
|
"./src/**/*",
|