@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 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
- <!-- <a href="https://hawa.style/changelog">Changelog</a> | -->
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
@@ -1377,6 +1377,9 @@ input[type="number"]::-webkit-inner-spin-button,
1377
1377
  .hawa-h-9 {
1378
1378
  height: 2.25rem;
1379
1379
  }
1380
+ .hawa-h-96 {
1381
+ height: 24rem;
1382
+ }
1380
1383
  .hawa-h-\[0\.8px\] {
1381
1384
  height: 0.8px;
1382
1385
  }
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(SheetPrimitive.Close, { className: "hawa-absolute hawa-right-4 hawa-top-4 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" }, /* @__PURE__ */ React57.createElement(
7323
- "svg",
7322
+ !hideCloseButton && /* @__PURE__ */ React57.createElement(
7323
+ SheetPrimitive.Close,
7324
7324
  {
7325
- "aria-label": "Close Icon",
7326
- "aria-hidden": "true",
7327
- className: "hawa-h-5 hawa-w-5",
7328
- fill: "currentColor",
7329
- viewBox: "0 0 20 20"
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
- "path",
7335
+ "svg",
7333
7336
  {
7334
- fillRule: "evenodd",
7335
- 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",
7336
- clipRule: "evenodd"
7337
- }
7338
- )
7339
- ), /* @__PURE__ */ React57.createElement("span", { className: "hawa-sr-only" }, "Close"))
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(SheetPrimitive.Close, { className: "hawa-absolute hawa-right-4 hawa-top-4 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" }, /* @__PURE__ */ React57.createElement(
7096
- "svg",
7095
+ !hideCloseButton && /* @__PURE__ */ React57.createElement(
7096
+ SheetPrimitive.Close,
7097
7097
  {
7098
- "aria-label": "Close Icon",
7099
- "aria-hidden": "true",
7100
- className: "hawa-h-5 hawa-w-5",
7101
- fill: "currentColor",
7102
- viewBox: "0 0 20 20"
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
- "path",
7108
+ "svg",
7106
7109
  {
7107
- fillRule: "evenodd",
7108
- 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",
7109
- clipRule: "evenodd"
7110
- }
7111
- )
7112
- ), /* @__PURE__ */ React57.createElement("span", { className: "hawa-sr-only" }, "Close"))
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 = ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.20.0-next",
3
+ "version": "0.20.1-next",
4
4
  "description": "Modern UI Kit made with Tailwind",
5
5
  "author": {
6
6
  "name": "Sikka Software",