diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 4de87052..ee74ee23 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -4,6 +4,6 @@ "packages/mouse-trap": "2.1.4", "packages/tailwind-preset": "1.2.0", "packages/tsconfigs": "1.0.3", - "packages/utah-design-system": "1.34.2", + "packages/utah-design-system": "2.1.0", "packages/utilities": "3.1.1" } diff --git a/package-lock.json b/package-lock.json index 3072242d..cf8abdd3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17114,7 +17114,7 @@ }, "packages/utah-design-system": { "name": "@ugrc/utah-design-system", - "version": "1.34.2", + "version": "2.1.0", "license": "MIT", "dependencies": { "@arcgis/core": "4.x", diff --git a/packages/utah-design-system/CHANGELOG.md b/packages/utah-design-system/CHANGELOG.md index 0e356b52..85ebb857 100644 --- a/packages/utah-design-system/CHANGELOG.md +++ b/packages/utah-design-system/CHANGELOG.md @@ -1,6 +1,132 @@ # Changelog -## [1.34.2](https://github.com/agrc/kitchen-sink/compare/utah-design-system-v1.34.1...utah-design-system-v1.34.2) (2026-02-03) +## [2.1.0](https://github.com/agrc/kitchen-sink/compare/utah-design-system-v2.0.0...utah-design-system-v2.1.0) (2026-02-10) + + +### Features + +* **alert-dialog:** introduce a modal window ([8b78305](https://github.com/agrc/kitchen-sink/commit/8b78305640726478eb4e5da030e3821e16404ffa)) +* **avatar:** add avatar component ([2e1ef37](https://github.com/agrc/kitchen-sink/commit/2e1ef3798c98d3ed47e53937c5bb705280f6c122)) +* **button:** add 4 more button sizes ([f40204e](https://github.com/agrc/kitchen-sink/commit/f40204e97b6ed5a9d37c4f539d6633e3d639d834)), closes [#346](https://github.com/agrc/kitchen-sink/issues/346) +* **button:** add pending state ([2155342](https://github.com/agrc/kitchen-sink/commit/21553425b2bd9f2c5b652ce15a2a50cd53e9e3c3)) +* create types for package ([7b176eb](https://github.com/agrc/kitchen-sink/commit/7b176eb241dd5d6bf494f751f47b57c820d1db9f)) +* **design-system:** add multi-provider to sherlock ([172a6b3](https://github.com/agrc/kitchen-sink/commit/172a6b3521816e22f601d035fa8bbe0716ed868c)) +* **design-system:** implement feature service provider for Sherlock ([39a87d0](https://github.com/agrc/kitchen-sink/commit/39a87d0c6e650446bc89c259365e04d5dc5166f9)) +* **design:** create checkbox and radio button components ([eafe98a](https://github.com/agrc/kitchen-sink/commit/eafe98aace8005384fa67886ce82016560148df1)) +* **disclosure:** create disclosure implementation from utah design system ([5fd500d](https://github.com/agrc/kitchen-sink/commit/5fd500df47ab9da6f61d0719e4f56854cc7678e5)) +* **eslint-config:** implement eslint-plugin-storybook and associated fixes ([537c760](https://github.com/agrc/kitchen-sink/commit/537c760daba5dc43dd07ed70688a0f052c6716ad)), closes [#476](https://github.com/agrc/kitchen-sink/issues/476) +* **fileinput:** Add FileInput component to utah-design-system ([#562](https://github.com/agrc/kitchen-sink/issues/562)) ([deaeb8e](https://github.com/agrc/kitchen-sink/commit/deaeb8eb57c5365238a0aaabf0870320e045c1b4)) +* **fileinput:** implement controlled file input with onChange callback ([0bcf66a](https://github.com/agrc/kitchen-sink/commit/0bcf66aca61a64de1838c4e36d934e18dd1f98b3)) +* **firebase-analytics:** create provider for firebase analytics ([a72affa](https://github.com/agrc/kitchen-sink/commit/a72affad8c29340503187ccf15f3ce1b03f4d79f)) +* **firebase-app:** create provider for firebase apps ([21e691f](https://github.com/agrc/kitchen-sink/commit/21e691fd8a76ed3ff2cd7f0842e5aa7a8d33aa8f)) +* **firebase-auth:** create provider for firebase authentication ([8ba6dce](https://github.com/agrc/kitchen-sink/commit/8ba6dce4b22eb297168a5ae9676245043fb2f1cb)) +* **FirebaseAuthProvider:** add a ready boolean to notify auth is settled ([1383a52](https://github.com/agrc/kitchen-sink/commit/1383a520bf3e275b31bd24353a8ee8aa6fa2dba4)) +* **footer:** allow footer to be customized ([05388c9](https://github.com/agrc/kitchen-sink/commit/05388c9596442c092f679b1d6d43c7a85a4ba585)), closes [#344](https://github.com/agrc/kitchen-sink/issues/344) +* **header:** add utahid avatar to header ([701bf42](https://github.com/agrc/kitchen-sink/commit/701bf4212272b11b81c76a435205819333a64c6d)) +* **home-button:** introduce a button to go to a default extent ([c7ee996](https://github.com/agrc/kitchen-sink/commit/c7ee9963a08d75133452be2c33e94e26ea52b7df)) +* **homebutton:** allow custom actions when pressed ([d9c94bd](https://github.com/agrc/kitchen-sink/commit/d9c94bd76ba1a98975aad57e423b758424120ddf)) +* **layer-selector:** add support for basemap configs ([4215005](https://github.com/agrc/kitchen-sink/commit/42150052e22b0ed7c25a010e99935bb019ec0d6f)) +* **layer-selector:** implement onBasemapChange prop ([5fa9528](https://github.com/agrc/kitchen-sink/commit/5fa952829d99812f6d205de2402d4fe948c1aa2c)) +* **menu:** introduce a menu component ([531e18f](https://github.com/agrc/kitchen-sink/commit/531e18f2def8593917b9cc55903d7c4a6251e120)) +* **select:** create select component ([51568e8](https://github.com/agrc/kitchen-sink/commit/51568e807031570f13e389b99aa0394a0492baa1)) +* **sherlock:** convert to typescript ([12fe17d](https://github.com/agrc/kitchen-sink/commit/12fe17def4fa3c3458de5f9866f16715d90d7bbd)) +* **sherlock:** make sure that fields are of type string for feature service provider ([72d1940](https://github.com/agrc/kitchen-sink/commit/72d19407ed08f83560a5e50dd0947d74305d09f2)) +* **slider:** introduce a slider component ([7b3d1d2](https://github.com/agrc/kitchen-sink/commit/7b3d1d234eb39ee9fcdaab29d72da9f41bb0f796)) +* **social-media:** add instagram icon ([ad774e1](https://github.com/agrc/kitchen-sink/commit/ad774e11591311379dfa81db199724942baf132b)) +* **spinner:** introduce a busy bar ([8f98ea0](https://github.com/agrc/kitchen-sink/commit/8f98ea0ca717d77271bbc787c8daf942dd59f70d)) +* **switch:** introduce switch component ([3fb6c76](https://github.com/agrc/kitchen-sink/commit/3fb6c767012ca9623f732003004c5c91ba5b7f2f)) +* **tabs:** introduce new tabs component ([f05231a](https://github.com/agrc/kitchen-sink/commit/f05231aa79956edc2f595dc7159af96e24962f6c)), closes [#347](https://github.com/agrc/kitchen-sink/issues/347) +* **tags:** introduce a tag group component ([2da8446](https://github.com/agrc/kitchen-sink/commit/2da8446225892ec1ee7e2f0bc06e21592cb38ecd)), closes [#287](https://github.com/agrc/kitchen-sink/issues/287) +* **textarea:** create text area component ([2d8673c](https://github.com/agrc/kitchen-sink/commit/2d8673c82634e69b8870b7d43b4a963285123be1)) +* **textfield:** add required * when isRequired ([51152cf](https://github.com/agrc/kitchen-sink/commit/51152cfc7d0463b151634ddb89ac3026d9e2edd7)) +* **toggle-button:** introduce a toggle button ([4f0997e](https://github.com/agrc/kitchen-sink/commit/4f0997ef1b26f82990ebac6d9a4c9d98a4011dc9)) +* **uds:** add firebase functions and firestore providers ([39f8004](https://github.com/agrc/kitchen-sink/commit/39f80045641509573d103622bfb425d5b7ff0e5d)) +* **uds:** add ky options to sherlock feature service provider ([2c61b76](https://github.com/agrc/kitchen-sink/commit/2c61b76f19ca7f16e48168ff052ebc42b74fb2c1)) +* **uds:** auto-connect to firebase auth emulators in dev ([eb79861](https://github.com/agrc/kitchen-sink/commit/eb7986164f2072e13237116659144a87d83fe87c)) +* **uds:** create ToggleButtonGroup component ([7d023f5](https://github.com/agrc/kitchen-sink/commit/7d023f5263e2cf0f58d5916c32c0519e295f9bb6)) +* **uds:** implement size prop for Drawer ([475d95d](https://github.com/agrc/kitchen-sink/commit/475d95d3544cf2a864465f2180f81b46c145b729)) +* **uds:** introduce a firebase storage provider ([24a778f](https://github.com/agrc/kitchen-sink/commit/24a778f3788b6ebe96a900ea54129a17438e96fe)) +* **uds:** introduce a tooltip component ([ceedbed](https://github.com/agrc/kitchen-sink/commit/ceedbed6024b6caf9444e8b15284772ecb2551f6)) +* **utahid:** add utahid login button ([ce51a50](https://github.com/agrc/kitchen-sink/commit/ce51a504b2b0c3e068d89504af913cab58ee9fb6)) +* **utahid:** allow size to be passed through to the button ([9d6ad92](https://github.com/agrc/kitchen-sink/commit/9d6ad92651585c69ba2505f708479a2d7583ff78)) +* **utahidlogin:** add continue with treatment to login button and display errors ([2ac79df](https://github.com/agrc/kitchen-sink/commit/2ac79df028e233266f5da07e90fa8df6257bdb4a)) + + +### Bug Fixes + +* **button:** move hover to enabled status to remove hover on disabled buttons ([291308b](https://github.com/agrc/kitchen-sink/commit/291308bbcfe4e686158a0c913225031be2ab756c)) +* **button:** remove hover states when disabled ([2c2b01f](https://github.com/agrc/kitchen-sink/commit/2c2b01f944376451ca41da3249ce23cdbe6eef36)) +* **contexts:** align type with header ([75dedde](https://github.com/agrc/kitchen-sink/commit/75dedde607b48071026aafc16a9943e2e453cfa4)) +* **design-system:** add missing export for Avatar component ([9ce0cff](https://github.com/agrc/kitchen-sink/commit/9ce0cff088de7786a009b47e8b5bd1d0bab5f67a)) +* **design-system:** add missing exports ([e178534](https://github.com/agrc/kitchen-sink/commit/e178534fc4db95cb72449d789d3d93f73f144238)) +* **design-system:** fix file type ([1655aad](https://github.com/agrc/kitchen-sink/commit/1655aadd502686f41d5a8a542efb877b0d062888)) +* **design:** correct type location ([9cd3fea](https://github.com/agrc/kitchen-sink/commit/9cd3fea37dc020c7bcc68a5b269f2fc7bde93413)), closes [#294](https://github.com/agrc/kitchen-sink/issues/294) +* don't build the package ([4562da0](https://github.com/agrc/kitchen-sink/commit/4562da0dac36154726595aee14699d0027b163dc)) +* **drawer:** fix layout for full screen tray ([ffc0e7e](https://github.com/agrc/kitchen-sink/commit/ffc0e7e3a40e718181cd22d3125185022836fc21)), closes [#343](https://github.com/agrc/kitchen-sink/issues/343) +* **drawer:** simplify and fix draw trigger alignment ([6b8d0c1](https://github.com/agrc/kitchen-sink/commit/6b8d0c15f316712a6e46e78e5a01871ef5431943)) +* **drawer:** update css to remove extra scrollbars ([ce4673e](https://github.com/agrc/kitchen-sink/commit/ce4673e90cd08908ea9f81c07836af9dc8ffdd17)) +* **fileinput:** fix a11y issue with a disconnect between the label and hidden input ([e3f7234](https://github.com/agrc/kitchen-sink/commit/e3f723420f9c37a41f292d05306d6785411a09a1)) +* **fileinput:** fix description contrast in dark mode ([2280834](https://github.com/agrc/kitchen-sink/commit/228083410f55780ac62a39b7b92d700ba3c05d8d)) +* **footer:** style all links properly ([a3bf877](https://github.com/agrc/kitchen-sink/commit/a3bf877024827d07996934c51c5b23bb2ff6a413)) +* **footer:** upgrade deprecated type ([496431e](https://github.com/agrc/kitchen-sink/commit/496431e7c7eb7b990ee35bdf1205f0ae23cc909d)) +* **geocode:** correct states for invalid requests ([30c0918](https://github.com/agrc/kitchen-sink/commit/30c091821dcad58e36bd165e6f5029cf9549342b)) +* **geocode:** improve typescript types ([9ae5b92](https://github.com/agrc/kitchen-sink/commit/9ae5b92c19ac1b196b3107ac6413d6e537b263d2)) +* **geocode:** remove console.log ([4419c24](https://github.com/agrc/kitchen-sink/commit/4419c2445b078fdb61e391cbe4b82713f8b0d796)) +* **geocode:** update types ([fb496f1](https://github.com/agrc/kitchen-sink/commit/fb496f16351369c9ea39787162db6ce0f278e5fc)) +* **header:** align type with auth provider ([a95b077](https://github.com/agrc/kitchen-sink/commit/a95b07702c31c3ce7443ad89b95cad98608a76ae)) +* **header:** allow auth props to be undefined ([a2634ad](https://github.com/agrc/kitchen-sink/commit/a2634ad445d3c9c34a677cda37c8b2a22688652f)) +* **header:** correct typescript syntax ([18a1d1e](https://github.com/agrc/kitchen-sink/commit/18a1d1ed3314270582ad08b5f3335025290f0613)) +* **header:** make layout more friendly for smaller screens ([594b8c2](https://github.com/agrc/kitchen-sink/commit/594b8c254c99de1d50bcf36e476befc46f459051)) +* **header:** move auth out of header and accept as a parameter ([6fd21c3](https://github.com/agrc/kitchen-sink/commit/6fd21c3f50e3b98ddcbade07d470a189b99af2a9)) +* **header:** set target _blank for external links ([82c465f](https://github.com/agrc/kitchen-sink/commit/82c465fbe213dda9aa9de3565e5ac8f16b204d6c)) +* **header:** update types since authentication is optional and overlay state is a prop ([9b1d380](https://github.com/agrc/kitchen-sink/commit/9b1d380ce67957ce2d58007a14a698945c9e1905)) +* **hooks:** correct position type on useViewUiPosition ([d75aed8](https://github.com/agrc/kitchen-sink/commit/d75aed8eb0d060b2d85a274238f2b226ece7f47d)) +* **layer-selector:** add guards against adding duplicate layers ([2aee0a0](https://github.com/agrc/kitchen-sink/commit/2aee0a0b2024110bd0dad76a88b1d68198b26a44)) +* **layer-selector:** color ir only goes through level 18 ([77b0880](https://github.com/agrc/kitchen-sink/commit/77b0880a3543333838c51c71eaf243d432c4e859)) +* **layer-selector:** fix incorrect default focus ([40c597a](https://github.com/agrc/kitchen-sink/commit/40c597af4f4ff0a801ebc696668b302482106217)) +* **layer-selector:** fix lods to better reflect the current situation ([208247b](https://github.com/agrc/kitchen-sink/commit/208247be47fb29b5fe9fca92aac5213e6bb3d72a)) +* **layer-selector:** give position prop a default value and better map init ([eb25d5e](https://github.com/agrc/kitchen-sink/commit/eb25d5ed3b01f50c88cf9982d5c52e54dd6f0998)) +* **layer-selector:** handle view.map becoming nullish ([1878770](https://github.com/agrc/kitchen-sink/commit/187877074b95e5b56298d453b4f0a94207d50da8)) +* **layer-selector:** hide overlays header if none are defined ([fe18c0c](https://github.com/agrc/kitchen-sink/commit/fe18c0c39b6ec5923422b560b101781c75d46bc2)) +* **layer-selector:** prevent duplicate layers from being added to the map ([a597673](https://github.com/agrc/kitchen-sink/commit/a597673ad7c37f8c5a10bc4870887984b118f4b7)) +* **layer-selector:** remove unnecessary zoom when changing layers ([0cd9473](https://github.com/agrc/kitchen-sink/commit/0cd947326a70c43e617338ad7e9e242e783bf810)) +* **layer-selector:** switch from toggling visibility to add/remove ([086dae9](https://github.com/agrc/kitchen-sink/commit/086dae9eead0d1d0b2f97f57af42bb0fb1518393)) +* **layer-selector:** switch from webmap to directly layer create for Terrain token in basemap prop ([f8e4f44](https://github.com/agrc/kitchen-sink/commit/f8e4f449d3281f59a24bc898bce4765ee8e20f5e)) +* **modal:** handling scrolling on smaller devices ([bdfd196](https://github.com/agrc/kitchen-sink/commit/bdfd1967562aa63dcf7dff8c2e8fd456f597b0a3)) +* **monorepo:** typescript types during build ([b94ae6b](https://github.com/agrc/kitchen-sink/commit/b94ae6b516ed85ac41656b8c10ca5775692c9e49)), closes [#278](https://github.com/agrc/kitchen-sink/issues/278) [#277](https://github.com/agrc/kitchen-sink/issues/277) +* point to the built package ([414dc9a](https://github.com/agrc/kitchen-sink/commit/414dc9a9be6a63612b65bcea4ae7a95607be5a68)) +* **sherlock:** add extensions to [@arcgis](https://github.com/arcgis) imports ([f3d03a4](https://github.com/agrc/kitchen-sink/commit/f3d03a40b3f6407f9d7024ee37dda751121aea35)) +* **sherlock:** add service default spatial reference to features ([517a93b](https://github.com/agrc/kitchen-sink/commit/517a93b6a725d90490a6f3eb287158d98d6df88b)) +* **sherlock:** allow contextField to be optional on the ugrcApiProvider ([29f5026](https://github.com/agrc/kitchen-sink/commit/29f5026cda38bccf70c44a7b7f47ece772bc58e9)) +* **sherlock:** correct get feature query ([e82d184](https://github.com/agrc/kitchen-sink/commit/e82d1841534c295a788d16e6c17a7de0052d1e9e)) +* **sherlock:** eliminate duplicate results for feature service provider ([4860e0a](https://github.com/agrc/kitchen-sink/commit/4860e0a1b161f8b997e9f6ff22a240e570aefcf7)) +* **sherlock:** make error message visible and guard against fetch errors ([8b40960](https://github.com/agrc/kitchen-sink/commit/8b40960fec09e21db732ec9ea01f3cc431b4bcc5)) +* **sherlock:** order search results for map service provider ([5ce5bda](https://github.com/agrc/kitchen-sink/commit/5ce5bdadca61a98357a87b718eb22469146c1d71)) +* **sherlock:** remove aria hidden from group element ([5f4a2a9](https://github.com/agrc/kitchen-sink/commit/5f4a2a9707f732f4d12b5bb1feb76f386c5087ce)) +* **sherlock:** spatial reference is a prop of geometry, not graphic ([e90946c](https://github.com/agrc/kitchen-sink/commit/e90946c3d20986387a9eeb9014fc7dc1deaa4150)) +* **sherlock:** use new value for attribute style for web api ([d3e9574](https://github.com/agrc/kitchen-sink/commit/d3e95743ecaa9b1a4c29989c248799f492ff6cd9)) +* **social-media:** remove buzzsprout ([be6433a](https://github.com/agrc/kitchen-sink/commit/be6433aa1cc1950beb30e3b3d06e5f38e02ca4a7)) +* **social-media:** replace link component with native anchor tag ([1dcd020](https://github.com/agrc/kitchen-sink/commit/1dcd02046ead9ac2fc80150fbe6cf2838ead6de9)) +* **spinner:** add a shorter default delay ([dda6c20](https://github.com/agrc/kitchen-sink/commit/dda6c2092b55cc9effc33bff0890a14e68a263b4)) +* **spinner:** make minDelay generic ([5002607](https://github.com/agrc/kitchen-sink/commit/5002607e6b78d40c131358754fbaf35c4b6348f2)) +* **tabs:** disabled tabs should be hidden ([bf23a84](https://github.com/agrc/kitchen-sink/commit/bf23a84b846f5436bc4abf02d433e350dcea19da)) +* **TagGroup:** add disabled to compound variant ([fba13db](https://github.com/agrc/kitchen-sink/commit/fba13dbfd51b877b6570bed1b5e3b71f3b137d6d)) +* **textfield:** allow input props to be passed through ([df03c1f](https://github.com/agrc/kitchen-sink/commit/df03c1f7f4a8ff0bb8a350e5960c13aac65516ee)), closes [#396](https://github.com/agrc/kitchen-sink/issues/396) +* **uds:** add missing import to barrel file ([471c31a](https://github.com/agrc/kitchen-sink/commit/471c31ac62fd3254e86990391d4e1321de17a5d3)) +* **uds:** allow custom styles for Banner ([8a3b333](https://github.com/agrc/kitchen-sink/commit/8a3b333df99bf3089132fc2abf720d09f0466cc4)) +* **uds:** export firebase storage context ([83fa31d](https://github.com/agrc/kitchen-sink/commit/83fa31d7c01c1c297513dffd36cf01fb3fe7c55d)) +* **uds:** fix sidebar toggle button alignment ([c64f6e3](https://github.com/agrc/kitchen-sink/commit/c64f6e3e2ff1ec62d1f966c9044c3d3aafc7b30b)) +* **uds:** fix type errors that are only showing up in project checks ([9876b84](https://github.com/agrc/kitchen-sink/commit/9876b848fc9e7d796548313e2b7308bfb96762e2)) +* **uds:** fix typescript check errors after applying new tsconfig ([afc8703](https://github.com/agrc/kitchen-sink/commit/afc8703c2d5924e163b380f3a0b54fb131d438af)) +* **uds:** make prop types match check ([b0c5553](https://github.com/agrc/kitchen-sink/commit/b0c55531ca4be40638bd137aab69f4794266bab9)) +* **uds:** pass aria labels to hooks to prevent warnings in console ([3f12588](https://github.com/agrc/kitchen-sink/commit/3f12588433594df57a82e82b663605bf91e87db5)) +* **uds:** remove no longer necessary prop types ([b0a8dbf](https://github.com/agrc/kitchen-sink/commit/b0a8dbf6cd9d1f3349e7e122339d9eb7f7547ac8)) +* **uds:** reorder and remove react-dom ([9557eab](https://github.com/agrc/kitchen-sink/commit/9557eab91297306db2bdb6c46ca14df0105b624a)) +* **uds:** use correct dependency versions for tailwind 3 ([03691e5](https://github.com/agrc/kitchen-sink/commit/03691e52b94fda119755e8a12a57fd9ce3299863)) +* update typescript type path ([0533a21](https://github.com/agrc/kitchen-sink/commit/0533a210bb6b1311a16493e2b6dd2bc691d4854c)) +* **utahid:** optimize svg ([3c7d72c](https://github.com/agrc/kitchen-sink/commit/3c7d72c8d48457e11a49c10aa70177d41233e8be)) + +## [2.0.0](https://github.com/agrc/kitchen-sink/compare/utah-design-system-v1.34.1...utah-design-system-v2.0.0) (2026-02-03) ### Bug Fixes diff --git a/packages/utah-design-system/package.json b/packages/utah-design-system/package.json index 17139833..93962cbe 100644 --- a/packages/utah-design-system/package.json +++ b/packages/utah-design-system/package.json @@ -1,6 +1,6 @@ { "name": "@ugrc/utah-design-system", - "version": "1.34.2", + "version": "2.1.0", "private": false, "description": "This is a collection of react components for implementing the [Utah Design System](https://designsystem.utah.gov).", "keywords": [