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: use CSS vars in focus-ring (fakeFocus) #2109

Merged
merged 2 commits into from
Mar 17, 2023
Merged

Conversation

tujoworker
Copy link
Member

@tujoworker tujoworker commented Mar 17, 2023

This change makes things more flexible in terms of theming.

The actual changes are in this commit.

I play with some thoughts of renaming fakeFocus to focusRing. Should we do that?

@netlify
Copy link

netlify bot commented Mar 17, 2023

Deploy Preview for eufemia ready!

Name Link
🔨 Latest commit 7d9eddc
🔍 Latest deploy log https://app.netlify.com/sites/eufemia/deploys/641419d61620d9000863f235
😎 Deploy Preview https://deploy-preview-2109--eufemia.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 7d9eddc:

Sandbox Source
eufemia-starter Configuration

Copy link
Contributor

@langz langz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great 👍

Yeah, I do also think it makes sense to rename, so that the CSS vars sort of match the mixin name, I vote for that 👨‍🚀

@tujoworker tujoworker merged commit 21defb5 into v10 Mar 17, 2023
@tujoworker tujoworker deleted the feat/focus-ring branch March 17, 2023 08:17
@tujoworker
Copy link
Member Author

I vote for that 👨‍🚀

Here is a PR #2110

joakbjerk pushed a commit that referenced this pull request Mar 27, 2023
* style: use CSS custom properties for focus-ring

* Update snapshots
tujoworker pushed a commit that referenced this pull request May 5, 2023
## [10.0.0-beta.3](v10.0.0-beta.2...v10.0.0-beta.3) (2023-05-05)

### ⚠ BREAKING CHANGES

* **Anchor:** Anchor was moved form `/elements` to `/components`
* **StylisPlugin:** Stylis plugin, `import stylisPlugin from '@dnb/eufemia/style/stylis'`, has been removed.
* - The package `dnb-theme-ui` was renamed to `dnb-theme-basis`.
- The package `dnb-ui-components` was renamed and moved inside a theme `/style/themes/theme-ui/dnb-theme-components.*`.
- `dnb-ui-tags` was renamed and moved form `/style/dnb-ui-tags.*` to `/style/themes/theme-ui/dnb-theme-tags.*`.
* SCSS mixin was renamed from `fakeFocus` to `focusRing` as well as `removeFakeFocus` to `removeFocusRing`.
*

### 💈 Style Changes

