Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
31b01f4
feat(storybook): add tokens documentation viewer (#537)
cg-mmirca Sep 22, 2023
2229741
feat: highlight design system
ybayraktutan Oct 4, 2023
89425de
fix: replaced empty jsx with react fragment (#540)
alexwbbr Oct 6, 2023
bfcfa4b
feat: add design system for keyboard input
ybayraktutan Oct 18, 2023
c2c95e5
fix: missing components (#557)
daniele-zurico Oct 24, 2023
7e6af87
Feature/storybook layout (#561)
shivammuttoo Oct 24, 2023
eabb984
feat: add design system for link element
JadhavJeet Nov 2, 2023
121aa68
Paragraph - enable paragraph to have a custom content (#567)
jgonza16 Nov 7, 2023
2796dcd
improves tab documentation to display correct properties (#569)
AlaaEddine20 Nov 13, 2023
bbdbf90
adds supported engine versions for node, npm & yarn (#570)
AlaaEddine20 Nov 13, 2023
ced54ba
fixes select defaultValue onChange (#573)
AlaaEddine20 Nov 15, 2023
36a275f
adds meta description for SEO (#574)
AlaaEddine20 Nov 16, 2023
2c123ac
feat: add abbreviate design system
jgonza16 Nov 17, 2023
8af7a76
Code snippet - design system (#543)
ybayraktutan Nov 21, 2023
f3a6228
feat: preformatted text (#575)
JadhavJeet Nov 23, 2023
456a6be
DescriptionList (#522)
Nov 23, 2023
44a61e1
adds blockquote design-system (#571)
AlaaEddine20 Nov 26, 2023
1bc8288
Button - enhancement to allow pass extra content (#576)
AlaaEddine20 Nov 28, 2023
22f0777
Accordion component funtionality (#544)
byohannes Dec 12, 2023
146fe4b
feat: fix minor bug on the accordion (#589)
daniele-zurico Jan 23, 2024
3a46894
Form Input - Design System (#586)
jgonza16 Jan 31, 2024
3dcaf34
Adding isError property in Checkbox (#585)
Ahmet-K Feb 5, 2024
c8e0efa
button group component (#541)
alexwbbr Feb 5, 2024
7419072
fix: linting
daniele-zurico Feb 5, 2024
e98fbe2
fix: linting
daniele-zurico Feb 5, 2024
dffe8f2
feat: coverage 100% forminput (#591)
jgonza16 Feb 7, 2024
54bc112
Description list design system (#597)
shivammuttoo Feb 21, 2024
dce920d
Card component (#593)
AlaaEddine20 Feb 21, 2024
d847b8c
feat: bump a new version
daniele-zurico Feb 21, 2024
bf0a86d
Switched from CRA to Vite in the Example folder (#603)
josepholdfield Mar 1, 2024
85b6861
link back to Github from Storybook (#607)
malcomio Mar 21, 2024
68695c1
feat: radio-button-group desing-system (#609)
AranzazuVM Mar 26, 2024
2e08a78
Form CheckBox design-system (#604)
JadhavJeet Mar 27, 2024
8ceaf38
Feature/upgrade sb deps (#614)
daniele-zurico Mar 28, 2024
e328837
feat: create file structure and host clases names (#605)
jgonza16 Mar 28, 2024
982cb3b
feat: expose clip-path proertie in checkbox (#615)
jgonza16 Mar 28, 2024
fc47f37
fix: adding fileList to onChange for multi file uploads (#613)
Ibabalola Apr 2, 2024
8580055
feat: upgrade all the deps (#616)
daniele-zurico Apr 3, 2024
20ea972
fix: adding css style heading (#620)
AranzazuVM Apr 12, 2024
a24fa02
fix: change typed wrong and create safe placeholder-css (#627)
jgonza16 Apr 15, 2024
13e46b0
fix: fixed test forminput and expose select ref (#628)
jgonza16 Apr 15, 2024
ee4b4c5
accessibility issues (#634)
Ibabalola Apr 19, 2024
77dec00
feat: add design system documentation (#625)
mmirca Apr 22, 2024
be00ea7
fix: removing unnecessary div from error message (#636)
Ibabalola Apr 23, 2024
566c5f5
fix: removing the default 0 tabIndex (#641)
Ibabalola Apr 23, 2024
4657395
Prepare documentation and contribution for v.1.0.0 (#642)
daniele-zurico May 3, 2024
c19372d
adds close on blur and moves position of hidden hint text (#643)
alexwbbr May 9, 2024
71aea73
updates changelog links (#645)
alexwbbr May 9, 2024
431a74c
Feature/revert close on blur (#647)
alexwbbr May 10, 2024
8e69e4c
fix: removing name as a substitute aria label (#651)
Ibabalola May 13, 2024
0d8fc0f
adds better checks to close the options on blur (#648)
alexwbbr May 16, 2024
c12b392
feat: adding visually hidden text to button for screen readers (#653)
Ibabalola May 16, 2024
23fad5f
feat: add video on storybook doc (#654)
daniele-zurico May 24, 2024
93cd003
feat: upgrade storybook
daniele-zurico May 24, 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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .babelrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"@babel/preset-typescript",
"@babel/preset-react"
["@babel/preset-react", {"runtime":"automatic"}]
],
"plugins": []
}
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
build:
docker:
- image: cimg/node:16.16.0
- image: cimg/node:20.12.0
working_directory: ~/repo
steps:
- checkout
Expand Down
98 changes: 55 additions & 43 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,57 @@
{
"extends": [
"react-app"
"extends": [
"react-app"
],
"rules": {
"import/no-anonymous-default-export": 0,
"no-console": "error",
"no-debugger": "error",
"array-bracket-newline": "error",
"array-bracket-spacing": "error",
"array-callback-return": "error",
"arrow-body-style": "error",
"arrow-spacing": "error",
"block-scoped-var": "error",
"block-spacing": "error",
"brace-style": "error",
"callback-return": "error",
"camelcase": "error",
"no-dupe-else-if": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
"no-duplicate-imports": "error",
"no-unneeded-ternary": "error",
"no-unreachable": "error",
"no-unsafe-finally": "error",
"no-unsafe-negation": "error",
"no-unused-expressions": "error",
"no-unused-labels": "error",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error"
],
"rules": {
"no-console": "error",
"no-debugger": "error",
"array-bracket-newline": "error",
"array-bracket-spacing": "error",
"array-callback-return": "error",
"arrow-body-style": "error",
"arrow-spacing": "error",
"block-scoped-var": "error",
"block-spacing": "error",
"brace-style": "error",
"callback-return": "error",
"camelcase": "error",
"no-dupe-else-if": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
"no-duplicate-imports": "error",
"no-unneeded-ternary": "error",
"no-unreachable": "error",
"no-unsafe-finally": "error",
"no-unsafe-negation": "error",
"no-unused-expressions": "error",
"no-unused-labels": "error",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error"],
"no-use-before-define": "off",
"no-useless-call": "error",
"no-useless-catch": "error",
"no-useless-computed-key": "error",
"no-useless-concat": "error",
"no-useless-constructor": "error",
"no-useless-escape": "error",
"no-useless-rename": "error",
"no-useless-return": "error",
"no-var": "error",
"quotes": [2, "single", { "avoidEscape": true }],
"semi": [2, "always"],
// turning off the following
"react-hooks/exhaustive-deps": "off"
}
}
"no-use-before-define": "off",
"no-useless-call": "error",
"no-useless-catch": "error",
"no-useless-computed-key": "error",
"no-useless-concat": "error",
"no-useless-constructor": "error",
"no-useless-escape": "error",
"no-useless-rename": "error",
"no-useless-return": "error",
"no-var": "error",
"quotes": [
2,
"single",
{
"avoidEscape": true
}
],
"semi": [
2,
"always"
],
// turning off the following
"react-hooks/exhaustive-deps": "off"
}
}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ coverage
.parcel-cache
example/.parcel-cache/*
example/build
storybook-static
storybook-static
package-lock.json
15 changes: 14 additions & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
process.env.DESIGN_TOKEN_GLOB = "**/tokens.css";
const config = {
stories: ['../stories/**/*.mdx', '../stories/**/*.stories.@(js|jsx|ts|tsx)'],

addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-docs',
'@storybook/addon-controls',
'storybook-css-modules-preset',
'@storybook/preview-api',
'@storybook/addon-a11y',
{
name: "storybook-design-token",
Expand All @@ -17,12 +19,23 @@ const config = {
autodocs: "tag",
},
},
'@storybook/addon-mdx-gfm'
'@storybook/addon-mdx-gfm',
'@storybook/addon-webpack5-compiler-babel',
'storybook-addon-mdx-embed'
],

framework: {
name: '@storybook/react-webpack5',
options: {}
},

docs: {},

staticDirs: ["../static"],

typescript: {
reactDocgen: 'react-docgen-typescript'
}
};

export default config;
1 change: 1 addition & 0 deletions .storybook/manager-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
href="https://www.capgemini.com/wp-content/themes/capgemini-komposite/assets/images/favicon.ico">
<link rel="icon" type="image/png" href="/storybook.png" sizes="192x192">
<!-- TODO-DS: we'll remove this one when we'll decide to release the design tokens-->
<meta name="description" content="react agnostic library" key="desc" />
<script defer>
if (location.hostname !== 'localhost') {
const $hideDesignSystemFromSidebar = document.createElement('style');
Expand Down
2 changes: 1 addition & 1 deletion .storybook/manager.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { addons } from '@storybook/addons';
import { addons } from '@storybook/manager-api';
import camTheme from './capgeminiTheme';

addons.setConfig({
Expand Down
36 changes: 26 additions & 10 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,18 @@ export const parameters = {
[
'Introduction',
'Utils',
[
'CopyToClipboard',
['Documentation', 'Live', 'Without style', 'Class based'],
],
'Form',
[
'Autocomplete',
['Documentation', 'Live', 'Without style', 'Class based'],
'Button',
['Documentation', 'Live', 'Without style', 'Class based'],
'ButtonGroup',
['Documentation', 'Live', 'Without style', 'Class based'],
'CharacterCount',
['Documentation', 'Live', 'Without style', 'Class based'],
'Checkbox',
Expand Down Expand Up @@ -67,16 +73,21 @@ export const parameters = {
'Tooltip',
['Documentation', 'Live', 'Class based'],
],
'Breadcrumb',
['Documentation', 'Live', 'Without style', 'Class based'],
'CopyToClipboard',
['Documentation', 'Live', 'Without style', 'Class based'],
'Details',
['Documentation', 'Live', 'Without style', 'Class based'],
'Tabs',
['Documentation', 'Live', 'Without style', 'Class based'],
'Table',
['Documentation', 'Live', 'Without style', 'Class based'],
'Layout',
[
'Accordion',
['Documentation', 'Live', 'Without style', 'Class based'],
'Breadcrumb',
['Documentation', 'Live', 'Without style', 'Class based'],
'Details',
['Documentation', 'Live', 'Without style', 'Class based'],
'Tabs',
['Documentation', 'Live', 'Without style', 'Class based'],
'Table',
['Documentation', 'Live', 'Without style', 'Class based'],
'Card',
['Documentation', 'Live', 'Without style', 'Class based'],
],
'Typography',
[
'Abbreviate',
Expand All @@ -103,6 +114,10 @@ export const parameters = {
['Documentation', 'Live', 'Without style', 'Class based'],
'List',
['Documentation', 'Live', 'Without style', 'Class based'],
'DescriptionList',
['Documentation', 'Live', 'Without style', 'Class based'],
'PreformattedText',
['Documentation', 'Live', 'Without style', 'Class based'],
],
'Changelog',
],
Expand Down Expand Up @@ -146,3 +161,4 @@ export const decorators = [
return storyFn();
},
];
export const tags = ['autodocs'];
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
"files.associations": {
"*.css": "postcss"
}
}
}
Loading