@sikka/hawa 0.1.77 → 0.1.78
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/.github/workflows/hawa-ci.yml +7 -0
- package/README.md +2 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/elements/HawaCodeBlock.tsx +1 -1
- package/tailwind.config.js +1 -14
|
@@ -53,8 +53,15 @@ jobs:
|
|
|
53
53
|
node-version: ${{ matrix.node-version }}
|
|
54
54
|
- name: Generate Storybook Static Files
|
|
55
55
|
run: |
|
|
56
|
+
cd /var/www/html/sikka-software/_work/Hawa/Hawa
|
|
57
|
+
rm -fr package-lock.json || true
|
|
58
|
+
rm -fr node_modules || true
|
|
59
|
+
npm install
|
|
56
60
|
npm run build-storybook
|
|
61
|
+
|
|
57
62
|
deploy:
|
|
63
|
+
if: ${{ !contains(github.event.head_commit.message, 'skip_landing') }}
|
|
64
|
+
|
|
58
65
|
runs-on: [self-hosted, linux, x64, sikka-sofware-server-development]
|
|
59
66
|
strategy:
|
|
60
67
|
matrix:
|
package/README.md
CHANGED
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
> Opinionated UI Kit for web apps and websites built with TailwindCSS
|
|
11
11
|
|
|
12
|
+
[Docs](https://hawa.style/docs)
|
|
13
|
+
|
|
12
14
|
## Install
|
|
13
15
|
|
|
14
16
|
```bash
|
|
@@ -32,7 +34,6 @@ npm run start
|
|
|
32
34
|
|
|
33
35
|

|
|
34
36
|
|
|
35
|
-
|
|
36
37
|
## License
|
|
37
38
|
|
|
38
39
|
MIT © [SIKKA SOFTWARE](https://sikka.sa)
|
package/dist/index.js
CHANGED
|
@@ -4496,7 +4496,7 @@ var HawaCodeBlock = function(param) {
|
|
|
4496
4496
|
}, /* @__PURE__ */ import_react29.default.createElement("div", {
|
|
4497
4497
|
className: cn("mb-1 w-full max-w-[52px] rounded-inner p-2 py-1 text-center text-[0.75rem]")
|
|
4498
4498
|
}, fileName)), /* @__PURE__ */ import_react29.default.createElement("pre", null, /* @__PURE__ */ import_react29.default.createElement("code", {
|
|
4499
|
-
className: cn("flex w-full flex-row items-start justify-between rounded bg-gray-200 p-
|
|
4499
|
+
className: cn("flex w-full flex-row items-start justify-between rounded bg-gray-200 p-0 text-left text-sm text-black dark:bg-gray-800 dark:text-white sm:text-base")
|
|
4500
4500
|
}, /* @__PURE__ */ import_react29.default.createElement("div", {
|
|
4501
4501
|
className: "flex min-h-[37.75px] w-full flex-col justify-center p-4 "
|
|
4502
4502
|
}, tabs ? tabs[selectedTab].code : code), /* @__PURE__ */ import_react29.default.createElement("div", {
|
package/dist/index.mjs
CHANGED
|
@@ -4300,7 +4300,7 @@ var HawaCodeBlock = ({
|
|
|
4300
4300
|
"code",
|
|
4301
4301
|
{
|
|
4302
4302
|
className: cn(
|
|
4303
|
-
"flex w-full flex-row items-start justify-between rounded bg-gray-200 p-
|
|
4303
|
+
"flex w-full flex-row items-start justify-between rounded bg-gray-200 p-0 text-left text-sm text-black dark:bg-gray-800 dark:text-white sm:text-base"
|
|
4304
4304
|
)
|
|
4305
4305
|
},
|
|
4306
4306
|
/* @__PURE__ */ React35.createElement("div", { className: "flex min-h-[37.75px] w-full flex-col justify-center p-4 " }, tabs ? tabs[selectedTab].code : code),
|
package/package.json
CHANGED
|
@@ -83,7 +83,7 @@ export const HawaCodeBlock: FC<CodeBlockTypes> = ({
|
|
|
83
83
|
<pre>
|
|
84
84
|
<code
|
|
85
85
|
className={cn(
|
|
86
|
-
"flex w-full flex-row items-start justify-between rounded bg-gray-200 p-
|
|
86
|
+
"flex w-full flex-row items-start justify-between rounded bg-gray-200 p-0 text-left text-sm text-black dark:bg-gray-800 dark:text-white sm:text-base"
|
|
87
87
|
)}
|
|
88
88
|
>
|
|
89
89
|
<div className="flex min-h-[37.75px] w-full flex-col justify-center p-4 ">
|
package/tailwind.config.js
CHANGED
|
@@ -161,20 +161,7 @@ module.exports = {
|
|
|
161
161
|
DEFAULT: "hsl(var(--card))",
|
|
162
162
|
foreground: "hsl(var(--card-foreground))"
|
|
163
163
|
},
|
|
164
|
-
|
|
165
|
-
1: "hsla(0, 0%, 0%, 0.012)",
|
|
166
|
-
2: "hsla(0, 0%, 0%, 0.024)",
|
|
167
|
-
3: "hsla(0, 0%, 0%, 0.055)",
|
|
168
|
-
4: "hsla(0, 0%, 0%, 0.078)",
|
|
169
|
-
5: "hsla(0, 0%, 0%, 0.106)",
|
|
170
|
-
6: "hsla(0, 0%, 0%, 0.133)",
|
|
171
|
-
7: "hsla(0, 0%, 0%, 0.169)",
|
|
172
|
-
8: "hsla(0, 0%, 0%, 0.267)",
|
|
173
|
-
9: "hsla(0, 0%, 0%, 0.447)",
|
|
174
|
-
10: "hsla(0, 0%, 0%, 0.498)",
|
|
175
|
-
11: "hsla(0, 0%, 0%, 0.608)",
|
|
176
|
-
12: "hsla(0, 0%, 0%, 0.875)"
|
|
177
|
-
},
|
|
164
|
+
|
|
178
165
|
mauve: {
|
|
179
166
|
1: "hsl(300, 26.0%, 99.0%)",
|
|
180
167
|
2: "hsl(270, 20.0%, 98.0%)",
|