* move :root vars into their component itself ([#2102](#2102)) ([7dfc1fb](7dfc1fb))

### 📝 Documentation

* add docs about how to maintain theming ([#2097](#2097)) ([b8f3856](b8f3856))
* add link to new Payment Card Figma file ([#2117](#2117)) ([a841699](a841699))
* add new styles flow diagram ([201611b](201611b))
* adds a dot to quick guide - designers ([#2157](#2157)) ([44f6852](44f6852))
* **Anchor:** fix console warning when using class ([#2125](#2125)) ([e8fcd06](e8fcd06))
* **Autocomplete:** minor spelling improvements ([#2197](#2197)) ([b464ab1](b464ab1))
* **Autocomplete:** refactor jsx examples to tsx ([#2198](#2198)) ([0951682](0951682))
* **Autocomplete:** update docs about the debounce method ([#2138](#2138)) ([119c366](119c366))
* **Best Practices:** adds a dot ([#2151](#2151)) ([629b74f](629b74f))
* **Best Practices:** adds links to children pages ([#2161](#2161)) ([211422e](211422e))
* capitalize component names in descriptions ([#2162](#2162)) ([b96a2f2](b96a2f2))
* **ColorsTable:** fixes color and hover effect ([#2122](#2122)) ([904ba50](904ba50))
* crate main doc for how to deal with brand ([#2100](#2100)) ([0144b5c](0144b5c))
* **CSS Styles:** fix console warning when using class ([#2127](#2127)) ([c1d40b3](c1d40b3))
* **Customization:** adds link to provider/context ([#2160](#2160)) ([2da2eae](2da2eae))
* **DatePicker:** refactor jsx examples to tsx ([#2204](#2204)) ([853cea4](853cea4))
* **Demo Apps:** fix console warning when using class ([#2126](#2126)) ([a800b78](a800b78))
* **DrawerList:** prevents change of direction when scrolling ([#2233](#2233)) ([757cb60](757cb60))
* **DrawerList:** refactor jsx examples to tsx ([#2209](#2209)) ([168cf9a](168cf9a))
* **DrawerList:** renamse fixedPosition to fixed_position ([#2093](#2093)) ([27c3a2d](27c3a2d))
* **Font Weights:** fix console warning when using class ([#2132](#2132)) ([63f3c1d](63f3c1d))
* **FormLabel:** improve description of vertical prop ([#2098](#2098)) ([7f0caee](7f0caee))
* **FormRow:** refactor jsx examples to tsx ([#2219](#2219)) ([06b5406](06b5406))
* **FormSet:** refactor jsx examples to tsx ([#2208](#2208)) ([76d2c30](76d2c30))
* **Fragments:** minor docs improvement ([#2232](#2232)) ([80a964c](80a964c))
* **Front Page:** minor text improvements ([#2139](#2139)) ([34863b9](34863b9))
* **GlobalStatus:** refactor jsx examples to tsx ([#2202](#2202)) ([71bca1c](71bca1c))
* **Heading:** refactor jsx examples to tsx ([#2205](#2205)) ([44e2a39](44e2a39))
* **Helpers:** Adds info about dnb-unstyled-list in info page ([#2171](#2171)) ([da81526](da81526))
* **HTML Elements:** move mdx of unstyled and unsupported to elements.mdx ([#2154](#2154)) ([90d5a3a](90d5a3a))
* **Icon Details:** fix console warning when using class ([#2128](#2128)) ([3698816](3698816))
* **Icons:** link to v10 docs ([#2182](#2182)) ([7eaf2d1](7eaf2d1))
* **InputMasked:** refactor jsx examples to tsx ([#2207](#2207)) ([ffb5ad0](ffb5ad0))
* **Logos:** fix console warning in console ([#2123](#2123)) ([979e8d0](979e8d0))
* **Modal:** refactor jsx examples to tsx ([#2218](#2218)) ([278b24b](278b24b))
* **Naming conventions:** fix console warning when using class ([#2129](#2129)) ([da19575](da19575))
* remove docs about CSS vars polyfills ([#2145](#2145)) ([766968e](766968e))
* remove docs about importing from @dnb/eufemia/elements ([#2173](#2173)) ([21678c3](21678c3))
* **ScrollView:** controll -> control ([#2225](#2225)) ([31fff2c](31fff2c))
* **ScrollView:** refactor jsx examples to tsx ([#2210](#2210)) ([5787b12](5787b12))
* **ScrollView:** sets Description as header in docs ([#2168](#2168)) ([d998f4f](d998f4f))
* **Skeleton:** refactor jsx examples to tsx ([#2203](#2203)) ([2bfbaef](2bfbaef))
* **SkipContent:** refactor jsx examples to tsx ([#2211](#2211)) ([1f9e2f4](1f9e2f4))
* **Space:** refactor jsx examples to tsx ([#2199](#2199)) ([d369ab5](d369ab5))
* **Space:** refactor jsx properties to tsx ([#2216](#2216)) ([bc88149](bc88149))
* **Table:** refactor jsx examples to tsx ([#2206](#2206)) ([97bb44d](97bb44d))
* **Timeline:** fix broken link to example ([#2241](#2241)) ([202e7eb](202e7eb))
* **ToggleButton:** removes outdated label_position docs ([#2141](#2141)) ([c3f168b](c3f168b))
* **TypeScript:** remove outdated docs ([#2124](#2124)) ([0f9f62f](0f9f62f))
* **Typography:** fix console warning when using class ([#2133](#2133)) ([5551d92](5551d92))
* **Typography:** hast -> has ([#2221](#2221)) ([de710b2](de710b2))

### 🐛 Bug Fixes

* **Button:** align large icon size to be same as in Figma ([#2239](#2239)) ([2f9a287](2f9a287))
* **Button:** support for FormRow and FormSet ([#2147](#2147)) ([59f0a22](59f0a22))
* **DatePicker:** fix text prop for submit and cancel buttons ([#2254](#2254)) ([8633cd1](8633cd1))
* **Datepicker:** reset and cancel button gap ([f3d0579](f3d0579))
* **DatePicker:** shortcut buttons ([#2266](#2266)) ([5b95305](5b95305))
* **InputMasked:** on custom mask – avoid interaction stall after focus ([#2269](#2269)) ([02caccb](02caccb))
* **NumberFormat:** hide screen reader only text from being copied as HTML ([#2240](#2240)) ([f8fe6c3](f8fe6c3))
* remove FormRow context support from components not using FormRow ([#2103](#2103)) ([3a39134](3a39134))
* **ToggleButton:** fixes error when pressing enter ([#2183](#2183)) ([37b2e45](37b2e45))

### ✨ Features

* add shared Theme component and useTheme hook ([#2112](#2112)) ([10a5f5e](10a5f5e))
* **Anchor:** create styles for Sbanken ([#2250](#2250)) ([330f97e](330f97e))
* **Anchor:** move from elements to components ([#2275](#2275)) ([c6261cd](c6261cd))
* **Icons:** add new icons `handshake`, `heavy_equipment`, `id_card`, `investment_account`, `keyfigures`, `portfolio_analytics`, `sea_transport`, `shield_lock`, `file_zip`, `bus`, `building_shopping`, `handshake`, `heavy_equipment` ([#2178](#2178)) ([80d4b9d](80d4b9d))
* **Icons:** move all icons assets to `dnb` subfolder: assets/icons/dnb/*.svg ([#2187](#2187)) ([5513ca8](5513ca8))
* **Icons:** remove iOS (PDF) icons library support ([#2170](#2170)) ([c238f6d](c238f6d))
* **Logo:** Add brand and variant params for Sbanken logo ([#2271](#2271)) ([e850b25](e850b25))
* move `dnb-ui-tags` to themes ([#2140](#2140)) ([0da5214](0da5214))
* move browser assets to dnb subfolder ([#2083](#2083)) ([005c123](005c123))
* move DNB icons to subfolder (with v9 compatibility) ([#2200](#2200)) ([94381b4](94381b4))
* move dnb image assets to own subfolder ([#2099](#2099)) ([213f6c2](213f6c2))
* **PaymentCard:** new card designs & new products ([#2264](#2264)) ([c7f9c67](c7f9c67))
* **PaymentCard:** rename type Metalic to Metallic ([#2226](#2226)) ([cc4498b](cc4498b))
* rename SCSS mixin `fakeFocus` to `focusRing` ([#2110](#2110)) ([8c27aeb](8c27aeb))
* simplify CSS packages/themes structure ([f44fc0b](f44fc0b))
* **Skeleton:** removes style_type prop ([#2095](#2095)) ([c7cdadb](c7cdadb))
* **StylisPlugin:** removes stylis plugin ([#2156](#2156)) ([fa42b39](fa42b39))
* **Theming:** add `VisibilityByTheme` as a shared component ([#2280](#2280)) ([49b3f9a](49b3f9a))
* **Typography:** add `--line-height-lead` property ([#2237](#2237)) ([bbd49ce](bbd49ce))
* **Typography:** remove small prop from paragraph (p) ([#2234](#2234)) ([b8cf2de](b8cf2de))
* use CSS vars in focus-ring (`fakeFocus`) ([#2109](#2109)) ([21defb5](21defb5))
@tujoworker
Copy link
Member Author

🎉 This PR is included in version 10.0.0-beta.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

langz pushed a commit that referenced this pull request May 31, 2023
* style: use CSS custom properties for focus-ring

* Update snapshots
tujoworker added a commit that referenced this pull request May 31, 2023
* style: use CSS custom properties for focus-ring

* Update snapshots
tujoworker added a commit that referenced this pull request May 31, 2023
* style: use CSS custom properties for focus-ring

* Update snapshots
tujoworker added a commit that referenced this pull request May 31, 2023
* style: use CSS custom properties for focus-ring

* Update snapshots
tujoworker added a commit that referenced this pull request May 31, 2023
* style: use CSS custom properties for focus-ring

* Update snapshots
tujoworker pushed a commit that referenced this pull request Jun 1, 2023
## [10.0.0](v9.47.6...v10.0.0) (2023-06-01)

### ⚠ BREAKING CHANGES

* **Anchor:** Anchor was moved form `/elements` to `/components`
* **StylisPlugin:** Stylis plugin, `import stylisPlugin from '@dnb/eufemia/style/stylis'`, has been removed.
* - The package dnb-theme-ui was renamed to ui-theme-basis.
- The package dnb-ui-components was renamed and moved inside a theme /style/themes/theme-ui/ui-theme-components.*.
- dnb-ui-tags was renamed and moved form /style/dnb-ui-tags.* to /style/themes/theme-ui/ui-theme-tags.*.
* SCSS mixin was renamed from `fakeFocus` to `focusRing` as well as `removeFakeFocus` to `removeFocusRing`.
*
* - CSS Packages such as `dnb-ui-basis` and `dnb-ui-core` do not contain the fonts anymore. Fonts are now only a part of a theme file, such as: `/style/themes/theme-ui/dnb-theme-ui.*`.
- The CSS package `dnb-ui-fonts` is moved inside a theme folder `/themes/theme-ui`
* The DNB font is moved inside a subfolder in /assets/fonts/dnb/...
* **Modal:** - Modal: Remove deprecated `mode` prop – it will default to `custom` mode. Use rather the `Dialog` or the `Drawer` component.
* Remove support for Web Components and Vue
* re-define Media Query Breakpoints and layout width
* Read the docs about migration: https://eufemia.dnb.no/uilib/about-the-lib/releases/eufemia/v10-info

* remove web components and vue support (#1946) ([ab7379e](ab7379e)), closes [#1946](#1946)
* re-define Media Query Breakpoints and layout width (#1373) ([e0a11ce](e0a11ce)), closes [#1373](#1373)
* v10 ([b7d6348](b7d6348))

### 💈 Style Changes

* **Button:** smaller tertiary button focus effect for Sbanken ([#2319](#2319)) ([aa3ab7d](aa3ab7d))
* move :root vars into their component itself ([#2102](#2102)) ([60a53fe](60a53fe))

### 🐛 Bug Fixes

* **Accordion:** enhance TypeScript type definitions ([035c0fb](035c0fb))
* **Anchor:** comments Anchor's inner_ref usage ([#1919](#1919)) ([b3623e9](b3623e9))
* **Anchor:** ensure id is passed down ([#2016](#2016)) ([e8efd09](e8efd09))
* **Autocomplete:** add HorizontalItem TypeScript type definition ([f97f6ea](f97f6ea))
* **Badge:** enhance semantic / accessibility and inherit skeleton from provider ([#1967](#1967)) ([42e20a7](42e20a7))
* **Button:** align large icon size to be same as in Figma ([#2239](#2239)) ([33e41e7](33e41e7))
* **Button:** fix icon alignment issue when left positioned ([#2371](#2371)) ([9250f15](9250f15))
* **Button:** remove left and right padding of tertiary button ([88bec0c](88bec0c))
* **DatePicker:** fix text prop for submit and cancel buttons ([#2254](#2254)) ([b5f1bfa](b5f1bfa))
* **DatePicker:** make focus handling on input work on second click ([#2039](#2039)) ([7a66806](7a66806))
* **Datepicker:** reset and cancel button gap ([6056009](6056009))
* **DatePicker:** shortcut buttons ([#2266](#2266)) ([eb79f77](eb79f77))
* **Dialog:** make action buttons responsive ([#2373](#2373)) ([3e1f146](3e1f146))
* **Dl:** ensure horizontal wrap no matter what available space ([#1965](#1965)) ([8e5729a](8e5729a))
* **DrawerList:** enhance TypeScript definition types ([5f7fd54](5f7fd54))
* **Dropdown:** enhance TypeScript definition types ([514f6fa](514f6fa))
* enhance scrollbar appearance ([#2046](#2046)) ([237331a](237331a))
* fix breadcumb alignment after tertiary button changes ([9f4a9a6](9f4a9a6))
* fix pagination alignment after tertiary button changes ([037a391](037a391))
* **GlobalStatus:** enhance TypeScript definition types ([dc58836](dc58836))
* **Heading:** enhance TypeScript definition types ([c3c736b](c3c736b))
* **Icon:** enhance alignment when used in paragraphs ([#2368](#2368)) ([78cc1e4](78cc1e4))
* **IconPrimary:** correct ts file extension usage ([#2289](#2289)) ([ad485bc](ad485bc))
* **InfoCard:** enhance accessibility + set max width of 60ch ([#1977](#1977)) ([e2075f3](e2075f3))
* **InputMasked:** expose inner_ref input element when useRef is used ([#2042](#2042)) ([b52bbe0](b52bbe0))
* **InputMasked:** fix integerLimit issue when combined with decimals ([#2338](#2338)) ([04c30e9](04c30e9))
* **InputMasked:** on custom mask – avoid interaction stall after focus ([#2269](#2269)) ([aa0300f](aa0300f))
* make docs/portal Windows compatible by properly handle backslashes and newlines ([#2038](#2038)) ([1196819](1196819))
* **MediaQuery:** enhance TypeScript types ([d93bd54](d93bd54))
* **Modal:** make children accept function with close method in parameters ([#2015](#2015)) ([bacc1f1](bacc1f1))
* **NumberFormat:** fix tooltip theme inheritance ([#2354](#2354)) ([ddffa58](ddffa58))
* **NumberFormat:** hide screen reader only text from being copied as HTML ([#2240](#2240)) ([26b6039](26b6039))
* omit showing Tooltip after Dialog or Drawer got closed ([#2375](#2375)) ([1c41dfe](1c41dfe))
* **Pagination:** enhance Pagination and InfinityScroller TypeScript definitions ([5a7de9d](5a7de9d))
* **Pagination:** fix hover style state after click to be emerald-green ([#2032](#2032)) ([2c399e8](2c399e8))
* remove `maintained node versions` from .browserslistrc ([#1917](#1917)) ([3e9b0d8](3e9b0d8)), closes [#1912](#1912)
* remove FormRow context support from /elements ([#2031](#2031)) ([6560a80](6560a80))
* **ScrollView:** avoid usage of useLayoutEffect during SSR ([#2012](#2012)) ([6246afc](6246afc))
* **Skeleton:** add Skeleton.Exclude types ([b9512ff](b9512ff))
* **StepIndicator:** fix TypeScript spacing types ([c304d47](c304d47))
* **Timeline:** use ordered list element ([#1962](#1962)) ([bfc3004](bfc3004))
* **ToggleButton:** fixes error when pressing enter ([#2183](#2183)) ([da95ee4](da95ee4))
* upgrade Stylelint from v13 to v15 ([#1995](#1995)) ([b4ca07c](b4ca07c))
* **VisuallyHidden:** force properties to overcome unwanted CSS specificity ([#2366](#2366)) ([ed088de](ed088de))

### ✨ Features

* **Accordion:** export type AccordionIconPosition ([ff05f9f](ff05f9f))
* add shared Theme component and useTheme hook ([#2112](#2112)) ([9f88b71](9f88b71))
* **Anchor:** add `scrollToHash` feature ([#2290](#2290)) ([246eaa9](246eaa9)), closes [#2286](#2286)
* **Anchor:** always show focus when `dnb-anchor--focus` is used ([#2364](#2364)) ([541e889](541e889))
* **Anchor:** create styles for Sbanken ([#2250](#2250)) ([208e891](208e891))
* **Anchor:** deprecate property target_blank_title ([#1882](#1882)) ([065321e](065321e))
* **Anchor:** move from elements to components ([#2275](#2275)) ([fdb5680](fdb5680))
* **Anchor:** remove horizontal padding ([#2365](#2365)) ([106c02f](106c02f))
* **Anchor:** Sbanken styling, added icon props ([#2318](#2318)) ([c6dcd03](c6dcd03))
* **Autocomplete:** export AutocompleteData type ([#2299](#2299)) ([0315b14](0315b14))
* **Autocomplete:** export AutocompleteOptionsRender type ([#2300](#2300)) ([becf345](becf345))
* build pure component css packages (without deps) ([#1928](#1928)) ([0af6b60](0af6b60))
* **build:** replace node-sass with dart-sass ([#1934](#1934)) ([87f918f](87f918f))
* **Button:** export type ButtonIcon ([bb4d70e](bb4d70e))
* **Button:** sbanken styling ([#2273](#2273)) ([f53faa0](f53faa0))
* **Checkbox:** deprecate default_state property ([#1863](#1863)) ([a022de3](a022de3))
* deprecate StepIndicator v1 ([#1840](#1840)) ([33d6fc2](33d6fc2))
* **Dialog:** adds ReactNode as type for texts ([#2294](#2294)) ([5a18768](5a18768))
* **DrawerList:** remove use_drawer_on_mobile & enable_closest_observer ([#1879](#1879)) ([e1bcfb0](e1bcfb0))
* **Dropdown:** export DropdownData type ([#2298](#2298)) ([81a0619](81a0619))
* **Dropdown:** remove deprecated selected_item property ([#1870](#1870)) ([ac509ca](ac509ca))
* **Element:** deprecate css, class, inner_ref, skeleton_method ([#1859](#1859)) ([5ef5292](5ef5292))
* expose package version ([#2327](#2327)) ([2a51dfc](2a51dfc))
* **FormRow:** remove indent feature ([#1975](#1975)) ([9c69439](9c69439))
* **FormStatus:** remove deprecated status property ([#1914](#1914)) ([75fe76c](75fe76c))
* **GlobalError:** add new styles (no illustrations anymore) ([#2381](#2381)) ([cf18ccd](cf18ccd))
* **GlobalStatus:** add possibility for a custom message (replace `global_status_id` with `globalStatus` prop) ([#2351](#2351)) ([551d87e](551d87e))
* **GlobalStatus:** deprecate AddStatus & Set ([#1891](#1891)) ([680b2c8](680b2c8))
* **H:** deprecate is and style_type properties ([#1856](#1856)) ([41c2ae8](41c2ae8))
* **HelpButton:** remove `modal_props` in favour of `render` ([#2333](#2333)) ([f95e249](f95e249))
* **Helpers:** deprecate .dnb-sr-only--inline & .dnb-not-sr-only ([#1865](#1865)) ([7789778](7789778))
* **Icons:** add new icons `handshake`, `heavy_equipment`, `id_card`, `investment_account`, `keyfigures`, `portfolio_analytics`, `sea_transport`, `shield_lock`, `file_zip`, `bus`, `building_shopping`, `handshake`, `heavy_equipment` ([#2178](#2178)) ([5e57d0d](5e57d0d))
* **Icons:** move all icons assets to `dnb` subfolder: assets/icons/dnb/*.svg ([#2187](#2187)) ([15b19b7](15b19b7))
* **Icons:** remove iOS (PDF) icons library support ([#2170](#2170)) ([6063ff3](6063ff3))
* include all type definitions in repo ([#1996](#1996)) ([a5d07fe](a5d07fe))
* **InputMasked:** ATTENTION! make allowLeadingZeroes default to true ([#1126](#1126)) ([dfddc3a](dfddc3a))
* **Logo:** Add brand and variant params for Sbanken logo ([#2271](#2271)) ([577e9b4](577e9b4))
* **Modal, Dialog, Drawer:** remove closeButtonAttributes ([#1926](#1926)) ([80c69ee](80c69ee))
* **Modal:** remove deprecated mode prop ([#1993](#1993)) ([7769b77](7769b77))
* **Modal:** remove deprecated trigger_ props ([#1918](#1918)) ([0582254](0582254))
* move `dnb-ui-fonts` package inside `/style/themes/theme-ui/` ([9dfa3d6](9dfa3d6))
* move `dnb-ui-tags` to themes ([#2140](#2140)) ([0a49595](0a49595))
* move `properties.scss` into theme ui ([#2035](#2035)) ([dce2a3a](dce2a3a))
* move browser assets to dnb subfolder ([#2083](#2083)) ([e0cf868](e0cf868))
* move DNB font in subfolder ([fdb05f3](fdb05f3))
* move DNB icons to subfolder (with v9 compatibility) ([#2200](#2200)) ([fd23310](fd23310))
* move dnb image assets to own subfolder ([#2099](#2099)) ([4101cca](4101cca))
* new browserslist config for es6 builds ([#1833](#1833)) ([0f02859](0f02859))
* **Number:** Removes component ([#1924](#1924)) ([5ecb3aa](5ecb3aa))
* **Pagination:** replace `page` with `pageNumber` ([3d538da](3d538da))
* **PaymentCard:** new card designs & new products ([#2264](#2264)) ([2e3d790](2e3d790))
* **PaymentCard:** rename type Metalic to Metallic ([#2226](#2226)) ([00c30ea](00c30ea))
* **P:** deprecate style_type property ([#1855](#1855)) ([f45e60c](f45e60c))
* **P:** remove deprecated class dnb-p--ingress ([#1872](#1872)) ([2837e8e](2837e8e))
* remove support for internet explorer ([#1807](#1807)) ([44b3803](44b3803))
* rename SCSS mixin `fakeFocus` to `focusRing` ([#2110](#2110)) ([47b5e47](47b5e47))
* replace visual test driver to jest-image-snapshot and Firefox (Playwright) ([#1945](#1945)) ([6402aa5](6402aa5)), closes [/github.com/puppeteer/puppeteer/issues/7514#issuecomment-1005917527](https://github.com/dnbexperience//github.com/puppeteer/puppeteer/issues/7514/issues/issuecomment-1005917527) [/github.com/dnbexperience/eufemia/blob/88279d1e6903497fce40d6c4322dd9b7c7b9ac3b/packages/dnb-eufemia/src/core/jest/jestSetupScreenshots.js#L39](https://github.com/dnbexperience//github.com/dnbexperience/eufemia/blob/88279d1e6903497fce40d6c4322dd9b7c7b9ac3b/packages/dnb-eufemia/src/core/jest/jestSetupScreenshots.js/issues/L39)
* **ScrollView:** add interactive=auto to observe the content ([#1984](#1984)) ([cc8d37a](cc8d37a))
* **Section:** deprecate style_type signal-orange ([#1886](#1886)) ([9e8dd3f](9e8dd3f))
* simplify CSS packages/themes structure ([c1a7894](c1a7894))
* **Skeleton:** removes style_type prop ([#2095](#2095)) ([3e0f4ce](3e0f4ce))
* **SkipContent:** add new component to skip large contents when using tab key ([#1981](#1981)) ([78dd384](78dd384))
* **Slider:** deprecate use_scrollwheel ([#1889](#1889)) ([ead0a49](ead0a49))
* **Slider:** remove deprecated onInit prop ([#1909](#1909)) ([3b72e9b](3b72e9b))
* **Slider:** remove dnb-range styling ([#1890](#1890)) ([839edd5](839edd5))
* **Space:** add conditional reset class: `dnb-space__reset` ([#1961](#1961)) ([0de26fe](0de26fe))
* **SpacingUtils:** deprecate createStyleObject ([#1892](#1892)) ([385d6d3](385d6d3))
* **StylisPlugin:** removes stylis plugin ([#2156](#2156)) ([8c96969](8c96969))
* **Switch:** deprecate default_state property ([#1864](#1864)) ([03a6bd0](03a6bd0))
* **Table:** deprecate sticky_offset ([#1883](#1883)) ([57c10d0](57c10d0))
* **Tags:** removed deprecated comments ([#1857](#1857)) ([9c17d75](9c17d75))
* **Theme:** add `darkMode` and `contrastMode` props ([#2355](#2355)) ([04b350e](04b350e))
* **Theming:** add `VisibilityByTheme` as a shared component ([#2280](#2280)) ([2592658](2592658))
* **Timeline:** deprecate name and date props ([#1884](#1884)) ([74f56b1](74f56b1))
* **Typography:** add `--line-height-lead` property ([#2237](#2237)) ([8dc9ed8](8dc9ed8))
* **Typography:** remove small prop from paragraph (p) ([#2234](#2234)) ([06c5ba5](06c5ba5))
* **Typography:** removed deprecated comments ([#1858](#1858)) ([0916cde](0916cde))
* **Typography:** Use text color on typography for Sbanken ([#2363](#2363)) ([f06291a](f06291a))
* use CSS vars in focus-ring (`fakeFocus`) ([#2109](#2109)) ([b0649d5](b0649d5))

### 📝 Documentation

* **Accordion:** improve docs of group & allow_close_all ([#2070](#2070)) ([2790302](2790302))
* add change log about v10 ([bdba81b](bdba81b))
* add docs about how to maintain theming ([#2097](#2097)) ([8bdfdb1](8bdfdb1))
* add info about the tertiary button "visual" breaking change ([24bf0e7](24bf0e7))
* add link to new Payment Card Figma file ([#2117](#2117)) ([239c239](239c239))
* add new styles flow diagram ([21e3b3c](21e3b3c))
* Add Sbanken color table and -documentation ([#2332](#2332)) ([e4324f8](e4324f8))
* adds a dot to quick guide - designers ([#2157](#2157)) ([3ba8a2e](3ba8a2e))
* adds missing accents to values in docs ([#2041](#2041)) ([cc7460f](cc7460f))
* **Anchor:** fix console warning when using class ([#2125](#2125)) ([85be7d5](85be7d5))
* **Autocomplete:** minor spelling improvement in title ([#2069](#2069)) ([6be0a77](6be0a77))
* **Autocomplete:** minor spelling improvements ([#2197](#2197)) ([3aa19a3](3aa19a3))
* **Autocomplete:** refactor jsx examples to tsx ([#2198](#2198)) ([6775dfb](6775dfb))
* **Autocomplete:** update docs about the debounce method ([#2138](#2138)) ([e4e4865](e4e4865))
* **Avatar:** fixes broken properties table ([#2030](#2030)) ([b8c9ed4](b8c9ed4))
* **Best Practices:** adds a dot ([#2151](#2151)) ([97e44aa](97e44aa))
* **Best Practices:** adds links to children pages ([#2161](#2161)) ([27d09a1](27d09a1))
* **Breadcrumb:** improve event docs ([66aad32](66aad32))
* capitalize component names in descriptions ([#2162](#2162)) ([80fb3b2](80fb3b2))
* **ColorsTable:** fixes color and hover effect ([#2122](#2122)) ([c82f570](c82f570))
* **Contact:** adds Joakim as contact ([#2023](#2023)) ([43f9f47](43f9f47))
* **Contribution Guide:** update legacy type definition handling ([#2048](#2048)) ([2c16fd6](2c16fd6))
* crate main doc for how to deal with brand ([#2100](#2100)) ([ae2416a](ae2416a))
* **CSS Styles:** fix console warning when using class ([#2127](#2127)) ([e903d69](e903d69))
* **Customization:** adds link to provider/context ([#2160](#2160)) ([009e056](009e056))
* **DatePicker:** refactor jsx examples to tsx ([#2204](#2204)) ([d2f1b42](d2f1b42))
* **Demo Apps:** fix console warning when using class ([#2126](#2126)) ([74142e8](74142e8))
* **DrawerList:** prevents change of direction when scrolling ([#2233](#2233)) ([cb4cbbd](cb4cbbd))
* **DrawerList:** refactor jsx examples to tsx ([#2209](#2209)) ([65dff60](65dff60))
* **DrawerList:** renamse fixedPosition to fixed_position ([#2093](#2093)) ([8e9ae76](8e9ae76))
* **Extension:** convert md to mdx files ([#2026](#2026)) ([ebc7988](ebc7988))
* fix outdated boolean usage ([#2013](#2013)) ([99b816c](99b816c))
* fix wrong Heading example about margin collapse ([eb866a8](eb866a8))
* **Font Weights:** fix console warning when using class ([#2132](#2132)) ([0fd9aa1](0fd9aa1))
* **FormLabel:** improve description of vertical prop ([#2098](#2098)) ([32020bd](32020bd))
* **FormRow:** refactor jsx examples to tsx ([#2219](#2219)) ([38fd221](38fd221))
* **FormSet:** refactor jsx examples to tsx ([#2208](#2208)) ([db32e5f](db32e5f))
* **Fragments:** minor docs improvement ([#2232](#2232)) ([151a800](151a800))
* **Front Page:** minor text improvements ([#2139](#2139)) ([5d9ad4d](5d9ad4d))
* **getOffsetTop:** fix wrong docs and console.log usage ([#2018](#2018)) ([9ba16b5](9ba16b5))
* **GlobalStatus:** improve docs for id prop ([#2067](#2067)) ([06e3ab1](06e3ab1))
* **GlobalStatus:** refactor jsx examples to tsx ([#2202](#2202)) ([91e4c05](91e4c05))
* **Grid:** removes WIP ([350321c](350321c))
* **Heading:** refactor jsx examples to tsx ([#2205](#2205)) ([534294e](534294e))
* **Helpers:** Adds info about dnb-unstyled-list in info page ([#2171](#2171)) ([37251b5](37251b5))
* **HTML Elements:** move mdx of unstyled and unsupported to elements.mdx ([#2154](#2154)) ([0982c3e](0982c3e))
* **Icon Details:** fix console warning when using class ([#2128](#2128)) ([79760c5](79760c5))
* **Icons:** link to v10 docs ([#2182](#2182)) ([34c7184](34c7184))
* **Input:** adds on_key_down event ([#2062](#2062)) ([ddbdff6](ddbdff6))
* **InputMasked:** refactor jsx examples to tsx ([#2207](#2207)) ([1253896](1253896))
* **Logos:** fix console warning in console ([#2123](#2123)) ([d4b5c4c](d4b5c4c))
* make click on anchor with hash work on first click ([#2019](#2019)) ([85caef3](85caef3))
* minor doc improvements ([#2283](#2283)) ([654ae82](654ae82))
* **Modal:** refactor jsx examples to tsx ([#2218](#2218)) ([532a58f](532a58f))
* Move Modal to Dialog/Drawer conversion docs to v10 migration ([#1921](#1921)) ([9c6eed7](9c6eed7))
* **Naming conventions:** fix console warning when using class ([#2129](#2129)) ([46031d0](46031d0))
* **NumberFormat:** fix info docs ([#2009](#2009)) ([af0e889](af0e889))
* **PaymentCard:** change imports of types to /payment-card ([41dc3ce](41dc3ce))
* **Portal:** removes Modal's new status ([#2312](#2312)) ([c9d98dd](c9d98dd))
* **ProgressIndicator:** removes props min_time and variant ([#1997](#1997)) ([26cce3f](26cce3f))
* **ProgressIndicator:** Update size properties ([a02a8fe](a02a8fe))
* **Radio:** improve event docs ([9383afb](9383afb))
* refactor contribution guide getting started ([#2008](#2008)) ([0a7cfdd](0a7cfdd))
* remove `smoothscroll-polyfill` as a recommendation ([#2020](#2020)) ([bae2e89](bae2e89))
* remove docs about CSS vars polyfills ([#2145](#2145)) ([e423d2d](e423d2d))
* remove docs about importing from @dnb/eufemia/elements ([#2173](#2173)) ([6d0bfed](6d0bfed))
* remove outdated info ([#1940](#1940)) ([0f77115](0f77115))
* remove properties import from docs ([#2034](#2034)) ([a0aaffc](a0aaffc))
* removes cards and spaceholder indicator ([#2061](#2061)) ([f8abfb6](f8abfb6))
* **ScrollView:** controll -> control ([#2225](#2225)) ([17db885](17db885))
* **ScrollView:** refactor jsx examples to tsx ([#2210](#2210)) ([1f97545](1f97545))
* **ScrollView:** sets Description as header in docs ([#2168](#2168)) ([2d05405](2d05405))
* **Skeleton:** refactor jsx examples to tsx ([#2203](#2203)) ([dabdba6](dabdba6))
* **SkipContent:** hide Events tab ([#2282](#2282)) ([fcbe37b](fcbe37b))
* **SkipContent:** refactor jsx examples to tsx ([#2211](#2211)) ([df34f0c](df34f0c))
* **Space:** refactor jsx examples to tsx ([#2199](#2199)) ([de7645c](de7645c))
* **Space:** refactor jsx properties to tsx ([#2216](#2216)) ([ecb941e](ecb941e))
* **StepIndicator:** format Steps Parameters table ([#2284](#2284)) ([884a09e](884a09e))
* **Table:** add info about the needed CSS class in v10 ([#1923](#1923)) ([407977e](407977e))
* **Table:** enhance info about the component and possibilities ([#2336](#2336)) ([f376d1d](f376d1d))
* **Table:** improve event docs ([e025745](e025745))
* **Table:** refactor jsx examples to tsx ([#2206](#2206)) ([f2d1c72](f2d1c72))
* **Tag:** improve event docs ([4a01c08](4a01c08))
* **Timeline:** fix broken link to example ([#2241](#2241)) ([418979b](418979b))
* **ToggleButton:** improve event docs ([a351019](a351019))
* **ToggleButton:** removes outdated label_position docs ([#2141](#2141)) ([a067f31](a067f31))
* **TypeScript:** remove outdated docs ([#2124](#2124)) ([497b3c3](497b3c3))
* **Typography:** fix console warning when using class ([#2133](#2133)) ([3088447](3088447))
* **Typography:** hast -> has ([#2221](#2221)) ([3ae59d5](3ae59d5))
* update docs about CSS formatting and styling ([#1964](#1964)) ([9b85816](9b85816))
* update v10 change log ([#1983](#1983)) ([8235f50](8235f50))
* update v10-info ([#1998](#1998)) ([47fa420](47fa420))
* **v10:** add docs for HelpButton's modal_props ([#2314](#2314)) ([4e825ee](4e825ee))
* **v10:** add example for updating import of properties ([#2313](#2313)) ([fdee6c3](fdee6c3))
* **v10:** adds examples for updating import of boolean props ([47f31f1](47f31f1))
* **v10:** adds examples for updating imports to assets and fonts ([f6adcef](f6adcef))
* **v10:** adds explicit examples for props that's changes type to boolean ([#2292](#2292)) ([6b23682](6b23682))
* **v10:** adds info about removal of closeButtonAttributes ([#2296](#2296)) ([8859256](8859256))
* **v10:** adds info about removal of closeButtonAttributes ([#2296](#2296)) ([b68b5bd](b68b5bd))
* **v10:** adds info about replacing white with default ([#2295](#2295)) ([c938f4d](c938f4d))
* **v10:** improve docs for EufemiaStyleImporter files ([#2302](#2302)) ([9c0d692](9c0d692))
* **v10:** improves docs of browser assets ([c0c0a3c](c0c0a3c))
* **v10:** minor spelling improvement ([#2301](#2301)) ([8105026](8105026))
* **v10:** prop change for FormStatus of status to state ([#2293](#2293)) ([0cc65be](0cc65be))
* **v10:** where -> was ([44eeeb8](44eeeb8))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants