@sikka/hawa 0.1.110 → 0.2.1
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 → hawa-beta.yml} +2 -2
- package/.github/workflows/hawa-main.yml +40 -0
- package/README.md +8 -3
- package/dist/index.d.mts +18 -18
- package/dist/index.d.ts +18 -18
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/elements/Icons.tsx +2 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
name: Hawa CI
|
|
1
|
+
name: Hawa CI - @beta
|
|
2
2
|
|
|
3
3
|
env:
|
|
4
4
|
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
|
@@ -37,7 +37,7 @@ jobs:
|
|
|
37
37
|
run: npm run build:styles
|
|
38
38
|
- name: Generate Tailwind Styles
|
|
39
39
|
run: npm run generate-css
|
|
40
|
-
- name: Publish to NPM
|
|
40
|
+
- name: Publish to NPM @beta tag
|
|
41
41
|
run: npm publish --tag $NPM_PUBLISH_TAG # Specify the tag here
|
|
42
42
|
|
|
43
43
|
deploy-landing:
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
name: Hawa CI - @latest
|
|
2
|
+
|
|
3
|
+
env:
|
|
4
|
+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
|
5
|
+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
6
|
+
|
|
7
|
+
on:
|
|
8
|
+
release:
|
|
9
|
+
types:
|
|
10
|
+
- created
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
publish-package:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
strategy:
|
|
16
|
+
matrix:
|
|
17
|
+
node-version: [16.x]
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v2
|
|
20
|
+
|
|
21
|
+
- name: Use Node.js v16
|
|
22
|
+
uses: actions/setup-node@v2
|
|
23
|
+
with:
|
|
24
|
+
node-version: 16
|
|
25
|
+
registry-url: https://registry.npmjs.org/
|
|
26
|
+
- name: Install dependencies
|
|
27
|
+
run: |
|
|
28
|
+
if [ -e 'package-lock.json' ]; then
|
|
29
|
+
npm ci
|
|
30
|
+
else
|
|
31
|
+
npm install
|
|
32
|
+
fi
|
|
33
|
+
- name: Build Library
|
|
34
|
+
run: npm run build-up
|
|
35
|
+
- name: Build Styles
|
|
36
|
+
run: npm run build:styles
|
|
37
|
+
- name: Generate Tailwind Styles
|
|
38
|
+
run: npm run generate-css
|
|
39
|
+
- name: Publish to NPM main tag
|
|
40
|
+
run: npm publish
|
package/README.md
CHANGED
|
@@ -4,15 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
# Hawa | هواء
|
|
6
6
|
|
|
7
|
-
[](https://www.npmjs.com/package/@sikka/hawa)
|
|
8
|
+
[](https://www.npmjs.com/package/@sikka/hawa)
|
|
9
|
+
|
|
10
|
+
<!-- [](https://www.npmjs.com/package/@sikka/hawa) -->
|
|
11
|
+
|
|
12
|
+
|
|
9
13
|
|
|
10
14
|
> Opinionated UI Kit for web apps and websites built with TailwindCSS
|
|
11
15
|
|
|
12
16
|
[Docs](https://hawa.style/docs)
|
|
13
17
|
|
|
14
18
|
## Install
|
|
15
|
-
|
|
19
|
+
**Note:** `@beta` only points to pre-releases.
|
|
20
|
+
Use `@latest` for the latest stable release.
|
|
16
21
|
```bash
|
|
17
22
|
npm install @sikka/hawa
|
|
18
23
|
```
|
package/dist/index.d.mts
CHANGED
|
@@ -778,25 +778,25 @@ type ComponentTypes = {
|
|
|
778
778
|
};
|
|
779
779
|
declare const UserReferralSource: FC<ComponentTypes>;
|
|
780
780
|
|
|
781
|
-
type IconProps =
|
|
781
|
+
type IconProps = React__default.HTMLAttributes<SVGElement>;
|
|
782
782
|
declare const Icons: {
|
|
783
|
-
logo: (props: IconProps) =>
|
|
784
|
-
mail: (props: IconProps) =>
|
|
785
|
-
phone: (props: IconProps) =>
|
|
786
|
-
twitter: (props: IconProps) =>
|
|
787
|
-
microsoft: (props: IconProps) =>
|
|
788
|
-
gitHub: (props: IconProps) =>
|
|
789
|
-
radix: (props: IconProps) =>
|
|
790
|
-
aria: (props: IconProps) =>
|
|
791
|
-
npm: (props: IconProps) =>
|
|
792
|
-
yarn: (props: IconProps) =>
|
|
793
|
-
pnpm: (props: IconProps) =>
|
|
794
|
-
react: (props: IconProps) =>
|
|
795
|
-
tailwind: (props: IconProps) =>
|
|
796
|
-
google: (props: IconProps) =>
|
|
797
|
-
apple: (props: IconProps) =>
|
|
798
|
-
paypal: (props: IconProps) =>
|
|
799
|
-
spinner: (props: IconProps) =>
|
|
783
|
+
logo: (props: IconProps) => React__default.JSX.Element;
|
|
784
|
+
mail: (props: IconProps) => React__default.JSX.Element;
|
|
785
|
+
phone: (props: IconProps) => React__default.JSX.Element;
|
|
786
|
+
twitter: (props: IconProps) => React__default.JSX.Element;
|
|
787
|
+
microsoft: (props: IconProps) => React__default.JSX.Element;
|
|
788
|
+
gitHub: (props: IconProps) => React__default.JSX.Element;
|
|
789
|
+
radix: (props: IconProps) => React__default.JSX.Element;
|
|
790
|
+
aria: (props: IconProps) => React__default.JSX.Element;
|
|
791
|
+
npm: (props: IconProps) => React__default.JSX.Element;
|
|
792
|
+
yarn: (props: IconProps) => React__default.JSX.Element;
|
|
793
|
+
pnpm: (props: IconProps) => React__default.JSX.Element;
|
|
794
|
+
react: (props: IconProps) => React__default.JSX.Element;
|
|
795
|
+
tailwind: (props: IconProps) => React__default.JSX.Element;
|
|
796
|
+
google: (props: IconProps) => React__default.JSX.Element;
|
|
797
|
+
apple: (props: IconProps) => React__default.JSX.Element;
|
|
798
|
+
paypal: (props: IconProps) => React__default.JSX.Element;
|
|
799
|
+
spinner: (props: IconProps) => React__default.JSX.Element;
|
|
800
800
|
};
|
|
801
801
|
|
|
802
802
|
declare const buttonVariants: (props?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -778,25 +778,25 @@ type ComponentTypes = {
|
|
|
778
778
|
};
|
|
779
779
|
declare const UserReferralSource: FC<ComponentTypes>;
|
|
780
780
|
|
|
781
|
-
type IconProps =
|
|
781
|
+
type IconProps = React__default.HTMLAttributes<SVGElement>;
|
|
782
782
|
declare const Icons: {
|
|
783
|
-
logo: (props: IconProps) =>
|
|
784
|
-
mail: (props: IconProps) =>
|
|
785
|
-
phone: (props: IconProps) =>
|
|
786
|
-
twitter: (props: IconProps) =>
|
|
787
|
-
microsoft: (props: IconProps) =>
|
|
788
|
-
gitHub: (props: IconProps) =>
|
|
789
|
-
radix: (props: IconProps) =>
|
|
790
|
-
aria: (props: IconProps) =>
|
|
791
|
-
npm: (props: IconProps) =>
|
|
792
|
-
yarn: (props: IconProps) =>
|
|
793
|
-
pnpm: (props: IconProps) =>
|
|
794
|
-
react: (props: IconProps) =>
|
|
795
|
-
tailwind: (props: IconProps) =>
|
|
796
|
-
google: (props: IconProps) =>
|
|
797
|
-
apple: (props: IconProps) =>
|
|
798
|
-
paypal: (props: IconProps) =>
|
|
799
|
-
spinner: (props: IconProps) =>
|
|
783
|
+
logo: (props: IconProps) => React__default.JSX.Element;
|
|
784
|
+
mail: (props: IconProps) => React__default.JSX.Element;
|
|
785
|
+
phone: (props: IconProps) => React__default.JSX.Element;
|
|
786
|
+
twitter: (props: IconProps) => React__default.JSX.Element;
|
|
787
|
+
microsoft: (props: IconProps) => React__default.JSX.Element;
|
|
788
|
+
gitHub: (props: IconProps) => React__default.JSX.Element;
|
|
789
|
+
radix: (props: IconProps) => React__default.JSX.Element;
|
|
790
|
+
aria: (props: IconProps) => React__default.JSX.Element;
|
|
791
|
+
npm: (props: IconProps) => React__default.JSX.Element;
|
|
792
|
+
yarn: (props: IconProps) => React__default.JSX.Element;
|
|
793
|
+
pnpm: (props: IconProps) => React__default.JSX.Element;
|
|
794
|
+
react: (props: IconProps) => React__default.JSX.Element;
|
|
795
|
+
tailwind: (props: IconProps) => React__default.JSX.Element;
|
|
796
|
+
google: (props: IconProps) => React__default.JSX.Element;
|
|
797
|
+
apple: (props: IconProps) => React__default.JSX.Element;
|
|
798
|
+
paypal: (props: IconProps) => React__default.JSX.Element;
|
|
799
|
+
spinner: (props: IconProps) => React__default.JSX.Element;
|
|
800
800
|
};
|
|
801
801
|
|
|
802
802
|
declare const buttonVariants: (props?: {
|