@linzjs/windows 11.0.3 → 11.1.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/dist/LuiModalAsync/LuiModalAsync.scss +0 -8
- package/dist/LuiModalAsync/useLuiModalPrefab.d.ts +4 -1
- package/dist/LuiModalAsync/useLuiModalPrefab.js +1 -1
- package/dist/LuiModalAsync/useLuiModalPrefab.js.map +1 -1
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/panel/Panel.scss +25 -0
- package/dist/panel/PanelFooter.d.ts +6 -0
- package/dist/panel/PanelFooter.js +7 -0
- package/dist/panel/PanelFooter.js.map +1 -0
- package/dist/panel/index.d.ts +1 -0
- package/dist/panel/index.js +1 -0
- package/dist/panel/index.js.map +1 -1
- package/package.json +2 -2
package/dist/panel/Panel.scss
CHANGED
|
@@ -70,6 +70,19 @@
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
.WindowPanel-footer {
|
|
74
|
+
background-color: colors.$snow;
|
|
75
|
+
border-top: 2px solid colors.$lily;
|
|
76
|
+
display: flex;
|
|
77
|
+
flex-direction: row;
|
|
78
|
+
padding: 12px;
|
|
79
|
+
width: 100%;
|
|
80
|
+
|
|
81
|
+
.WindowPanel-footer-left {
|
|
82
|
+
flex: 1;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
73
86
|
.WindowPanel {
|
|
74
87
|
box-sizing: border-box;
|
|
75
88
|
|
|
@@ -82,6 +95,18 @@
|
|
|
82
95
|
.WindowPanel-header {
|
|
83
96
|
border-radius: 9px 9px 0 0;
|
|
84
97
|
}
|
|
98
|
+
|
|
99
|
+
.WindowPanel-footer {
|
|
100
|
+
border-radius: 0 0 9px 9px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&:where(:has(.WindowPanel-header)) {
|
|
104
|
+
// If the content is the last child, it means there is no footer, so we need to apply the border radius to the content element.
|
|
105
|
+
// Use :where() to reduce css specificity so that overriding in downstream apps is easier.
|
|
106
|
+
.WindowPanel-content:where(:last-child) {
|
|
107
|
+
border-radius: 0 0 9px 9px;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
85
110
|
}
|
|
86
111
|
|
|
87
112
|
%WindowPanel-divider {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface PanelFooterProps {
|
|
2
|
+
className?: string | undefined;
|
|
3
|
+
}
|
|
4
|
+
export declare const PanelFooter: import("react").ForwardRefExoticComponent<PanelFooterProps & {
|
|
5
|
+
children?: import("react").ReactNode | undefined;
|
|
6
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
export const PanelFooter = forwardRef(function PanelFooterFr({ children, className }, ref) {
|
|
5
|
+
return (_jsx("div", { className: clsx(`WindowPanel-footer`, className), ref: ref, children: children }));
|
|
6
|
+
});
|
|
7
|
+
//# sourceMappingURL=PanelFooter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PanelFooter.js","sourceRoot":"","sources":["../../src/panel/PanelFooter.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAMtD,MAAM,CAAC,MAAM,WAAW,GAAG,UAAU,CAAsD,SAAS,aAAa,CAC/G,EAAE,QAAQ,EAAE,SAAS,EAAE,EACvB,GAAG;IAEH,OAAO,CACL,cAAK,SAAS,EAAE,IAAI,CAAC,oBAAoB,EAAE,SAAS,CAAC,EAAE,GAAG,EAAE,GAAG,YAC5D,QAAQ,GACL,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
package/dist/panel/index.d.ts
CHANGED
package/dist/panel/index.js
CHANGED
package/dist/panel/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/panel/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/panel/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,SAAS,CAAC"}
|
package/package.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"./dist/index.scss": "./dist/index.scss"
|
|
23
23
|
},
|
|
24
|
-
"version": "11.
|
|
24
|
+
"version": "11.1.1",
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"@linzjs/lui": ">=23",
|
|
27
27
|
"react": ">=18",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@chromatic-com/storybook": "^5.1.2",
|
|
65
|
-
"@linzjs/lui": "^24.
|
|
65
|
+
"@linzjs/lui": "^24.16.0",
|
|
66
66
|
"@linzjs/step-ag-grid": "^31.2.2",
|
|
67
67
|
"@rollup/plugin-commonjs": "^29.0.2",
|
|
68
68
|
"@rollup/plugin-json": "^6.1.0",
|