@sikka/hawa 0.20.0-next → 0.20.1-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/README.md +6 -3
- package/dist/index.css +3 -0
- package/dist/index.js +28 -14
- package/dist/index.mjs +28 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
-
<a href="https://hawa.style/docs">Documentation</a>
|
|
7
|
-
|
|
6
|
+
<a href="https://hawa.style/docs">Documentation</a> -
|
|
7
|
+
<a href="https://github.com/sikka-software/Hawa/blob/main/CHANGELOG.md">Changelog</a>
|
|
8
8
|
<!-- <a href="https://hawa.style/roadmap">Roadmap</a> -->
|
|
9
9
|
</p>
|
|
10
10
|
|
|
@@ -64,7 +64,6 @@ npm install @sikka/hawa
|
|
|
64
64
|
|
|
65
65
|
</br>
|
|
66
66
|
|
|
67
|
-
|
|
68
67
|
# Contributing
|
|
69
68
|
|
|
70
69
|
To contribute, clone this github repository and run the development server
|
|
@@ -75,11 +74,15 @@ npm run storybook
|
|
|
75
74
|
// To run the landing pages
|
|
76
75
|
npm run dev
|
|
77
76
|
```
|
|
77
|
+
|
|
78
78
|
To build the library to /dist
|
|
79
|
+
|
|
79
80
|
```
|
|
80
81
|
npm run build-lib
|
|
81
82
|
```
|
|
83
|
+
|
|
82
84
|
To generate /dist/index.css
|
|
85
|
+
|
|
83
86
|
```
|
|
84
87
|
npm run build-css
|
|
85
88
|
```
|
package/dist/index.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -7319,24 +7319,38 @@ var SheetContent = React57.forwardRef(
|
|
|
7319
7319
|
...props
|
|
7320
7320
|
},
|
|
7321
7321
|
children,
|
|
7322
|
-
!hideCloseButton && /* @__PURE__ */ React57.createElement(
|
|
7323
|
-
|
|
7322
|
+
!hideCloseButton && /* @__PURE__ */ React57.createElement(
|
|
7323
|
+
SheetPrimitive.Close,
|
|
7324
7324
|
{
|
|
7325
|
-
|
|
7326
|
-
|
|
7327
|
-
|
|
7328
|
-
|
|
7329
|
-
|
|
7325
|
+
className: cn(
|
|
7326
|
+
"hawa-absolute hawa-rounded-sm hawa-opacity-70 hawa-ring-offset-background hawa-transition-opacity hover:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none data-[state=open]:hawa-bg-secondary",
|
|
7327
|
+
{
|
|
7328
|
+
"hawa-right-4 hawa-top-4": side === "left" || side === "bottom",
|
|
7329
|
+
"hawa-left-4 hawa-top-4": side === "right",
|
|
7330
|
+
"hawa-right-4 hawa-bottom-4": side === "top"
|
|
7331
|
+
}
|
|
7332
|
+
)
|
|
7330
7333
|
},
|
|
7331
7334
|
/* @__PURE__ */ React57.createElement(
|
|
7332
|
-
"
|
|
7335
|
+
"svg",
|
|
7333
7336
|
{
|
|
7334
|
-
|
|
7335
|
-
|
|
7336
|
-
|
|
7337
|
-
|
|
7338
|
-
|
|
7339
|
-
|
|
7337
|
+
"aria-label": "Close Icon",
|
|
7338
|
+
"aria-hidden": "true",
|
|
7339
|
+
className: "hawa-h-5 hawa-w-5",
|
|
7340
|
+
fill: "currentColor",
|
|
7341
|
+
viewBox: "0 0 20 20"
|
|
7342
|
+
},
|
|
7343
|
+
/* @__PURE__ */ React57.createElement(
|
|
7344
|
+
"path",
|
|
7345
|
+
{
|
|
7346
|
+
fillRule: "evenodd",
|
|
7347
|
+
d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
|
|
7348
|
+
clipRule: "evenodd"
|
|
7349
|
+
}
|
|
7350
|
+
)
|
|
7351
|
+
),
|
|
7352
|
+
/* @__PURE__ */ React57.createElement("span", { className: "hawa-sr-only" }, "Close")
|
|
7353
|
+
)
|
|
7340
7354
|
))
|
|
7341
7355
|
);
|
|
7342
7356
|
var SheetHeader = ({
|
package/dist/index.mjs
CHANGED
|
@@ -7092,24 +7092,38 @@ var SheetContent = React57.forwardRef(
|
|
|
7092
7092
|
...props
|
|
7093
7093
|
},
|
|
7094
7094
|
children,
|
|
7095
|
-
!hideCloseButton && /* @__PURE__ */ React57.createElement(
|
|
7096
|
-
|
|
7095
|
+
!hideCloseButton && /* @__PURE__ */ React57.createElement(
|
|
7096
|
+
SheetPrimitive.Close,
|
|
7097
7097
|
{
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7098
|
+
className: cn(
|
|
7099
|
+
"hawa-absolute hawa-rounded-sm hawa-opacity-70 hawa-ring-offset-background hawa-transition-opacity hover:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none data-[state=open]:hawa-bg-secondary",
|
|
7100
|
+
{
|
|
7101
|
+
"hawa-right-4 hawa-top-4": side === "left" || side === "bottom",
|
|
7102
|
+
"hawa-left-4 hawa-top-4": side === "right",
|
|
7103
|
+
"hawa-right-4 hawa-bottom-4": side === "top"
|
|
7104
|
+
}
|
|
7105
|
+
)
|
|
7103
7106
|
},
|
|
7104
7107
|
/* @__PURE__ */ React57.createElement(
|
|
7105
|
-
"
|
|
7108
|
+
"svg",
|
|
7106
7109
|
{
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7110
|
+
"aria-label": "Close Icon",
|
|
7111
|
+
"aria-hidden": "true",
|
|
7112
|
+
className: "hawa-h-5 hawa-w-5",
|
|
7113
|
+
fill: "currentColor",
|
|
7114
|
+
viewBox: "0 0 20 20"
|
|
7115
|
+
},
|
|
7116
|
+
/* @__PURE__ */ React57.createElement(
|
|
7117
|
+
"path",
|
|
7118
|
+
{
|
|
7119
|
+
fillRule: "evenodd",
|
|
7120
|
+
d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
|
|
7121
|
+
clipRule: "evenodd"
|
|
7122
|
+
}
|
|
7123
|
+
)
|
|
7124
|
+
),
|
|
7125
|
+
/* @__PURE__ */ React57.createElement("span", { className: "hawa-sr-only" }, "Close")
|
|
7126
|
+
)
|
|
7113
7127
|
))
|
|
7114
7128
|
);
|
|
7115
7129
|
var SheetHeader = ({
|