Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
377 commits
Select commit Hold shift + click to select a range
54a25e4
1.2.11-beta.45
clementdevos Jun 8, 2022
01f5160
remove console.log
clementdevos Jun 9, 2022
eb4c9f0
1.3.0
clementdevos Jun 9, 2022
1111c5a
Update variant style (reduce text size and line height)
Jun 13, 2022
6ebdb29
1.3.1-beta.0
Jun 13, 2022
7248ef1
Include scrollbar style and update body default size
Jun 13, 2022
09726a1
1.3.1-beta.1
Jun 13, 2022
9b6f4de
Increase h1 size
Jun 13, 2022
b42ca82
1.3.1-beta.2
Jun 13, 2022
3889fe9
fix(technologies) fixed classes not applied and card not sized properly
clementdevos Jun 14, 2022
68ef943
develop: new tag design
bpoulaindev Jun 15, 2022
652685b
develop: new tag design with onclick, ondelete, custom classes, new p…
bpoulaindev Jun 16, 2022
828e326
v-1.3.1-beta.3
bpoulaindev Jun 16, 2022
665df8e
je refix ce que j'ai défixé LOL
clementdevos Jun 16, 2022
5362182
1.3.1-beta.4
clementdevos Jun 16, 2022
42fbec5
fix tailwind error
bpoulaindev Jun 17, 2022
21753da
fix tailwind error
bpoulaindev Jun 17, 2022
03e4b48
1.3.1-beta.5
bpoulaindev Jun 17, 2022
0bd545c
fix typography classes
bpoulaindev Jun 17, 2022
caf3182
1.3.1-beta.6
bpoulaindev Jun 17, 2022
2cb28e4
fix tag text size error
bpoulaindev Jun 17, 2022
bb69765
1.3.1-beta.7
bpoulaindev Jun 17, 2022
1286f39
fix tag forwardref
bpoulaindev Jun 17, 2022
13d4af9
1.3.1-beta.8
bpoulaindev Jun 17, 2022
c43d422
fix(popper) fixed popper not overflowing correctly
clementdevos Jun 17, 2022
009a492
1.3.1-beta.9
clementdevos Jun 17, 2022
ec13c0d
palette: added purple color
bpoulaindev Jun 17, 2022
858b4bd
1.3.1-beta.10
bpoulaindev Jun 17, 2022
474ef87
tag: improved children handling
bpoulaindev Jun 20, 2022
b08fcb5
1.3.1-beta.11
bpoulaindev Jun 20, 2022
3614db6
tag: added event prevent default onDelete
bpoulaindev Jun 23, 2022
81a6939
1.3.1-beta.12
bpoulaindev Jun 23, 2022
4147d40
tailwind: fix min width
bpoulaindev Jun 23, 2022
9a0204e
1.3.1-beta.13
bpoulaindev Jun 23, 2022
1afdd49
tags: hover onmouseleave with tooltip
bpoulaindev Jun 23, 2022
6dbdda3
1.3.1-beta.14
bpoulaindev Jun 23, 2022
d3ebf66
tags: alternative hover behaviour
bpoulaindev Jun 23, 2022
f2e3c31
1.3.1-beta.15
bpoulaindev Jun 23, 2022
1a18a9f
Fix hide banner on small screens
Jun 24, 2022
065d12b
1.3.1-beta.16
Jun 24, 2022
fc3393b
fix(checkbox) added defaut variant and color
clementdevos Jul 1, 2022
ddff522
1.3.1-beta.17
clementdevos Jul 1, 2022
ecf66db
feat(autocomplete) display list if no input dreamjob#3903
clementdevos Jul 4, 2022
648fff9
1.3.1-beta.18
clementdevos Jul 4, 2022
42c0ed9
feat(banner) mobile size
clementdevos Jul 5, 2022
54108ef
1.3.1-beta.19
clementdevos Jul 5, 2022
05a35da
fix(banner) fixed missing bg for banner
clementdevos Jul 5, 2022
eb9c703
1.3.1-beta.20
clementdevos Jul 5, 2022
499c551
Add a little bit of padding
Jul 25, 2022
b695982
fix(warning) fixed wrong SVG attribute
clementdevos Jul 26, 2022
f194759
1.3.1-beta.21
clementdevos Jul 26, 2022
ccf02e6
1.3.1-beta.22
clementdevos Jul 26, 2022
36d9497
fix(skills) changed to div to see if there is any improvements
clementdevos Jul 27, 2022
2c4a2c0
1.3.1-beta.23
clementdevos Jul 27, 2022
dcfb389
Upgrade to react 18
Aug 4, 2022
b0c6a74
Removing react-hoc-sortable
Aug 4, 2022
adaa9ad
Update yarn lock
Aug 4, 2022
f62fba3
Cleaning up code
Aug 4, 2022
28b136a
1.3.1-beta.24
Aug 4, 2022
d7b62d9
Update technology picker to make it work with id using technologies n…
Aug 4, 2022
883c83c
1.3.1-beta.25
Aug 4, 2022
358cb60
Removing id from technologies
Aug 4, 2022
ea8a27b
1.3.1-beta.26
Aug 4, 2022
6d8b8d4
Missing contrast color
Aug 4, 2022
cf4dcc7
1.3.1-beta.27
Aug 4, 2022
b16c440
Allow custom style on tag component
Aug 4, 2022
64932c9
1.3.1-beta.28
Aug 4, 2022
48369e0
feat(typo) switched typo to avenir next
clementdevos Sep 30, 2022
8df6b51
1.4.0
clementdevos Sep 30, 2022
4dbaa51
fixed url missing in @import
clementdevos Sep 30, 2022
d14c1d9
fix(css) fixed wrong import
clementdevos Sep 30, 2022
0bc13be
1.4.1-beta.1
clementdevos Sep 30, 2022
f478ed2
feat(typo) remove skew on wld typographies
clementdevos Oct 6, 2022
b8afd73
1.4.1
clementdevos Oct 6, 2022
53e1502
feat(types) small textfields types touchups
clementdevos Oct 11, 2022
8bf4dc0
1.4.2
clementdevos Oct 11, 2022
1043c83
Merge branch 'develop' of github.com:welovedevs/wld-design-system int…
Oct 14, 2022
63414c6
feat(banner) added size small to force small layout
clementdevos Oct 27, 2022
0cd761e
1.4.3
clementdevos Oct 27, 2022
78ad14a
fix(tags): add responsive size for sm, add red to palette
bpoulaindev Nov 2, 2022
fe3ee74
1.4.4
bpoulaindev Nov 2, 2022
5e5339f
fix(textfield/typo) default colors/size fixes
clementdevos Nov 7, 2022
39c5eb7
1.4.5
clementdevos Nov 7, 2022
b6a5da8
revert default color for typography
clementdevos Nov 7, 2022
3af6dfd
1.4.6
clementdevos Nov 7, 2022
9662618
Add forward ref to typography
Nov 18, 2022
62bc527
1.4.7
Nov 18, 2022
252a3c9
(global): remove framer-motion, add smaller checkbox
bpoulaindev Nov 23, 2022
43a5def
1.4.8
bpoulaindev Nov 23, 2022
6b4fce7
fix(checkbox): fix size prop
bpoulaindev Nov 23, 2022
e99a64a
1.4.9
bpoulaindev Nov 23, 2022
a0374e1
fix(checkbox): rollback opacity and cursor pointer
bpoulaindev Nov 23, 2022
f484f16
1.4.10
bpoulaindev Nov 23, 2022
29b19cd
fix(tags): add clickable prop for hover classes without providing onC…
bpoulaindev Nov 25, 2022
2393789
1.4.11
bpoulaindev Nov 25, 2022
f303340
up version
clementdevos Dec 12, 2022
f115987
1.4.12
clementdevos Dec 12, 2022
c8aaed7
fix(button) added default type to button to prevent submits on forms
clementdevos Dec 19, 2022
8b53e7c
1.4.13
clementdevos Dec 19, 2022
6e8f9cd
chore(refacto) changed little things for forwarding refs
clementdevos Dec 20, 2022
e36babc
1.4.14
clementdevos Dec 20, 2022
906e1f8
fix(button) fixed missing default variant value
clementdevos Dec 20, 2022
3a11de2
1.4.15
clementdevos Dec 20, 2022
f4c12a7
change material icon import
clementdevos Dec 22, 2022
a8d99ef
1.4.16
clementdevos Dec 22, 2022
8b25428
fix mui imports again
clementdevos Dec 22, 2022
845521b
1.4.17
clementdevos Dec 22, 2022
703bca5
Fix contrast color missing for red color
Dec 29, 2022
25ce1c4
1.4.18
Dec 29, 2022
b04fd79
chore(typography) try to change props for ts compilation
clementdevos Jan 5, 2023
76f5f1c
1.4.19
clementdevos Jan 5, 2023
158a430
(fix_textfield): outline style on focus
bpoulaindev Jan 10, 2023
8491989
1.4.20
bpoulaindev Jan 10, 2023
c219f69
(technologies_picker): optional hideSlider props
bpoulaindev Feb 23, 2023
6b28207
1.4.21
bpoulaindev Feb 23, 2023
7abe4c0
Fix button that does not work properly with tooltip
May 3, 2023
55e4027
1.4.22
May 3, 2023
eb19032
(fix_button_and_tags): bring back outline, refactor & tag contrast fixes
bpoulaindev May 29, 2023
e6c95c6
1.4.23
bpoulaindev May 29, 2023
a6621b5
(buttons): remove uppercase, adjust typography size
bpoulaindev May 30, 2023
abb4137
1.4.24
bpoulaindev May 30, 2023
89dc98a
feat autocomplete multiple selection
nicklamyeeman Jun 2, 2023
106807a
fix props type in autocomplete multiple
nicklamyeeman Jun 2, 2023
6821a17
1.4.25
nicklamyeeman Jun 2, 2023
dcef660
fix props mandatory autocomplete multiple
nicklamyeeman Jun 2, 2023
b58fa92
1.4.26
nicklamyeeman Jun 2, 2023
349e7e4
fix autocomplete multiple always display
nicklamyeeman Jun 2, 2023
c44d098
Fix button text color
Jun 2, 2023
6800e1f
1.4.27
Jun 2, 2023
fdc9e01
1.4.28
Jun 2, 2023
a37b603
fix button disabled state
bpoulaindev Jun 2, 2023
18403c9
merge changes into button fix
bpoulaindev Jun 2, 2023
5ff4e1a
1.4.29
bpoulaindev Jun 2, 2023
770c68c
fix button light color
bpoulaindev Jun 2, 2023
ebcb737
1.4.30
bpoulaindev Jun 2, 2023
245ff7b
Rollback button
Jun 2, 2023
5c1ac61
1.4.31
Jun 2, 2023
c6c1369
Full rollback button
Jun 2, 2023
7292fbd
1.4.32
Jun 2, 2023
3d11c94
Fix tailwind in storybook
Jun 5, 2023
6371c17
Updating button style
Jun 5, 2023
b11d5eb
Build library
Jun 5, 2023
13dee4c
1.4.33
Jun 5, 2023
b075ecf
Build using node 14
Jun 5, 2023
83bfb93
1.4.34
Jun 5, 2023
f667119
feat(autocomplete) changed placement to popper props to override more…
clementdevos Jun 5, 2023
659be32
1.4.35
clementdevos Jun 5, 2023
f30cb21
en fait en partial c'est mieux
clementdevos Jun 5, 2023
dea0ce6
1.4.36
clementdevos Jun 5, 2023
cb5ec59
Update button style
Jun 6, 2023
694dc1b
1.4.37
Jun 6, 2023
8c11596
Fine tuning text spacing
Jun 6, 2023
83581fb
1.4.38
Jun 6, 2023
920e31c
Remove jss and legacy @mui/styles
Jun 7, 2023
3120542
1.4.39
Jun 7, 2023
6d51183
Fix typo in peer deps
Jun 7, 2023
64ce8ec
1.4.40
Jun 7, 2023
e83dd9b
Set line height to avoid shift in arrow if global line height is set
Jun 7, 2023
97c8056
1.4.41
Jun 7, 2023
17767c9
Fine tuning popper card display
Jun 7, 2023
750860c
1.4.42
Jun 7, 2023
3daf57e
try to add variable as font source
clementdevos Jun 21, 2023
1052ad9
1.4.42-beta.0
clementdevos Jun 21, 2023
f612b5f
Merge branch 'develop' of github.com:welovedevs/wld-design-system int…
Jun 21, 2023
12d0cf8
add select
nicklamyeeman Jun 23, 2023
de90e65
v1.4.43
nicklamyeeman Jun 23, 2023
6275693
v1.4.43
nicklamyeeman Jun 23, 2023
abd58bf
v1.4.44
nicklamyeeman Jun 23, 2023
767b374
fix(popper) added back classes for retrocompatibility and personaliza…
clementdevos Jun 26, 2023
1f06275
1.4.45
clementdevos Jun 26, 2023
8c2e44f
modifiers override
clementdevos Jun 26, 2023
041ccfc
1.4.46
clementdevos Jun 26, 2023
7b21489
fix select avoidnative default
nicklamyeeman Jun 28, 2023
3ed1199
v1.4.47
nicklamyeeman Jun 28, 2023
efcdf87
up react and react/types to 18.2
clementdevos Jul 6, 2023
95c4a37
1.4.48
clementdevos Jul 6, 2023
3ae7537
missing types for list
clementdevos Jul 7, 2023
f2416f1
1.4.49
clementdevos Jul 7, 2023
647e128
feat(autocomplete) types
clementdevos Jul 7, 2023
0c047dd
1.4.50
clementdevos Jul 7, 2023
98ffd8c
chore(typings) not sure why this was exported
clementdevos Jul 10, 2023
28fba09
(tabs): new tab component
bpoulaindev Jul 11, 2023
bc06d0c
1.4.51
bpoulaindev Jul 11, 2023
6013aa1
1.4.52
bpoulaindev Jul 12, 2023
3be513b
1.4.53
bpoulaindev Jul 12, 2023
79bb9e6
chore(typings) oh now i see, fixing exports
clementdevos Jul 10, 2023
a4048a1
(tabs): full width and more optional classes
bpoulaindev Jul 12, 2023
fb62e47
1.4.54
bpoulaindev Jul 12, 2023
4f0e936
1.4.55
bpoulaindev Jul 12, 2023
fe24831
(tabs): overflow hidden for bottom border
bpoulaindev Jul 12, 2023
81b0361
1.4.56
bpoulaindev Jul 12, 2023
49375b5
feat(tag) blank tag with on delete
clementdevos Sep 25, 2023
f0b07bf
1.4.57
clementdevos Sep 25, 2023
5e03558
feat(techno picker) added checkbox to show only selected, added numbe…
clementdevos Oct 10, 2023
6e437f3
1.4.58
clementdevos Oct 10, 2023
a050600
Increase contrast of flat textfields
Oct 18, 2023
284f5ae
1.4.59
Oct 18, 2023
ddfb91b
Fix select style
Oct 18, 2023
c9dc235
1.4.60
Oct 18, 2023
9e0cd95
Build before new version
Oct 19, 2023
0c12cb9
1.4.61
Oct 19, 2023
409a0e4
Update textfield style
Oct 20, 2023
a6250a3
1.4.62
Oct 20, 2023
dc2ff27
Fix style
Oct 20, 2023
191ca51
1.4.63
Oct 20, 2023
16732d7
feat(coderstests) added palette for coderstests
clementdevos Nov 24, 2023
c6d6ec3
1.4.64
clementdevos Nov 24, 2023
b936300
clément pas concentré
clementdevos Nov 24, 2023
668ba31
1.4.65
clementdevos Nov 24, 2023
fdaa8a3
hm, on change les primary/secondary de codersTests
clementdevos Dec 1, 2023
689382e
1.4.66
clementdevos Dec 1, 2023
a0fa0db
clément fait des typo
clementdevos Dec 1, 2023
d2f41c6
1.4.67
clementdevos Dec 1, 2023
44b1a0c
coderstests palette update again
clementdevos Dec 5, 2023
2b522aa
1.4.68
clementdevos Dec 5, 2023
2f3fc70
Bump @mui
Jan 17, 2024
64fdf87
1.4.69
Jan 17, 2024
281225d
Bump @emotion
Jan 17, 2024
286f9e4
Remove peer deps
Jan 19, 2024
abd1225
1.4.70
Jan 19, 2024
0afaefd
Update peer deps
Jan 19, 2024
a69cbe3
1.4.71
Jan 19, 2024
73a7f5d
fix design system is too big
nicklamyeeman Feb 19, 2024
aa1d752
feat mui autocomplete
nicklamyeeman Feb 19, 2024
58c5085
1.4.72
Feb 20, 2024
fde2dc3
Merge branch 'develop' of github.com:welovedevs/wld-design-system int…
nicklamyeeman Feb 26, 2024
a0095de
1.4.73
nicklamyeeman Feb 26, 2024
71c14ac
styling textfield
nicklamyeeman Feb 26, 2024
d3e4467
1.4.72
Feb 20, 2024
27f2960
Merge branch 'temp' of github.com:welovedevs/wld-design-system into d…
nicklamyeeman Feb 26, 2024
b937d01
1.4.73
nicklamyeeman Feb 26, 2024
7765c99
1.4.74
nicklamyeeman Feb 26, 2024
1bef05d
fix textfield h full
nicklamyeeman Feb 26, 2024
cd30d7d
1.4.75
nicklamyeeman Feb 26, 2024
885d85b
fix textfield password show icon size
nicklamyeeman Feb 26, 2024
fe2a866
1.4.76
nicklamyeeman Feb 26, 2024
468ab90
fix multilne textfield
nicklamyeeman Feb 26, 2024
1d3e641
1.4.77
nicklamyeeman Feb 26, 2024
2d89688
fix select sizes and text sizes
nicklamyeeman Feb 27, 2024
a343275
1.4.78
nicklamyeeman Feb 27, 2024
e60347a
fix autocomplete types
nicklamyeeman Feb 27, 2024
71e345d
1.4.79
nicklamyeeman Feb 27, 2024
8082622
fix button sizes
nicklamyeeman Feb 27, 2024
f968bec
1.4.80
nicklamyeeman Feb 27, 2024
9f9c0dc
fix button padding size
nicklamyeeman Feb 27, 2024
5c8cc9f
1.4.81
nicklamyeeman Feb 27, 2024
f9e7612
feat change auto complete to the mui one
nicklamyeeman Mar 7, 2024
75d0963
update package.json
nicklamyeeman Mar 7, 2024
0715759
1.4.82
nicklamyeeman Mar 7, 2024
9008ace
Merge branch 'feat_autocomplete_mui' of github.com:welovedevs/wld-des…
nicklamyeeman Oct 3, 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
4 changes: 2 additions & 2 deletions .github/workflows/release_master_tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: 14
- run: yarn install
- run: npm run test-build
publish-npm:
Expand All @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: 14
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: node package.js
Expand Down
3 changes: 3 additions & 0 deletions .idea/misc.xml

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

6 changes: 6 additions & 0 deletions .idea/prettier.xml

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

39 changes: 37 additions & 2 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,43 @@
const path = require('path');
const pathToInlineSvg = path.resolve(__dirname, '../src/assets/icons');

module.exports = {
core: {
builder: 'webpack5',
},
stories: ['../stories/**/*.stories.@(tsx|jsx|mdx)'],
addons: ['@storybook/addon-docs', '@storybook/addon-actions', '@storybook/addon-links', '@storybook/addon-viewport', '@storybook/addon-knobs'],
addons: [
'@storybook/addon-docs',
'@storybook/addon-actions',
'@storybook/addon-links',
'@storybook/addon-viewport',
'@storybook/addon-knobs',
{
name: '@storybook/addon-postcss',
options: {
postcssLoaderOptions: {
implementation: require('postcss'),
},
},
},
],
typescript: {
reactDocgen: 'react-docgen-typescript-plugin',
},
babel: async (options) => ({
...options,
plugins : ['@babel/plugin-proposal-export-default-from']
plugins: ['@babel/plugin-proposal-export-default-from'],
}),
webpackFinal: async (config, { configType }) => {
const file_loader_rule = config.module.rules.find((rule) => rule.test && rule.test.test('.svg'));
file_loader_rule.exclude = /svg$/;
config.module.rules.push({
test: /\.svg$/,
use: ['@svgr/webpack', 'url-loader'],
});

return {
...config,
};
},
};
19 changes: 7 additions & 12 deletions .storybook/preview-body.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<style>
@import url('https://fonts.googleapis.com/css?family=Muli:400,600,700,800,900');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');


