Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI #13

Closed
wants to merge 38 commits into from
Closed

UI #13

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
f44d312
Added Button, Form and Table skeleton (#1)
ianvexler Feb 6, 2024
f2f4365
NPM (#2)
kishannareshpal Feb 6, 2024
d7227f3
NPM CI
kishannareshpal Feb 6, 2024
f94c122
Added list
ianvexler Feb 7, 2024
fb925a1
Styling changes
ianvexler Feb 7, 2024
e386057
Added info tile
ianvexler Feb 7, 2024
f00471d
Added examples
ianvexler Feb 7, 2024
4f3a0a7
Added Header, Footer, infoTile, searchBarm and userProfile
ianvexler Feb 8, 2024
d84e785
Removed MUI
ianvexler Feb 8, 2024
a0054e4
CSS fix
ianvexler Feb 8, 2024
59db443
Feedback
ianvexler Feb 9, 2024
8c7ce5c
Merge pull request #3 from the-curve-consulting/ian/list
ianvexler Feb 9, 2024
c5507cf
CSS Extract fix
ianvexler Feb 9, 2024
ac0eee6
CSS and Styling Fixes (#4)
ianvexler Feb 12, 2024
a237e4d
Added breadcrumbs component (#5)
ianvexler Feb 13, 2024
9991ea9
Styling changes (#6)
ianvexler Feb 15, 2024
199aea2
Version bumb 0.3.0 (#7)
ianvexler Feb 15, 2024
23c8ac4
Improved responsiveness (#10)
ianvexler Feb 23, 2024
d7cfbf1
Changes to UI based on feedback
ianvexler Feb 15, 2024
4775612
Updated dist
ianvexler Mar 6, 2024
d802af2
Feedback
Mar 7, 2024
3ee4523
Updated sidenav icon
ianvexler Mar 11, 2024
a84fb4f
Updated infotiles
ianvexler Mar 13, 2024
c8d2388
Updated min-width on lists
ianvexler Mar 14, 2024
059f037
Updated infotiles
ianvexler Mar 14, 2024
f7d5d02
Updated navitem
ianvexler Mar 18, 2024
c53dd24
WF-102: Rework Navbar resposiveness (squashed)
kishannareshpal Mar 20, 2024
d07a426
WF-109: More styling updates based on feedback (#11)
Mar 21, 2024
2e68f86
WF-102: Fix nav item text wrapping when collapsed and hidden
kishannareshpal Mar 22, 2024
4c4cfa1
Prevent `dist` from being gitignored
kishannareshpal Mar 22, 2024
dad5bc5
Minor styling changes to nav components
ianvexler Mar 22, 2024
65c5dd8
Centered items in navbar
ianvexler Apr 2, 2024
bcc6805
Added aysnc typeahead and sourcemap false
ianvexler Apr 5, 2024
ffc1027
Updated toasts
ianvexler Apr 11, 2024
1a3c00a
Updated sidenavbar
ianvexler Apr 12, 2024
ab42b25
Logo fix
ianvexler Apr 12, 2024
ba44631
Fixed layout min-height
ianvexler Apr 18, 2024
710252e
Added Comments
ianvexler Apr 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ module.exports = {
'@typescript-eslint/no-use-before-define': ['error'],
'react-hooks/rules-of-hooks': 'error', // Checks rules of Hooks
'react-hooks/exhaustive-deps': 'warn', // Checks effect dependencies
'react/react-in-jsx-scope': 'off', // suppress errors for missing 'import React' in files
'react/react-in-jsx-scope': 'off', // suppress errors for missing 'import React' in files,
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'error',
},
};
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/* @kishannareshpal @ianvexler @jsteeland @rich-williamson
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: CI
on: [push]

jobs:
build:
name: "Build (and lint) the package"
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x

- name: Install NPM dependencies
run: npm ci

- name: Build (and lint) the package
run: npm run build
35 changes: 35 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Publish
on:
release:
types:
created

jobs:
publish:
name: "Publish NPM package to GitHub Packages"
runs-on: ubuntu-latest
timeout-minutes: 2
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: 'https://npm.pkg.github.com'
scope: '@the-curve-consulting'

- name: Install NPM dependencies
run: npm ci

- name: Build (and lint) the package
run: npm run build

- name: Publish the package
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13 changes: 0 additions & 13 deletions .github/workflows/release-please.yml

This file was deleted.

2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,4 @@ public/
# Ignore all local history of files
.history

dist/

# End of https://www.gitignore.io/api/node,macos,visualstudiocode
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
example
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@the-curve-consulting:registry=https://npm.pkg.github.com
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.19.0
v20.11.0
Binary file added assets/fonts/Kohinoor-Bold.woff
Binary file not shown.
Binary file added assets/fonts/Kohinoor-Book.woff
Binary file not shown.
Binary file added assets/fonts/Kohinoor-Demi.woff
Binary file not shown.
Binary file added assets/fonts/Kohinoor-Light.woff
Binary file not shown.
Binary file added assets/fonts/Kohinoor-Medium.woff
Binary file not shown.
1 change: 0 additions & 1 deletion commitlint.config.js

This file was deleted.

4 changes: 4 additions & 0 deletions custom.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare module '*.svg' {
const content: string;
export default content;
}
10 changes: 10 additions & 0 deletions dist/components/breadcrumb/components/BreadcrumbItem.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React from 'react';
export interface BreadcrumbItemProps extends React.HTMLProps<HTMLSpanElement> {
text: string;
active?: boolean;
route?: string;
showSlash?: boolean;
}
declare const BreadcrumbItem: ({ text, active, route, showSlash, className, ...rest }: BreadcrumbItemProps) => React.JSX.Element;
export default BreadcrumbItem;
//# sourceMappingURL=BreadcrumbItem.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions dist/components/breadcrumb/components/BreadcrumbItem.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions dist/components/breadcrumbs/BreadCrumbsContext.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/// <reference types="react" />
declare const BreadcrumbsContext: import("react").Context<import("react").ForwardRefExoticComponent<import("react-router-dom").LinkProps & import("react").RefAttributes<HTMLAnchorElement>>>;
export default BreadcrumbsContext;
//# sourceMappingURL=BreadCrumbsContext.d.ts.map
1 change: 1 addition & 0 deletions dist/components/breadcrumbs/BreadCrumbsContext.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions dist/components/breadcrumbs/BreadCrumbsContext.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/components/breadcrumbs/BreadCrumbsContext.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions dist/components/breadcrumbs/Breadcrumbs.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react';
import { Link } from 'react-router-dom';
interface BreadcrumbsProps extends React.HTMLProps<HTMLHeadingElement> {
link: typeof Link;
}
declare const Breadcrumbs: {
({ className, link, children, ...rest }: BreadcrumbsProps): React.JSX.Element;
Item: ({ text, active, route, showSlash, className, ...rest }: import("./components/BreadcrumbItem").BreadcrumbItemProps) => React.JSX.Element;
};
export default Breadcrumbs;
//# sourceMappingURL=Breadcrumbs.d.ts.map
1 change: 1 addition & 0 deletions dist/components/breadcrumbs/Breadcrumbs.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 41 additions & 0 deletions dist/components/breadcrumbs/Breadcrumbs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/components/breadcrumbs/Breadcrumbs.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions dist/components/breadcrumbs/components/BreadcrumbItem.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React from 'react';
export interface BreadcrumbItemProps extends React.HTMLProps<HTMLSpanElement> {
text: string;
active?: boolean;
route?: string;
showSlash?: boolean;
}
declare const BreadcrumbItem: ({ text, active, route, showSlash, className, ...rest }: BreadcrumbItemProps) => React.JSX.Element;
export default BreadcrumbItem;
//# sourceMappingURL=BreadcrumbItem.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions dist/components/breadcrumbs/components/BreadcrumbItem.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions dist/components/button/Button.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react';
import { Themes } from '../../types';
import { ButtonProps as BootstrapButtonProps } from 'react-bootstrap';
interface ButtonProps extends BootstrapButtonProps {
label?: string;
icon?: string;
variant?: Themes;
}
declare const Button: ({ label, icon, children, className, variant, ...rest }: ButtonProps) => React.JSX.Element;
export default Button;
//# sourceMappingURL=Button.d.ts.map
1 change: 1 addition & 0 deletions dist/components/button/Button.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 33 additions & 0 deletions dist/components/button/Button.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/components/button/Button.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions dist/components/card/Card.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react';
import { CardProps as BootstrapCardProps } from 'react-bootstrap';
interface CardProps extends BootstrapCardProps {
header?: string;
}
declare const Card: ({ header, children, className, ...rest }: CardProps) => React.JSX.Element;
export default Card;
//# sourceMappingURL=Card.d.ts.map
1 change: 1 addition & 0 deletions dist/components/card/Card.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading