@sikka/hawa 0.1.55 → 0.1.56

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.
@@ -1,77 +1,69 @@
1
1
  name: Bug Report
2
- description: Create a bug report for Hawa UI Kit
2
+ description: Create a bug report to help us improve the Hawa UI Kit
3
3
  labels: ['template: bug']
4
4
  body:
5
5
  - type: markdown
6
6
  attributes:
7
7
  value: |
8
- This template is to report Next.js bugs. [Examples](https://github.com/vercel/next.js/tree/canary/examples) related issues should be reported using [this](https://github.com/vercel/next.js/issues/new?assignees=&labels=type%3A+example%2Ctemplate%3A+bug&template=2.example_bug_report.yml) issue template instead.
9
- Feature requests should be opened as [discussions](https://github.com/vercel/next.js/discussions/new?category=ideas). [Read more](https://github.com/vercel/next.js/blob/canary/contributing/core/adding-features.md).
8
+ This template is to report bugs specific to the Hawa UI Kit. Before opening a new issue, please do a [search](https://github.com/sikka-software/Hawa/issues) of existing issues and :+1: upvote the existing issue instead. This will result in a quicker resolution.
10
9
 
11
- Before opening a new issue, please do a [search](https://github.com/vercel/next.js/issues) of existing issues and :+1: upvote the existing issue instead. This will result in a quicker resolution.
10
+ If you have feature requests or ideas, please open a [discussion](https://github.com/sikka-software/Hawa/discussions/new?category=ideas) instead.
12
11
 
13
- If you need help with your own project, you can:
14
- - Start a discussion in the ["Help" section](https://github.com/vercel/next.js/discussions/categories/help)
15
- - Ask a question on the [Next.js Discord](https://discord.com/invite/nextjs) server
12
+ For general help and support, you can:
13
+ - Start a discussion in the ["Help" section](https://github.com/sikka-software/Hawa/discussions/categories/help)
14
+ - Join our community [Discord server](https://discord.com/invite/your-discord-link-here) (replace with your actual Discord link)
16
15
  - type: input
17
16
  attributes:
18
17
  label: Link to the code that reproduces this issue or a replay of the bug
19
18
  description: |
20
- A link to a **public** [GitHub repository](https://github.com/vercel/next.js/tree/canary/examples/reproduction-template) or a [CodeSandbox](https://codesandbox.io/p/sandbox/github/vercel/next.js/tree/canary/examples/reproduction-template) minimal reproduction. Minimal reproductions should be created from our [bug report template with `npx create-next-app -e reproduction-template`](https://github.com/vercel/next.js/tree/canary/examples/reproduction-template) and should include only changes that contribute to the issue. To report a Pages Router related issue, you can use these templates: [`npx create-next-app -e reproduction-template-pages`](https://github.com/vercel/next.js/tree/canary/examples/reproduction-template-pages) or [CodeSandbox](https://codesandbox.io/p/sandbox/github/vercel/next.js/tree/canary/examples/reproduction-template-pages)
19
+ Please provide a link to a **public** [GitHub repository](https://github.com/sikka-software/Hawa/tree/main/examples/reproduction-template) or a minimal reproduction created from our [bug report template](https://github.com/sikka-software/Hawa/tree/main/examples/reproduction-template). Include only changes that contribute to the issue.
21
20
 
22
21
  If a minimal reproduction can't be created, please share a [replay](https://www.replay.io/) of the bug which doesn't require sharing a private repo.
23
22
 
24
23
  **Skipping this/providing an invalid link will result in the issue being closed**
25
- placeholder: 'https://github.com/user/my-minimal-nextjs-issue-reproduction'
24
+ placeholder: 'https://github.com/user/my-minimal-hawa-ui-kit-issue-reproduction'
26
25
  validations:
27
26
  required: true
28
27
  - type: textarea
29
28
  attributes:
30
29
  label: To Reproduce
31
- description: A step-by-step description of how to reproduce the issue, based on the linked reproduction. Screenshots can be provided in the issue body below. If using code blocks, make sure that [syntax highlighting is correct](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting) and double check that the rendered preview is not broken.
30
+ description: A step-by-step description of how to reproduce the issue, based on the linked reproduction. Screenshots can be provided in the issue body below. If using code blocks, ensure that [syntax highlighting is correct](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting) and double check that the rendered preview is not broken.
32
31
  placeholder: |
33
- 1. Start the application in development (next dev)
34
- 2. Click X
35
- 3. Y will happen
32
+ 1. Start the application in development mode
33
+ 2. Click on X component
34
+ 3. Y unexpected behavior occurs
36
35
  validations:
37
36
  required: true
38
37
  - type: textarea
39
38
  attributes:
40
39
  label: Current vs. Expected behavior
41
40
  description: A clear and concise description of what the bug is, and what you expected to happen.
42
- placeholder: 'Following the steps from the previous section, I expected A to happen, but I observed B instead'
41
+ placeholder: 'Following the steps from the previous section, I expected A to happen, but observed B instead'
43
42
  validations:
44
43
  required: true
45
44
  - type: checkboxes
46
45
  attributes:
47
- label: Verify canary release
48
- description: 'Please run `npm install next@canary` to try the canary version of Next.js that ships daily. It includes all features and fixes that have not been released to the stable version yet. Some issues may already be fixed in the canary version, so please verify that your issue reproduces before opening a new issue.'
46
+ label: Verify latest release
47
+ description: 'Please ensure you have tested the latest release of the Hawa UI Kit. Some issues may already be fixed in the latest version, so verify that your issue persists before opening a new issue.'
49
48
  options:
50
- - label: I verified that the issue exists in the latest Next.js canary release
49
+ - label: I verified that the issue exists in the latest Hawa UI Kit release
51
50
  required: true
52
51
  - type: textarea
53
52
  attributes:
54
53
  label: Provide environment information
55
- description: Please run `next info` in the root directory of your project and paste the results. You might need to use `npx --no-install next info` if next is not in the current PATH.
54
+ description: Please provide information about your development environment including operating system, Node.js version, npm/Yarn version, and any other relevant details.
56
55
  render: bash
57
56
  placeholder: |
58
57
  Operating System:
59
- Platform: darwin
60
- Arch: arm64
61
- Version: Darwin Kernel Version 22.5.0
58
+ Platform: Windows
59
+ Version: 10.0.19043 Build 19043
62
60
  Binaries:
63
- Node: 18.17.1
64
- npm: 9.5.1
65
- Yarn: 1.22.19
66
- pnpm: N/A
61
+ Node: 14.17.1
62
+ npm: 6.14.13
67
63
  Relevant Packages:
68
- next: 13.4.20
69
- eslint-config-next: 13.4.20
70
- react: 18.2.0
71
- react-dom: 18.2.0
72
- typescript: 5.2.2
73
- Next.js Config:
74
- output: N/A
64
+ hawa-ui-kit: 1.0.0
65
+ react: 17.0.2
66
+ typescript: 4.3.5
75
67
  validations:
76
68
  required: true
77
69
  - type: dropdown
@@ -80,42 +72,22 @@ body:
80
72
  multiple: true
81
73
  options:
82
74
  - 'Not sure'
83
- - 'App Router'
84
- - 'CLI (create-next-app)'
85
- - 'Data fetching (gS(S)P, getInitialProps)'
86
- - 'Dynamic imports (next/dynamic)'
87
- - 'ESLint (eslint-config-next)'
88
- - 'Font optimization (next/font)'
89
- - 'Image optimization (next/image, next/legacy/image)'
90
- - 'Internationalization (i18n)'
91
- - 'Jest (next/jest)'
92
- - 'MDX (@next/mdx)'
93
- - 'Metadata (metadata, generateMetadata, next/head)'
94
- - 'Middleware / Edge (API routes, runtime)'
95
- - 'Operating System (Windows, MacOS, Linux)'
96
- - 'Package manager (npm, pnpm, Yarn)'
97
- - 'Routing (next/router, next/navigation, next/link)'
98
- - 'Script optimization (next/script)'
99
- - 'Standalone mode (output: "standalone")'
100
- - 'Static HTML Export (output: "export")'
101
- - 'SWC minifier (swcMinify: true)'
102
- - 'SWC transpilation'
103
- - 'Turbopack (--turbo)'
104
- - 'TypeScript (plugin, built-in types)'
75
+ - 'Components'
76
+ - 'Styles'
77
+ - 'Documentation'
78
+ - 'Build and Deployment'
79
+ - 'Examples'
80
+ - 'Other'
105
81
  validations:
106
82
  required: true
107
- - type: markdown
108
- attributes:
109
- value: |
110
- Another way you can help the maintainers' job is to pinpoint the `canary` version of `next` that introduced the issue. Check out our [releases](https://github.com/vercel/next.js/releases), and try to find the first `canary` release that introduced the issue. This will help us narrow down the scope of the issue, and possibly point to the PR/code change that introduced it. You can install a specific version of `next` by running `npm install next@<version>`.
111
83
  - type: textarea
112
84
  attributes:
113
85
  label: Additional context
114
86
  description: |
115
- Any extra information that might help us investigate. For example, where are you deploying your application (Vercel, Docker, other platform)? Is it only reproducible on that platform, or locally too? Is the issue only happening in a specific browser? etc.
87
+ Any extra information that might help us investigate. For example, browser details, hosting platform, etc. Also, if possible, pinpoint the version that introduced the issue to help narrow down the scope.
116
88
  placeholder: |
117
- I tested my reproduction against different canary releases, and the first one that introduced the bug was "13.4.20-canary.13", since reverting to "13.4.20-canary.12" works.
89
+ The issue seems to have started from version 1.0.1. I tested it on both Chrome and Firefox, and the issue persists on both browsers.
118
90
 
119
91
  or
120
92
 
121
- I am hosting via Docker with the recommended `output: "standalone"` option", and if I remove that option or try a different hosting option, I cannot reproduce the same issue.
93
+ I am hosting the application on Vercel, and the issue seems to be specific to the hosted version, as I cannot reproduce it locally.
package/dist/index.d.mts CHANGED
@@ -197,7 +197,7 @@ type ColTypes = {
197
197
  type TableTypes = {
198
198
  pagination?: boolean;
199
199
  columns: ColTypes[];
200
- actions?: ActionItems[][];
200
+ actions?: Item$5[];
201
201
  direction?: "rtl" | "ltr";
202
202
  rows?: RowTypes[][];
203
203
  handleActionClick?: any;
@@ -219,12 +219,11 @@ type TableTypes = {
219
219
  headerTools?: boolean;
220
220
  borders?: "all" | "cols" | "rows" | "outer" | "inner";
221
221
  };
222
- type ActionItems = {
223
- icon?: JSX.Element;
222
+ type Item$5 = {
224
223
  label: string;
225
- action?: (e: any) => void;
226
- isButton?: boolean;
227
- element?: any;
224
+ value: string;
225
+ action?: () => void;
226
+ highlighted?: boolean;
228
227
  };
229
228
  declare const HawaTable: FC<TableTypes>;
230
229
 
@@ -807,10 +806,12 @@ type ExtendedDropdownMenuTriggerProps = Partial<React$1.ComponentPropsWithoutRef
807
806
  type SubItem$3 = {
808
807
  label: string;
809
808
  value: string;
809
+ icon?: any;
810
810
  action?: () => void;
811
811
  highlighted?: boolean;
812
812
  };
813
813
  type Item$3 = {
814
+ icon?: any;
814
815
  label: string;
815
816
  value: string;
816
817
  action?: () => void;
package/dist/index.d.ts CHANGED
@@ -197,7 +197,7 @@ type ColTypes = {
197
197
  type TableTypes = {
198
198
  pagination?: boolean;
199
199
  columns: ColTypes[];
200
- actions?: ActionItems[][];
200
+ actions?: Item$5[];
201
201
  direction?: "rtl" | "ltr";
202
202
  rows?: RowTypes[][];
203
203
  handleActionClick?: any;
@@ -219,12 +219,11 @@ type TableTypes = {
219
219
  headerTools?: boolean;
220
220
  borders?: "all" | "cols" | "rows" | "outer" | "inner";
221
221
  };
222
- type ActionItems = {
223
- icon?: JSX.Element;
222
+ type Item$5 = {
224
223
  label: string;
225
- action?: (e: any) => void;
226
- isButton?: boolean;
227
- element?: any;
224
+ value: string;
225
+ action?: () => void;
226
+ highlighted?: boolean;
228
227
  };
229
228
  declare const HawaTable: FC<TableTypes>;
230
229
 
@@ -807,10 +806,12 @@ type ExtendedDropdownMenuTriggerProps = Partial<React$1.ComponentPropsWithoutRef
807
806
  type SubItem$3 = {
808
807
  label: string;
809
808
  value: string;
809
+ icon?: any;
810
810
  action?: () => void;
811
811
  highlighted?: boolean;
812
812
  };
813
813
  type Item$3 = {
814
+ icon?: any;
814
815
  label: string;
815
816
  value: string;
816
817
  action?: () => void;