George Marshall
e96c0b6963
Update to component-library readme ( #18501 )
...
* Update to component-library readme
* Update ui/components/component-library/README.md
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-19 19:30:29 -07:00
Garrett Bear
34c1e5a2a1
Fix/18492/update icon ts app folder ( #18645 )
2023-04-19 14:16:49 -07:00
Garrett Bear
4e1a96b4ef
Feat/18308/ds popover header component ( #18489 )
...
* add popover component
popperjs init
popperjs hook init
popper arrow styles
fix popover story
add popover positions constant
story testing
popover structure
popper placement
make forwardref
fix popover with TS updates
modifiers
createPortal
add useClickAway hook
newer popover component build
simplifed popperjs with toggle to show/hide
toggle popover
modal version
popover progress 65%
add hover functionality
hide folder
storybook demo
add close button props
working popover with arrow
title prop breaking
popover TS conversion
TS updates
update test
add test
add arrow test
add stories
remove unused hook
fix docs
add popoverheader
types fix
Fix typo: detetcted-tokens-link -> detected-tokens-link (#18408 )
Typography to text (#18382 )
* Typography to text
* Update README.md
* Update README.md
* minor changes in custom file
* minor change
* Resolved Conflict issues
---------
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
fix: Pass correct optimism chain id to gas estimation (#18478 )
removes unnecessary images (#18484 )
Fix firsttimeloaded logic (#18344 )
* use session storage, instead of chrome.runtime.onStartup and globalThis, for firstTimeLoaded architecture
* Ensure account tracker accounts remain defined upon service worker restart
* lint fix
* Simplify code
* Only call browser.storage.session in mv3
* Only call browser.storage.session.set after resetStates in mv3
* fix metamask controller reset states unit tests
* fix test
* fix test
* Actually fix tests
* lint fix
[FLASK] More Snaps E2E Optimization and Delay Reductions (#18245 )
* bip32 delay reduction
* asserts changed to waitFors in 32/44
* scrollTo change
* replaced delay for firefox flake
* more reduced delays
* more delay reductions and changes
* raise paralellism to 4 for snaps tests
* additional delay changes
* fixed update code
* removed comment
* removed another comment
Fix switch-ethereum-chain handler by passing configuration id to setA… (#18483 )
* Fix switch-ethereum-chain handler by passing configuration id to setActiveNetwork
* fix e2e test
* Fix e2e tests
* Update test/e2e/tests/switch-custom-network.spec.js
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
* Revert "Update test/e2e/tests/switch-custom-network.spec.js"
This reverts commit be533ff7f25e1fd42e951d9b817b8438035ae256.
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Bumping notification id's to 18 & 19 (#18460 )
* Popover header update with TS ButtonIcon
* update PopoverHeader types
* update using new Text enums
* readme fix
* direct file import
* remove forwardRef and add action argtypes
* remove console.logs
* add arg types and fix TS on HeaderBase
* george nits
* popover header snapshot update
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-19 10:36:01 -07:00
Nidhi Kumari
d362dbfacb
UX Multichain: updated ethereum logo icon ( #18528 )
...
* updated ethereum logo icon
* Updating eth logo (#18631 )
* Updating eth logo
* Removing border from eth logo identicon
* Removing old eth logo
* updated snapshot and lint errors
* updated eth logo from svg to png
---------
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-04-19 20:55:19 +05:30
Garrett Bear
81393e1b5d
update to enum DS Text component ( #18584 )
...
* update to enum DS Text component
* Update ui/components/component-library/text/README.mdx
Co-authored-by: Danica Shen <zhaodanica@gmail.com>
* Update ui/components/component-library/text/README.mdx
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Update ui/components/component-library/text/README.mdx
Co-authored-by: Danica Shen <zhaodanica@gmail.com>
* Update ui/components/component-library/text/README.mdx
Co-authored-by: Danica Shen <zhaodanica@gmail.com>
* Update ui/components/component-library/text/README.mdx
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: Danica Shen <zhaodanica@gmail.com>
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-04-17 10:17:28 -07:00
Garrett Bear
065c499753
update ButtonIcon to TS ( #18448 )
...
* update ButtonIcon to TS
lint updates
fix lint issues
add ref
fix as prop
test updates
* box and icon updates for support
* Update ui/components/component-library/text-field/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* fix disabled
* update types for as
* update readme
* fix storybook
* george changes to button icon
* revert headerbase
* box prop back to HTMLElementTagNameMap
---------
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-12 08:55:24 -07:00
Nidhi Kumari
b452f40e2f
Update new send icon ( #18411 )
...
* updated send icon
* optimised svg
* updated enum
2023-04-06 17:43:15 -07:00
George Marshall
4ce605f514
Updating icon imports to TS version in component-library folder ( #18449 )
2023-04-05 09:11:10 -07:00
George Marshall
94292fadc9
Small update to badgewrapper story ( #18450 )
2023-04-05 08:37:09 -07:00
George Marshall
739075662c
Migrating Icon to typescript and deprecating JS component ( #18431 )
...
* Migrating Icon to typescript and deprecating JS component
* gw suggestions (#18434 )
---------
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-04-04 09:48:04 -07:00
Garrett Bear
01057f9824
convert text component to TS ( #18329 )
...
* convert text component to TS
* invisible character fix
* storybook fix
* fix types export
* update ButtonBase
* add typeof to objects in TextProps
* fix linting issues
* fix implicit conversion
* lint fix
* add deprecated Text back
* change box ref to any
* fix classnames issue
* account details to use deprecated text reference
* ref update
* make RefObject
* remove RefObject and go back to Ref
* react.ref change to box
2023-04-03 10:42:37 -07:00
Garrett Bear
79b2deb194
update text component color to use box color ( #18246 )
...
snapshot updates
fix snapshots
add background colors
fix snapshots
2023-03-23 13:00:37 -07:00
Garrett Bear
ed5b78d61b
Feat/add header base component ( #18043 )
...
* add header base component
* fix resizing issue
* add center
* add demo
* header base using flexbox
* fix button issue
* header base clean up
* update tests
* add readme description
* add docs
* update snapshot
* add more to readme
* convert to TS
* fix file name
* fix types and colors
* fix classname error
* fix boxprops import
* fix boxprops
* prop fix
* fix errors
* Update ui/components/component-library/header-base/header-base.stories.tsx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/header-base/header-base.types.ts
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/header-base/header-base.types.ts
Co-authored-by: George Marshall <george.marshall@consensys.net>
* headerbase fixes
* fix export
* remove Math.max
* change order for index on storybook to prep build
* revert back to order
* remove type from export
* add type to export
* change export of headerbase function
* export update
* revert back to normal
* add type to export
* Removing interface export from index
---------
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-03-23 08:24:23 -07:00
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