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

v1.0.0 #135

Merged
merged 463 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
463 commits
Select commit Hold shift + click to select a range
94ad4c2
Stop tracking dist folder
HimanshuSangale Oct 11, 2024
008681c
spacing fixes
ravindra114 Oct 11, 2024
212a503
Merge pull request #112 from brainstormforce/datepicker
vrundakansara Oct 11, 2024
0027def
Changes in some styles as per PR request
HimanshuSangale Oct 11, 2024
c507862
Merge branch 'SUR-223-Search' of https://github.com/brainstormforce/f…
ravindra114 Oct 11, 2024
9c1c634
Changes to floating styles as per comment on PR
HimanshuSangale Oct 11, 2024
e6f2149
Added ghost variant in storybook and fixed ghost border styles
HimanshuSangale Oct 11, 2024
851e7f2
js lint fixes
HimanshuSangale Oct 11, 2024
c7a14ce
Merge branch 'staging' into SUR-223-Search
HimanshuSangale Oct 11, 2024
dd31348
Implemented improvements and applied changes based on PR feedback
JelenaTakac Oct 11, 2024
c8c5523
Resolved lint js issues
JelenaTakac Oct 11, 2024
8c910de
Input Fixes, Added X to remove File selected and spacing fixes
ravindra114 Oct 11, 2024
5df611c
Deleted unused local images from dashboards directory
JelenaTakac Oct 11, 2024
33fa33f
Merge branch 'SUR-223-Search' of https://github.com/brainstormforce/f…
ravindra114 Oct 11, 2024
6075dc5
Updated save button padding
jaieds Oct 11, 2024
6634080
Implemented imporovements based on PR feedback
JelenaTakac Oct 11, 2024
6a1d764
Merge pull request #125 from brainstormforce/progress-steps-fixes
vrundakansara Oct 11, 2024
1728d72
added width
BabuTechBsf Oct 11, 2024
fb450db
space fix
BabuTechBsf Oct 11, 2024
ecc911f
Replaced button with anchor tag
jaieds Oct 11, 2024
6c8da6d
Updated the search engine preview
jaieds Oct 11, 2024
e535b81
Merge pull request #113 from brainstormforce/SUR-284-template-onboarding
vrundakansara Oct 11, 2024
7b374aa
Updated Upgrade text containing tags to anchor tag
jaieds Oct 11, 2024
509d02f
Merge branch 'staging' into SUR-286
jaieds Oct 11, 2024
b210078
Merge pull request #118 from brainstormforce/SUR-286
vrundakansara Oct 11, 2024
beb0890
Alert fixes
vrundakansara Oct 11, 2024
c83193a
Merge branch 'staging' of https://github.com/brainstormforce/force-ui…
vrundakansara Oct 11, 2024
5f1a0fc
Changes requested on button sizing
HimanshuSangale Oct 11, 2024
f48c39c
js linting
HimanshuSangale Oct 11, 2024
c815847
Merge branch 'staging' of github.com:brainstormforce/force-ui into te…
JelenaTakac Oct 11, 2024
791e0a9
removed list stylings for ul tag
HimanshuSangale Oct 11, 2024
f138930
border width fix
HimanshuSangale Oct 11, 2024
6a771ae
removed comments
HimanshuSangale Oct 11, 2024
e82b77b
Fixed result item internal padding
HimanshuSangale Oct 11, 2024
c2a56b1
Changed Topbar navigation items to be a tag
JelenaTakac Oct 11, 2024
023ddd2
JS linting
HimanshuSangale Oct 11, 2024
51925ad
JS linting
HimanshuSangale Oct 11, 2024
1b1dae2
Updated readme and changed exmaple according to new components
HimanshuSangale Oct 11, 2024
d47e25e
Fixed width inside decorators.
JelenaTakac Oct 11, 2024
73e2462
Resolved lint js issues
JelenaTakac Oct 11, 2024
1fef36f
Changes suggested on PR
HimanshuSangale Oct 11, 2024
594c0dd
JS linting
HimanshuSangale Oct 11, 2024
6790bf1
Implemented changes based on PR feedback
JelenaTakac Oct 11, 2024
ab0166c
Resolved lint js issues
JelenaTakac Oct 11, 2024
c4f098d
Improved storybook demo code, Changes to border color on focus
HimanshuSangale Oct 11, 2024
8d8a570
JS linting
HimanshuSangale Oct 11, 2024
27ad262
removed sizing from default code
HimanshuSangale Oct 11, 2024
732f1e8
Fixed aria label error
HimanshuSangale Oct 11, 2024
771ecc5
Changed pagination order in storybook code
HimanshuSangale Oct 11, 2024
1f2411f
Implemented imtovements regarding feedback
JelenaTakac Oct 12, 2024
83343cf
Resolved lint js issues
JelenaTakac Oct 12, 2024
3b131ac
Implemented changes regarding feedback
JelenaTakac Oct 12, 2024
35546d8
Radio Button Fixes
ravindra114 Oct 12, 2024
1e93042
Switch fixes
ravindra114 Oct 12, 2024
2451893
synced
BabuTechBsf Oct 12, 2024
1c0c6e1
added review changes
BabuTechBsf Oct 12, 2024
6bbceb2
Internal search functionality added
HimanshuSangale Oct 12, 2024
46ba29b
added review changes
BabuTechBsf Oct 12, 2024
1479a14
added lint
BabuTechBsf Oct 12, 2024
449ed1c
deleted icons
BabuTechBsf Oct 12, 2024
9a31aad
Merge branch 'staging' of github.com:brainstormforce/force-ui into SU…
BabuTechBsf Oct 12, 2024
784fc9a
Menu Item Fix
ravindra114 Oct 12, 2024
e53fba8
added lints
BabuTechBsf Oct 12, 2024
d8042ff
Internal filtering added, component name changes
HimanshuSangale Oct 12, 2024
78a4e3b
JS linting
HimanshuSangale Oct 12, 2024
8af36a6
Removed comments in storybookcode
HimanshuSangale Oct 12, 2024
773d5f3
Removed unnecessary comments
HimanshuSangale Oct 12, 2024
5e13236
added email and spam
BabuTechBsf Oct 13, 2024
7c7b8bb
added lint
BabuTechBsf Oct 13, 2024
819c204
Input field fixes
ravindra114 Oct 13, 2024
b32a6e4
icon changes
BabuTechBsf Oct 13, 2024
7be8531
added sync and lint
BabuTechBsf Oct 13, 2024
2aa5ba4
Fixed padding issue for custom content in pagination button
HimanshuSangale Oct 13, 2024
1400189
Readme file updated
HimanshuSangale Oct 13, 2024
9db5536
Updated readme
HimanshuSangale Oct 13, 2024
333f5b4
added all screens
BabuTechBsf Oct 13, 2024
2940538
added lints
BabuTechBsf Oct 13, 2024
5ba92f8
added icon
BabuTechBsf Oct 13, 2024
7782a98
added lint
BabuTechBsf Oct 13, 2024
686f3c4
Update src/components/search/styles.js
vrundakansara Oct 14, 2024
7a7ab93
Update src/components/search/search.jsx
vrundakansara Oct 14, 2024
a8ff8c3
Update src/components/search/search.jsx
vrundakansara Oct 14, 2024
39bf728
Update src/components/search/search.jsx
vrundakansara Oct 14, 2024
79dd6e1
Merge pull request #124 from brainstormforce/template/dashboards
vrundakansara Oct 14, 2024
45565e1
- Updated Tooltip component to use `label` instead of `title` and `co…
JelenaTakac Oct 14, 2024
dbf9f20
Updated Tooltip storybook story with label prop
JelenaTakac Oct 14, 2024
b674954
Code fixes
ravindra114 Oct 14, 2024
d6ce4e1
Lint js fixes
ravindra114 Oct 14, 2024
3a05b8e
Merge branch 'staging' of https://github.com/brainstormforce/force-ui…
ravindra114 Oct 14, 2024
8e2950b
Merge branch 'staging' of https://github.com/brainstormforce/force-ui…
vrundakansara Oct 14, 2024
cb81e46
Resolved conflicts
vrundakansara Oct 14, 2024
2148f5d
Merge branch 'uat_fixes' of https://github.com/brainstormforce/force-…
vrundakansara Oct 14, 2024
b7b27b5
lint fixes
vrundakansara Oct 14, 2024
846e6e7
lint js fixes
ravindra114 Oct 14, 2024
044796f
Update src/components/button/button.jsx
vrundakansara Oct 14, 2024
92f4fd2
Update src/components/radio-button/styles.js
vrundakansara Oct 14, 2024
2a4d045
Fixed the badge size issue with X icon
vrundakansara Oct 14, 2024
51b3623
Optimized class names
vrundakansara Oct 14, 2024
fbd2a41
Merge pull request #126 from brainstormforce/uat_fixes
vrundakansara Oct 14, 2024
a22f695
code fix
ravindra114 Oct 14, 2024
e6bc578
Resolved lint js issues
JelenaTakac Oct 14, 2024
e4fc50e
Merge branch 'SUR-284-template-onboarding-3' of https://github.com/br…
vrundakansara Oct 14, 2024
c4a8cad
Merge branch 'SUR-284-template-onboarding-radioblocks' of https://git…
vrundakansara Oct 14, 2024
0e7e83a
added all screes and changes
BabuTechBsf Oct 14, 2024
f637a2e
added lint
BabuTechBsf Oct 14, 2024
d2db91b
Merge branch 'staging' of https://github.com/brainstormforce/force-ui…
vrundakansara Oct 14, 2024
1da985b
Merge pull request #132 from brainstormforce/alert-fixes
vrundakansara Oct 14, 2024
795a8ab
Merge branch 'staging' of https://github.com/brainstormforce/force-ui…
vrundakansara Oct 14, 2024
2fed2ec
Lint fixes
vrundakansara Oct 14, 2024
7051245
added font changes
BabuTechBsf Oct 14, 2024
1e92afc
Merge branch 'staging' of github.com:brainstormforce/force-ui into SU…
BabuTechBsf Oct 14, 2024
fb2dd4d
added sync
BabuTechBsf Oct 14, 2024
e21effd
added radius, exit, radio changes
BabuTechBsf Oct 14, 2024
cac8f7c
added lint
BabuTechBsf Oct 14, 2024
51a4554
height issue due to border
ravindra114 Oct 14, 2024
83adfc3
Merge pull request #131 from brainstormforce/SUR-284
vrundakansara Oct 14, 2024
6a571b3
Merge pull request #90 from brainstormforce/SUR-223-Search
vrundakansara Oct 14, 2024
51248a3
Centered Alert stories
vrundakansara Oct 14, 2024
c0737a6
added disable changes
BabuTechBsf Oct 14, 2024
a297045
Merge pull request #133 from brainstormforce/SUR-311-radio
vrundakansara Oct 14, 2024
11ae0d5
fix: Body Content get shifted to the right edge
jaieds Oct 14, 2024
df8a28a
Merge pull request #134 from brainstormforce/drawer-story-fix
vrundakansara Oct 14, 2024
132f838
Merge pull request #130 from brainstormforce/SUR-306
vrundakansara Oct 14, 2024
df152dc
Removed 'a' tag and fixed ellipses padding
HimanshuSangale Oct 14, 2024
47bd6e3
UAT Fixes - padding spacing and height fix
ravindra114 Oct 14, 2024
5d9e40e
lint js
ravindra114 Oct 14, 2024
1a37530
Merge branch 'staging' of https://github.com/brainstormforce/force-ui…
ravindra114 Oct 14, 2024
6948fcf
Styling changes
HimanshuSangale Oct 14, 2024
19ed989
Updated readme and js lint
HimanshuSangale Oct 14, 2024
1acd87e
Merge branch 'staging' into SUR-232-pagination
HimanshuSangale Oct 14, 2024
b8fb124
Add auto space after mention node
jaieds Oct 15, 2024
fa1ac1f
chore: Lint
jaieds Oct 15, 2024
c3f8305
Updated the readme
jaieds Oct 15, 2024
b84f563
Changes suggested on PR and UAT change fixes
HimanshuSangale Oct 15, 2024
81d0833
JS lint
HimanshuSangale Oct 15, 2024
a6300ed
Added Tooltip changes in Sidebar
JelenaTakac Oct 15, 2024
69d5923
Resolved lint js issues
JelenaTakac Oct 15, 2024
dfd8507
Merge pull request #138 from brainstormforce/tooltip-changes
vrundakansara Oct 15, 2024
e946f57
Don't apply auto-space if removed
jaieds Oct 15, 2024
b5fe8d5
Merge pull request #136 from brainstormforce/uat_ring_fixes
vrundakansara Oct 15, 2024
1130e0d
Set default auto space flag value to false
jaieds Oct 15, 2024
d40ec77
Added 2px margin around the mention node
jaieds Oct 15, 2024
f80c077
Added auto space prop details in the storybook
jaieds Oct 15, 2024
2f339b4
chore: Lint
jaieds Oct 15, 2024
fecc4f7
added uat changes
BabuTechBsf Oct 15, 2024
0266796
added lint
BabuTechBsf Oct 15, 2024
beb7e1c
added checbox fix;
BabuTechBsf Oct 15, 2024
fe750dd
Badge, Button, Cards - list blocks and widget blocks, sidebar styling
ravindra114 Oct 15, 2024
c41c78f
Update src/components/pagination/pagination.jsx
HimanshuSangale Oct 15, 2024
b8d6fc1
Merge pull request #139 from brainstormforce/uat-feedback-menu
vrundakansara Oct 15, 2024
7eeeebc
Update src/components/pagination/pagination.jsx
HimanshuSangale Oct 15, 2024
43ae40d
Added wrapperClassName prop
jaieds Oct 15, 2024
ef24f1a
Update src/components/pagination/pagination.jsx
HimanshuSangale Oct 15, 2024
75e13f3
Update src/components/pagination/pagination.jsx
HimanshuSangale Oct 15, 2024
821a7b5
Update src/components/pagination/pagination.jsx
HimanshuSangale Oct 15, 2024
1e28a3f
Update src/components/pagination/pagination.jsx
HimanshuSangale Oct 15, 2024
7c5e132
fix: Story style
jaieds Oct 15, 2024
600f15d
fix: Loosing focus when Pressing arrow key to change cursor placement
jaieds Oct 15, 2024
3c87bf3
Merge pull request #137 from brainstormforce/SUR-312
vrundakansara Oct 15, 2024
beeccbb
UAT fixes for cards, dropdown menu, editor input, input, sidebar, tex…
ravindra114 Oct 15, 2024
44e9acd
Added component check for tag
HimanshuSangale Oct 15, 2024
50a118e
JS lint
HimanshuSangale Oct 15, 2024
a9dd1d9
Storybook: rel arg removed
HimanshuSangale Oct 15, 2024
d5e93d4
Alignment fixes for dashboard templates
ravindra114 Oct 15, 2024
4c42e17
Alignments for Cards
ravindra114 Oct 15, 2024
652933d
Merge branch 'staging' of https://github.com/brainstormforce/force-ui…
ravindra114 Oct 15, 2024
d43a18b
Removed checks for tag
HimanshuSangale Oct 15, 2024
18aa0f9
Update src/components/pagination/pagination.jsx
HimanshuSangale Oct 15, 2024
7578f06
Update src/components/pagination/pagination.jsx
HimanshuSangale Oct 15, 2024
bf3caf8
Storybook: refinements
HimanshuSangale Oct 15, 2024
683d526
Onboarding template fixes
ravindra114 Oct 15, 2024
dc77b40
Merge pull request #140 from brainstormforce/fix-editor-input-focus-i…
vrundakansara Oct 15, 2024
4dbcc3a
Merge pull request #141 from brainstormforce/uat_final_fixes
vrundakansara Oct 15, 2024
f10c915
added border changes
BabuTechBsf Oct 15, 2024
eb0e841
added lints
BabuTechBsf Oct 15, 2024
b96c61f
added lint
BabuTechBsf Oct 15, 2024
142bd76
Fix in select, menu, and datepicker
ravindra114 Oct 15, 2024
e53c66d
Storybook: refinements
HimanshuSangale Oct 15, 2024
b959ac0
Implemented outline and removed border
HimanshuSangale Oct 15, 2024
fdcd3b7
Editor Input fix, Input suffix fix
ravindra114 Oct 15, 2024
820750f
added tooltip
BabuTechBsf Oct 15, 2024
c25769c
lint fix
ravindra114 Oct 15, 2024
2c7ce5e
added flex changes
BabuTechBsf Oct 15, 2024
347cf33
Editor input
ravindra114 Oct 15, 2024
a505170
Merge pull request #142 from brainstormforce/uat-feedback-menu
vrundakansara Oct 16, 2024
ed77119
space adjusted
BabuTechBsf Oct 16, 2024
36644d9
Input suffix condition
ravindra114 Oct 16, 2024
6e59e19
removed min-width
ravindra114 Oct 16, 2024
9019033
Merge pull request #144 from brainstormforce/uat-feedback-menu
vrundakansara Oct 16, 2024
3411f7a
Fixed the incorrect use of tooltip
vrundakansara Oct 16, 2024
6494999
Lint fixes
vrundakansara Oct 16, 2024
941dd1e
Deploying storybook
vrundakansara Oct 16, 2024
1cf720f
Temorary deployment
vrundakansara Oct 16, 2024
b2c4bd3
Github token added
vrundakansara Oct 16, 2024
08df273
Added animation fade in/out to arrow
ravindra114 Oct 16, 2024
4270215
Removed commented code
JelenaTakac Oct 16, 2024
e2bf0c2
Merge pull request #145 from brainstormforce/dashboard-spectra
vrundakansara Oct 16, 2024
4006fc5
Merge branch 'staging' of https://github.com/brainstormforce/force-ui…
vrundakansara Oct 16, 2024
62462eb
Merge branch 'staging' of https://github.com/brainstormforce/force-ui…
ravindra114 Oct 16, 2024
6234430
Rectified minor issue
vrundakansara Oct 16, 2024
93aa1e0
Chromatic GitHub Deployment
vrundakansara Oct 16, 2024
2b7a87d
Merge pull request #143 from brainstormforce/uat_final_fixes
vrundakansara Oct 16, 2024
810cce9
Changed deployment branch
vrundakansara Oct 16, 2024
bb6a1c0
Minor padding changes to icon and ellipse
HimanshuSangale Oct 16, 2024
d5bfe5c
Merge pull request #146 from brainstormforce/github-deployment
vrundakansara Oct 16, 2024
8fec99b
Merge pull request #123 from brainstormforce/SUR-232-pagination
vrundakansara Oct 16, 2024
0b85dc4
Lint fix
vrundakansara Oct 16, 2024
fe502f9
Reverted title and content props to Tooltip component
JelenaTakac Oct 16, 2024
368a594
UAT issues related to border - fixed it with outline and rings
ravindra114 Oct 16, 2024
fb1954d
Implemented Tooltip changes in other files
JelenaTakac Oct 16, 2024
a2fe207
quick access link fixes
ravindra114 Oct 16, 2024
0c0142b
lint js fix
ravindra114 Oct 16, 2024
13730f2
Resolved lint js issues
JelenaTakac Oct 16, 2024
a1bc66b
added uat changes radio, title
BabuTechBsf Oct 16, 2024
f20a59d
Merge pull request #149 from brainstormforce/final-uat-akbar
vrundakansara Oct 16, 2024
4ea2fd7
Merge branch 'staging' of https://github.com/brainstormforce/force-ui…
vrundakansara Oct 16, 2024
1b6ecad
Merge pull request #147 from brainstormforce/uat_final_fixes
vrundakansara Oct 16, 2024
8d4e343
added margin fix
BabuTechBsf Oct 16, 2024
b2061a7
Fixed the size of the badge in UAT
vrundakansara Oct 16, 2024
2917b55
added badge size
BabuTechBsf Oct 16, 2024
6d9051a
added icon size
BabuTechBsf Oct 16, 2024
61eb948
Merge branch 'staging' of github.com:brainstormforce/force-ui into fi…
BabuTechBsf Oct 16, 2024
f60b352
added sync
BabuTechBsf Oct 16, 2024
dfe0fdc
Merge pull request #150 from brainstormforce/final-uat-akbar
vrundakansara Oct 16, 2024
1e60d47
Removed margin from the left
jaieds Oct 16, 2024
d7741c2
Feedback changes
vrundakansara Oct 16, 2024
5987887
Merge pull request #151 from brainstormforce/editor-input-badge-margin
vrundakansara Oct 16, 2024
a11996e
Merge pull request #148 from brainstormforce/tooltip-fixes
vrundakansara Oct 16, 2024
02f3d23
Rectified the readme files
vrundakansara Oct 16, 2024
9ee14b0
Merge branch 'staging' of https://github.com/brainstormforce/force-ui…
vrundakansara Oct 16, 2024
bf6584e
Switch fixes
vrundakansara Oct 16, 2024
52cc569
Revert - Added back the focus property
vrundakansara Oct 16, 2024
24d3cb0
Merge pull request #152 from brainstormforce/switch-fixes
vrundakansara Oct 16, 2024
06a2da6
alert button type change, and select text size change
ravindra114 Oct 16, 2024
17cb2b1
added border active fix
BabuTechBsf Oct 17, 2024
638e404
WIP : Added readme
vrundakansara Oct 17, 2024
b6d6abe
font size
ravindra114 Oct 17, 2024
da90bcd
Merge pull request #154 from brainstormforce/radio-border
vrundakansara Oct 17, 2024
f1c6d35
Code of conduct & contributing
vrundakansara Oct 17, 2024
28b4347
Commented unwanted code
vrundakansara Oct 17, 2024
aa024f1
removed code
vrundakansara Oct 17, 2024
3e2754e
Merge branch 'staging' of https://github.com/brainstormforce/force-ui…
ravindra114 Oct 17, 2024
17fb0c0
Scroll fix
ravindra114 Oct 17, 2024
f8d9515
Readme update
vrundakansara Oct 17, 2024
4cf5b55
MD files
vrundakansara Oct 17, 2024
cd3d261
Update CONTRIBUTING.md
vrundakansara Oct 17, 2024
4d556b1
Merge pull request #153 from brainstormforce/uat_final_fixes
vrundakansara Oct 17, 2024
9ab2760
Merge pull request #155 from brainstormforce/readme
vrundakansara Oct 17, 2024
7592dfa
Changelog
vrundakansara Oct 17, 2024
720cf39
Storybook live deployment
vrundakansara Oct 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ Gruntfile.js
.storybook
babel.config.js
jsconfig.json
postcss.config.js
postcss.config.cjs
src
package-lock.json
phpunit.xml
phpunit.xml.dist
Expand Down
4 changes: 3 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ module.exports = {
},
alias: {
map: [
['@', './src'],
['@/icons', './src/ui/icons.js'],
['@/components', './src/components'],
['@/utilities', './src/utilities'],
['@', './src'],
],
extensions: ['.js', '.jsx'],
},
Expand All @@ -31,6 +32,7 @@ module.exports = {
'react-hooks/exhaustive-deps': 'off',
'jsx-a11y/label-has-associated-control': 'off',
'jsx-a11y/no-noninteractive-element-interactions': 'off',
'jsx-a11y/anchor-is-valid': 'off',
},
globals: {
localStorage: 'readonly',
Expand Down
35 changes: 35 additions & 0 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# The Code of Conduct - Who You Are

At Force UI, we believe in fostering a collaborative and respectful environment that empowers each team member to excel, contribute, and thrive. Our team code of conduct outlines the principles and values that guide your interactions, decisions, and contributions to the success of Force UI.

## Respect and Courtesy:
You prioritize maintaining a courteous and respectful atmosphere within our team. You treat each team member with kindness, actively listen to diverse opinions, and engage in constructive dialogue. Disagreements are viewed as opportunities for growth, and you approach conflicts with empathy and a commitment to finding common ground.

## Problem Solving Excellence:
You are a dedicated problem solver who approaches challenges with analytical rigour. You thoroughly analyze issues, recreate them, and trace them back to their source. Before committing any code, you ensure it is thoroughly tested and effectively addresses the problem. Writing comprehensive tests alongside your solutions is a fundamental part of your commitment to quality.

## Curiosity and Learning:
Curiosity fuels your desire to learn and grow. You embrace opportunities to expand your knowledge and skills, continuously seeking to level up. You approach new concepts with enthusiasm and invest time in researching and learning, contributing to your own growth and the success of Force UI.

## Respect for Legacy Code:
You respect the legacy code that forms the foundation of Force UI. You enjoy delving into the intricacies of older code, refactoring it, and overcoming the challenges that come with it. Your dedication to understanding and improving existing code contributes to the longevity and success of our platform.

## Customer-Centric Mindset:
Helping customers resolve issues is a source of deep satisfaction for you. You are compelled to provide the best possible assistance, going beyond surface-level replies to ensure customers receive effective solutions. Your commitment to helping people reflects your dedication to creating a positive experience for Force UI users.

## Thoroughness and Accuracy:
You prioritise accuracy over assumptions. When faced with uncertainty, you pause to research, ask questions, and verify information before taking action. The idea of providing incorrect information is contrary to your standards, and you are committed to ensuring accuracy in all your communications.

## Value in Consistency:
You value consistency over personal preferences. You readily adopt new coding styles, standards, and tools that contribute to uniformity in your work. You identify elegant solutions amidst potential over-engineering options, ensuring our codebase remains streamlined and efficient.
Independent and Proactive:
While collaboration is valued, you recognize that your best work often happens in focused isolation. You proactively tackle tasks without waiting for direction, taking ownership of projects and responsibilities. Your initiative contributes to the agility and progress of Force UI.

## Clear Communication:
You understand that clear, concise written communication is essential for remote teams. When submitting pull requests for review, you provide context and explanations to ensure a comprehensive understanding of your contributions. Effective communication is a cornerstone of our collaborative success.

## Accountability and Growth:
You take ownership of both successes and failures. Constructive criticism is embraced as an avenue for growth and improvement. You encourage open dialogue and provide constructive feedback to help each other excel professionally, fostering an environment of continuous learning and development.

## Remote Availability:
Recognizing the remote nature of our work, you understand the importance of time and remote availability. You adhere to agreed-upon schedules and ensure your availability for meetings, discussions, and collaborative efforts, promoting effective teamwork despite geographical distances. You emphasize the effective use of communication tools such as Slack.
104 changes: 104 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
# Force UI Contributing Guide

Thank you for your interest in contributing to @bsf/force-ui! Please feel free to put up a PR for any issue, feature request or enhancement.

## Development Setup

Force UI is using npm workspaces and you need to execute the following commands after clonning the repository.

1. Install dependencies

```bash
npm install
```

2. Run the project in a terminal

```bash
npm run dev
```

3. Run the project storybook in another terminal

```bash
npm run storybook
```

4. Viewing the Storybook

Open http://localhost:6006 in the browser

## Force UI Structure & Architechture

Force UI library follows the Atomic Design Pattern to structure the library.

**Atomic Development**
The five distinct levels of atomic design — atoms > molecules > organisms > templates > pages — map incredibly well to React’s component-based architecture.

**Atoms:**
Basic building blocks of matter, such as a button, input or a form label. They’re not useful on their own.

**Molecules:**
Grouping atoms together, such as combining a button, input and form label to build functionality.

**Organisms:**
Combining molecules together to form organisms that make up a distinct section of an interface (i.e. navigation bar)

**Templates:**
Consisting mostly of groups of organisms to form a page — where clients can see a final design in place.

**Pages:**
An ecosystem that views different template renders. We can create multiple ecosystems into a single environment — the application.


File Structure
Since React follows a component-based architecture, it’s pretty common to organise your components based on the type, rather than feature. All the components are inside of the components folder.

This folder includes the folowing files:
1. index.jsx
2. Component js files
3. readme.md file having the documentation for that component
4. stories.js file having the storybook story for that component

![Folder Structure of a component](https://github.com/user-attachments/assets/82c92c75-853b-4cf0-9301-ce54e26f4021)


## Reporting Issues & Features Requests

If you notice any bugs in the code, see some code that can be improved, or have features you would like to be added, please create a [bug report](https://github.com/brainstormforce/force-ui/issues/new) or a [feature request](https://github.com/brainstormforce/force-ui/issues/new)!

If you want to open a PR that fixes a bug or adds a feature, then we can't thank you enough!

## Working on Issues

Please feel free to take on any issue that's currently open. Just send a comment in order to let us know you're working on it so we can assign that specific issue to you.

## Opening a Pull Request

What we ask you, is that before working on a large change, it is best to open an issue first to discuss it with the maintainers or if an issue was already opened, comment your intention of opening up a PR. All this can be discussed on the slack channel [#force-ui](https://brainstormforce.slack.com/archives/C0783G47NGK)

When in doubt, keep your pull requests small. To give a PR the best chance of getting accepted, don't bundle more than one feature or bug fix per pull request. It's always best to create two smaller PRs than one big one.

### Branch Types

1. **feature/version/branch** - New implementation code that is required for product development. Everything that is not considered a defect and brings value is considered a feature. Example: **feature/react/gbxb-483-enable-ssr**
2. **bug/version/branch** - Defects, either flagged by the QA team or any of the parties involved in the project, missing functionality or wrongly implemented functionality, they all fall into the “bug” category. Branches that solve such defects should be prefixed with the **bug** prefix. Example: **bug/react/gbxb-483-enable-ssr**
3. **docs/version/branch** — Any work that relates to project-level and code-level documentation. Whether it is work related to the project **README**, or code-level documentation, branches that host this type of work should use this prefix. Example: **docs/react/gbxb-483-enable-ssr**

### Commit Formatting

Every file changed should have its own commit message, please don't do one commit for multiple changes.

### Submitting a Pull Request

1. Each PR should be compared with the **dev** branch not with the **master**.
2. For @bsf/force-ui add **@vrundakansara** as a reviewer.
4. Once your PR approved we'll merge it to the **staging** branch and you'll become one of the contributors to the @bsf/force-ui library. 🥳

## Branches Explained

As you can see we have multiple branches:

- **master**: This branch stores the latest stable version of @bsf/force-ui.
- **staging**: This is the **pre-release** branch of @bsf/force-ui, and this is where everything is happening before releasing on master
- **dev**: This is the **development** branch of @bsf/force-ui, and this is where development is happening before moving to UAT.
17 changes: 17 additions & 0 deletions .github/PHILOSOPHY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Force UI Philosophy

Welcome to the heart and soul of Force UI - the Philosophy.

Here, we craft the very essence that drives us, the guiding principles that light our path. Our philosophy is more than just words – it's the compass that helps us make decisions, set our values, and code with a purpose. Every line of code, every design choice, and every innovation we create is rooted in these beliefs.

## Walk-in Users Shoes
Think like our users. Walk in their shoes. It's not just about code; it's about crafting a seamless experience. With every decision we make, every feature we add, and every button we place, we envision the world through their eyes. We are architects of ease, understanding that the best solutions emerge when we place our users at the heart of everything we do.

## Clean, Lean and Speed
Speed isn't just a feature; it's a promise we keep. We believe that in the digital realm, every second counts. Our commitment to lean code and efficient architecture ensures that our users' experience is swift and seamless. We optimize for performance because we know that time is our users' most valuable asset.

## Good Design is Our Core
Beauty lies in the details, and we leave no stone unturned. Our design isn't just aesthetics; it's a conduit for delivering an exceptional user experience. Every pixel, every colour, and every interaction is meticulously crafted to delight and engage. We believe in functional elegance that not only looks great but also works like a charm.

## Simplicity Reigns
In a world of complexity, we embrace simplicity. We take intricate challenges and distil them into straightforward solutions. Complexity is the enemy of progress, and we stand firm in our commitment to making the intricate seem effortless. Simple isn't just easier; it's better.
1 change: 1 addition & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- name: Install dependencies
# ⚠️ See your package manager's documentation for the correct command to install dependencies in a CI environment.
run: npm install && npm run build

- name: Run Chromatic
uses: chromaui/action@latest
with:
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/storybook-deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: 'Chromatic GitHub Deployment'

on:
push:
branches:
- master

jobs:
chromatic:
name: Run Chromatic
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
# ⚠️ See your package manager's documentation for the correct command to install dependencies in a CI environment.
run: npm install && npm run build && npm run deploy-storybook -- --ci
env:
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}

- name: Run Chromatic
uses: chromaui/action@latest
with:
# ⚠️ Make sure to configure a `CHROMATIC_PROJECT_TOKEN` repository secret
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
zip: true
onlyChanged: true # 👈 Required option to enable TurboSnap
3 changes: 3 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ const config = {
},
webpackFinal: async (config) => {
config.resolve.alias = {
'@/icons': path.resolve(__dirname, '..', 'src/ui/icons'),
'@/components': path.resolve(__dirname, '..', 'src/components'),
'@/utilities': path.resolve(__dirname, '..', 'src/utilities'),
'@': path.resolve(__dirname, '..', 'src'),
};

Expand Down
5 changes: 5 additions & 0 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<style>
body * {
font-family: 'Figtree', sans-serif;
}
</style>
Loading
Loading