@sikka/hawa 0.0.279 → 0.0.283

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.
@@ -0,0 +1,112 @@
1
+ name: Build, Deploy Storybook and Publish to NPM
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+
7
+ jobs:
8
+ # setup_build:
9
+ # runs-on: ubuntu-latest
10
+ # steps:
11
+ # - name: Checkout repository
12
+ # uses: actions/checkout@v2
13
+
14
+ # - name: Setup Node.js v16
15
+ # uses: actions/setup-node@v2
16
+ # with:
17
+ # node-version: 16
18
+
19
+ # - name: Install dependencies
20
+ # run: |
21
+ # if [ -e 'package-lock.json' ]; then
22
+ # npm ci
23
+ # else
24
+ # npm install
25
+ # fi
26
+
27
+ build_deploy_storybook:
28
+ # needs: setup_build
29
+ runs-on: ubuntu-latest
30
+ steps:
31
+ - name: Checkout repository
32
+ uses: actions/checkout@v2
33
+
34
+ - name: Setup Node.js v16
35
+ uses: actions/setup-node@v2
36
+ with:
37
+ node-version: 16
38
+
39
+ - name: Install dependencies
40
+ run: |
41
+ if [ -e 'package-lock.json' ]; then
42
+ npm ci
43
+ else
44
+ npm install
45
+ fi
46
+
47
+ - name: Build Storybook
48
+ run: npm run build-storybook
49
+
50
+ - name: Deploy Storybook to GitHub Pages
51
+ uses: bitovi/github-actions-storybook-to-github-pages@v1.0.0
52
+ with:
53
+ # Specifies if this action should checkout the code
54
+ checkout: # optional, default is true
55
+ # Specifies the path of the static assets after building
56
+ # optional, default is dist/storybook
57
+ path: docs
58
+ # Specifies the command to run after npm ci for the build
59
+
60
+ # deploy_storybook:
61
+ # needs: build_storybook
62
+ # runs-on: ubuntu-latest
63
+ # steps:
64
+ # - name: Checkout repository
65
+ # uses: actions/checkout@v2
66
+
67
+ # - name: Deploy to GitHub Pages
68
+ # uses: JamesIves/github-pages-deploy-action@v4
69
+ # with:
70
+ # branch: gh-pages
71
+ # folder: docs
72
+ # token: ${{ secrets.GH_TOKEN }}
73
+
74
+ npm_publish:
75
+ # needs: setup_build
76
+ runs-on: ubuntu-latest
77
+ steps:
78
+ - name: Checkout repository
79
+ uses: actions/checkout@v2
80
+
81
+ - name: Setup Node.js v16
82
+ uses: actions/setup-node@v2
83
+ with:
84
+ node-version: 16
85
+ registry-url: https://registry.npmjs.org/
86
+
87
+ - name: Setup Node.js v16
88
+ uses: actions/setup-node@v2
89
+ with:
90
+ node-version: 16
91
+
92
+ - name: Install dependencies
93
+ run: |
94
+ if [ -e 'package-lock.json' ]; then
95
+ npm ci
96
+ else
97
+ npm install
98
+ fi
99
+
100
+ - name: Build Library
101
+ run: npm run build-lib
102
+
103
+ - name: Build Styles
104
+ run: npm run build:styles
105
+
106
+ - name: Generate Tailwind Styles
107
+ run: npm run generate-css
108
+
109
+ - name: Publish to NPM
110
+ run: npm publish
111
+ env:
112
+ NODE_AUTH_TOKEN: ${{secrets.npm_token}}
@@ -4,8 +4,10 @@
4
4
  name: Hawa Build, Deploy, and Publish on Push
5
5
 
6
6
  on:
7
- push:
8
- branches: [main]
7
+ # push:
8
+ # branches: [main]
9
+ release:
10
+ types: [created]
9
11
 
10
12
  jobs:
11
13
  build:
@@ -23,21 +25,26 @@ jobs:
23
25
  else
24
26
  npm install
25
27
  fi
26
- npm run build-storybook
27
28
  env:
28
29
  GH_TOKEN: ${{ secrets.GH_TOKEN }}
29
30
 
30
31
  # Deployment job
31
32
  deploy:
33
+ runs-on: ubuntu-latest
32
34
  environment:
33
35
  name: github-pages
34
36
  url: ${{ steps.deployment.outputs.page_url }}
35
- runs-on: ubuntu-latest
36
37
  needs: build
37
38
  steps:
