Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking β€œSign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ESDS 3.0 release based on Vue 3 and PrimeVue #1461

Open
wants to merge 888 commits into
base: main
Choose a base branch
from
Open
Changes from 9 commits
Commits
Show all changes
888 commits
Select commit Hold shift + click to select a range
1c5483b
Merge pull request #1517 from EnergySage/ced-1822-more-es-rating
hroth1994 Sep 18, 2024
2e3fff7
fix: double events
tomleo Sep 18, 2024
98674b5
Merge branch 'esds-3.0-vue3-primevue' into CED-1755-slider
mpleroux Sep 18, 2024
800e742
fix: button text for side-by-side example
lgeggleston Sep 18, 2024
4d52d60
feat: added nav bar and footer
ericdouglaspratt Sep 18, 2024
c8e5d86
feat: add local focus variable
tomleo Sep 19, 2024
06a96c3
chore: linting failure message
nathanielwarner Sep 19, 2024
05fa287
chore: linting failure message
nathanielwarner Sep 19, 2024
c9671c7
fix: output of nav bar JS for rip-the-nav
ericdouglaspratt Sep 19, 2024
452789a
Merge branch 'esds-3.0-vue3-primevue' into ced-1793-nav-and-footer
ericdouglaspratt Sep 19, 2024
c111cc0
Revert "chore: linting failure message"
nathanielwarner Sep 19, 2024
7e8c448
chore: helpful linting failure message
nathanielwarner Sep 19, 2024
648852b
Revert "chore: linting failure message"
nathanielwarner Sep 19, 2024
9eac435
fix: formatting of EsFooter
ericdouglaspratt Sep 19, 2024
feaf440
Merge branch 'esds-3.0-vue3-primevue' into ced-1793-nav-and-footer
ericdouglaspratt Sep 19, 2024
88aa5c4
fix: prettier issues
ericdouglaspratt Sep 19, 2024
c9dc052
Merge branch 'esds-3.0-vue3-primevue' into ced-1793-nav-and-footer
ericdouglaspratt Sep 19, 2024
fe33beb
fix: restored social icon imports
ericdouglaspratt Sep 20, 2024
e4169f1
Merge pull request #1532 from EnergySage/ced-1793-nav-and-footer
ericdouglaspratt Sep 20, 2024
7f4c434
Merge branch 'esds-3.0-vue3-primevue' into CED-1755-slider
mpleroux Sep 23, 2024
91c6a1c
chore: security vulnerability
nathanielwarner Sep 25, 2024
d5d7fd6
chore: update to node 20
nathanielwarner Sep 25, 2024
610f473
Merge pull request #1534 from EnergySage/update-to-node-20
nathanielwarner Sep 25, 2024
7115e9f
feat: wip
tomleo Sep 26, 2024
f6b6ba7
Merge remote-tracking branch 'origin/esds-3.0-vue3-primevue' into CED…
tomleo Sep 30, 2024
ed3a8c9
fix: correct logic gaps in Select All functionality on Checkbox page
ericdouglaspratt Sep 30, 2024
f885c88
Merge pull request #1536 from EnergySage/ced-1825-select-all-logic
ericdouglaspratt Sep 30, 2024
4335b05
Merge branch 'esds-3.0-vue3-primevue' into CED-1790-create-v-3-es-zip…
lgeggleston Sep 30, 2024
f9b9ef4
Merge pull request #1529 from EnergySage/CED-1790-create-v-3-es-zip-c…
lgeggleston Sep 30, 2024
60be63c
feat: added EsCtaCard and docs page
ericdouglaspratt Sep 30, 2024
defd326
fix: v-deep syntax
ericdouglaspratt Sep 30, 2024
cfaf3e5
fix: columns of slots table
ericdouglaspratt Sep 30, 2024
ed234a5
fix: view source file name references
ericdouglaspratt Sep 30, 2024
84372ca
feat: uncomment form-textarea to be used with validation
hroth1994 Sep 30, 2024
397755e
feat: wire-up iframe_api
tomleo Sep 30, 2024
1038fdd
feat: add href and to props to es-button
hroth1994 Oct 1, 2024
9c20fa6
docs: update docs to include href and to props
hroth1994 Oct 1, 2024
3e60747
Merge pull request #1537 from EnergySage/ced-1783-cta-card
ericdouglaspratt Oct 1, 2024
c826d89
Merge branch 'esds-3.0-vue3-primevue' into ced-1863-es-button-href-prop
hroth1994 Oct 1, 2024
b7e9d14
Merge branch 'esds-3.0-vue3-primevue' into ced-1829-form-textarea-val…
hroth1994 Oct 1, 2024
06713e6
feat: remove iframe_api logic
tomleo Oct 1, 2024
1eac58a
fix: id from url function
tomleo Oct 1, 2024
65860cc
Merge remote-tracking branch 'origin/esds-3.0-vue3-primevue' into CED…
tomleo Oct 1, 2024
42a900f
Merge pull request #1538 from EnergySage/ced-1829-form-textarea-valid…
hroth1994 Oct 1, 2024
8c32a47
fix: changes from feedback
hroth1994 Oct 1, 2024
0ca1e6e
Merge branch 'esds-3.0-vue3-primevue' into ced-1863-es-button-href-prop
hroth1994 Oct 1, 2024
9612c64
chore: update for consistency
hroth1994 Oct 1, 2024
6662fce
fix: typo
hroth1994 Oct 1, 2024
6b7cd88
fix: remove added forms page
hroth1994 Oct 1, 2024
d3f400b
Merge pull request #1539 from EnergySage/ced-1863-es-button-href-prop
hroth1994 Oct 1, 2024
f694df5
feat: move styling to es-ds-styles
tomleo Oct 1, 2024
614ce4e
feat: add prop table and doc source
tomleo Oct 1, 2024
2dcc263
chore: apply formatting
tomleo Oct 1, 2024
cfd082e
feat: remove non-primevue rating idea
tomleo Oct 1, 2024
b507f5b
chore: remove debug statement
tomleo Oct 1, 2024
4eeae09
Merge remote-tracking branch 'origin/esds-3.0-vue3-primevue' into ced…
tomleo Oct 1, 2024
7153060
chore: apply formatting
tomleo Oct 1, 2024
63f7e83
chore: remove props variable in template section
tomleo Oct 1, 2024
746a674
feat: add back alert in docs
tomleo Oct 1, 2024
a8c1ba6
feat: add EsForm V3
hroth1994 Oct 1, 2024
ea7c22b
feat: update es-form props
hroth1994 Oct 1, 2024
8c706eb
style: run formatter
hroth1994 Oct 1, 2024
f68d679
docs: update validated description to be more accurate
hroth1994 Oct 1, 2024
3e57aca
feat: remove validated prop since it is handled with is-invalid
hroth1994 Oct 2, 2024
5f7c800
Merge branch 'esds-3.0-vue3-primevue' into ced-1785-es-form-v3
hroth1994 Oct 2, 2024
804b367
feat: replace b-col with es-col
tomleo Oct 2, 2024
fac9dd8
feat: rename b-container to es-container
tomleo Oct 2, 2024
ad890e8
feat: rename b-row to es-row
tomleo Oct 2, 2024
999c233
Merge branch 'esds-3.0-vue3-primevue' into CED-1760-Create-v3-EsVerif…
RANE1021 Oct 2, 2024
cfe73b0
feat: rename b-spinner to es-spinner and update layout doc
tomleo Oct 2, 2024
b1872b6
Merge branch 'esds-3.0-vue3-primevue' into CED-1761
ericdouglaspratt Oct 2, 2024
78fe89f
changed hardcoded length
RANE1021 Oct 2, 2024
9475896
Merge remote-tracking branch 'refs/remotes/origin/CED-1760-Create-v3-…
RANE1021 Oct 2, 2024
cc244b5
linting format
RANE1021 Oct 2, 2024
5374bd3
feat: remove runtime computed sizing for CSS solution
tomleo Oct 3, 2024
ebbaee9
Merge remote-tracking branch 'origin/CED-1761' into CED-1761
tomleo Oct 3, 2024
e07cf0b
feat: organize script section better
tomleo Oct 3, 2024
31b4ffb
feat: update prop table
tomleo Oct 3, 2024
33ebe0c
feat: swap assets
tomleo Oct 3, 2024
b470feb
feat: decouple z-index from center utility class
tomleo Oct 3, 2024
0aa587f
feat: move placeholder images to public folder
tomleo Oct 3, 2024
fc5219d
various changes based on PR comments
RANE1021 Oct 3, 2024
9b53fc1
fix: use nuxt-img
tomleo Oct 3, 2024
66108fd
chore: apply formatting
tomleo Oct 3, 2024
5547be2
remove import of verification-code.css
RANE1021 Oct 3, 2024
1f40b09
feat: add modal example
tomleo Oct 3, 2024
4121c71
feat: revert z-index-modal-overlay
tomleo Oct 3, 2024
2f26cf3
chore: apply formatting
tomleo Oct 3, 2024
638aace
fix: small tweaks
tomleo Oct 3, 2024
0d33844
chore: apply formatting
tomleo Oct 3, 2024
c5cc22c
Merge pull request #1542 from EnergySage/CED-1855
tomleo Oct 3, 2024
3ac6699
feat: update marketplace report link
mpleroux Oct 3, 2024
e228a41
Merge branch 'esds-3.0-vue3-primevue' into ced-1785-es-form-v3
hroth1994 Oct 3, 2024
57630b5
Merge remote-tracking branch 'origin/esds-3.0-vue3-primevue' into CED…
tomleo Oct 3, 2024
ef14e54
Merge remote-tracking branch 'origin/esds-3.0-vue3-primevue' into ced…
tomleo Oct 3, 2024
1912f97
feat: remove alert
tomleo Oct 3, 2024
8834d29
feat: add mvp esSkeleton
lgeggleston Oct 3, 2024
4efe521
feat: add esSkeletonWrapper basic
lgeggleston Oct 3, 2024
ecf8b87
fix: changes based on feedback
hroth1994 Oct 3, 2024
b9f87b5
style: apply formatting
hroth1994 Oct 3, 2024
d6f603c
reworked code type, css changes for details, corrected disabled prop …
RANE1021 Oct 3, 2024
1a92a05
Merge branch 'esds-3.0-vue3-primevue' into CED-1760-Create-v3-EsVerif…
RANE1021 Oct 3, 2024
ccc9422
Merge branch 'esds-3.0-vue3-primevue' into CED-1851-create-es-skeleton
lgeggleston Oct 3, 2024
73a773f
format: fix bRow and bCol instances
lgeggleston Oct 3, 2024
40ba5cf
simplify clear code, change b-row & b-col to es-row & es-col
RANE1021 Oct 3, 2024
d082e00
make format
RANE1021 Oct 3, 2024
535d595
fix: switch assets back and rename b-col b-row
tomleo Oct 4, 2024
2a2c3e3
Merge pull request #1526 from EnergySage/CED-1760-Create-v3-EsVerific…
RANE1021 Oct 4, 2024
d99ccce
Merge remote-tracking branch 'origin/esds-3.0-vue3-primevue' into CED…
tomleo Oct 4, 2024
ab72bd6
Merge remote-tracking branch 'origin/esds-3.0-vue3-primevue' into ced…
tomleo Oct 4, 2024
c4f17b8
chore: tweak padding
tomleo Oct 4, 2024
558971e
Merge branch 'esds-3.0-vue3-primevue' into CED-1755-slider
mpleroux Oct 4, 2024
4311416
Merge pull request #1531 from EnergySage/ced-1822-more-es-rating-doub…
tomleo Oct 4, 2024
385862b
Merge branch 'esds-3.0-vue3-primevue' into ced-1785-es-form-v3
hroth1994 Oct 4, 2024
020776c
fix: use es-spinner
hroth1994 Oct 4, 2024
d83a8df
Merge pull request #1541 from EnergySage/ced-1785-es-form-v3
hroth1994 Oct 4, 2024
dbdb20e
fix: component links from Corners page, made textarea URL slug consis…
ericdouglaspratt Oct 4, 2024
875f913
Merge pull request #1544 from EnergySage/ced-1774-corner-links
ericdouglaspratt Oct 4, 2024
c477673
Merge branch 'esds-3.0-vue3-primevue' into CED-1867-navbar-report
mpleroux Oct 4, 2024
5b1741e
Merge pull request #1543 from EnergySage/CED-1867-navbar-report
mpleroux Oct 4, 2024
7762c42
Component, docs page
mpleroux Oct 4, 2024
fe55cf5
fix: remove unnecessary style element
mpleroux Oct 4, 2024
ad595fc
Merge pull request #1546 from EnergySage/CED-1782-cta-banner
mpleroux Oct 4, 2024
a2ca3a2
Merge branch 'esds-3.0-vue3-primevue' into CED-1755-slider
mpleroux Oct 4, 2024
2803589
feat: add mvp esSkeletonImg
lgeggleston Oct 4, 2024
38786fe
Merge remote-tracking branch 'origin/esds-3.0-vue3-primevue' into CED…
tomleo Oct 7, 2024
cf7f2ee
fix: remove overlay
tomleo Oct 7, 2024
32e7387
fix: clean-up
tomleo Oct 7, 2024
97c69f4
docs: flesh out docs page for skeleton
lgeggleston Oct 7, 2024
1dda499
Merge branch 'esds-3.0-vue3-primevue' into CED-1851-create-es-skeleton
lgeggleston Oct 7, 2024
daf3424
format: reformat skeleton files
lgeggleston Oct 7, 2024
ec80d10
feat: use v-bind in the style section
tomleo Oct 7, 2024
3c89e2e
fix: redudant code
tomleo Oct 7, 2024
8a05447
feat: add label-formatter function
tomleo Oct 7, 2024
b9c57eb
Merge pull request #1548 from EnergySage/CED-1755-slider--v-bind-impl…
mpleroux Oct 7, 2024
4481670
fix: restore tooltip-formatter prop
mpleroux Oct 7, 2024
3a1c9a1
fix: deprecated style
tomleo Oct 7, 2024
903b241
Merge pull request #1518 from EnergySage/CED-1755-slider
mpleroux Oct 7, 2024
2d6cfa8
fix: format and docs page updates from comments
lgeggleston Oct 7, 2024
0cfb223
Merge branch 'esds-3.0-vue3-primevue' into CED-1851-create-es-skeleton
lgeggleston Oct 7, 2024
613cdbc
feat: fix deprecated function
tomleo Oct 7, 2024
563cb81
Merge pull request #1549 from EnergySage/fix-deprecated-function
tomleo Oct 7, 2024
a39ee76
Merge remote-tracking branch 'origin/esds-3.0-vue3-primevue' into CED…
tomleo Oct 8, 2024
e3e47c2
fix: remove unused variable
tomleo Oct 8, 2024
7cfb722
Merge pull request #1540 from EnergySage/CED-1761
tomleo Oct 8, 2024
007faee
docs: add comments and alphabetize props
lgeggleston Oct 8, 2024
fa786a7
Merge branch 'esds-3.0-vue3-primevue' into CED-1851-create-es-skeleton
lgeggleston Oct 8, 2024
909ed20
Merge pull request #1547 from EnergySage/CED-1851-create-es-skeleton
lgeggleston Oct 8, 2024
92d3668
chore: released 3.0.0-alpha.7
ericdouglaspratt Oct 8, 2024
85dd9a2
feat: fixes to EsSlider and updated documentation
ericdouglaspratt Oct 8, 2024
79ad075
feat: fixed v-model when startingValue not provided, added migration …
ericdouglaspratt Oct 9, 2024
f1c0d5c
feat: added aria-disabled
ericdouglaspratt Oct 9, 2024
d98af06
Merge pull request #1550 from EnergySage/ced-1909-es-slider-finalization
ericdouglaspratt Oct 9, 2024
42467e2
feat: update links in nav bar
hroth1994 Oct 10, 2024
744722c
Merge pull request #1551 from EnergySage/ced-1908-update-nav-bar
hroth1994 Oct 11, 2024
e265516
feat: tweaks to modal from ESDS components meeting with design
ericdouglaspratt Oct 18, 2024
b98d1f8
fix: bug with EsTabs initial state where it wouldn't show tabs other …
ericdouglaspratt Oct 20, 2024
278088d
feat: initial cut of segmented control using TabMenu
ericdouglaspratt Oct 20, 2024
34bbeaa
fix: improved tabs second example
ericdouglaspratt Oct 21, 2024
f32d1b9
fix: case where column is only wanted at specified size
nathanielwarner Oct 21, 2024
0706846
fix: bring the documentation up to par
nathanielwarner Oct 21, 2024
2089b60
chore: docs update
nathanielwarner Oct 21, 2024
0b21b7f
Merge pull request #1553 from EnergySage/CED-1894-fix-layout-issues
nathanielwarner Oct 21, 2024
8ff8187
Merge branch 'esds-3.0-vue3-primevue' into segmented-control
ericdouglaspratt Oct 21, 2024
a1ba97f
docs: :memo: add version to the changelog
nathanielwarner Oct 21, 2024
fd25a0b
fix: make coverImageUrl prop not required on EsVideo to match its int…
ericdouglaspratt Oct 22, 2024
50918ab
fix: support root-relative URLs in EsButton
ericdouglaspratt Oct 23, 2024
8a1b5c0
fix: moved vuelidate utils from es-ds-docs to es-ds-components so EsZ…
ericdouglaspratt Oct 23, 2024
37758ec
Merge pull request #1555 from EnergySage/ced-1900-vuelidate-fix
ericdouglaspratt Oct 23, 2024
26ae29c
Merge branch 'esds-3.0-vue3-primevue' into ced-1900-es-button-link-fix
ericdouglaspratt Oct 23, 2024
c2125f7
feat: start of SelectButton based segmented control
ericdouglaspratt Oct 24, 2024
34c83e1
Merge pull request #1554 from EnergySage/ced-1900-es-button-link-fix
ericdouglaspratt Oct 24, 2024
753043c
feat: added es-ds-styles as a dependency of es-ds-components so downs…
ericdouglaspratt Oct 24, 2024
f969a5f
feat: upgraded EsSegmentedControl to SelectButton for better accessib…
ericdouglaspratt Oct 25, 2024
36824a8
Merge branch 'esds-3.0-vue3-primevue' into segmented-control
ericdouglaspratt Oct 29, 2024
06733f9
chore: start work on typechecking
nathanielwarner Oct 29, 2024
8c6387f
chore: more typecheckin progress
nathanielwarner Oct 29, 2024
f56b02e
chore: require ts components
nathanielwarner Oct 29, 2024
0178dc8
chore: more type fixes
nathanielwarner Oct 29, 2024
bb61419
chore: use typescript for all vue files
nathanielwarner Oct 29, 2024
d3616ed
chore: use typescript for all util files
nathanielwarner Oct 29, 2024
2f5939d
chore: further progress on type errors
nathanielwarner Oct 30, 2024
7c34848
chore: clear up remaining errors
nathanielwarner Oct 30, 2024
f385d67
chore: add typecheck to ci
nathanielwarner Oct 30, 2024
3301153
chore: remove typecheck from dev server to work around meaningless error
nathanielwarner Oct 30, 2024
c7c0d9d
chore: test introducing type error
nathanielwarner Oct 30, 2024
92b48af
Revert "chore: test introducing type error"
nathanielwarner Oct 30, 2024
3ac632b
Revert "chore: remove typecheck from dev server to work around meanin…
nathanielwarner Oct 31, 2024
83fab5c
chore: add back htmlformelement
nathanielwarner Oct 31, 2024
0dd690b
Merge pull request #1556 from EnergySage/CED-1931-typechecking
nathanielwarner Oct 31, 2024
4e6de74
chore: remove legacy stuff from readme
nathanielwarner Oct 31, 2024
a338a4a
docs: complete upgrade
nathanielwarner Oct 31, 2024
5d61db1
fix: EsContainer now supports fluid prop
ericdouglaspratt Oct 31, 2024
e138ccf
fix: EsCol now supports empty string breakpoint values like xl=""
ericdouglaspratt Oct 31, 2024
3e96516
Merge branch 'esds-3.0-vue3-primevue' of github.com:EnergySage/es-ds …
ericdouglaspratt Oct 31, 2024
5b80373
feat: EsCarousel custom responsiveness and more props exposed
ericdouglaspratt Oct 31, 2024
099bed2
fix: SSR issue with EsCarousel, added disabled arrow state
ericdouglaspratt Nov 1, 2024
9970109
fix: simplified logic
ericdouglaspratt Nov 1, 2024
75590a0
Merge pull request #1558 from EnergySage/ced-1900-es-carousel-enhance…
ericdouglaspratt Nov 1, 2024
73f7dec
chore: update package-lock for 3.0.0-alpha.10
ericdouglaspratt Nov 1, 2024
6320634
fix: carousel dots being too wide on iOS Safari
ericdouglaspratt Nov 7, 2024
f3d1a57
feat: update autoplay carousel example
ericdouglaspratt Nov 7, 2024
6d2851a
fix: bug where breakpoint or label change caused active state bubble …
ericdouglaspratt Nov 16, 2024
c7906b9
fix: type errors
ericdouglaspratt Nov 16, 2024
3e847ab
fix: type error
ericdouglaspratt Nov 16, 2024
6d2c971
Merge branch 'esds-3.0-vue3-primevue' into segmented-control
ericdouglaspratt Nov 16, 2024
ee567b1
fix: type error
ericdouglaspratt Nov 16, 2024
9a2c875
fix: cleaned up resizeobserver on unmount, fix type errors
ericdouglaspratt Nov 16, 2024
72e2b41
Merge pull request #1552 from EnergySage/segmented-control
ericdouglaspratt Nov 22, 2024
cd9a472
fix: small fixes to segmented control from PR comments
ericdouglaspratt Nov 22, 2024
ce7cedb
feat: fixed EsCarousel arrows and allowed customization
ericdouglaspratt Nov 25, 2024
36e7cd7
fix: update cross-spawn package to fix high severity vulnerability
ericdouglaspratt Nov 25, 2024
ca7a7c6
fix: also ran "npm audit fix" on es-ds-styles and es-ds-docs
ericdouglaspratt Nov 25, 2024
23b8248
refactor: removed props references in template
ericdouglaspratt Nov 27, 2024
7f6ecfc
fix: circular carousel prev arrow no longer appears disabled briefly …
ericdouglaspratt Nov 27, 2024
ea97a79
Merge branch 'esds-3.0-vue3-primevue' into ced-2001-finalize-carousel
ericdouglaspratt Nov 27, 2024
94dedea
Merge pull request #1561 from EnergySage/ced-2001-finalize-carousel
ericdouglaspratt Nov 27, 2024
95c909b
feat: update versions for new release
ericdouglaspratt Nov 27, 2024
07106fe
fix: enable usage of v-for in children of tabs and accordion
lgeggleston Dec 3, 2024
7e725a5
Merge pull request #1562 from EnergySage/fix-v-for-handling-tabs-and-…
lgeggleston Dec 4, 2024
b85b419
chore: update package versions for alpha release
lgeggleston Dec 4, 2024
f9c5d19
Merge pull request #1563 from EnergySage/alpha-release-12-components-…
lgeggleston Dec 4, 2024
9528e02
fix: ran sass-migrator on files with deprecation warnings
ericdouglaspratt Dec 4, 2024
02a2560
Merge pull request #1564 from EnergySage/ced-1998-fix-deprecation-war…
ericdouglaspratt Dec 5, 2024
0245f5e
chore: updated versions for alpha release
ericdouglaspratt Dec 5, 2024
a670520
chore: post-release install of new alpha releases
ericdouglaspratt Dec 5, 2024
03cdb5a
feat: enable templated data table cells; better match PrimeVue API
ericdouglaspratt Dec 16, 2024
8bf7b92
Merge pull request #1565 from EnergySage/ced-2000-update-es-data-table
ericdouglaspratt Dec 16, 2024
404c1a8
chore: release es-ds-components 3.0.0-alpha.14
ericdouglaspratt Dec 16, 2024
58e1082
feat: add cookie link and left align section
hroth1994 Dec 23, 2024
6306fed
feat: add privacy choices link
hroth1994 Dec 24, 2024
0961048
feat: add peek props to carousel and update numDots calc
lgeggleston Jan 6, 2025
8011e61
docs: remove a todo comment
lgeggleston Jan 6, 2025
9d4e195
Merge pull request #1567 from EnergySage/carousel-peek-styling-updates
lgeggleston Jan 7, 2025
5bf43ca
fix: accordion initial expand with multiple expand
nathanielwarner Jan 7, 2025
3347e6c
Merge branch 'esds-3.0-vue3-primevue' into CED-2041-fix-accordion-list
nathanielwarner Jan 7, 2025
be83a4d
Merge pull request #1568 from EnergySage/CED-2041-fix-accordion-list
nathanielwarner Jan 8, 2025
fa58de0
chore: update package verions
nathanielwarner Jan 8, 2025
82ac0dc
fix: npm audit fix to resolve 1 moderate severity vulnerability
ericdouglaspratt Jan 10, 2025
c2cb22d
chore: remove cookie notice link
hroth1994 Jan 13, 2025
d0cfc9b
Merge branch 'esds-3.0-vue3-primevue' into ced-2034-add-footer-links
hroth1994 Jan 13, 2025
c0d50b7
fix: fix typescript error
hroth1994 Jan 13, 2025
21a57ef
chore: clean up styles
hroth1994 Jan 14, 2025
9db8a7c
chore: run prettier
hroth1994 Jan 14, 2025
46dbbd3
fix: use aria-label
hroth1994 Jan 15, 2025
95fd550
refactor: update ccpa icon
hroth1994 Jan 16, 2025
0858df3
fix: move margin and replace TODO
hroth1994 Jan 17, 2025
d7afa5f
Merge pull request #1566 from EnergySage/ced-2034-add-footer-links
hroth1994 Jan 23, 2025
d714fa8
chore: release es-ds-components 3.0.0-alpha.17
ericdouglaspratt Jan 23, 2025
a2ddf3d
fix: use npm audit to fix two moderate vulnerabilities
ericdouglaspratt Jan 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions es-ds-components/components/es-button.vue
Original file line number Diff line number Diff line change
@@ -55,6 +55,16 @@ const props = defineProps({
type: Boolean,
default: true,
},
// Url when using button as a link
href: {
type: String,
default: null,
},
// Url when using button as a link to an internal page
to: {
type: String,
default: null,
},
});

