@sikka/hawa 0.1.76 → 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.
@@ -40,6 +40,7 @@ jobs:
40
40
  run: npm publish
41
41
 
42
42
  build-storybook:
43
+ if: ${{ !contains(github.event.head_commit.message, 'skip_storybook') }}
43
44
  runs-on: [self-hosted, linux, x64, sikka-sofware-server-development]
44
45
  strategy:
45
46
  matrix:
@@ -50,25 +51,24 @@ jobs:
50
51
  uses: actions/setup-node@v2
51
52
  with:
52
53
  node-version: ${{ matrix.node-version }}
53
- - name: Install dependencies
54
- run: |
55
- if [ -e 'package-lock.json' ]; then
56
- npm ci
57
- else
58
- npm install
59
- fi
60
54
  - name: Generate Storybook Static Files
61
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
62
60
  npm run build-storybook
63
61
 
64
62
  deploy:
63
+ if: ${{ !contains(github.event.head_commit.message, 'skip_landing') }}
64
+
65
65
  runs-on: [self-hosted, linux, x64, sikka-sofware-server-development]
66
- needs: build-storybook
67
66
  strategy:
68
67
  matrix:
69
68
  node-version: [16.x]
70
69
  steps:
71
70
  - uses: actions/checkout@v2
71
+
72
72
  - name: Change working directory to ./landing
73
73
  run: cd ./landing
74
74
  - name: Use Node.js ${{ matrix.node-version }}
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
  ![Alt](https://repobeats.axiom.co/api/embed/0aa365b7bd1591de135582699d523de7b262eecb.svg "Repobeats analytics image")
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-2 text-left text-sm text-black dark:bg-gray-800 dark:text-white sm:text-base")
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-2 text-left text-sm text-black dark:bg-gray-800 dark:text-white sm:text-base"
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.1.76",
3
+ "version": "0.1.78",
4
4
  "description": "Modern UI Kit made with Tailwind & Radix Primitives",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -34,7 +34,7 @@
34
34
  "storybook": "start-storybook -p 6006 -s public",
35
35
  "generate-css": "postcss src/tailwind.css -o src/styles.css && mkdir -p dist && cp src/styles.css dist/",
36
36
  "deploy-storybook": "storybook-to-ghpages",
37
- "build-storybook": "build-storybook -o ./landing/public/docs",
37
+ "build-storybook": "build-storybook",
38
38
  "build-up": "tsup src/index.ts --format cjs,esm --dts",
39
39
  "build-lib": "rollup -c",
40
40
  "build:styles": " node tools/build-styles",
@@ -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-2 text-left text-sm text-black dark:bg-gray-800 dark:text-white sm:text-base"
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 ">
@@ -161,20 +161,7 @@ module.exports = {
161
161
  DEFAULT: "hsl(var(--card))",
162
162
  foreground: "hsl(var(--card-foreground))"
163
163
  },
164
- blackA: {
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%)",