@lundal/zed-solid 0.0.16 → 0.0.17
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/Header.d.ts +1 -0
- package/dist/{NavHeader.d.ts → NavHeading.d.ts} +2 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -5
- package/package.json +1 -1
package/dist/Header.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JSX } from 'solid-js';
|
|
2
|
-
export type
|
|
2
|
+
export type NavHeadingProps = {
|
|
3
3
|
class?: string;
|
|
4
4
|
style?: JSX.CSSProperties;
|
|
5
5
|
children: JSX.Element;
|
|
6
6
|
};
|
|
7
|
-
export declare function
|
|
7
|
+
export declare function NavHeading(props: NavHeadingProps): JSX.Element;
|
package/dist/index.css
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export * from './IconButton.tsx';
|
|
|
13
13
|
export * from './Link.tsx';
|
|
14
14
|
export * from './Message.tsx';
|
|
15
15
|
export * from './Nav.tsx';
|
|
16
|
-
export * from './
|
|
16
|
+
export * from './NavHeading.tsx';
|
|
17
17
|
export * from './NavLink.tsx';
|
|
18
18
|
export * from './Page.tsx';
|
|
19
19
|
export * from './RadioButtons.tsx';
|
package/dist/index.js
CHANGED
|
@@ -556,13 +556,14 @@ function Form(props) {
|
|
|
556
556
|
return _el$;
|
|
557
557
|
})();
|
|
558
558
|
}
|
|
559
|
-
var _tmpl$$d = /* @__PURE__ */ template(`<header><a class=z-header--app href=/><span></span></a><div class=z-header--buttons>`);
|
|
559
|
+
var _tmpl$$d = /* @__PURE__ */ template(`<header><a class=z-header--app href=/><span></span></a><div class=z-header--children></div><div class=z-header--buttons>`);
|
|
560
560
|
function Header(props) {
|
|
561
561
|
return (() => {
|
|
562
|
-
var _el$ = _tmpl$$d(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$2.nextSibling;
|
|
562
|
+
var _el$ = _tmpl$$d(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$2.nextSibling, _el$5 = _el$4.nextSibling;
|
|
563
563
|
insert(_el$2, () => props.appIcon, _el$3);
|
|
564
564
|
insert(_el$3, () => props.appName);
|
|
565
565
|
insert(_el$4, () => props.children);
|
|
566
|
+
insert(_el$5, () => props.buttons);
|
|
566
567
|
createRenderEffect((_p$) => {
|
|
567
568
|
var _v$ = mergeClasses("z-header", props.class), _v$2 = props.style;
|
|
568
569
|
_v$ !== _p$.e && className(_el$, _p$.e = _v$);
|
|
@@ -787,12 +788,12 @@ function Nav(props) {
|
|
|
787
788
|
})();
|
|
788
789
|
}
|
|
789
790
|
var _tmpl$$7 = /* @__PURE__ */ template(`<div>`);
|
|
790
|
-
function
|
|
791
|
+
function NavHeading(props) {
|
|
791
792
|
return (() => {
|
|
792
793
|
var _el$ = _tmpl$$7();
|
|
793
794
|
insert(_el$, () => props.children);
|
|
794
795
|
createRenderEffect((_p$) => {
|
|
795
|
-
var _v$ = mergeClasses("z-nav--
|
|
796
|
+
var _v$ = mergeClasses("z-nav--heading", props.class), _v$2 = props.style;
|
|
796
797
|
_v$ !== _p$.e && className(_el$, _p$.e = _v$);
|
|
797
798
|
_p$.t = style(_el$, _v$2, _p$.t);
|
|
798
799
|
return _p$;
|
|
@@ -1095,7 +1096,7 @@ export {
|
|
|
1095
1096
|
Link,
|
|
1096
1097
|
Message,
|
|
1097
1098
|
Nav,
|
|
1098
|
-
|
|
1099
|
+
NavHeading,
|
|
1099
1100
|
NavLink,
|
|
1100
1101
|
Page,
|
|
1101
1102
|
RadioButtons,
|