George Marshall
99bdf8458c
Adding ModalOverlay component ( #18161 )
2023-03-23 06:36:09 -07:00
George Marshall
68f928c8a2
Adding ModalContent component ( #18175 )
...
* Adding ModalContent component
* Using different component api for ref
* use imperative handle
* Updating size
* Updating stories and docs as well as component api
* Fixing import
2023-03-22 17:17:19 -07:00
Garrett Bear
de4cf0a7e5
Fix/button base ellipsis support ( #18205 )
...
* ButtonBase ellipsis update
Update ui/components/multichain/account-picker/index.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
Update ui/components/multichain/account-picker/index.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
Update ui/components/multichain/account-picker/index.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
Update ui/components/multichain/account-picker/index.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* buttonbase updates to fix ellipsis
* multichain support
* remove multichain
* code cleanup
* clean up
* component clean up
* span update
* fix snapshots
* fix snapshot
* Updating ButtonBase to reduce html to a minimum but ensure all functionality still works (#18210 )
* fix color and disable
* remove unused css
* Update ui/components/component-library/button-base/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* fix e2e test from button update
* update e2e test from button base update
---------
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-03-21 19:19:49 -07:00
George Marshall
2a562087f9
Updating label according to insight report ( #18151 )
2023-03-17 10:24:07 -07:00
George Marshall
3117890b30
AvatarBase font-size logic ( #18203 )
...
* Updating AvatarBase to use Text component instead of Box and adding font size logic based on avatar size
* Updating snaps
2023-03-17 10:06:59 -07:00
George Marshall
d7f7d9c706
Box types update ( #18160 )
2023-03-16 13:18:00 -07:00
David Walsh
ada47802b3
UX: Loaclize the avatar-favicon description text ( #18132 )
2023-03-14 12:18:27 +05:30
George Marshall
5d5fa242c3
Updating AvatarAccount objects to enums ( #17727 )
...
* Updating object to enums
* lint fix
* Improving test coverage
* Updating filename to .types.ts
2023-03-10 12:12:55 -08:00
witmicko
fde18dec0c
link component ( #17897 )
...
Added externlalLink to ButtonLink
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-03-10 17:47:01 +00:00
Garrett Bear
2c2505be06
add banner-tip component ( #17814 )
...
* add banner-tip component
* set fixed width
* add banner tip props to logo
* fix logo type naming
* update test
* reduce png sizes
* upate type name and add image element test
* updates
* Update ui/components/component-library/banner-tip/banner-tip.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* update BannerTip
* fix text case banner tip
---------
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-03-08 13:27:24 -08:00
George Marshall
ed519d8b60
Updating AvatarWithBage to BadgeWrapper ( #17851 )
2023-03-08 13:18:55 -08:00
George Marshall
abff49561d
Fixing FormTextField props and test ( #17939 )
2023-03-06 15:45:23 -08:00
David Walsh
13d03abe9b
UX: Icon: Update README with new variable names ( #17920 )
...
* UX: Icon: Update README with new variable names
* Update ui/components/component-library/text-field/README.mdx
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
---------
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-03-06 11:30:43 -08:00
HowardBraham
694773f17a
Upgrading the Import Account modal ( #17763 )
...
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
Co-authored-by: NidhiKJha <nidhi.kumari@consensys.net>
Co-authored-by: montelaidev <monte.lai@consensys.net>
2023-03-06 09:48:28 -08:00
George Marshall
72af5626de
Updating Icon html element to span ( #17790 )
2023-02-22 14:42:50 -08:00
Garrett Bear
d22522ed5d
update to add end icon support ( #17776 )
2023-02-22 09:42:06 -08:00
Garrett Bear
9df5f910a7
set default html elements ( #17762 )
2023-02-22 09:41:46 -08:00
George Marshall
ae3cd97690
Fixing focus outline ( #17863 )
2023-02-22 09:14:40 -08:00
George Marshall
527387bbfe
Adding Input component and updating TextFieldBase ( #17664 )
...
* Adding Input component and updating TextField
* Exporting from index, removing as prop and updating snapshot
2023-02-21 10:35:28 -08:00
Nidhi Kumari
123098d77a
UX Icon: Replace fa-user ( #17809 )
...
* updated fa-user
* updated color
2023-02-21 18:59:19 +05:30
George Marshall
cf487b8f97
Update HelpText component ( #17705 )
...
* Updating HelpText component
* Updating logic for html element depending on children
* Adding span to story to reflect docs
* Updating reveal seed instance
2023-02-16 12:42:15 -08:00
George Marshall
f6ee35b6e3
Updating TextField component ( #17732 )
...
* Removing TextFieldBase and updating TextField and TextFieldSearch
* Removing autoFocus from MDX so it's not annoying
2023-02-15 15:43:51 -08:00
George Marshall
a4f33ec0ad
Updating Label component ( #17731 )
2023-02-15 08:29:26 -06:00
George Marshall
aee1971496
Fixing prop type errors in components and tests ( #17704 )
2023-02-14 11:34:19 -06:00
Garrett Bear
ec870cebc6
fix broken stories and readme from TS update ( #17703 )
2023-02-14 11:33:04 -06:00
George Marshall
e269790ff4
Removing TEXT_VARIANTS in favour of TextVariant ( #17674 )
2023-02-09 16:09:33 -08:00
George Marshall
b55f955243
Adding docs for layout and spacing for Icon component ( #17612 )
...
* Adding docs for layout and spacing for Icon component
* Adding close bracket
2023-02-07 10:07:50 -08:00
Garrett Bear
fd53de6af5
Update BannerAlert component ( #17586 )
...
* update button alert component
* update test
* rename Banner to BannerAlert
* remove old banner snapshot
* fix banner alert border left
2023-02-07 09:32:35 -08:00
Garrett Bear
0465263d3e
update banner base component ( #17582 )
...
* update banner base component
* add description to story controls
2023-02-03 13:42:53 +05:30
Danica Shen
794f3039f1
feature: migrate design-system.ts ( #17518 )
2023-02-02 20:15:26 +00:00
Garrett Bear
b0ed6be77a
remove unused banner base proptype ( #17531 )
2023-02-01 13:44:57 -08:00
Garrett Bear
db0492e042
fix button text props ( #17478 )
...
* fix button text props
* fix textProps size from being overriden
* Update ui/components/component-library/button-link/button-link.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
---------
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-02-01 13:25:46 +05:30
David Walsh
acafe7c4c5
Update home portfolio dapp icon to new icon ( #17471 )
...
* Update home portfolio dapp icon to new icon
* Using ButtonLink component so onClick isn't used on a div
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-01-30 12:33:08 -06:00
Garrett Bear
30520a3352
button link housekeeping ( #16885 )
...
* button link housekeeping
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-01-26 10:32:11 -08:00
Nidhi Kumari
1d1b751f62
Consolidated all component import paths ( #17368 )
2023-01-25 11:54:08 -08:00
Nidhi Kumari
709d0267f8
updated new links for the stories ( #17369 )
2023-01-25 11:51:25 -08:00
Garrett Bear
ed75dabe57
Feat/15086/add banner severities component ( #17307 )
...
* add banner component
* update banner styles and tests
* fix padding and update snapshot
* banner stories id removal
* update readme
* Update ui/components/component-library/banner/banner.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/banner/README.mdx
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Update ui/components/component-library/banner/README.mdx
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* banner updates
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-01-25 10:39:49 -08:00
Garrett Bear
23133a2735
fix icon names ( #17391 )
2023-01-25 23:41:13 +05:30
Garrett Bear
0bf6aeb5f5
icon audit, remove xxs icon size ( #17089 )
...
* icon audit, remove xxs icon size
* update icon file names and snapshots
* remove unused icon- code and fix icons with slash issue
* close icon fix
* remove icons id
* update snapshot
* font awesome icon list
* remove font awesome
* fix linting issue
2023-01-24 09:39:46 -08:00
Nidhi Kumari
c5368c152b
Added storybook check to CI ( #17092 )
...
* added storybook test runner
* added test runner in ci
* updated test for ci and fixed lint error
* updated lavamoat policy
* updated test command
* updated playwright
* changed command to storybook;ci
* updated command
* updated instance for test-storybook
* updated playwright
* added playwright step
* replaced concurrently with start-server-and-test
* updated the static storybook directory
* replaced first with last
* updated lock file
* replaced first with last
* updated test-storybook with maxworkers
* updated .depchechrc
* updated yml
* removed id from banner base
* replaced broken stories with .stories-to-do.js extesnsion
* updated token allowance story
* removed duplicacies from yarn
* fixed lavamoat
* removed filename comment
* updated links for docs
* fixed file extension for stories
* updated path for stories.json
* updated stories.json path
* yarn updated
* updated stories
* updated yarn
* updated wait on
2023-01-21 00:57:46 +05:30
ryanml
c77629f8aa
Removing erroneous blank lines in ui/components ( #17225 )
2023-01-17 05:52:04 -07:00
Garrett Bear
1265731344
Feat/16637/button housekeeping ( #16872 )
...
* button housekeeping
* add iconsearch
* fix description
* readme update
* update disabled classnames
* buttonlink disabled class
* add disabled proptypes
* add constant exports
* update disabled style classes
* update snapshot for box pill classname
* add buttonTextProps
* update primarybutton background color to use box props
* update button secondary and link to use box props
* update tests
2023-01-13 13:58:09 -08:00
Garrett Bear
01c0d7823d
Feat/15085/banner base component ( #16828 )
...
* add banner base component
banner base wip
remove base avatar
banner base
* add banner base
* Update ui/components/component-library/banner-base/banner-base.stories.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Update ui/components/component-library/banner-base/banner-base.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* named export org fix
* Update ui/components/component-library/banner-base/README.mdx
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* updated changes to banner base
* banner base updates
* fix description/children
* move banner base down
* Update ui/components/component-library/banner-base/README.mdx
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Update ui/components/component-library/banner-base/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/banner-base/banner-base.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Update ui/components/component-library/banner-base/banner-base.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/banner-base/banner-base.test.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/banner-base/banner-base.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* fix linting
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-01-11 09:42:18 -08:00
Nidhi Kumari
6e900fb0e3
housekeeping for Avatar Favicon ( #16931 )
...
* housekeeping for avatar favicon
* added test for custom className
* fixed lint errors
* updated avatar favicon in tag url
* updated import
* updated readme and fixed label
* updated tag url snapshot
* updated snapshot for favicon
2023-01-11 21:41:06 +05:30
Nidhi Kumari
56a3afaace
avatar account housekeeping ( #16930 )
...
* avatar account housekeeping
* avatar number to the diametere
* fixed lint errors
* converting blockie to number
* updated README
* updated constants for avatar account
2023-01-09 16:38:43 -08:00
Nidhi Kumari
a1c5224997
housekeeping for picker-network ( #16982 )
...
* updated test in picker-network
* fixed import order in README
* fixed global import path
* fixed formatting
2023-01-05 15:30:42 -08:00
Nidhi Kumari
f8881a01db
AvatarWithBadge Housekeeping ( #16985 )
...
* updated classnames
* updated readme and tests for avatar with badge
* updated constants in root
* replacing BADGE_POSITIONS with AVATAR_WITH_BADGE_BADGE_POSITIONS
2022-12-22 00:36:40 +05:30
George Marshall
09d29ef00d
Renaming broken stories to clean up console ( #16905 )
...
* Renaming broken stories. Fixing deprecated default arg syntax for stories using defaultValue
* Fixing imports
2022-12-15 14:46:30 -08:00
Garrett Bear
4ba081a096
add text directions ( #16901 )
...
* add text directions
* add text direction test
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2022-12-15 10:49:47 -08:00
Nidhi Kumari
88af4b3c36
Avatar Token HouseKeeping ( #16662 )
...
* Avatar Token HouseKeeping
* updated props
* fixed indentation and avatar size
* fixed lint issues
* updated sizes
* fixed alignment of avatar token halo stories
* updated story for src
* updated avatar token
* updated README
* updated Readme
2022-12-15 22:59:24 +05:30
Nidhi Kumari
4fcbaae32f
housekeeping for avatar network ( #16663 )
...
* added housekeeping for avatar network
* fixed alt
* updated story in Readme
* fixed indentation and added network src
* updated SIZES for avatar network
* updated snapshot
* updated docs and props
* updated name of avatar
* removed comments
* updated avatar network component
* updated readme
* updated story for badge
* added constants to the root
2022-12-15 22:58:42 +05:30
Jyoti Puri
dc5a9f967d
ButtonIcon: fix react component proptype ( #16942 )
2022-12-13 15:23:39 -06:00
Nidhi Kumari
52304d7910
housekeeping for tag url ( #16723 )
...
* housekeeping for tag url
* updated docs for tag url
* updated docs for tag url
* updated tag url component
* updated stories
* updated label
* Some small updates
* Updating test to catch failed propType
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2022-12-08 23:57:00 +05:30
Garrett Bear
c9560b75f2
add avatar icon component ( #16755 )
...
* add avatar icon component
* add avatar icon severities
* avatar icon docs
* update tests and remove stylesheet
* aria label
* remove aria label
* update test
* remove aria label
* iconName prop type string
* Update ui/components/component-library/avatar-icon/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/avatar-icon/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/avatar-icon/avatar-icon.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/avatar-icon/avatar-icon.stories.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* marginSizeControlOptions
Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-12-08 10:25:19 -08:00
George Marshall
5592bc5fff
TextField
house keeping 🧹 ( #16668 )
...
* TextField house keeping updates
* ButtonIcon prop name update and uncontrolled fix
* Updating snapshot
2022-12-06 11:52:03 -08:00
George Marshall
971f153e65
TextFieldBase
house keeping 🧹 ( #16667 )
...
* TextFieldBase house keeping updates
* Fixing story
* Updating custom input story
* Updating ButtonIcon props and lint issues
* Updating snapshots
2022-12-06 11:51:48 -08:00
amerkadicE
702cab5fa7
Add user guidance on signature request screen ( #16600 )
2022-12-02 08:12:43 -06:00
George Marshall
3deb8734ac
TextFieldSearch house keeping updates ( #16669 )
2022-12-01 13:48:53 -08:00
Garrett Bear
6689f8b71d
Feat/16634/buttonicon housekeeping ( #16666 )
...
* rename iconName prop
* pixel update
* updates to iconProps
* arialabel to stories
2022-12-01 09:26:31 -08:00
Garrett Bear
1007930078
Feat/16187/text housekeeping ( #16589 )
...
* text housekeeping
* update testing
* Text constant
* TEXT const to story
* format text sizes
* add associated constants to text component
* add all exports to global index.js
* update snapshot
* update text component variants
* Update ui/components/component-library/text/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* update rearrangements
* update text in tests
Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-12-01 09:26:19 -08:00
George Marshall
9a434aed5e
Label house keeping updates ( #16680 )
2022-11-29 13:01:05 -08:00
George Marshall
a76c8ecfa1
HelpText house keeping updates ( #16681 )
2022-11-29 13:00:51 -08:00
George Marshall
ab808b670a
Icon house keeping updates ( #16621 )
2022-11-23 09:58:43 -08:00
Nidhi Kumari
67bfd446fc
avatar base component housekeeping ( #16583 )
...
* replace base avatar with avatar base component
* updated tests
* updated description for props
* updated docs and background colors
* updated snapshot
* replaced size with avatar size constant
* added tests and fixed indentation
* fixed indentation in readme
2022-11-23 22:12:43 +05:30
Nidhi Kumari
fc0036d5b1
fixed console warning for labelProps ( #16629 )
2022-11-22 13:04:51 -08:00
George Marshall
5ee7da6afe
Adding FormTextField
component ( #16497 )
...
* Adding FormTextField component
* Adding to index.js
* Adding id, label and helptext stories
* Removing unneeded htmlFor and fixing accessibility on helpText story
* Fixing issues with review suggestions
* Fixing lint issue
* Adding snapshot test
2022-11-22 13:04:27 -08:00
Garrett Bear
e9508b4f7f
Fix/16620/button href prop ( #16633 )
...
* fix button href prop passed
* improve test
2022-11-22 12:25:49 -08:00
Garrett Bear
e11203c2cd
Feat/16507/button link housekeeping ( #16518 )
2022-11-18 12:36:33 -08:00
Nidhi Kumari
af09521a69
updated background color for picker network ( #16466 )
...
* updated background color for picker network
* updated color for pressed state
* fixed linting error
* updated snapshots
* removed borderstyle
* update color
* updated snapshot
* added truncate to the text
* updated snapshot
2022-11-18 22:29:25 +05:30
George Marshall
3af83f8f98
Adding static icon names to test env file ( #16078 )
...
* Storing the icon name env var as a string and parsing to use with components
* Moving icon env vars to jest specific env.js file
* Updating snapshots
2022-11-18 22:28:38 +05:30
Nidhi Kumari
e6070df4b4
Updated Text style in Tag Url ( #16570 )
...
* fixed truncate in tag url
* updated snapshot testing
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2022-11-18 18:18:54 +05:30
George Marshall
23b412c13f
Component library adding global index and other housekeeping ( #16441 )
...
* Adding global index.js file
* Removing style prop from button base
* Fixing comment on generate-icon-names.js file
* Re-ordering sass imports to atomic structure
* Updating component paths code examples of MDX docs
2022-11-16 14:15:08 -08:00
Garrett Bear
d4bf8adaf8
button secondary housekeeping ( #16495 )
...
* button secondary housekeeping
* add snapshot
* add export constants
2022-11-15 12:48:24 -08:00
George Marshall
be5d70623e
Adding some propType fixes to TextFieldBase
( #16508 )
...
* Adding some propType fixes
* lint fixes
2022-11-15 10:06:59 -08:00
George Marshall
6907c4a565
Adding TextFieldSearch
component ( #16296 )
...
* Adding TextFieldSearch component
* Updating docs and stories
* Moving controlled test into testing utils
* Fixing spelling in prop types af => of
2022-11-15 08:49:02 -08:00
Garrett Bear
dcf79b0c99
Feat/16185/button primary housekeeping ( #16457 )
...
* ButtonPrimary housekeeping
* use sizes
* update test and danger type
2022-11-14 13:41:03 -08:00
George Marshall
9821c59e11
TextField
component updates (#16424 )
...
* Updating showClearButton prop name and making component dumber
* Docs update
* Adding missing proptype
* Fixing casing on tests
* Replacing clear button placeholder with ButtonIcon and docs update
* Fixing linting issues
* Adding note about controlled only for showClearButton to work and fixing some tests
* Updating test to include controlled testing setup function for clearButton tests
2022-11-10 11:13:15 -08:00
Nidhi Kumari
4a247a95cb
Added Tag Url Component ( #16159 )
...
* added tag url file structure
* added tag url component
* updated args in tag url
* updated avatar favicon and button link in Tag url
* updated Text component in Tag URL
* added tests to the tag url component
* fixed typos
* replaced buttonbase with button link
* added lock icon to the tag-url component
* updated typo
* renamed style and prop names
* updated prop name and tests
* fixed name for tag in readme
* fixed test statements
* updated prop names
* updated story
* fixed typo in test file
* updated lock icon rendering and icon color
* updated lock icon prop
* updated README
* updated tests for tag url
* added snapshot testing
* updated Readme for tag url
* updated label as per src
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2022-11-10 09:15:09 +05:30
George Marshall
67e0b60dcf
Update TextFieldBase
to include InputComponent prop ( #16422 )
...
* Update TextFieldBase to include InputComponent
* Updating docs
* Adding test
* Update to docs
* Lint fixes
* Small doc fixe to remove some unneded spaces
2022-11-09 16:33:20 -08:00
Nidhi Kumari
ce9af8aac3
Added Picker Network Component ( #16340 )
...
* added file structure for picker-network
* updated accessory prop with props
* added tests and documentation to picker network
* updated picker network classnames
* updated custom tests for picker network
* updated css in picker network
* updated readme and stories
* added snapshot testing
* changed behaviour to button
* updated snapshot for button
* updated label as per src
2022-11-09 16:31:51 -08:00
Garrett Bear
03af17747b
Feat/15088/add button icon ( #16277 )
...
* 15088: add button icon
* button icon story updates
* add primary type
* update button icon docs
* add test
* button icon updates
* button icon and test updates
* button icon border radius and test update
* remove padding prop
* button icon updates
* Update ui/components/component-library/button-icon/button-icon.stories.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/button-icon/button-icon.stories.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/button-icon/button-icon.stories.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* add aria label for storybook demo
Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-11-09 13:57:21 -08:00
Garrett Bear
a28d727caf
Feat/16290/add button component ( #16305 )
...
* add button component
* add all button props
* update tests
* add button type prop
* fix base button size const
* add href prop to button base
* Update ui/components/component-library/button/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/button/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* update tests
* Update ui/components/component-library/button-primary/button-primary.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/button/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/button/button.stories.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/button/button.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/button/button.stories.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* update button props on readme
* linting issue fix
Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-11-09 13:55:13 -08:00
George Marshall
ec11ff66ee
HelpText propType fix ( #16402 )
2022-11-07 14:34:18 -08:00
Nidhi Kumari
58da1d8075
tag component housekeeping ( #16355 )
...
* tag component housekeeping
* added snapshot testing
2022-11-04 01:48:16 +05:30
Garrett Bear
8bdf820c70
button base housekeeping ( #16336 )
...
* button base housekeeping
* add pixel size to description
* snapshot update
2022-11-03 11:41:16 -07:00
George Marshall
cda3e3e4c0
Adding Label component ( #16203 )
...
* Adding Label component
* doc fixes
* Adding label wrapping input
2022-11-03 10:09:54 -07:00
George Marshall
3d37ad3b6e
Adding HelpText component ( #16293 )
...
* Adding initial HelpText component
2022-11-03 10:09:09 -07:00
George Marshall
29a33b4692
TextFieldBase updates after design reveiw ( #16201 )
...
* Setting truncate to true by default
* Updating readOnly to not have a focus state
* Updating focus state to be browser outline default
* Removing default args so storybook doesn't become out of sync with default props
* Updating outline CSS
2022-10-25 15:23:48 -07:00
George Marshall
da4e6d3e37
Adding TextField
component ( #16105 )
...
* Adding TextField component
* Fixing lint issues
* More linting fixes
* Adding more tests
* Adding reference to TextFieldBase props
* Adding reminder todo comment to styles
* Using short hand syntax for conditionally firing event props and removing some css and unused classsNames in favor of box props
* Fixing up my sloppy code
* Removing text base docs update
* More clean up
* Adding more stories and docs
* Adding new stories to mdx docs
2022-10-25 15:23:18 -07:00
Garrett Bear
4581a3ac77
Fix/16207/text component storybook ( #16214 )
2022-10-19 13:09:38 -05:00
Garrett Bear
91df7122f2
Feat/15089/add button link ( #16115 )
...
* 15089: add button link component
2022-10-13 15:39:22 -07:00
George Marshall
7eb93ff74b
Update to text-field-base docs ( #16170 )
2022-10-13 06:32:52 -07:00
Nidhi Kumari
9372ce0ec7
added AvatarFavicon component ( #16135 )
...
* added AvatarFavicon component
* updated AvatarFavicon Readme
* updated avatar favicon component
* added fallback props to avatar favicon
* updated test for avatar favicon
* updated avatar favicon component
* updated typo
2022-10-12 16:22:21 -07:00
Nidhi Kumari
0fe3633e4d
Added AvatarBadge component ( #15676 )
...
* avatar badge component added
* resolved conflicts
* added badge prop
* updated avatar badge children/badge props
* updated badge token size to be 16px
* added AvatarBadge Test component
* added avatar badge test
* updated avatarBadge props
* added Readme and test files to AvatarWithBadge Component
* resolved conflicts
* removed unused change
* updated badge and badge props
* updated avatar badge stories
* updated constants for avatar badge
* updated avatar badge test
* replaced avatar-badge with avatar-with-badge
* updated avatar badge tests
* updated test for badgeProps
2022-10-12 23:49:12 +05:30
Nidhi Kumari
6781171d06
Added Tag Component ( #15947 )
...
* updated tag component and stashed storyshot update
* updated styling for tags
* updated test component for tag
* updated tag styles as per figma
* updated borderRadius prop for tag
* removed unused import
* updated Tag component with labelProps
* updated README
* updated Typography with Tag
2022-10-12 23:05:51 +05:30
Nidhi Kumari
e72dfad21a
added AvatarAccount component ( #15795 )
...
* added AvatarAccount component
* updated avatar account component and README
* updated lint errors
* updated avatar account with types
* updated Jazzicon lint errors
* removed unused imports
* updated type prop and Blockie
* removed unused exports
* updated jazzicon styles
* fixed overflow in jazzicon
* updated avatar account component
* updated avatar account stories with types and size stories
* updated test for avatar account
* updated tests for avatar account
* Adding `TextFieldBase` component (#16043 )
* Adding TextInputBase component
* Removing keyup and keydown props, tests and docs
* removing showClear from stories
* removing unneeded css
* simplifying uncontrolled vs controlled to work
* Fortifying maxLength test
* Lint fix for test
* Doc, style and prop updates
* Updating constant names with 'base'
* Adding a background color
* Adding a background color to input
* Adding ast-types to resolutions (#16103 )
Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-10-07 21:23:40 +05:30
Garrett Bear
958cfe65a0
Feat/15951/add button secondary ( #16097 )
...
* add button secondary
* revert change to shadow stories
* test and docs update
* Update ui/components/component-library/button-secondary/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* remove unused fragment
Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-10-07 08:50:28 -07:00
George Marshall
055a7c52c0
Adding TextFieldBase
component ( #16043 )
...
* Adding TextInputBase component
* Removing keyup and keydown props, tests and docs
* removing showClear from stories
* removing unneeded css
* simplifying uncontrolled vs controlled to work
* Fortifying maxLength test
* Lint fix for test
* Doc, style and prop updates
* Updating constant names with 'base'
* Adding a background color
* Adding a background color to input
2022-10-06 12:41:22 -07:00
Garrett Bear
12aa200ad0
15090: add primary button ( #16079 )
...
* 15090: add primary button
* updates
* add button base props
* add button base props to primary
* remove button base props and improve classname test
* update box shadow animation
* fix anchor test and update documentation
* fix button base iconProps proptype
2022-10-05 21:51:02 -07:00
George Marshall
393088e669
forwarding refs to Box and Text component ( #16062 )
2022-10-04 10:05:55 -07:00