diff --git a/packages/dnb-ui-lib/src/components/button/style/themes/dnb-button-theme-ui.scss b/packages/dnb-ui-lib/src/components/button/style/themes/dnb-button-theme-ui.scss index b653f61c1b9..854e2670df7 100644 --- a/packages/dnb-ui-lib/src/components/button/style/themes/dnb-button-theme-ui.scss +++ b/packages/dnb-ui-lib/src/components/button/style/themes/dnb-button-theme-ui.scss @@ -93,7 +93,6 @@ @include buttonFocus(var(--color-sea-green), transparent); &[disabled] { - cursor: not-allowed; color: var(--color-sea-green-alt-30); } } diff --git a/packages/dnb-ui-lib/src/components/dropdown/__tests__/__snapshots__/Dropdown.test.js.snap b/packages/dnb-ui-lib/src/components/dropdown/__tests__/__snapshots__/Dropdown.test.js.snap index f831f5274a1..6617e062345 100644 --- a/packages/dnb-ui-lib/src/components/dropdown/__tests__/__snapshots__/Dropdown.test.js.snap +++ b/packages/dnb-ui-lib/src/components/dropdown/__tests__/__snapshots__/Dropdown.test.js.snap @@ -352,6 +352,10 @@ exports[`Dropdown scss have to match snapshot 1`] = ` .dnb-icon img:not([width]):not([height]) { width: inherit; height: inherit; } + .dnb-icon svg[width='100%'] { + width: inherit; } + .dnb-icon svg[height='100%'] { + height: inherit; } .dnb-button { font-family: sans-serif; @@ -553,9 +557,6 @@ a.dnb-button { width: auto; white-space: nowrap; } -.dnb-form-label[disabled] { - cursor: not-allowed; } - .dnb-input { font-family: sans-serif; font-family: var(--font-family-default); diff --git a/packages/dnb-ui-lib/src/components/form-label/style/_form-label.scss b/packages/dnb-ui-lib/src/components/form-label/style/_form-label.scss index eb16d7b358d..34e9b7ba310 100644 --- a/packages/dnb-ui-lib/src/components/form-label/style/_form-label.scss +++ b/packages/dnb-ui-lib/src/components/form-label/style/_form-label.scss @@ -14,6 +14,3 @@ width: auto; white-space: nowrap; } -.dnb-form-label[disabled] { - cursor: not-allowed; -} diff --git a/packages/dnb-ui-lib/src/components/input-masked/__tests__/__snapshots__/InputMasked.test.js.snap b/packages/dnb-ui-lib/src/components/input-masked/__tests__/__snapshots__/InputMasked.test.js.snap index 4a105f0ed77..443cdd286f1 100644 --- a/packages/dnb-ui-lib/src/components/input-masked/__tests__/__snapshots__/InputMasked.test.js.snap +++ b/packages/dnb-ui-lib/src/components/input-masked/__tests__/__snapshots__/InputMasked.test.js.snap @@ -208,6 +208,10 @@ exports[`InputMasked scss have to match snapshot 1`] = ` .dnb-icon img:not([width]):not([height]) { width: inherit; height: inherit; } + .dnb-icon svg[width='100%'] { + width: inherit; } + .dnb-icon svg[height='100%'] { + height: inherit; } .dnb-button { font-family: sans-serif; @@ -409,9 +413,6 @@ a.dnb-button { width: auto; white-space: nowrap; } -.dnb-form-label[disabled] { - cursor: not-allowed; } - .dnb-input { font-family: sans-serif; font-family: var(--font-family-default); diff --git a/packages/dnb-ui-lib/src/components/input/__tests__/__snapshots__/Input.test.js.snap b/packages/dnb-ui-lib/src/components/input/__tests__/__snapshots__/Input.test.js.snap index 4441657c042..ab9dc40942b 100644 --- a/packages/dnb-ui-lib/src/components/input/__tests__/__snapshots__/Input.test.js.snap +++ b/packages/dnb-ui-lib/src/components/input/__tests__/__snapshots__/Input.test.js.snap @@ -393,6 +393,10 @@ exports[`Input scss have to match snapshot 1`] = ` .dnb-icon img:not([width]):not([height]) { width: inherit; height: inherit; } + .dnb-icon svg[width='100%'] { + width: inherit; } + .dnb-icon svg[height='100%'] { + height: inherit; } .dnb-button { font-family: sans-serif; @@ -594,9 +598,6 @@ a.dnb-button { width: auto; white-space: nowrap; } -.dnb-form-label[disabled] { - cursor: not-allowed; } - .dnb-input { font-family: sans-serif; font-family: var(--font-family-default); diff --git a/packages/dnb-ui-lib/src/components/modal/__tests__/__snapshots__/Modal.test.js.snap b/packages/dnb-ui-lib/src/components/modal/__tests__/__snapshots__/Modal.test.js.snap index 1530a23d98d..2a182eec320 100644 --- a/packages/dnb-ui-lib/src/components/modal/__tests__/__snapshots__/Modal.test.js.snap +++ b/packages/dnb-ui-lib/src/components/modal/__tests__/__snapshots__/Modal.test.js.snap @@ -579,6 +579,10 @@ exports[`Modal scss have to match snapshot 1`] = ` .dnb-icon img:not([width]):not([height]) { width: inherit; height: inherit; } + .dnb-icon svg[width='100%'] { + width: inherit; } + .dnb-icon svg[height='100%'] { + height: inherit; } .dnb-button { font-family: sans-serif; diff --git a/packages/dnb-ui-lib/src/components/tabs/__tests__/__snapshots__/Tabs.test.js.snap b/packages/dnb-ui-lib/src/components/tabs/__tests__/__snapshots__/Tabs.test.js.snap index 5442d25a3aa..1418584c141 100644 --- a/packages/dnb-ui-lib/src/components/tabs/__tests__/__snapshots__/Tabs.test.js.snap +++ b/packages/dnb-ui-lib/src/components/tabs/__tests__/__snapshots__/Tabs.test.js.snap @@ -296,10 +296,8 @@ exports[`Tabs scss have to match default theme snapshot 1`] = ` border-radius: 1px; background-color: var(--color-sea-green); } -.dnb-tabs__tabs .dnb-tablink[disabled] { - cursor: not-allowed; } - .dnb-tabs__tabs .dnb-tablink[disabled] .dnb-tablink-title { - color: var(--color-sea-green-alt-30); } +.dnb-tabs__tabs .dnb-tablink[disabled] .dnb-tablink-title { + color: var(--color-sea-green-alt-30); } .dnb-tabs__tabs .dnb-tablink:not([disabled]):active .dnb-tablink-title, .dnb-tabs__tabs .dnb-tablink:not([disabled]).selected .dnb-tablink-title { color: var(--color-emerald-green); } diff --git a/packages/dnb-ui-lib/src/components/tabs/style/themes/dnb-tabs-theme-ui.scss b/packages/dnb-ui-lib/src/components/tabs/style/themes/dnb-tabs-theme-ui.scss index 66d38781c33..2d4087db05f 100644 --- a/packages/dnb-ui-lib/src/components/tabs/style/themes/dnb-tabs-theme-ui.scss +++ b/packages/dnb-ui-lib/src/components/tabs/style/themes/dnb-tabs-theme-ui.scss @@ -43,7 +43,6 @@ // disabled &[disabled] { - cursor: not-allowed; .dnb-tablink-title { color: var(--color-sea-green-alt-30); }