38
39
  - name: Deploy to GitHub Pages
39
40
  id: deployment
40
41
  uses: actions/deploy-pages@v2
42
+ # with:
43
+ # branch: gh-pages
44
+ # folder: docs
45
+ # - name: Deploy to GitHub Pages
46
+ # id: deployment
47
+ # uses: actions/deploy-pages@v2
41
48
 
42
49
  # Publishing to NPM
43
50
  publish:
package/dist/styles.css CHANGED
@@ -2005,6 +2005,9 @@ video {
2005
2005
  .p-2\.5 {
2006
2006
  padding: 0.625rem;
2007
2007
  }
2008
+ .p-20 {
2009
+ padding: 5rem;
2010
+ }
2008
2011
  .p-3 {
2009
2012
  padding: 0.75rem;
2010
2013
  }
@@ -2138,6 +2141,9 @@ video {
2138
2141
  .pt-1 {
2139
2142
  padding-top: 0.25rem;
2140
2143
  }
2144
+ .pt-10 {
2145
+ padding-top: 2.5rem;
2146
+ }
2141
2147
  .pt-2 {
2142
2148
  padding-top: 0.5rem;
2143
2149
  }
@@ -3037,6 +3043,9 @@ body {
3037
3043
  --tw-border-opacity: 1;
3038
3044
  border-color: rgb(17 24 39 / var(--tw-border-opacity));
3039
3045
  }
3046
+ :is(.dark .dark\:bg-background) {
3047
+ background-color: hsl(var(--background));
3048
+ }
3040
3049
  :is(.dark .dark\:bg-blue-200) {
3041
3050
  --tw-bg-opacity: 1;
3042
3051
  background-color: rgb(191 219 254 / var(--tw-bg-opacity));
@@ -1 +1,21 @@
1
+ import React from "react";
1
2
  import "../stories-styles.css";
3
+ declare const _default: {
4
+ controls: {
5
+ hideNoControlsWarning: boolean;
6
+ exclude: any[];
7
+ };
8
+ parameters: {
9
+ customIcon: () => React.JSX.Element;
10
+ toolbar: {
11
+ visibility: string;
12
+ };
13
+ layout: string;
14
+ options: {
15
+ showPanel: boolean;
16
+ };
17
+ };
18
+ title: string;
19
+ };
20
+ export default _default;
21
+ export declare const Overview: () => React.JSX.Element;
@@ -1 +1,21 @@
1
+ import React from "react";
1
2
  import "../stories-styles.css";
3
+ declare const _default: {
4
+ controls: {
5
+ hideNoControlsWarning: boolean;
6
+ exclude: any[];
7
+ };
8
+ parameters: {
9
+ customIcon: () => React.JSX.Element;
10
+ toolbar: {
11
+ visibility: string;
12
+ };
13
+ layout: string;
14
+ options: {
15
+ showPanel: boolean;
16
+ };
17
+ };
18
+ title: string;
19
+ };
20
+ export default _default;
21
+ export declare const Overview: () => React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.0.279",
3
+ "version": "0.0.283",
4
4
  "description": "SaaS Oriented UI Kit",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.es.js",
package/src/styles.css CHANGED
@@ -2005,6 +2005,9 @@ video {
2005
2005
  .p-2\.5 {
2006
2006
  padding: 0.625rem;
2007
2007
  }
2008
+ .p-20 {
2009
+ padding: 5rem;
2010
+ }
2008
2011
  .p-3 {
2009
2012
  padding: 0.75rem;
2010
2013
  }
@@ -2138,6 +2141,9 @@ video {
2138
2141
  .pt-1 {
2139
2142
  padding-top: 0.25rem;
2140
2143
  }
2144
+ .pt-10 {
2145
+ padding-top: 2.5rem;
2146
+ }
2141
2147
  .pt-2 {
2142
2148
  padding-top: 0.5rem;
2143
2149
  }
@@ -3037,6 +3043,9 @@ body {
3037
3043
  --tw-border-opacity: 1;
3038
3044
  border-color: rgb(17 24 39 / var(--tw-border-opacity));
3039
3045
  }
3046
+ :is(.dark .dark\:bg-background) {
3047
+ background-color: hsl(var(--background));
3048
+ }
3040
3049
  :is(.dark .dark\:bg-blue-200) {
3041
3050
  --tw-bg-opacity: 1;
3042
3051
  background-color: rgb(191 219 254 / var(--tw-bg-opacity));