html,body {
html,
body {
margin: 0;
padding: 0;
width: 100%;
background-color: #f5f5f5;
font-family: 'Avenir Next','Roboto', "open sans", "Arial";
font-family: 'Roboto', 'open sans', 'Arial';
font-weight: 400;
}

Expand All @@ -18,17 +18,13 @@
}

a {
textDecoration: none !important;
}

*:focus {
outline: none;
textdecoration: none !important;
}

[contenteditable=true]:empty:before{
[contenteditable='true']:empty:before {
content: attr(placeholder);
display: block;
color: #8e8e8e
color: #8e8e8e;
}

#Avataaar #Color\/Palette\/Blue-01 {
Expand All @@ -48,5 +44,4 @@
cursor: pointer;
outline: inherit;
}

</style>
33 changes: 14 additions & 19 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
import React from 'react';

import { addDecorator, addParameters } from '@storybook/react';
import { DesignSystemProvider } from '../src/design_system_context/design_system_context';
import ThemeProvider from '@material-ui/styles/ThemeProvider';
import { DEFAULT_THEME } from '../src/styles/theme';
import { ELEVATION_PROPS } from '../src/card/card_elevation_props';
import { createMuiTheme } from '@material-ui/core';

export const theme = createMuiTheme({
import {addDecorator, addParameters} from '@storybook/react';
import {DesignSystemProvider} from '../src/design_system_context/design_system_context';
import {DEFAULT_THEME} from '../src/styles/theme';
import {ELEVATION_PROPS} from '../src/card/card_elevation_props';
import {createTheme, adaptV4Theme} from '@mui/material';

import '../src/styles/tailwind.css';
import './style.css';


export const theme = createTheme(adaptV4Theme({
...DEFAULT_THEME,
shadows: ['none', ...new Array(40).fill(ELEVATION_PROPS[0])],
spacing: 8,
Expand All @@ -16,16 +20,7 @@ export const theme = createMuiTheme({
accCopy[name].main = values[500];
return accCopy;
}, DEFAULT_THEME.palette),
});

addDecorator((story) => (
<ThemeProvider theme={theme}>
<DesignSystemProvider>{story()}</DesignSystemProvider>
</ThemeProvider>
));
}));
export const argTypes = {colors: {control: {options: Object.keys(DEFAULT_THEME.palette)}}};

