@pinuts/bsr-uikit-relaunch 0.2.23 → 0.2.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/items/BSRAddressSelector/BSRAddressButtons.d.ts.map +1 -1
- package/dist/items/BSRAddressSelector/BSRAddressButtons.js +2 -5
- package/dist/items/BSRAddressSelector/BSRAddressContext.d.ts.map +1 -1
- package/dist/items/BSRAddressSelector/BSRAddressContext.js +7 -0
- package/dist/items/BSRAddressSelector/BSRAutocompleteField.d.ts +0 -1
- package/dist/items/BSRAddressSelector/BSRAutocompleteField.d.ts.map +1 -1
- package/dist/items/BSRAddressSelector/BSRAutocompleteField.js +14 -19
- package/dist/items/BSRAddressSelector/BSRStreetPlzSelector.d.ts.map +1 -1
- package/dist/items/BSRAddressSelector/BSRStreetPlzSelector.js +1 -2
- package/dist/items/NumberInputField/NumberInputField.js +1 -1
- package/dist/styles/_ariakit_combobox.scss +23 -12
- package/dist/styles/_form.scss +1 -9
- package/dist/styles/variables/_buttons.scss +112 -113
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BSRAddressButtons.d.ts","sourceRoot":"","sources":["../../../src/items/BSRAddressSelector/BSRAddressButtons.jsx"],"names":[],"mappings":";AAQA;;;;
|
|
1
|
+
{"version":3,"file":"BSRAddressButtons.d.ts","sourceRoot":"","sources":["../../../src/items/BSRAddressSelector/BSRAddressButtons.jsx"],"names":[],"mappings":";AAQA;;;;sBAuBC;;;;;;;kBA/BsD,OAAO;sBACxC,YAAY"}
|
|
@@ -39,8 +39,7 @@ const BSRAddressButtons = _ref => {
|
|
|
39
39
|
inputProps: {
|
|
40
40
|
...inputProps,
|
|
41
41
|
type: 'button'
|
|
42
|
-
}
|
|
43
|
-
color: "secondary"
|
|
42
|
+
}
|
|
44
43
|
}));
|
|
45
44
|
};
|
|
46
45
|
BSRAddressButtons.propTypes = {
|
|
@@ -59,7 +58,6 @@ const FormBuilderAddressResetButton = _ref2 => {
|
|
|
59
58
|
return null;
|
|
60
59
|
}
|
|
61
60
|
return /*#__PURE__*/_react.default.createElement(BSRAddressButtons, _extends({}, otherProps, {
|
|
62
|
-
color: "primary",
|
|
63
61
|
config: config
|
|
64
62
|
}));
|
|
65
63
|
};
|
|
@@ -102,8 +100,7 @@ const BSRAddressPLZSelectButton = _ref3 => {
|
|
|
102
100
|
...inputProps,
|
|
103
101
|
type: 'button',
|
|
104
102
|
disabled: showPlzSelectButton
|
|
105
|
-
}
|
|
106
|
-
color: "secondary"
|
|
103
|
+
}
|
|
107
104
|
}));
|
|
108
105
|
};
|
|
109
106
|
BSRAddressPLZSelectButton.propTypes = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BSRAddressContext.d.ts","sourceRoot":"","sources":["../../../src/items/BSRAddressSelector/BSRAddressContext.js"],"names":[],"mappings":"AAeA,mDAAiD;;kBAf+B,OAAO;AAiBvF;;;
|
|
1
|
+
{"version":3,"file":"BSRAddressContext.d.ts","sourceRoot":"","sources":["../../../src/items/BSRAddressSelector/BSRAddressContext.js"],"names":[],"mappings":"AAeA,mDAAiD;;kBAf+B,OAAO;AAiBvF;;;sBA2KC;;;;;;;;;;;;;sBA3LqB,YAAY"}
|
|
@@ -100,6 +100,13 @@ const BSRAddressContextProvider = _ref => {
|
|
|
100
100
|
setShowNoResultsError(false);
|
|
101
101
|
setSelectedStreetList(null);
|
|
102
102
|
setSelectedRadioValue(null);
|
|
103
|
+
if (addressContext.doSubmitOnChange) {
|
|
104
|
+
window.setTimeout(() => {
|
|
105
|
+
// need a thread change to wait the form is re-rendered before submitting
|
|
106
|
+
// ==> react-dom.development.js:86 Warning: Cannot update a component (`Vr`) while rendering a different component
|
|
107
|
+
submitForm();
|
|
108
|
+
}, 1);
|
|
109
|
+
}
|
|
103
110
|
}, [setFieldValue, setTriggerCancelCombox, fieldKeys, setShowNoResultsError]);
|
|
104
111
|
|
|
105
112
|
// AdressePrüfenBtn anzeigen, wenn Straße und Hausnummer gesetzt sind
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BSRAutocompleteField.d.ts","sourceRoot":"","sources":["../../../src/items/BSRAddressSelector/BSRAutocompleteField.jsx"],"names":[],"mappings":";AA8CA;;
|
|
1
|
+
{"version":3,"file":"BSRAutocompleteField.d.ts","sourceRoot":"","sources":["../../../src/items/BSRAddressSelector/BSRAutocompleteField.jsx"],"names":[],"mappings":";AA8CA;;QA2QC;;;;;;;;;;;;;;;;;;;sBAzTqB,YAAY"}
|
|
@@ -54,8 +54,7 @@ const BSRAutocompleteField = _ref => {
|
|
|
54
54
|
viewMode,
|
|
55
55
|
labelText,
|
|
56
56
|
disabled,
|
|
57
|
-
readOnly
|
|
58
|
-
suggestionsAmount = undefined
|
|
57
|
+
readOnly
|
|
59
58
|
} = config;
|
|
60
59
|
const {
|
|
61
60
|
prevSelection,
|
|
@@ -101,20 +100,15 @@ const BSRAutocompleteField = _ref => {
|
|
|
101
100
|
if (mountedRef) {
|
|
102
101
|
const loadData = async () => {
|
|
103
102
|
const searchQuery = selectedOptionId || searchInput;
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
if (suggestionsAmount && dataArr.length > suggestionsAmount) {
|
|
111
|
-
dataArr.length = suggestionsAmount;
|
|
112
|
-
}
|
|
113
|
-
setFetchedOptions(dataArr);
|
|
114
|
-
}
|
|
115
|
-
} catch (error) {
|
|
116
|
-
console.error(error);
|
|
103
|
+
const url = `${controllerPath}streetNames/?searchQuery=${encodeURIComponent(searchQuery)}`;
|
|
104
|
+
try {
|
|
105
|
+
const dataArr = await fetchOptions(url);
|
|
106
|
+
// Nur State verändern, wenn Komponente gemounted ist
|
|
107
|
+
if (mountedRef && dataArr) {
|
|
108
|
+
setFetchedOptions(dataArr);
|
|
117
109
|
}
|
|
110
|
+
} catch (error) {
|
|
111
|
+
console.error(error);
|
|
118
112
|
}
|
|
119
113
|
};
|
|
120
114
|
if (debounceTimeout) {
|
|
@@ -186,8 +180,10 @@ const BSRAutocompleteField = _ref => {
|
|
|
186
180
|
}
|
|
187
181
|
}, 50);
|
|
188
182
|
}, [key, setFieldValue, labelFieldKey, groupKey, setSelectedOptionId, setPrevSelection]);
|
|
189
|
-
const className = (0, _react.useMemo)(() => [_BSRAddressSelectorModule.default.comboboxWrapper,
|
|
190
|
-
const formControlClassNames = (0, _index.getFormControlClassNames)(disabled, readOnly, disabled,
|
|
183
|
+
const className = (0, _react.useMemo)(() => [_BSRAddressSelectorModule.default.comboboxWrapper, 'ariakit-combobox', 'form-control px-2 py-1', isFocused && 'focused', isInvalid && 'is-invalid'].filter(Boolean).join(' '), [isFocused, isInvalid]);
|
|
184
|
+
const formControlClassNames = (0, _index.getFormControlClassNames)(disabled, readOnly, disabled, 'w-75',
|
|
185
|
+
// 'combobox w-75',
|
|
186
|
+
['input', field.className].filter(Boolean));
|
|
191
187
|
const getPreviousSelectedItem = (0, _react.useCallback)(() => {
|
|
192
188
|
return prevSelection?.value ? prevSelection.value : field.value;
|
|
193
189
|
}, [prevSelection, field.value]);
|
|
@@ -263,8 +259,7 @@ BSRAutocompleteField.propTypes = {
|
|
|
263
259
|
readOnly: _propTypes.default.bool,
|
|
264
260
|
labelText: _propTypes.default.string,
|
|
265
261
|
viewMode: _propTypes.default.bool,
|
|
266
|
-
disabled: _propTypes.default.bool
|
|
267
|
-
suggestionsAmount: _propTypes.default.number
|
|
262
|
+
disabled: _propTypes.default.bool
|
|
268
263
|
}).isRequired
|
|
269
264
|
};
|
|
270
265
|
const HigherOrderAutocompleteField = (0, _withFieldGroup.default)(BSRAutocompleteField);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BSRStreetPlzSelector.d.ts","sourceRoot":"","sources":["../../../src/items/BSRAddressSelector/BSRStreetPlzSelector.jsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"BSRStreetPlzSelector.d.ts","sourceRoot":"","sources":["../../../src/items/BSRAddressSelector/BSRStreetPlzSelector.jsx"],"names":[],"mappings":";AA+LA,iFAA6E;kBA/LtB,OAAO"}
|
|
@@ -140,8 +140,7 @@ const BSRStreetPlzSelector = props => {
|
|
|
140
140
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, noResultsError, /*#__PURE__*/_react.default.createElement("div", {
|
|
141
141
|
className: 'checkAddressBtn'
|
|
142
142
|
}, /*#__PURE__*/_react.default.createElement(_Button.default, {
|
|
143
|
-
onClick: onClickCheckAddressBtn
|
|
144
|
-
color: "secondary"
|
|
143
|
+
onClick: onClickCheckAddressBtn
|
|
145
144
|
}, checkAddressStr)));
|
|
146
145
|
}
|
|
147
146
|
if (showNoResultsError) {
|
|
@@ -107,7 +107,7 @@ const NumberInputField = _ref => {
|
|
|
107
107
|
stroke: "white",
|
|
108
108
|
fill: "white"
|
|
109
109
|
})), /*#__PURE__*/_react.default.createElement("input", _extends({
|
|
110
|
-
className: getClassNames(['input ps-
|
|
110
|
+
className: getClassNames(['input mx-2 ps-4', formControlClassNames]),
|
|
111
111
|
type: "number",
|
|
112
112
|
step: step
|
|
113
113
|
}, field, ariaAttributes, inputProps, {
|
|
@@ -85,8 +85,6 @@
|
|
|
85
85
|
|
|
86
86
|
.comboboxPopoverWrapper {
|
|
87
87
|
// popover darf kein outline haben
|
|
88
|
-
background: $bsr-white-100;
|
|
89
|
-
|
|
90
88
|
:focus-visible {
|
|
91
89
|
outline: 0;
|
|
92
90
|
border: 0;
|
|
@@ -105,16 +103,18 @@
|
|
|
105
103
|
|
|
106
104
|
div[role="listbox"] {
|
|
107
105
|
overflow-x: hidden;
|
|
108
|
-
|
|
106
|
+
// border-radius: $border-radius;
|
|
109
107
|
border-top-left-radius: 0;
|
|
110
108
|
border-top-right-radius: 0;
|
|
111
109
|
border-top: none;
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
110
|
+
// border-color: currentColor;
|
|
111
|
+
//max-height: min(var(--popover-available-height, $popover-max-height), $popover-max-height);
|
|
112
|
+
//max-height: $popover-max-height;
|
|
113
|
+
padding: 0.3rem;
|
|
114
|
+
transform: translatey(0.6rem) translatex(-1rem);
|
|
115
115
|
|
|
116
116
|
div[role="option"] {
|
|
117
|
-
font-weight: $
|
|
117
|
+
font-weight: $sub-headline-font-size;
|
|
118
118
|
white-space: normal;
|
|
119
119
|
|
|
120
120
|
&:active,
|
|
@@ -135,13 +135,17 @@
|
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
&[aria-selected="true"].selected {
|
|
138
|
-
background-color: $
|
|
139
|
-
color: $
|
|
138
|
+
background-color: $primary !important;
|
|
139
|
+
color: $white;
|
|
140
140
|
}
|
|
141
141
|
&.selected {
|
|
142
142
|
box-shadow: none;
|
|
143
|
-
background-color: $
|
|
144
|
-
color: $
|
|
143
|
+
background-color: $primary !important;
|
|
144
|
+
color: $white;
|
|
145
|
+
|
|
146
|
+
&:hover {
|
|
147
|
+
color: $white !important;
|
|
148
|
+
}
|
|
145
149
|
}
|
|
146
150
|
}
|
|
147
151
|
}
|
|
@@ -251,7 +255,7 @@
|
|
|
251
255
|
|
|
252
256
|
&:focus,
|
|
253
257
|
&:hover {
|
|
254
|
-
background-color: $bsr-
|
|
258
|
+
background-color: $bsr-brown-100;
|
|
255
259
|
color: $bsr-black-90;
|
|
256
260
|
cursor: pointer;
|
|
257
261
|
}
|
|
@@ -266,6 +270,13 @@
|
|
|
266
270
|
&:not(:last-child) {
|
|
267
271
|
margin-bottom: 0.25rem;
|
|
268
272
|
}
|
|
273
|
+
|
|
274
|
+
&[aria-selected="true"].selected {
|
|
275
|
+
&::after {
|
|
276
|
+
content: "✔";
|
|
277
|
+
margin-inline-start: 0.5rem;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
269
280
|
}
|
|
270
281
|
}
|
|
271
282
|
|
package/dist/styles/_form.scss
CHANGED
|
@@ -252,15 +252,6 @@ fieldset.formInput {
|
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
-
#addressSelector .row .col div.form-control.ariakit-combobox {
|
|
256
|
-
padding: $base-gap * 2 0 $base-gap * 3 0 !important;
|
|
257
|
-
|
|
258
|
-
input[role="combobox"] {
|
|
259
|
-
padding-inline: $base-gap * 4 !important;
|
|
260
|
-
width: 100% !important;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
|
|
264
255
|
/* RADIO INPUT */
|
|
265
256
|
input[type="radio"] {
|
|
266
257
|
display: flex;
|
|
@@ -498,6 +489,7 @@ form input[type="checkbox"] + label:before {
|
|
|
498
489
|
&:focus {
|
|
499
490
|
&:is(button):not(.disabled) {
|
|
500
491
|
background-color: $secondary;
|
|
492
|
+
color: $text-light;
|
|
501
493
|
|
|
502
494
|
.closeBtn {
|
|
503
495
|
color: $text-light;
|
|
@@ -2,83 +2,80 @@ $btn-border-radius: $border-radius-lg;
|
|
|
2
2
|
$btn-padding-x: $base-gap * 6;
|
|
3
3
|
$btn-padding-y: calc($base-gap * 2 - 1px);
|
|
4
4
|
|
|
5
|
-
.btn,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
5
|
+
.btn, .pi-form-button button {
|
|
6
|
+
text-decoration: underline;
|
|
7
|
+
text-decoration-color: transparent;
|
|
8
|
+
transition-duration: 0.15s;
|
|
9
|
+
transition-timing-function: ease-in-out;
|
|
10
|
+
display: inline-flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
border-width: $bsr-border-width-m;
|
|
13
|
+
|
|
14
|
+
&[class*="btn-outline-"]:not([class*="btn-outline-light"]){
|
|
15
|
+
--bs-btn-bg: #{$bsr-white-100};
|
|
16
|
+
|
|
17
|
+
&:hover:not([aria-disabled="true"]){
|
|
18
|
+
border-color: $bsr-white-100;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
&.btn-outline-light:hover {
|
|
22
|
+
background-color: $bsr-white-100;;
|
|
23
|
+
color: $text-secondary;
|
|
24
|
+
border-color: $bsr-white-100;
|
|
20
25
|
}
|
|
21
|
-
|
|
22
|
-
&.btn-outline-light:hover {
|
|
23
|
-
background-color: $bsr-white-100;
|
|
24
|
-
color: $text-secondary;
|
|
25
|
-
border-color: $bsr-white-100;
|
|
26
|
-
}
|
|
27
|
-
&.btn-outline-light:focus-visible {
|
|
28
|
-
color: $bsr-white-100;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&:hover {
|
|
32
|
-
text-decoration-color: currentColor;
|
|
33
|
-
|
|
34
|
-
&:not([class*="btn-outline-"]):not([class*="teaserBtnAtom"]):not(
|
|
35
|
-
[class*="editingBtnAtom"]
|
|
36
|
-
):not([class*="iconOnlyBtnAtom"]) {
|
|
37
|
-
background-color: $bsr-white-100;
|
|
38
|
-
color: $bsr-brick-100;
|
|
39
|
-
border-color: var(--bs-btn-bg);
|
|
40
|
-
|
|
41
|
-
&[class*="btn-light"] {
|
|
42
|
-
background-color: $bsr-brick-100;
|
|
26
|
+
&.btn-outline-light:focus-visible {
|
|
43
27
|
color: $bsr-white-100;
|
|
44
|
-
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:hover {
|
|
31
|
+
text-decoration-color: currentColor;
|
|
32
|
+
|
|
33
|
+
&:not([class*="btn-outline-"]):not([class*="teaserBtnAtom"]):not([class*="editingBtnAtom"]):not([class*="iconOnlyBtnAtom"]) {
|
|
34
|
+
|
|
35
|
+
background-color: $bsr-white-100;
|
|
36
|
+
color: $bsr-brick-100;
|
|
37
|
+
border-color: var(--bs-btn-bg);
|
|
38
|
+
|
|
39
|
+
&[class*="btn-light"] {
|
|
40
|
+
background-color: $bsr-brick-100;
|
|
41
|
+
color: $bsr-white-100;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&[aria-disabled="true"]:not([class*="btn-outline-light"]) {
|
|
45
|
+
background-color: $bsr-black-90;
|
|
46
|
+
color: $bsr-white-100;
|
|
47
|
+
border-color: $bsr-black-90;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
45
50
|
|
|
46
|
-
&[aria-disabled="true"]:not([class*="btn-outline-light"]) {
|
|
47
|
-
background-color: $bsr-black-90;
|
|
48
|
-
color: $bsr-white-100;
|
|
49
|
-
border-color: $bsr-black-90;
|
|
50
|
-
}
|
|
51
51
|
}
|
|
52
|
-
}
|
|
53
52
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
&:active {
|
|
54
|
+
text-decoration: none;
|
|
55
|
+
}
|
|
57
56
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
&:disabled {
|
|
61
|
-
text-decoration: none;
|
|
57
|
+
&[aria-disabled="true"], .disabled, &:disabled {
|
|
58
|
+
text-decoration: none;
|
|
62
59
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
60
|
+
@each $color, $value in $theme-colors {
|
|
61
|
+
@if $color == "light" {
|
|
62
|
+
&.btn-light {
|
|
63
|
+
background-color: $value;
|
|
64
|
+
border-color: currentColor;
|
|
65
|
+
color: $bsr-brick-100;
|
|
66
|
+
opacity: .4;
|
|
67
|
+
cursor: not-allowed;
|
|
68
|
+
}
|
|
72
69
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
70
|
+
&.btn-outline-light {
|
|
71
|
+
background-color: transparent;
|
|
72
|
+
border-color: $value;
|
|
73
|
+
color: $value;
|
|
74
|
+
opacity: .4;
|
|
75
|
+
cursor: not-allowed;
|
|
76
|
+
}
|
|
77
|
+
} @else {
|
|
78
|
+
/*
|
|
82
79
|
&.btn-#{$color} {
|
|
83
80
|
background-color: shade-color($value, 100%) !important;
|
|
84
81
|
border-color: shade-color($value, 100%);
|
|
@@ -95,65 +92,67 @@ $btn-padding-y: calc($base-gap * 2 - 1px);
|
|
|
95
92
|
cursor: not-allowed;
|
|
96
93
|
}
|
|
97
94
|
*/
|
|
98
|
-
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
99
98
|
}
|
|
100
|
-
}
|
|
101
99
|
}
|
|
102
100
|
|
|
103
101
|
.btn.btn-light {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
102
|
+
--bs-btn-color: #{$bsr-brick-100};
|
|
103
|
+
&:hover {
|
|
104
|
+
&[aria-disabled="true"]{
|
|
105
|
+
background-color: $bsr-white-100 !important;
|
|
106
|
+
color: $bsr-brick-100 !important;
|
|
107
|
+
border-color: $bsr-brick-100 !important;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
&:focus {
|
|
111
|
+
background-color: $bsr-white-100 !important;
|
|
112
|
+
color: $bsr-black-90!important;
|
|
113
|
+
box-shadow: 0 0 0 0.25rem rgba($bsr-white-100, .5)!important;
|
|
110
114
|
}
|
|
111
|
-
}
|
|
112
|
-
&:focus {
|
|
113
|
-
background-color: $bsr-white-100 !important;
|
|
114
|
-
color: $bsr-black-90 !important;
|
|
115
|
-
box-shadow: 0 0 0 0.25rem rgba($bsr-white-100, 0.5) !important;
|
|
116
|
-
}
|
|
117
115
|
}
|
|
118
116
|
|
|
119
117
|
.btn.btn-outline-light {
|
|
120
|
-
|
|
121
|
-
|
|
118
|
+
--bs-btn-hover-color: #{$bsr-brick-100} !important;
|
|
119
|
+
background: $bsr-brick-100;
|
|
122
120
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
121
|
+
&.btn:active {
|
|
122
|
+
--bs-btn-active-color: #{$bsr-brick-100};
|
|
123
|
+
}
|
|
126
124
|
}
|
|
127
125
|
|
|
128
126
|
.btn[class*="editingBtnAtom"] {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
127
|
+
font-size: $editingBtn-font-size;
|
|
128
|
+
line-height: $editingBtnAtom-line-height;
|
|
129
|
+
letter-spacing: $letter-spacing-xs;
|
|
130
|
+
font-weight: $fontweight-bold;
|
|
131
|
+
&[aria-disabled="true"] {
|
|
132
|
+
opacity: 0.4;
|
|
133
|
+
}
|
|
136
134
|
}
|
|
137
135
|
|
|
138
136
|
.btn[class*="iconOnlyBtnAtom"]:not([class*="btn-outline-brick"]) {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
border-color: $secondary !important;
|
|
143
|
-
text-decoration: none;
|
|
144
|
-
|
|
145
|
-
&:hover,
|
|
146
|
-
&:focus,
|
|
147
|
-
&:active {
|
|
148
|
-
background-color: $white !important;
|
|
149
|
-
color: $text-secondary !important;
|
|
137
|
+
padding: 0;
|
|
138
|
+
background-color: $secondary !important;
|
|
139
|
+
color: $light !important;
|
|
150
140
|
border-color: $secondary !important;
|
|
151
|
-
text-decoration:
|
|
152
|
-
|
|
153
|
-
|
|
141
|
+
text-decoration: none;
|
|
142
|
+
|
|
143
|
+
&:hover,
|
|
144
|
+
&:focus,
|
|
145
|
+
&:active {
|
|
146
|
+
background-color: $white !important;
|
|
147
|
+
color: $text-secondary !important;
|
|
148
|
+
border-color: $secondary !important;
|
|
149
|
+
text-decoration: underline;
|
|
150
|
+
border-width: $bsr-border-width-m !important;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&:disabled {
|
|
154
|
+
opacity: 0.4;
|
|
155
|
+
cursor: not-allowed;
|
|
156
|
+
}
|
|
154
157
|
|
|
155
|
-
&:disabled {
|
|
156
|
-
opacity: 0.4;
|
|
157
|
-
cursor: not-allowed;
|
|
158
|
-
}
|
|
159
158
|
}
|