const getRootClasses = computed(() => {
@@ -73,7 +83,15 @@ const getRootClasses = computed(() => {
</script>

<template>
<nuxt-link
v-if="props.href || props.to"
:href="props.href || undefined"
:to="props.to || undefined"
:class="getRootClasses">
<slot />
</nuxt-link>
<prime-button
v-else
:pt="{
root: { class: getRootClasses },
}">
14 changes: 11 additions & 3 deletions es-ds-docs/pages/molecules/button.vue
Original file line number Diff line number Diff line change
@@ -69,6 +69,7 @@ const linkExamples = ref([
]);

const propTableRows = ref([
['href', 'String', 'null', 'An external URL to navigate to when using a button as a link.'],
[
'inline',
'Boolean',
@@ -78,6 +79,7 @@ const propTableRows = ref([
],
['outline', 'Boolean', 'false', 'If true, changes to the outline version of the specified variant.'],
['size', 'String', '"md"', "The size of the button: 'md', or 'sm'."],
['to', 'String', 'null', 'An internal path to navigate to when using a button as a link'],
['variant', 'String', '"primary"', "The name of the desired button variant: 'primary', 'dark-bg', or 'link'."],
]);

@@ -107,11 +109,17 @@ onMounted(async () => {
<h1>Button</h1>
<p>
Extended from
<a
<nuxt-link
href="https://v3.primevue.org/button/"
target="_blank">
primevue button
</a>
PrimeVue Button
</nuxt-link>
and
<nuxt-link
href="https://nuxt.com/docs/api/components/nuxt-link"
target="_blank">
NuxtLink
</nuxt-link>
</p>
<p>
When using a button, please ensure that the copy style is