@sikka/hawa 0.13.14-next → 0.13.15-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.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +8 -1
package/dist/index.js
CHANGED
|
@@ -2484,7 +2484,7 @@ var Chip = function(param) {
|
|
|
2484
2484
|
var import_react16 = __toESM(require("react"));
|
|
2485
2485
|
var import_clsx6 = __toESM(require("clsx"));
|
|
2486
2486
|
var Alert = function(_param) {
|
|
2487
|
-
var _param_variant = _param.variant, variant = _param_variant === void 0 ? "normal" : _param_variant, _param_direction = _param.direction, direction = _param_direction === void 0 ? "ltr" : _param_direction, _param_severity = _param.severity, severity = _param_severity === void 0 ? "
|
|
2487
|
+
var _param_variant = _param.variant, variant = _param_variant === void 0 ? "normal" : _param_variant, _param_direction = _param.direction, direction = _param_direction === void 0 ? "ltr" : _param_direction, _param_severity = _param.severity, severity = _param_severity === void 0 ? "none" : _param_severity, duration = _param.duration, icon = _param.icon, className = _param.className, props = _object_without_properties(_param, [
|
|
2488
2488
|
"variant",
|
|
2489
2489
|
"direction",
|
|
2490
2490
|
"severity",
|
|
@@ -7126,7 +7126,7 @@ var AppLayout = function(_param) {
|
|
|
7126
7126
|
delayDuration: 500,
|
|
7127
7127
|
content: keepOpen ? ((_props_texts = props.texts) === null || _props_texts === void 0 ? void 0 : _props_texts.collapseSidebar) || "Collapse Sidebar" : ((_props_texts1 = props.texts) === null || _props_texts1 === void 0 ? void 0 : _props_texts1.expandSidebar) || "Expand Sidebar"
|
|
7128
7128
|
}, /* @__PURE__ */ import_react36.default.createElement(Button, {
|
|
7129
|
-
variant: "
|
|
7129
|
+
variant: "outline",
|
|
7130
7130
|
onClick: function() {
|
|
7131
7131
|
var newKeepOpenState = !keepOpen;
|
|
7132
7132
|
if (props.onDrawerExpand) {
|
package/dist/index.mjs
CHANGED
|
@@ -2003,7 +2003,7 @@ import clsx6 from "clsx";
|
|
|
2003
2003
|
var Alert = ({
|
|
2004
2004
|
variant = "normal",
|
|
2005
2005
|
direction = "ltr",
|
|
2006
|
-
severity = "
|
|
2006
|
+
severity = "none",
|
|
2007
2007
|
duration,
|
|
2008
2008
|
icon,
|
|
2009
2009
|
className,
|
|
@@ -7056,7 +7056,7 @@ var AppLayout = ({
|
|
|
7056
7056
|
/* @__PURE__ */ React61.createElement(
|
|
7057
7057
|
Button,
|
|
7058
7058
|
{
|
|
7059
|
-
variant: "
|
|
7059
|
+
variant: "outline",
|
|
7060
7060
|
onClick: () => {
|
|
7061
7061
|
const newKeepOpenState = !keepOpen;
|
|
7062
7062
|
if (props.onDrawerExpand) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sikka/hawa",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.15-next",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"build": "next build",
|
|
18
18
|
"start": "next start -p 3032",
|
|
19
19
|
"lint": "next lint",
|
|
20
|
+
"test": "jest",
|
|
20
21
|
"storybook": "storybook dev -p 6006",
|
|
21
22
|
"build-storybook": "storybook build",
|
|
22
23
|
"build-lib": "tsup components/index.tsx --format cjs,esm --dts",
|
|
@@ -65,6 +66,7 @@
|
|
|
65
66
|
"zod": "^3.22.3"
|
|
66
67
|
},
|
|
67
68
|
"devDependencies": {
|
|
69
|
+
"@babel/preset-react": "^7.22.15",
|
|
68
70
|
"@storybook/addon-essentials": "^7.5.2",
|
|
69
71
|
"@storybook/addon-interactions": "^7.5.2",
|
|
70
72
|
"@storybook/addon-links": "^7.5.2",
|
|
@@ -76,8 +78,13 @@
|
|
|
76
78
|
"@storybook/react": "^7.5.2",
|
|
77
79
|
"@storybook/testing-library": "^0.2.2",
|
|
78
80
|
"@storybook/theming": "^7.5.2",
|
|
81
|
+
"@testing-library/jest-dom": "^6.1.4",
|
|
82
|
+
"@testing-library/react": "^14.0.0",
|
|
83
|
+
"@types/jest": "^29.5.7",
|
|
79
84
|
"autoprefixer": "^10.4.16",
|
|
80
85
|
"eslint-plugin-storybook": "^0.6.15",
|
|
86
|
+
"jest": "^29.7.0",
|
|
87
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
81
88
|
"lucide-react": "^0.290.0",
|
|
82
89
|
"postcss": "^8.4.31",
|
|
83
90
|
"postcss-cli": "^10.1.0",
|