@sikka/hawa 0.17.10-next → 0.17.11-next
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/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +4 -2
- package/dist/index.mjs +4 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -984,6 +984,7 @@ declare const Stats: FC<StatTypes>;
|
|
|
984
984
|
|
|
985
985
|
type AppSidebarItemProps = {
|
|
986
986
|
value: string;
|
|
987
|
+
slug?: string;
|
|
987
988
|
label: string;
|
|
988
989
|
badge?: {
|
|
989
990
|
label: string;
|
|
@@ -997,6 +998,7 @@ type AppSidebarItemProps = {
|
|
|
997
998
|
type SubItem = {
|
|
998
999
|
value: string;
|
|
999
1000
|
label: string;
|
|
1001
|
+
slug?: string;
|
|
1000
1002
|
icon?: any;
|
|
1001
1003
|
onMouseDown?: (e: React$1.MouseEvent) => void;
|
|
1002
1004
|
onClick?: (e: React$1.MouseEvent) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -984,6 +984,7 @@ declare const Stats: FC<StatTypes>;
|
|
|
984
984
|
|
|
985
985
|
type AppSidebarItemProps = {
|
|
986
986
|
value: string;
|
|
987
|
+
slug?: string;
|
|
987
988
|
label: string;
|
|
988
989
|
badge?: {
|
|
989
990
|
label: string;
|
|
@@ -997,6 +998,7 @@ type AppSidebarItemProps = {
|
|
|
997
998
|
type SubItem = {
|
|
998
999
|
value: string;
|
|
999
1000
|
label: string;
|
|
1001
|
+
slug?: string;
|
|
1000
1002
|
icon?: any;
|
|
1001
1003
|
onMouseDown?: (e: React$1.MouseEvent) => void;
|
|
1002
1004
|
onClick?: (e: React$1.MouseEvent) => void;
|
package/dist/index.js
CHANGED
|
@@ -7416,8 +7416,9 @@ var SidebarItem = ({
|
|
|
7416
7416
|
)
|
|
7417
7417
|
},
|
|
7418
7418
|
item.subitems.map((subitem, idx) => /* @__PURE__ */ React63.createElement(
|
|
7419
|
-
"
|
|
7419
|
+
"a",
|
|
7420
7420
|
{
|
|
7421
|
+
href: subitem.slug,
|
|
7421
7422
|
key: idx,
|
|
7422
7423
|
onMouseDown: (e) => {
|
|
7423
7424
|
if (subitem.onMouseDown) {
|
|
@@ -7446,8 +7447,9 @@ var SidebarItem = ({
|
|
|
7446
7447
|
);
|
|
7447
7448
|
} else {
|
|
7448
7449
|
return /* @__PURE__ */ React63.createElement(
|
|
7449
|
-
"
|
|
7450
|
+
"a",
|
|
7450
7451
|
{
|
|
7452
|
+
href: item.slug,
|
|
7451
7453
|
dir: direction,
|
|
7452
7454
|
onMouseDown: (e) => {
|
|
7453
7455
|
if (item.onMouseDown) {
|
package/dist/index.mjs
CHANGED
|
@@ -7211,8 +7211,9 @@ var SidebarItem = ({
|
|
|
7211
7211
|
)
|
|
7212
7212
|
},
|
|
7213
7213
|
item.subitems.map((subitem, idx) => /* @__PURE__ */ React63.createElement(
|
|
7214
|
-
"
|
|
7214
|
+
"a",
|
|
7215
7215
|
{
|
|
7216
|
+
href: subitem.slug,
|
|
7216
7217
|
key: idx,
|
|
7217
7218
|
onMouseDown: (e) => {
|
|
7218
7219
|
if (subitem.onMouseDown) {
|
|
@@ -7241,8 +7242,9 @@ var SidebarItem = ({
|
|
|
7241
7242
|
);
|
|
7242
7243
|
} else {
|
|
7243
7244
|
return /* @__PURE__ */ React63.createElement(
|
|
7244
|
-
"
|
|
7245
|
+
"a",
|
|
7245
7246
|
{
|
|
7247
|
+
href: item.slug,
|
|
7246
7248
|
dir: direction,
|
|
7247
7249
|
onMouseDown: (e) => {
|
|
7248
7250
|
if (item.onMouseDown) {
|