@admin-layout/tailwind-ui 12.0.16-alpha.16 → 12.0.16-alpha.19
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageContainer.d.ts","sourceRoot":"","sources":["../../../src/components/PageContainer/PageContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAGlD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"PageContainer.d.ts","sourceRoot":"","sources":["../../../src/components/PageContainer/PageContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAGlD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA+DtD,CAAC"}
|
|
@@ -30,9 +30,9 @@ import {jsx,jsxs}from'react/jsx-runtime';import {useState,useEffect}from'react';
|
|
|
30
30
|
return jsx(Spin, {});
|
|
31
31
|
}
|
|
32
32
|
return jsxs("div", {
|
|
33
|
-
className: "
|
|
33
|
+
className: "themed-card p-4",
|
|
34
34
|
children: [tabList && tabList.length > 0 && jsx("div", {
|
|
35
|
-
className: "
|
|
35
|
+
className: "border-b border-border mb-4",
|
|
36
36
|
children: jsxs("div", {
|
|
37
37
|
className: "flex items-center justify-between",
|
|
38
38
|
children: [jsx("ul", {
|
|
@@ -41,16 +41,21 @@ import {jsx,jsxs}from'react/jsx-runtime';import {useState,useEffect}from'react';
|
|
|
41
41
|
className: "mr-2",
|
|
42
42
|
children: jsx("button", {
|
|
43
43
|
onClick: () => handleTabChange(tab.path),
|
|
44
|
-
className: `
|
|
44
|
+
className: `
|
|
45
|
+
inline-block p-4 transition-colors
|
|
46
|
+
${activeTabKey === tab.path ? 'text-primary border-b-2 border-primary' : 'text-muted-foreground hover:text-foreground border-b-2 border-transparent hover:border-accent'}
|
|
47
|
+
focus-themed
|
|
48
|
+
`,
|
|
45
49
|
children: tab.tab
|
|
46
50
|
})
|
|
47
51
|
}, tab.path))
|
|
48
52
|
}), tabBarExtraContent && jsx("div", {
|
|
53
|
+
className: "text-muted-foreground",
|
|
49
54
|
children: tabBarExtraContent
|
|
50
55
|
})]
|
|
51
56
|
})
|
|
52
57
|
}), jsx("div", {
|
|
53
|
-
className: "page-content",
|
|
58
|
+
className: "page-content text-foreground",
|
|
54
59
|
children: props.children
|
|
55
60
|
})]
|
|
56
61
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageContainer.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PageContainer.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@admin-layout/tailwind-ui",
|
|
3
|
-
"version": "12.0.16-alpha.
|
|
3
|
+
"version": "12.0.16-alpha.19",
|
|
4
4
|
"description": "Sample core for higher packages to depend on",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "CDMBase LLC",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"typescript": {
|
|
82
82
|
"definition": "lib/index.d.ts"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "b6ed1e7b30d45910cbe9567aaa1f600a65396b2f"
|
|
85
85
|
}
|