addParameters({
options: {
theme: theme,
},
});
addDecorator((story) => (<DesignSystemProvider>{story()}</DesignSystemProvider>));
3 changes: 3 additions & 0 deletions .storybook/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@tailwind base;
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
16 changes: 0 additions & 16 deletions .storybook/wld-theme.js

This file was deleted.

4 changes: 4 additions & 0 deletions dist/cjs/assets/icons/arrow_component.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import React from 'react';
export declare const ArrowIcon: React.FC<{
className?: string;
}>;
4 changes: 4 additions & 0 deletions dist/cjs/assets/icons/move.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import React from 'react';
export declare const MoveIcon: React.FC<{
className?: string;
}>;
4 changes: 4 additions & 0 deletions dist/cjs/assets/icons/speech_bubble_arrow_component.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import React from 'react';
export declare const SpeechBubbleArrow: React.FC<{
className?: string;
}>;
4 changes: 4 additions & 0 deletions dist/cjs/assets/icons/swipe_component.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import React from 'react';
export declare const SwipeIcon: React.FC<{
className?: string;
}>;
4 changes: 4 additions & 0 deletions dist/cjs/assets/icons/trash.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import React from 'react';
export declare const TrashIcon: React.FC<{
className?: string;
}>;
4 changes: 4 additions & 0 deletions dist/cjs/assets/icons/warning_component.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import React from 'react';
export declare const WarningIcon: React.FC<{
className?: string;
}>;
36 changes: 36 additions & 0 deletions dist/cjs/autocomplete/autocomplete.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import { ReactElement } from 'react';
import { TextFieldProps } from '../text_field/text_field';
import { PopperProps } from '@mui/material/Popper';
export interface SuggestionSelectedEventData<TSuggestion> {
suggestion: TSuggestion;
suggestionValue: string;
suggestionIndex: number;
sectionIndex: number | null;
method: 'click' | 'enter';
}
interface Props<T> {
multiple?: boolean;
selectedSuggestions?: string[];
placeholder?: string;
suggestions: T[];
onChange: (value: any) => void;
onSelect: (data: SuggestionSelectedEventData<T>) => void;
getSuggestionValue: (value: any) => any;
renderSuggestion?: (value: any) => 'string' | ReactElement | JSX.Element;
renderSuggestionsContainer?: (value: any) => 'string' | ReactElement | JSX.Element;
renderInputComponent?: (value: any) => 'string' | ReactElement | JSX.Element;
filterFunction?: (input: string) => (value: any) => boolean;
renderNoSuggestion?: (...attibutes: any[]) => 'string' | ReactElement | JSX.Element;
maxLength?: number;
value: string;
id?: string;
name?: string;
transformSuggestionValue?: (value: any) => any;
classes?: {
popper?: string;
field?: string;
};
popperProps?: Partial<PopperProps>;
}
export declare const AutoComplete: <T extends unknown>({ multiple, ...other }: Omit<TextFieldProps, "onChange" | "onSelect" | "multiple"> & Props<T>) => import("react/jsx-runtime").JSX.Element;
export {};
13 changes: 13 additions & 0 deletions dist/cjs/banner/banner.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React, { PropsWithChildren } from 'react';
import { BannerType } from './banner_data';
interface Props {
type?: BannerType;
icon?: any;
className?: string;
classes?: {
container?: string;
};
size?: 'small';
}
export declare const Banner: React.FC<PropsWithChildren<Props>>;
export {};
9 changes: 9 additions & 0 deletions dist/cjs/banner/banner_data.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { ElementType } from 'react';
import { PaletteColors } from '../styles/palette';
export type BannerType = 'warning' | 'error' | 'success' | 'info' | 'default';
export declare const BANNER_DATA: {
[key in BannerType]: {
color: PaletteColors;
icon?: ElementType | null;
};
};
20 changes: 20 additions & 0 deletions dist/cjs/banner/banner_styles.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
export declare const baseStyles: {
container: {
regular: string;
small: string;
};
background: {
regular: string;
small: null;
};
};
export declare const iconStyles: {
container: {
regular: string;
small: string;
};
icon: {
regular: string;
small: string;
};
};
27 changes: 27 additions & 0 deletions dist/cjs/button/button.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import React, { ButtonHTMLAttributes } from 'react';
import { PaletteColors } from '../styles';
import { ButtonVariants } from './button_styles';
interface CustomProps {
component?: string;
className?: string;
containerRef?: any;
disabled?: boolean;
size?: 'small' | 'xs' | 'regular';
color?: PaletteColors;
containerProps?: any;
typographyClassName?: any;
variant?: ButtonVariants;
onMouseEnter?: any;
onMouseLeave?: any;
onFocus?: any;
onBlur?: any;
onClick?: any;
classes?: {
container?: string;
typography?: string;
};
style?: any;
}
export type ButtonProps = CustomProps & ButtonHTMLAttributes<HTMLButtonElement>;
export declare const Button: React.ForwardRefExoticComponent<CustomProps & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<unknown>>;
export {};
28 changes: 28 additions & 0 deletions dist/cjs/button/button_styles.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { ButtonProps } from './button';
type StylesKeys = 'container' | 'typography';
export type ButtonVariants = 'contained' | 'outlined' | 'text' | 'raised';
export type Classes = {
[key in StylesKeys]?: string;
};
export declare const baseStyles: {
container: string;
brightLayer: string;
typography: string;
disabled: string;
};
export declare const sizeStyles: {
[key in Exclude<ButtonProps['size'], undefined>]: string;
};
export declare const typographysizeStyles: {
[key in Exclude<ButtonProps['size'], undefined>]: string;
};
export declare const variantStyles: {
[key in Exclude<ButtonProps['variant'], undefined> | 'default']: string;
};
export declare const layerVariantStyles: {
[key in Exclude<ButtonProps['variant'], undefined>]: string;
};
export declare const textVariantStyles: {
[key in Exclude<ButtonProps['variant'], undefined>]: string;
};
export {};
18 changes: 18 additions & 0 deletions dist/cjs/card/card.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import React, { CSSProperties } from 'react';
export type CardVariant = 'flat';
interface Props {
component?: string;
className?: string;
containerRef?: any;
elevation?: 0 | 1 | 'drawer';
style?: CSSProperties;
classes?: {
container?: string;
};
customClasses?: {
container?: string;
};
variant?: CardVariant;
}
export declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<any> & Props & React.RefAttributes<any>>;
export {};
4 changes: 4 additions & 0 deletions dist/cjs/card/card_elevation_props.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { CardVariant } from './card';
export declare const ELEVATION_PROPS: {
[key in CardVariant | 'regular']: any;
};
Loading