Skip to content

Commit

Permalink
[NUXE-144] - Added user value handling to checkbox form helper (#1107)
Browse files Browse the repository at this point in the history
* Update PULL_REQUEST_TEMPLATE.md

* Update PULL_REQUEST_TEMPLATE.md

* Dark Mode Toggle (#1051)

* added dark mode icon doc example missing body kit 'do'

* Decrease prs resource allocation (#1049)

Signed-off-by: Igor Valente Blackman <igor.blackman@gmail.com>

* Attempting to fix scrollbars on Windows (#1048)

* Update dependency flow-bin to v0.133.0 (#1072)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Button & Circle Icon Button Cleanup (#1074)

* Link variant for Title 4 and Caption xs (#1014)

* Update flow types to use literal vs class wrapper (#969)

* Update Array types

* Update String types

* Update Number types

* Update Date types

* Update Boolean types

* Final cleanup types

* Changelog and kit template

* Add Title Detail Dark Mode (#972)

* Add Title Detail Dark Mode

* Add CHANGELOG

* Add aria prop

* Update progress step (#954)

* update to progress step kit

* update to progress step kit

* ready for review, updated changelog and spec rb

Co-authored-by: Jasper Furniss <jasperfurniss@gmail.com>

* Update issue templates

* Remove Changelog Checklist (#990)

* testing changelog in release branch

* Removed Changelog Checklist Items

* Latest

Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>

* Automated changelog (#959)

* fixup spec (#940) (#945)

Co-authored-by: Jason Cypret <jason@jasoncypret.com>

* Enables Global Prop Classnames in React & Enables Dark Class Prop  (#942)

* Adds System Props

* fixup spec (#940)

* Name Change

* Updated Specs

* More Spec Fixes

* Last Two Fixes

* Fixing Table Spec

* Finally Fixed Rspec Tests

* Removed File

* Updated Changelog

Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
Co-authored-by: Jason Cypret <jason@jasoncypret.com>

* ★ Dark Mode Update Badge, Button, Circle Icon Button, Card, Checkbox and Body Kits (#948)

* Adds System Props

* Name Change

* Updated Specs

* More Spec Fixes

* Last Two Fixes

* Fixing Table Spec

* Finally Fixed Rspec Tests

* Removed File

* Updated Changelog

* Badge kit

* Button + Circle Icon Button kits

* Allow globalProps defaults

* Body kit

* Spec updates

* Update CHANGELOG.md

* Fix lint errors

* Some things got stepped on

Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>

* Gauge Kit (#910)

* Add aria, data props to React Badge kit (#901)

* Add aria, data props to React Badge kit

* Add to CHANGELOG

* Added prop to remove card border (#900)

* Added prop to remove card border

* Updated changelog and spec doc

* Removed trailing white space

* Fixed react prop name to be camelcased

* Renamed rails border prop

* Updated spec doc

* Migrate annotations to new version (#879)

Co-authored-by: Bernardo Donadio <bcdonadio@bcdonadio.com>

* scaffolded kit, added gauge switch case in pbCharts

* fixed ghost content_tag, added props, merged gaugeOptions object

* colors and tooltips corrected/standardized

* restyled gauge with rounded thinner look, began typography changes

* typography styling, added more doc examples

* added sizing doc example

* finalized props, created applied rails doc examples, react scaffolding

* cleaned examples, fixed bugs, react live data experiments

* found/implemented state re-rendering fix

* tweaked units props, added stylings, implemented better React state solution

* rescoped styles, cleaned live data doc example

* moved min-max docs, scrubbed old comments, styled currency/prefix

* accounted for empty/null chart_data prop, deleted more old comments, unified react/rails examples

* deleted unnecessary sass styling

* added CHANGELOG entry

* wrote spec test

* fixed spec test

* fix for theme file woes, moved options for gauge over to pbChartsLightTheme

* spacing and alphabetizing

* added React spacing

* fixed React spacing props, sizing example parity

* test commit

* removed subtitle prop, moved min max default comments into docs

* removed subtitle prop from spec test

* replaced forEach chartData formatting with mapping solution

* added ability to update name field through React state

* moved title text to .md files, added disable animation prop

* fixed react component export

* fixed rebase issues with circle chart

* update gauge spec, fixed failing title spec

* updated CHANGELOG

* doc example housekeeping

* removed commented debugger

* replaced spacing with globalProps

* fixed globalProps import

* once more unto the CHANGELOG

Co-authored-by: Kelly Ryan <51907753+kellyeryan@users.noreply.github.com>
Co-authored-by: Christina Tai <42459486+christinaatai@users.noreply.github.com>
Co-authored-by: Stephen Marshall <smarshall1980@gmail.com>
Co-authored-by: Bernardo Donadio <bcdonadio@bcdonadio.com>

* Cleanup 1284 (#952)

* Initial Commit

* Updated Latest

* Add React Version of Time Kit (#947)

* fixup spec (#940)

* intial time component work

* initial time commit

* Rework show icon logic

* Update changelog

* Add code comment

* Dark updates

Co-authored-by: Jason Cypret <jason@jasoncypret.com>

* Generate button toolbar kit (#908)

* Added unreleased section for 5.3.0

* Add aria, data props to React Badge kit (#901)

* Add aria, data props to React Badge kit

* Add to CHANGELOG

* Added prop to remove card border (#900)

* Added prop to remove card border

* Updated changelog and spec doc

* Removed trailing white space

* Fixed react prop name to be camelcased

* Renamed rails border prop

* Updated spec doc

* Create ButtonGroup kit - WIP

* Finish ButtonGroup kit

* Remove simpleform generated files

* Add spec test

* Fix linting issue

* Fix rspec file

* Fix rspec again

* Change name Button Group to Button Toolbar

* Change docs examples, play with different colors for separating lines between buttons

* Add hover color to scss file

* Add secondary buttons

* Change secondary button hover back to normal

* Circle Chart Additions (#932)

* Circle Kit Rounded + Block

* Renamed Variables

* Latest Doc Updates

* Custom Colors Override Prop

* Circle Chart Extensions v1 Done

* Updated Changelog

* Fix for Circle Chart

* Moved Color Logic to Highchart Plugin

* Cleanup

* More Syntax Fixes

* Latest

* Formatting File

* Cleaning Up Again

* Lint Compaints

* Refactoring Functions

Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>

* Moved Installation Kit and Logistic Kit so that they're part of Label Value Kit (#915)

* Add blue to title kit (#921)

* Add blue to title kit

* Cover change with tests

* Fix rspec test

* Remove variant prop from docs

* Add to CHANGELOG

* Fix rspec

* Change variant to enum

* Fix rspec

* Replace empty string with nil value in variant enum

* Created Logistics category

* Updated kit, example docs and changelog

* Fixed example docs

* Fixed changelog

* Removed Installer Kit and Logsitic Kit

* Updated spec doc

* Updated title link prop, Label Value Kit description, and cleaned Label Value scss file

* Updated details variant description

Co-authored-by: Kelly Ryan <51907753+kellyeryan@users.noreply.github.com>

* Update CHANGELOG.md

* Add CHANGELOG

* Fix rspec file

* Fix conflicts

Co-authored-by: Jonathan Zazula <djonyriz@gmail.com>
Co-authored-by: Christina Tai <42459486+christinaatai@users.noreply.github.com>
Co-authored-by: Jasper Furniss <jasperfurniss@gmail.com>
Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
Co-authored-by: Jason Cypret <jason@jasoncypret.com>

* Fixed textarea label spacing issue (#943)

* Fixed spacing issue on react version

* Updated changelog

Co-authored-by: Jon Zazula <djonyriz@gmail.com>

* Update Selectable Card dark mode (#957)

* Update Selectable Card dark mode

* Add CHANGELOG

Co-authored-by: Jon Zazula <djonyriz@gmail.com>

* Update dark mode props on Selectable Card Icon (#956)

* Update dark mode props on Selectable Card Icon

* Add to CHANGELOG

* Fix yarn lint violations

* Change scss to fix font color on dark mode

Co-authored-by: Jon Zazula <djonyriz@gmail.com>

* Add props to Toggle React kit, create docs for React kit (#946)

* Toggle React kit additions WIP

* Add custom example to Toggle React kit

* Add React Toggle Name file

* Fix Toggle React kit

* Add CHANGELOG

Co-authored-by: Jon Zazula <djonyriz@gmail.com>

* Updated Selectable Icon dark mode (#955)

* Updated Selectable Icon dark mode

* Add to CHANGELOG

* Fix scss to correct font color

Co-authored-by: Jon Zazula <djonyriz@gmail.com>

* Bump elliptic from 6.5.2 to 6.5.3 (#936)

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Latest

* Edit dark mode in Title kit to reflect globalProps changes (#951)

* Edit dark mode in Title kit to reflect globalProps changes

* Add CHANGELOG

* Edit dark mode in Caption kit to reflect globalProps changes (#950)

* Edit dark mode in Caption kit to reflect globalProps changes

* Fix rspec file run yarn lint and add to CHANGELOG

* Updated Changelog for hopefully the Last time ever manually

* Make Popover List Example Consistent (#949)

* Adds System Props

* fixup spec (#940)

* Name Change

* Updated Specs

* More Spec Fixes

* Last Two Fixes

* Fixing Table Spec

* Finally Fixed Rspec Tests

* Removed File

* Updated Changelog

* Make example consistent

Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
Co-authored-by: Jason Cypret <jason@jasoncypret.com>
Co-authored-by: Jasper Furniss <jasperfurniss@gmail.com>

* Update changelog (#944)

Co-authored-by: Jon Zazula <djonyriz@gmail.com>

* Fix Button Toolbar globalProps

* Resolving Conflicts for new Base Branch

* Testing

* Testing again

* Latest for Changelog Generator

* Fixed Conflicts

* Updated

Co-authored-by: Stephen Marshall <smarshall1980@gmail.com>
Co-authored-by: Jason Cypret <jason@jasoncypret.com>
Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
Co-authored-by: Brendan Huffman <57693937+bh247484@users.noreply.github.com>
Co-authored-by: Kelly Ryan <51907753+kellyeryan@users.noreply.github.com>
Co-authored-by: Christina Tai <42459486+christinaatai@users.noreply.github.com>
Co-authored-by: Bernardo Donadio <bcdonadio@bcdonadio.com>
Co-authored-by: Cole <coleerikson@users.noreply.github.com>
Co-authored-by: Jonathan Zazula <djonyriz@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Refactor dark props (#963)

* NUX-1286 - Refactor dark props for text input (#964)

* Refactor dark props for text input

* Add defined prop in tests

* NUX-1286 - Update dark props for Textarea kit (#966)

* Update dark props for textarea

* Add disabled and required attributes to textarea react kit

* Update card header kit so that it passes product colors (#983)

* Update card header kit so that it passes product colors

* Updated changelog

* Added extra line at end of file

* Removed changelog entry

* Revert #972

* Update Changelog

* Update version

* Remove changelog spec

* Bump rack from 2.2.2 to 2.2.3 (#882)

Bumps [rack](https://github.com/rack/rack) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v2.2.2...2.2.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Create popover dark mode (#993)

* Add checkbox to form helper (#953)

* ★ Dark Mode Update Badge, Button, Circle Icon Button, Card, Checkbox and Body Kits (#948)

* Adds System Props

* Name Change

* Updated Specs

* More Spec Fixes

* Last Two Fixes

* Fixing Table Spec

* Finally Fixed Rspec Tests

* Removed File

* Updated Changelog

* Badge kit

* Button + Circle Icon Button kits

* Allow globalProps defaults

* Body kit

* Spec updates

* Update CHANGELOG.md

* Fix lint errors

* Some things got stepped on

Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>

* Gauge Kit (#910)

* Add aria, data props to React Badge kit (#901)

* Add aria, data props to React Badge kit

* Add to CHANGELOG

* Added prop to remove card border (#900)

* Added prop to remove card border

* Updated changelog and spec doc

* Removed trailing white space

* Fixed react prop name to be camelcased

* Renamed rails border prop

* Updated spec doc

* Migrate annotations to new version (#879)

Co-authored-by: Bernardo Donadio <bcdonadio@bcdonadio.com>

* scaffolded kit, added gauge switch case in pbCharts

* fixed ghost content_tag, added props, merged gaugeOptions object

* colors and tooltips corrected/standardized

* restyled gauge with rounded thinner look, began typography changes

* typography styling, added more doc examples

* added sizing doc example

* finalized props, created applied rails doc examples, react scaffolding

* cleaned examples, fixed bugs, react live data experiments

* found/implemented state re-rendering fix

* tweaked units props, added stylings, implemented better React state solution

* rescoped styles, cleaned live data doc example

* moved min-max docs, scrubbed old comments, styled currency/prefix

* accounted for empty/null chart_data prop, deleted more old comments, unified react/rails examples

* deleted unnecessary sass styling

* added CHANGELOG entry

* wrote spec test

* fixed spec test

* fix for theme file woes, moved options for gauge over to pbChartsLightTheme

* spacing and alphabetizing

* added React spacing

* fixed React spacing props, sizing example parity

* test commit

* removed subtitle prop, moved min max default comments into docs

* removed subtitle prop from spec test

* replaced forEach chartData formatting with mapping solution

* added ability to update name field through React state

* moved title text to .md files, added disable animation prop

* fixed react component export

* fixed rebase issues with circle chart

* update gauge spec, fixed failing title spec

* updated CHANGELOG

* doc example housekeeping

* removed commented debugger

* replaced spacing with globalProps

* fixed globalProps import

* once more unto the CHANGELOG

Co-authored-by: Kelly Ryan <51907753+kellyeryan@users.noreply.github.com>
Co-authored-by: Christina Tai <42459486+christinaatai@users.noreply.github.com>
Co-authored-by: Stephen Marshall <smarshall1980@gmail.com>
Co-authored-by: Bernardo Donadio <bcdonadio@bcdonadio.com>

* Cleanup 1284 (#952)

* created checkbox form class, parsed value/required props

* testing inside filter kit

* implemented label solution

* implemented solution for html data-* attributes

* alpha upversioned

* alpha upversioned to 6

* matched CHANGELOG with master for milano deploy

* fixed validation error spacing

* upversioned alpha after rebase

* used @template.label to generate label text, rearranged method props to use **options, tried to include value prop inside options hash

* removed props from super method, and value prop from check_box method field

* revert filter doc example to default, delete comment

* fixed broken erb in filter default, updated checkbox spec test

* eliminated value prop/option handling and console puts calls

* matched CHANGELOG

Co-authored-by: Stephen Marshall <smarshall1980@gmail.com>
Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
Co-authored-by: Kelly Ryan <51907753+kellyeryan@users.noreply.github.com>
Co-authored-by: Christina Tai <42459486+christinaatai@users.noreply.github.com>
Co-authored-by: Bernardo Donadio <bcdonadio@bcdonadio.com>

* Create online status dark mode (#991)

* Create online status dark mode

* Update app/pb_kits/playbook/pb_online_status/_online_status.jsx

Co-authored-by: Jason Cypret <jason@jasoncypret.com>

* Create Pill dark mode (#992)

* Create Pill dark mode

* New line at end of yml file, fix aria prop

* Update app/pb_kits/playbook/pb_pill/_pill.scss

Co-authored-by: Jason Cypret <jason@jasoncypret.com>

* Update app/pb_kits/playbook/pb_pill/_pill.jsx

Co-authored-by: Jason Cypret <jason@jasoncypret.com>

* Add dark mode to Multiple Users (#987)

* Add dark mode to Multiple Users

* Write rspec, update scss file

* Add Fixed Confirmation Toast dark mode (#981)

* Revert "Create online status dark mode (#991)" (#1009)

This reverts commit f2263e1203d43d5de4ca7f269ed64453a846e1fd.

* Online status (#1010)

* Create online status dark mode

* Moved Classname

Co-authored-by: kellyeryan <kellyeryan@gmail.com>
Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>

* Add spacing docs (#1005)

* V6.2.0 (#995)

* Update flow types to use literal vs class wrapper (#969)

* Update Array types

* Update String types

* Update Number types

* Update Date types

* Update Boolean types

* Final cleanup types

* Changelog and kit template

* Add Title Detail Dark Mode (#972)

* Add Title Detail Dark Mode

* Add CHANGELOG

* Add aria prop

* Update progress step (#954)

* update to progress step kit

* update to progress step kit

* ready for review, updated changelog and spec rb

Co-authored-by: Jasper Furniss <jasperfurniss@gmail.com>

* Update issue templates

* Remove Changelog Checklist (#990)

* testing changelog in release branch

* Removed Changelog Checklist Items

* Latest

Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>

* Automated changelog (#959)

* fixup spec (#940) (#945)

Co-authored-by: Jason Cypret <jason@jasoncypret.com>

* Enables Global Prop Classnames in React & Enables Dark Class Prop  (#942)

* Adds System Props

* fixup spec (#940)

* Name Change

* Updated Specs

* More Spec Fixes

* Last Two Fixes

* Fixing Table Spec

* Finally Fixed Rspec Tests

* Removed File

* Updated Changelog

Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
Co-authored-by: Jason Cypret <jason@jasoncypret.com>

* ★ Dark Mode Update Badge, Button, Circle Icon Button, Card, Checkbox and Body Kits (#948)

* Adds System Props

* Name Change

* Updated Specs

* More Spec Fixes

* Last Two Fixes

* Fixing Table Spec

* Finally Fixed Rspec Tests

* Removed File

* Updated Changelog

* Badge kit

* Button + Circle Icon Button kits

* Allow globalProps defaults

* Body kit

* Spec updates

* Update CHANGELOG.md

* Fix lint errors

* Some things got stepped on

Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>

* Gauge Kit (#910)

* Add aria, data props to React Badge kit (#901)

* Add aria, data props to React Badge kit

* Add to CHANGELOG

* Added prop to remove card border (#900)

* Added prop to remove card border

* Updated changelog and spec doc

* Removed trailing white space

* Fixed react prop name to be camelcased

* Renamed rails border prop

* Updated spec doc

* Migrate annotations to new version (#879)

Co-authored-by: Bernardo Donadio <bcdonadio@bcdonadio.com>

* scaffolded kit, added gauge switch case in pbCharts

* fixed ghost content_tag, added props, merged gaugeOptions object

* colors and tooltips corrected/standardized

* restyled gauge with rounded thinner look, began typography changes

* typography styling, added more doc examples

* added sizing doc example

* finalized props, created applied rails doc examples, react scaffolding

* cleaned examples, fixed bugs, react live data experiments

* found/implemented state re-rendering fix

* tweaked units props, added stylings, implemented better React state solution

* rescoped styles, cleaned live data doc example

* moved min-max docs, scrubbed old comments, styled currency/prefix

* accounted for empty/null chart_data prop, deleted more old comments, unified react/rails examples

* deleted unnecessary sass styling

* added CHANGELOG entry

* wrote spec test

* fixed spec test

* fix for theme file woes, moved options for gauge over to pbChartsLightTheme

* spacing and alphabetizing

* added React spacing

* fixed React spacing props, sizing example parity

* test commit

* removed subtitle prop, moved min max default comments into docs

* removed subtitle prop from spec test

* replaced forEach chartData formatting with mapping solution

* added ability to update name field through React state

* moved title text to .md files, added disable animation prop

* fixed react component export

* fixed rebase issues with circle chart

* update gauge spec, fixed failing title spec

* updated CHANGELOG

* doc example housekeeping

* removed commented debugger

* replaced spacing with globalProps

* fixed globalProps import

* once more unto the CHANGELOG

Co-authored-by: Kelly Ryan <51907753+kellyeryan@users.noreply.github.com>
Co-authored-by: Christina Tai <42459486+christinaatai@users.noreply.github.com>
Co-authored-by: Stephen Marshall <smarshall1980@gmail.com>
Co-authored-by: Bernardo Donadio <bcdonadio@bcdonadio.com>

* Cleanup 1284 (#952)

* Initial Commit

* Updated Latest

* Add React Version of Time Kit (#947)

* fixup spec (#940)

* intial time component work

* initial time commit

* Rework show icon logic

* Update changelog

* Add code comment

* Dark updates

Co-authored-by: Jason Cypret <jason@jasoncypret.com>

* Generate button toolbar kit (#908)

* Added unreleased section for 5.3.0

* Add aria, data props to React Badge kit (#901)

* Add aria, data props to React Badge kit

* Add to CHANGELOG

* Added prop to remove card border (#900)

* Added prop to remove card border

* Updated changelog and spec doc

* Removed trailing white space

* Fixed react prop name to be camelcased

* Renamed rails border prop

* Updated spec doc

* Create ButtonGroup kit - WIP

* Finish ButtonGroup kit

* Remove simpleform generated files

* Add spec test

* Fix linting issue

* Fix rspec file

* Fix rspec again

* Change name Button Group to Button Toolbar

* Change docs examples, play with different colors for separating lines between buttons

* Add hover color to scss file

* Add secondary buttons

* Change secondary button hover back to normal

* Circle Chart Additions (#932)

* Circle Kit Rounded + Block

* Renamed Variables

* Latest Doc Updates

* Custom Colors Override Prop

* Circle Chart Extensions v1 Done

* Updated Changelog

* Fix for Circle Chart

* Moved Color Logic to Highchart Plugin

* Cleanup

* More Syntax Fixes

* Latest

* Formatting File

* Cleaning Up Again

* Lint Compaints

* Refactoring Functions

Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>

* Moved Installation Kit and Logistic Kit so that they're part of Label Value Kit (#915)

* Add blue to title kit (#921)

* Add blue to title kit

* Cover change with tests

* Fix rspec test

* Remove variant prop from docs

* Add to CHANGELOG

* Fix rspec

* Change variant to enum

* Fix rspec

* Replace empty string with nil value in variant enum

* Created Logistics category

* Updated kit, example docs and changelog

* Fixed example docs

* Fixed changelog

* Removed Installer Kit and Logsitic Kit

* Updated spec doc

* Updated title link prop, Label Value Kit description, and cleaned Label Value scss file

* Updated details variant description

Co-authored-by: Kelly Ryan <51907753+kellyeryan@users.noreply.github.com>

* Update CHANGELOG.md

* Add CHANGELOG

* Fix rspec file

* Fix conflicts

Co-authored-by: Jonathan Zazula <djonyriz@gmail.com>
Co-authored-by: Christina Tai <42459486+christinaatai@users.noreply.github.com>
Co-authored-by: Jasper Furniss <jasperfurniss@gmail.com>
Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
Co-authored-by: Jason Cypret <jason@jasoncypret.com>

* Fixed textarea label spacing issue (#943)

* Fixed spacing issue on react version

* Updated changelog

Co-authored-by: Jon Zazula <djonyriz@gmail.com>

* Update Selectable Card dark mode (#957)

* Update Selectable Card dark mode

* Add CHANGELOG

Co-authored-by: Jon Zazula <djonyriz@gmail.com>

* Update dark mode props on Selectable Card Icon (#956)

* Update dark mode props on Selectable Card Icon

* Add to CHANGELOG

* Fix yarn lint violations

* Change scss to fix font color on dark mode

Co-authored-by: Jon Zazula <djonyriz@gmail.com>

* Add props to Toggle React kit, create docs for React kit (#946)

* Toggle React kit additions WIP

* Add custom example to Toggle React kit

* Add React Toggle Name file

* Fix Toggle React kit

* Add CHANGELOG

Co-authored-by: Jon Zazula <djonyriz@gmail.com>

* Updated Selectable Icon dark mode (#955)

* Updated Selectable Icon dark mode

* Add to CHANGELOG

* Fix scss to correct font color

Co-authored-by: Jon Zazula <djonyriz@gmail.com>

* Bump elliptic from 6.5.2 to 6.5.3 (#936)

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Latest

* Edit dark mode in Title kit to reflect globalProps changes (#951)

* Edit dark mode in Title kit to reflect globalProps changes

* Add CHANGELOG

* Edit dark mode in Caption kit to reflect globalProps changes (#950)

* Edit dark mode in Caption kit to reflect globalProps changes

* Fix rspec file run yarn lint and add to CHANGELOG

* Updated Changelog for hopefully the Last time ever manually

* Make Popover List Example Consistent (#949)

* Adds System Props

* fixup spec (#940)

* Name Change

* Updated Specs

* More Spec Fixes

* Last Two Fixes

* Fixing Table Spec

* Finally Fixed Rspec Tests

* Removed File

* Updated Changelog

* Make example consistent

Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
Co-authored-by: Jason Cypret <jason@jasoncypret.com>
Co-authored-by: Jasper Furniss <jasperfurniss@gmail.com>

* Update changelog (#944)

Co-authored-by: Jon Zazula <djonyriz@gmail.com>

* Fix Button Toolbar globalProps

* Resolving Conflicts for new Base Branch

* Testing

* Testing again

* Latest for Changelog Generator

* Fixed Conflicts

* Updated

Co-authored-by: Stephen Marshall <smarshall1980@gmail.com>
Co-authored-by: Jason Cypret <jason@jasoncypret.com>
Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
Co-authored-by: Brendan Huffman <57693937+bh247484@users.noreply.github.com>
Co-authored-by: Kelly Ryan <51907753+kellyeryan@users.noreply.github.com>
Co-authored-by: Christina Tai <42459486+christinaatai@users.noreply.github.com>
Co-authored-by: Bernardo Donadio <bcdonadio@bcdonadio.com>
Co-authored-by: Cole <coleerikson@users.noreply.github.com>
Co-authored-by: Jonathan Zazula <djonyriz@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Refactor dark props (#963)

* NUX-1286 - Refactor dark props for text input (#964)

* Refactor dark props for text input

* Add defined prop in tests

* NUX-1286 - Update dark props for Textarea kit (#966)

* Update dark props for textarea

* Add disabled and required attributes to textarea react kit

* Update card header kit so that it passes product colors (#983)

* Update card header kit so that it passes product colors

* Updated changelog

* Added extra line at end of file

* Removed changelog entry

* Revert #972

* Update Changelog

* Update version

Co-authored-by: Kelly Ryan <51907753+kellyeryan@users.noreply.github.com>
Co-authored-by: Eva Louderback <50629488+evalouderback@users.noreply.github.com>
Co-authored-by: Jasper Furniss <jasperfurniss@gmail.com>
Co-authored-by: Jason Cypret <jason@jasoncypret.com>
Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
Co-authored-by: Brendan Huffman <57693937+bh247484@users.noreply.github.com>
Co-authored-by: Christina Tai <42459486+christinaatai@users.noreply.github.com>
Co-authored-by: Bernardo Donadio <bcdonadio@bcdonadio.com>
Co-authored-by: Cole <coleerikson@users.noreply.github.com>
Co-authored-by: Jonathan Zazula <djonyriz@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Spacing Docs Added

Co-authored-by: Stephen Marshall <smarshall1980@gmail.com>
Co-authored-by: Kelly Ryan <51907753+kellyeryan@users.noreply.github.com>
Co-authored-by: Eva Louderback <50629488+evalouderback@users.noreply.github.com>
Co-authored-by: Jason Cypret <jason@jasoncypret.com>
Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
Co-authored-by: Brendan Huffman <57693937+bh247484@users.noreply.github.com>
Co-authored-by: Christina Tai <42459486+christinaatai@users.noreply.github.com>
Co-authored-by: Bernardo Donadio <bcdonadio@bcdonadio.com>
Co-authored-by: Cole <coleerikson@users.noreply.github.com>
Co-authored-by: Jonathan Zazula <djonyriz@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add User Badge dark mode (#984)

* Add User Badge dark mode

* Add rspec test

* Grouping Badge, Hashtag, and Pill kits (#1011)

* Move Badge kit under Pills

* Updated badge description and grouping name

* Refactor Progress Step & added Tracker variant (#1007)

* Refactor Progress Step scss & add tracker variant

* add to description md file

* Update spec

* Lowercase prop types

* Add props to Nav (#989)

* Nav Dark mode - WIP

* Delete dark mode files

* Fix missing line at end of file

* Update app/pb_kits/playbook/pb_nav/_item.jsx

Co-authored-by: Jasper Furniss <jasperfurniss@gmail.com>

* Table dark mode (#986)

* Update table dark mode

* Fix rspec

* Removed unneeded import and sort props alphabetically

* Update app/pb_kits/playbook/pb_table/_table_row.jsx

Co-authored-by: Jasper Furniss <jasperfurniss@gmail.com>

* Multiple users stacked dark mode (#988)

* Multiple Users dark mode - WIP

* Add alphabetized list of props

* Write scss for dark mode avatar wrapper, write rspec

* Linting

* Change dark mode prop to object.dark

* Moved Classname to end

Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>

* Add dark mode to Icon Value (#974)

* Add dark mode to Icon Value

* Add CHANGELOG

* Add dark mode prop to child kits

* Delete CHANGELOG

* Delete CHANGELOG

* Once more unto the CHANGELOG

* Changelog

* Changelog blues

* Fix Body Kit Spec

Co-authored-by: Jonathan Zazula <djonyriz@gmail.com>

* Fixed link variant for title 4's

* Moved link scss so that it only applies to title 4

* Fixed merge conflicts
 Please enter the commit message for your changes. Lines starting

* Added variant cards and link for caption xs kit

* Updated spec docs

* Git pulled progress step scss

Co-authored-by: Stephen Marshall <smarshall1980@gmail.com>
Co-authored-by: Kelly Ryan <51907753+kellyeryan@users.noreply.github.com>
Co-authored-by: Eva Louderback <50629488+evalouderback@users.noreply.github.com>
Co-authored-by: Jasper Furniss <jasperfurniss@gmail.com>
Co-authored-by: Jason Cypret <jason@jasoncypret.com>
Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
Co-authored-by: Brendan Huffman <57693937+bh247484@users.noreply.github.com>
Co-authored-by: Bernardo Donadio <bcdonadio@bcdonadio.com>
Co-authored-by: Cole <coleerikson@users.noreply.github.com>
Co-authored-by: Jonathan Zazula <djonyriz@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stephen Marshall <stephen.marshall@powerhrg.com>
Co-authored-by: kellyeryan <kellyeryan@gmail.com>

* Button & Circle Icon Button Cleanup

Co-authored-by: Christina Tai <42459486+christinaatai@users.noreply.github.com>
Co-authored-by: Stephen Marshall <smarshall1980@gmail.com>
Co-authored-by: Kelly Ryan <51907753+kellyeryan@users.noreply.github.com>
Co-authored-by: Eva Louderback <50629488+evalouderback@users.noreply.github.com>
Co-authored-by: Jasper Furniss <jasperfurniss@gmail.com>
Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
Co-authored-by: Brendan Huffman <57693937+bh247484@users.noreply.github.com>
Co-authored-by: Bernardo Donadio <bcdonadio@bcdonadio.com>
Co-authored-by: Cole <coleerikson@users.noreply.github.com>
Co-authored-by: Jonathan Zazula <djonyriz@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stephen Marshall <stephen.marshall@powerhrg.com>
Co-authored-by: kellyeryan <kellyeryan@gmail.com>
Co-authored-by: Megan Trimble <mtrimble6@me.com>

* Date-Picker Kit (#975)

* Update flow types to use literal vs class wrapper (#969)

* Update Array types

* Update String types

* Update Number types

* Update Date types

* Update Boolean types

* Final cleanup types

* Changelog and kit template

* Add Title Detail Dark Mode (#972)

* Add Title Detail Dark Mode

* Add CHANGELOG

* Add aria prop

* Update progress step (#954)

* update to progress step kit

* update to progress step kit

* ready for review, updated changelog and spec rb

Co-authored-by: Jasper Furniss <jasperfurniss@gmail.com>

* Update issue templates

* Remove Changelog Checklist (#990)

* testing changelog in release branch

* Removed Changelog Checklist Items

* Latest

Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>

* Automated changelog (#959)

* fixup spec (#940) (#945)

Co-authored-by: Jason Cypret <jason@jasoncypret.com>

* Enables Global Prop Classnames in React & Enables Dark Class Prop  (#942)

* Adds System Props

* fixup spec (#940)

* Name Change

* Updated Specs

* More Spec Fixes

* Last Two Fixes

* Fixing Table Spec

* Finally Fixed Rspec Tests

* Removed File

* Updated Changelog

Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
Co-authored-by: Jason Cypret <jason@jasoncypret.com>

* ★ Dark Mode Update Badge, Button, Circle Icon Button, Card, Checkbox and Body Kits (#948)

* Adds System Props

* Name Change

* Updated Specs

* More Spec Fixes

* Last Two Fixes

* Fixing Table Spec

* Finally Fixed Rspec Tests

* Removed File

* Updated Changelog

* Badge kit

* Button + Circle Icon Button kits

* Allow globalProps defaults

* Body kit

* Spec updates

* Update CHANGELOG.md

* Fix lint errors

* Some things got stepped on

Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>

* Gauge Kit (#910)

* Add aria, data props to React Badge kit (#901)

* Add aria, data props to React Badge kit

* Add to CHANGELOG

* Added prop to remove card border (#900)

* Added prop to remove card border

* Updated changelog and spec doc

* Removed trailing white space

* Fixed react prop name to be camelcased

* Renamed rails border prop

* Updated spec doc

* Migrate annotations to new version (#879)

Co-authored-by: Bernardo Donadio <bcdonadio@bcdonadio.com>

* scaffolded kit, added gauge switch case in pbCharts

* fixed ghost content_tag, added props, merged gaugeOptions object

* colors and tooltips corrected/standardized

* restyled gauge with rounded thinner look, began typography changes

* typography styling, added more doc examples

* added sizing doc example

* finalized props, created applied rails doc examples, react scaffolding

* cleaned examples, fixed bugs, react live data experiments

* found/implemented state re-rendering fix

* tweaked units props, added stylings, implemented better React state solution

* rescoped styles, cleaned live data doc example

* moved min-max docs, scrubbed old comments, styled currency/prefix

* accounted for empty/null chart_data prop, deleted more old comments, unified react/rails examples

* deleted unnecessary sass styling

* added CHANGELOG entry

* wrote spec test

* fixed spec test

* fix for theme file woes, moved options for gauge over to pbChartsLightTheme

* spacing and alphabetizing

* added React spacing

* fixed React spacing props, sizing example parity

* test commit

* removed subtitle prop, moved min max default comments into docs

* removed subtitle prop from spec test

* replaced forEach chartData formatting with mapping solution

* added ability to update name field through React state

* moved title text to .md files, added disable animation prop

* fixed react component export

* fixed rebase issues with circle chart

* update gauge spec, fixed failing title spec

* updated CHANGELOG

* doc example housekeeping

* removed commented debugger

* replaced spacing with globalProps

* fixed globalProps import

* once more unto the CHANGELOG

Co-authored-by: Kelly Ryan <51907753+kellyeryan@users.noreply.github.com>
Co-authored-by: Christina Tai <42459486+christinaatai@users.noreply.github.com>
Co-authored-by: Stephen Marshall <smarshall1980@gmail.com>
Co-authored-by: Bernardo Donadio <bcdonadio@bcdonadio.com>

* Cleanup 1284 (#952)

* Initial Commit

* Updated Latest

* Add React Version of Time Kit (#947)

* fixup spec (#940)

* intial time component work

* initial time commit

* Rework show icon logic

* Update changelog

* Add code comment

* Dark updates

Co-authored-by: Jason Cypret <jason@jasoncypret.com>

* Generate button toolbar kit (#908)

* Added unreleased section for 5.3.0

* Add aria, data props to React Badge kit (#901)

* Add aria, data props to React Badge kit

* Add to CHANGELOG

* Added prop to remove card border (#900)

* Added prop to remove card border

* Updated changelog and spec doc

* Removed trailing white space

* Fixed react prop name to be camelcased

* Renamed rails border prop

* Updated spec doc

* Create ButtonGroup kit - WIP

* Finish ButtonGroup kit

* Remove simpleform generated files

* Add spec test

* Fix linting issue

* Fix rspec file

* Fix rspec again

* Change name Button Group to Button Toolbar

* Change docs examples, play with different colors for separating lines between buttons

* Add hover color to scss file

* Add secondary buttons

* Change secondary button hover back to normal

* Circle Chart Additions (#932)

* Circle Kit Rounded + Block

* Renamed Variables

* Latest Doc Updates

* Custom Colors Override Prop

* Circle Chart Extensions v1 Done

* Updated Changelog

* Fix for Circle Chart

* Moved Color Logic to Highchart Plugin

* Cleanup

* More Syntax Fixes

* Latest

* Formatting File

* Cleaning Up Again

* Lint Compaints

* Refactoring Functions

Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>

* Moved Installation Kit and Logistic Kit so that they're part of Label Value Kit (#915)

* Add blue to title kit (#921)

* Add blue to title kit

* Cover change with tests

* Fix rspec test

* Remove variant prop from docs

* Add to CHANGELOG

* Fix rspec

* Change variant to enum

* Fix rspec

* Replace empty string with nil value in variant enum

* Created Logistics category

* Updated kit, example docs and changelog

* Fixed example docs

* Fixed changelog

* Removed Installer Kit and Logsitic Kit

* Updated spec doc

* Updated title link prop, Label Value Kit description, and cleaned Label Value scss file

* Updated details variant description

Co-authored-by: Kelly Ryan <51907753+kellyeryan@users.noreply.github.com>

* Update CHANGELOG.md

* Add CHANGELOG

* Fix rspec file

* Fix conflicts

Co-authored-by: Jonathan Zazula <djonyriz@gmail.com>
Co-authored-by: Christina Tai <42459486+christinaatai@users.noreply.github.com>
Co-authored-by: Jasper Furniss <jasperfurniss@gmail.com>
Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
Co-authored-by: Jason Cypret <jason@jasoncypret.com>

* Fixed textarea label spacing issue (#943)

* Fixed spacing issue on react version

* Updated changelog

Co-authored-by: Jon Zazula <djonyriz@gmail.com>

* Update Selectable Card dark mode (#957)

* Update Selectable Card dark mode

* Add CHANGELOG

Co-authored-by: Jon Zazula <djonyriz@gmail.com>

* Update dark mode props on Selectable Card Icon (#956)

* Update dark mode props on Selectable Card Icon

* Add to CHANGELOG

* Fix yarn lint violations

* Change scss to fix font color on dark mode

Co-authored-by: Jon Zazula <djonyriz@gmail.com>

* Add props to Toggle React kit, create docs for React kit (#946)

* Toggle React kit additions WIP

* Add custom example to Toggle React kit

* Add React Toggle Name file

* Fix Toggle React kit

* Add CHANGELOG

Co-authored-by: Jon Zazula <djonyriz@gmail.com>

* Updated Selectable Icon dark mode (#955)

* Updated Selectable Icon dark mode

* Add to CHANGELOG

* Fix scss to correct font color

Co-authored-by: Jon Zazula <djonyriz@gmail.com>

* Bump elliptic from 6.5.2 to 6.5.3 (#936)

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Latest

* Edit dark mode in Title kit to reflect globalProps changes (#951)

* Edit dark mode in Title kit to reflect globalProps changes

* Add CHANGELOG

* Edit dark mode in Caption kit to reflect globalProps changes (#950)

* Edit dark mode in Caption kit to reflect globalProps changes

* Fix rspec file run yarn lint and add to CHANGELOG

* Updated Changelog for hopefully the Last time ever manually

* Make Popover List Example Consistent (#949)

* Adds System Props

* fixup spec (#940)

* Name Change

* Updated Specs

* More Spec Fixes

* Last Two Fixes

* Fixing Table Spec

* Finally Fixed Rspec Tests

* Removed File

* Updated Changelog

* Make example consistent

Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
Co-authored-by: Jason Cypret <jason@jasoncypret.com>
Co-authored-by: Jasper Furniss <jasperfurniss@gmail.com>

* Update changelog (#944)

Co-authored-by: Jon Zazula <djonyriz@gmail.com>

* Fix Button Toolbar globalProps

* Resolving Conflicts for new Base Branch

* Testing

* Testing again

* Latest for Changelog Generator

* Fixed Conflicts

* Updated

Co-authored-by: Stephen Marshall <smarshall1980@gmail.com>
Co-authored-by: Jason Cypret <jason@jasoncypret.com>
Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
Co-authored-by: Brendan Huffman <57693937+bh247484@users.noreply.github.com>
Co-authored-by: Kelly Ryan <51907753+kellyeryan@users.noreply.github.com>
Co-authored-by: Christina Tai <42459486+christinaatai@users.noreply.github.com>
Co-authored-by: Bernardo Donadio <bcdonadio@bcdonadio.com>
Co-authored-by: Cole <coleerikson@users.noreply.github.com>
Co-authored-by: Jonathan Zazula <djonyriz@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Refactor dark props (#963)

* NUX-1286 - Refactor dark props for text input (#964)

* Refactor dark props for text input

* Add defined prop in tests

* NUX-1286 - Update dark props for Textarea kit (#966)

* Update dark props for textarea

* Add disabled and required attributes to textarea react kit

* Update card header kit so that it passes product colors (#983)

* Update card header kit so that it passes product colors

* Updated changelog

* Added extra line at end of file

* Removed changelog entry

* Revert #972

* Update Changelog

* Update version

* generated kits

* added flatpickr package

* React up and running, css imported, began sass custom styling

* added form builder build, tested with filter, refactored sass

* fixed run away scroll

* problems with multiple doc examples

* fixed conflicting id bug

* more doc examples

* added disabled, min/max, and error props with doc examples

* abstracted flatpickr config to separate JS file, made that function available to rails kit, created rails props

* tweaked disable logic, changed rails prop output

* added default date prop, tweaked date picker helper logic

* added blank default date option, deleted comments

* fixed relative path

* modified relative flatpickr css import

* added vendor flatpickr import, deleted index for enhanced element class

* experimented with date-picker form helper, upversioned alpha

* finalized form functionality, added name and required props, fixed validation styling

* deleted form comment

* commented out unused import, fixed spec tests

* modified options argument

* scoping debacle solved

* readded date picker inputs to all form doc examples

* swapped spacing import for globalProps, upversioned to 6.1.0 alpha 2

* created hide label prop, reverted to tilde sass import

* reverted to manual sass import after Nitro routing errors returned

* added onChange hook

* refactored rails config props to a json, html safe, config object

* added read only prop

* mobile experiments for Milano deploy

* added year dropdown html and js

* mobile centering solution, added select styling

* satisfy CHANGELOG spec

* CHANGELOG 1

* forgive me CHANGELOG for I have sinned

* CHANGELOG spec test v2

* CHANGELOG revert

* disabled CHANGELOG spec test

* styling: round 1

* styling: round dos

* opacity overlap comment

* styling: round 3, added year range props, cleaned/unified hooks, added doc md

* reverted width fix

* removed date picker from filter docs

* cleaned sass, split into partials

* added @media hover wrapper

* fixed conflicting form ids, sass nesting

* reorganized js, cleaned sass and doc examples

* added hide icon prop, description.md, hid caret

* added doc links to fp format tokens, wrote spec test

* changed md wording, added sass variables

* added spacing variables, caption_selector classname

* switch html input to text input kit, now using kit generated error and label, added input props and doc examples

* added autocomplete prop to text input kit

* adjust cal icon div positioning, doc example edits

* change darkInput to dark, made icon wrapper border red on error, fixed dark mode react caption

* added separate dark mode example, changed dark calendar border to dark sass border token

* matched docs, fixed text input prop passing, updated test spec with new variables

* scrubbed comments

* deleted deprecated config prop

* [NUX-640] - Add Date Time kit, update supporting kits (#1055)

* Add Date Time kit, update supporting kits

* Add default TZ

* Adjust Kit location on menu

* Clean up css, remove dupe test

* removed date time kit, rearranged imports

* reverted changes to time kit

Co-authored-by: Stephen Marshall <smarshall1980@gmail.com>
Co-authored-by: Kelly Ryan <51907753+kellyeryan@users.noreply.github.com>
Co-authored-by: Eva Louderback <50629488+evalouderback@users.noreply.github.com>
Co-authored-by: Jasper Furniss <jasperfurniss@gmail.com>
Co-authored-by: Jason Cypret <jason@jasoncypret.com>
Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
Co-authored-by: Christina Tai <42459486+christinaatai@users.noreply.github.com>
Co-authored-by: Bernardo Donadio <bcdonadio@bcdonadio.com>
Co-authored-by: Cole <coleerikson@users.noreply.github.com>
Co-authored-by: Jonathan Zazula <djonyriz@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stephen Marshall <stephen.marshall@powerhrg.com>

* Dark Toggle

* Rebase onto 6.5.0

* Change to use ENV variables

* Update PULL_REQUEST_TEMPLATE.md

* Update app/pb_kits/playbook/packs/site_styles/docs/_markdown.scss

Co-authored-by: Jason Cypret <jason@jasoncypret.com>

* Update app/pb_kits/playbook/packs/site_styles/docs/_kit_doc.scss

Co-authored-by: Jason Cypret <jason@jasoncypret.com>

* Update app/pb_kits/playbook/packs/site_styles/docs/_kit_doc.scss

Co-authored-by: Jason Cypret <jason@jasoncypret.com>

* edit doc helper

* Use cookies again

* Update code snippets

* Remove Time Dark erb

Co-authored-by: Brendan Huffman <bh247484@gmail.com>
Co-authored-by: Igor Blackman <igor.blackman@gmail.com>
Co-authored-by: Jason Cypret <jason@jasoncypret.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Christina Tai <42459486+christinaatai@users.noreply.github.com>
Co-authored-by: Stephen Marshall <smarshall1980@gmail.com>
Co-authored-by: Kelly Ryan <51907753+kellyeryan@users.noreply.github.com>
Co-authored-by: Eva Louderback <50629488+evalouderback@users.noreply.github.com>
Co-authored-by: Jasper Furniss <jasperfurniss@gmail.com>
Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
Co-authored-by: Brendan Huffman <57693937+bh247484@users.noreply.github.com>
Co-authored-by: Bernardo Donadio <bcdonadio@bcdonadio.com>
Co-authored-by: Cole <coleerikson@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stephen Marshall <stephen.marshall@powerhrg.com>
Co-authored-by: kellyeryan <kellyeryan@gmail.com>
Co-authored-by: Megan Trimble <mtrimble6@me.com>

* Bump Version for Release

* added checked_value option handling, changed docs

* Update README.md

* readded checked_value and unchecked_value props after merge

Co-authored-by: Jason Cypret <jason@jasoncypret.com>
Co-authored-by: Jonathan Zazula <djonyriz@gmail.com>
Co-authored-by: Igor Blackman <igor.blackman@gmail.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Christina Tai <42459486+christinaatai@users.noreply.github.com>
Co-authored-by: Stephen Marshall <smarshall1980@gmail.com>
Co-authored-by: Kelly Ryan <51907753+kellyeryan@users.noreply.github.com>
Co-authored-by: Eva Louderback <50629488+evalouderback@users.noreply.github.com>
Co-authored-by: Jasper Furniss <jasperfurniss@gmail.com>
Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
Co-authored-by: Bernardo Donadio <bcdonadio@bcdonadio.com>
Co-authored-by: Cole <coleerikson@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stephen Marshall <stephen.marshall@powerhrg.com>
Co-authored-by: kellyeryan <kellyeryan@gmail.com>
Co-authored-by: Megan Trimble <mtrimble6@me.com>
  • Loading branch information
17 people committed Sep 28, 2020
1 parent 577b688 commit 225a0a9
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -9,8 +9,7 @@ Playbook is the first design system built for both Rails & React interfaces. Ins

## Getting started

1. Run `make install`
1. Run `make start`
1. Run `make it`
1. Install overcommit hooks `bin/overcommit`
1. open [http://localhost:8089](http://localhost:8089)

Expand Down
13 changes: 8 additions & 5 deletions app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb
Expand Up @@ -25,11 +25,14 @@
<%= form.select :example_select, [ ["Yes", 1], ["No", 2] ], props: { label: true } %>
<%= form.collection_select :example_collection_select, example_collection, :value, :name, props: { label: true } %>
<%= form.check_box :example_checkbox,
data: { field1: "value1", field2: "value2" },
props: { text: "Example Checkbox", label: true },
id: "checkbox-id",
name: "checkbox-name",
class: "checkbox-class" %>
data: { field1: "value1", field2: "value2" },
props: { text: "Example Checkbox", label: true },
checked_value: "yes",
unchecked_value: "no",
id: "checkbox-id",
name: "checkbox-name",
class: "checkbox-class"
%>
<%= form.date_picker :example_date_picker1, props: { default_date: "blank" } %>
<%= form.actions do |action| %>
Expand Down
9 changes: 7 additions & 2 deletions app/pb_kits/playbook/pb_form/form_builder/checkbox_field.rb
Expand Up @@ -4,13 +4,18 @@ module Playbook
module PbForm
module FormBuilder
module CheckboxField
def check_box(name, props: {}, **options, &block)
def check_box(name, props: {}, **options)
label_text = @template.label(@object_name, name) if props[:label] == true
options[:required] = true if props[:required]
props[:margin_bottom] = "sm"
props[:form_spacing] = true

input = super(name, **options, &block)
checked_value = options[:checked_value]
unchecked_value = options[:unchecked_value]
options.delete(:checked_value)
options.delete(:unchecked_value)

input = super(name, options, checked_value, unchecked_value)

if props[:label]
@template.pb_rails("caption", props: { text: label_text, margin_bottom: "xs" }) +
Expand Down
2 changes: 1 addition & 1 deletion app/pb_kits/playbook/pb_toggle/toggle.rb
Expand Up @@ -34,4 +34,4 @@ def checked_class
end
end
end
end
end

0 comments on commit 225a0a9

Please sign in to comment.