@pinuts/bsr-uikit-relaunch 0.2.26 → 0.2.27
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 +5 -2
- package/dist/items/BSRAddressSelector/BSRAddressContext.d.ts.map +1 -1
- package/dist/items/BSRAddressSelector/BSRAddressContext.js +2 -6
- package/dist/items/BSRAddressSelector/BSRAutocompleteField.d.ts +1 -0
- package/dist/items/BSRAddressSelector/BSRAutocompleteField.d.ts.map +1 -1
- package/dist/items/BSRAddressSelector/BSRAutocompleteField.js +19 -14
- package/dist/items/BSRAddressSelector/BSRStreetPlzSelector.d.ts.map +1 -1
- package/dist/items/BSRAddressSelector/BSRStreetPlzSelector.js +2 -1
- package/dist/items/NumberInputField/NumberInputField.js +1 -1
- package/dist/styles/_ariakit_combobox.scss +12 -23
- package/dist/styles/_form.scss +9 -1
- package/dist/styles/variables/_buttons.scss +113 -112
- 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;;;;sBAwBC;;;;;;;kBAhCsD,OAAO;sBACxC,YAAY"}
|
|
@@ -39,7 +39,8 @@ const BSRAddressButtons = _ref => {
|
|
|
39
39
|
inputProps: {
|
|
40
40
|
...inputProps,
|
|
41
41
|
type: 'button'
|
|
42
|
-
}
|
|
42
|
+
},
|
|
43
|
+
color: "secondary"
|
|
43
44
|
}));
|
|
44
45
|
};
|
|
45
46
|
BSRAddressButtons.propTypes = {
|
|
@@ -58,6 +59,7 @@ const FormBuilderAddressResetButton = _ref2 => {
|
|
|
58
59
|
return null;
|
|
59
60
|
}
|
|
60
61
|
return /*#__PURE__*/_react.default.createElement(BSRAddressButtons, _extends({}, otherProps, {
|
|
62
|
+
color: "primary",
|
|
61
63
|
config: config
|
|
62
64
|
}));
|
|
63
65
|
};
|
|
@@ -100,7 +102,8 @@ const BSRAddressPLZSelectButton = _ref3 => {
|
|
|
100
102
|
...inputProps,
|
|
101
103
|
type: 'button',
|
|
102
104
|
disabled: showPlzSelectButton
|
|
103
|
-
}
|
|
105
|
+
},
|
|
106
|
+
color: "secondary"
|
|
104
107
|
}));
|
|
105
108
|
};
|
|
106
109
|
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;;;sBAsKC;;;;;;;;;;;;;sBAtLqB,YAAY"}
|
|
@@ -101,13 +101,9 @@ const BSRAddressContextProvider = _ref => {
|
|
|
101
101
|
setSelectedStreetList(null);
|
|
102
102
|
setSelectedRadioValue(null);
|
|
103
103
|
if (addressContext.doSubmitOnChange) {
|
|
104
|
-
|
|
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);
|
|
104
|
+
submitForm();
|
|
109
105
|
}
|
|
110
|
-
}, [setFieldValue, setTriggerCancelCombox, fieldKeys, setShowNoResultsError]);
|
|
106
|
+
}, [setFieldValue, setTriggerCancelCombox, fieldKeys, setShowNoResultsError, submitForm, addressContext.doSubmitOnChange]);
|
|
111
107
|
|
|
112
108
|
// AdressePrüfenBtn anzeigen, wenn Straße und Hausnummer gesetzt sind
|
|
113
109
|
|
|
@@ -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;;QAkRC;;;;;;;;;;;;;;;;;;;;sBAhUqB,YAAY"}
|
|
@@ -54,7 +54,8 @@ const BSRAutocompleteField = _ref => {
|
|
|
54
54
|
viewMode,
|
|
55
55
|
labelText,
|
|
56
56
|
disabled,
|
|
57
|
-
readOnly
|
|
57
|
+
readOnly,
|
|
58
|
+
suggestionsAmount = undefined
|
|
58
59
|
} = config;
|
|
59
60
|
const {
|
|
60
61
|
prevSelection,
|
|
@@ -100,15 +101,20 @@ const BSRAutocompleteField = _ref => {
|
|
|
100
101
|
if (mountedRef) {
|
|
101
102
|
const loadData = async () => {
|
|
102
103
|
const searchQuery = selectedOptionId || searchInput;
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
104
|
+
if (searchQuery.length > 2) {
|
|
105
|
+
const url = `${controllerPath}streetNames/?searchQuery=${encodeURIComponent(searchQuery)}`;
|
|
106
|
+
try {
|
|
107
|
+
const dataArr = await fetchOptions(url);
|
|
108
|
+
// Nur State verändern, wenn Komponente gemounted ist
|
|
109
|
+
if (mountedRef && dataArr) {
|
|
110
|
+
if (suggestionsAmount && dataArr.length > suggestionsAmount) {
|
|
111
|
+
dataArr.length = suggestionsAmount;
|
|
112
|
+
}
|
|
113
|
+
setFetchedOptions(dataArr);
|
|
114
|
+
}
|
|
115
|
+
} catch (error) {
|
|
116
|
+
console.error(error);
|
|
109
117
|
}
|
|
110
|
-
} catch (error) {
|
|
111
|
-
console.error(error);
|
|
112
118
|
}
|
|
113
119
|
};
|
|
114
120
|
if (debounceTimeout) {
|
|
@@ -180,10 +186,8 @@ const BSRAutocompleteField = _ref => {
|
|
|
180
186
|
}
|
|
181
187
|
}, 50);
|
|
182
188
|
}, [key, setFieldValue, labelFieldKey, groupKey, setSelectedOptionId, setPrevSelection]);
|
|
183
|
-
const className = (0, _react.useMemo)(() => [_BSRAddressSelectorModule.default.comboboxWrapper, 'ariakit-combobox', 'form-control
|
|
184
|
-
const formControlClassNames = (0, _index.getFormControlClassNames)(disabled, readOnly, disabled, '
|
|
185
|
-
// 'combobox w-75',
|
|
186
|
-
['input', field.className].filter(Boolean));
|
|
189
|
+
const className = (0, _react.useMemo)(() => [_BSRAddressSelectorModule.default.comboboxWrapper, _BSRAddressSelectorModule.default.formControl, _BSRAddressSelectorModule.default.ariakitCombobox, 'ariakit-combobox', 'form-control py-1 px-0', isFocused && 'focused', isInvalid && 'is-invalid'].filter(Boolean).join(' '), [isFocused, isInvalid]);
|
|
190
|
+
const formControlClassNames = (0, _index.getFormControlClassNames)(disabled, readOnly, disabled, ['input', field.className].filter(Boolean));
|
|
187
191
|
const getPreviousSelectedItem = (0, _react.useCallback)(() => {
|
|
188
192
|
return prevSelection?.value ? prevSelection.value : field.value;
|
|
189
193
|
}, [prevSelection, field.value]);
|
|
@@ -259,7 +263,8 @@ BSRAutocompleteField.propTypes = {
|
|
|
259
263
|
readOnly: _propTypes.default.bool,
|
|
260
264
|
labelText: _propTypes.default.string,
|
|
261
265
|
viewMode: _propTypes.default.bool,
|
|
262
|
-
disabled: _propTypes.default.bool
|
|
266
|
+
disabled: _propTypes.default.bool,
|
|
267
|
+
suggestionsAmount: _propTypes.default.number
|
|
263
268
|
}).isRequired
|
|
264
269
|
};
|
|
265
270
|
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":";AAgMA,iFAA6E;kBAhMtB,OAAO"}
|
|
@@ -140,7 +140,8 @@ 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
|
|
143
|
+
onClick: onClickCheckAddressBtn,
|
|
144
|
+
color: "secondary"
|
|
144
145
|
}, checkAddressStr)));
|
|
145
146
|
}
|
|
146
147
|
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
|
|
110
|
+
className: getClassNames(['input ps-3', formControlClassNames]),
|
|
111
111
|
type: "number",
|
|
112
112
|
step: step
|
|
113
113
|
}, field, ariaAttributes, inputProps, {
|
|
@@ -85,6 +85,8 @@
|
|
|
85
85
|
|
|
86
86
|
.comboboxPopoverWrapper {
|
|
87
87
|
// popover darf kein outline haben
|
|
88
|
+
background: $bsr-white-100;
|
|
89
|
+
|
|
88
90
|
:focus-visible {
|
|
89
91
|
outline: 0;
|
|
90
92
|
border: 0;
|
|
@@ -103,18 +105,16 @@
|
|
|
103
105
|
|
|
104
106
|
div[role="listbox"] {
|
|
105
107
|
overflow-x: hidden;
|
|
106
|
-
|
|
108
|
+
background: $bsr-white-100;
|
|
107
109
|
border-top-left-radius: 0;
|
|
108
110
|
border-top-right-radius: 0;
|
|
109
111
|
border-top: none;
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
padding: 0.3rem;
|
|
114
|
-
transform: translatey(0.6rem) translatex(-1rem);
|
|
112
|
+
padding-inline: 0;
|
|
113
|
+
padding-block: 4px;
|
|
114
|
+
transform: translateY(0.6rem);
|
|
115
115
|
|
|
116
116
|
div[role="option"] {
|
|
117
|
-
font-weight: $
|
|
117
|
+
font-weight: $fontweight-normal;
|
|
118
118
|
white-space: normal;
|
|
119
119
|
|
|
120
120
|
&:active,
|
|
@@ -135,17 +135,13 @@
|
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
&[aria-selected="true"].selected {
|
|
138
|
-
background-color: $
|
|
139
|
-
color: $
|
|
138
|
+
background-color: $bsr-black-30 !important;
|
|
139
|
+
color: $bsr-black-90;
|
|
140
140
|
}
|
|
141
141
|
&.selected {
|
|
142
142
|
box-shadow: none;
|
|
143
|
-
background-color: $
|
|
144
|
-
color: $
|
|
145
|
-
|
|
146
|
-
&:hover {
|
|
147
|
-
color: $white !important;
|
|
148
|
-
}
|
|
143
|
+
background-color: $bsr-black-30 !important;
|
|
144
|
+
color: $bsr-black-90;
|
|
149
145
|
}
|
|
150
146
|
}
|
|
151
147
|
}
|
|
@@ -255,7 +251,7 @@
|
|
|
255
251
|
|
|
256
252
|
&:focus,
|
|
257
253
|
&:hover {
|
|
258
|
-
background-color: $bsr-
|
|
254
|
+
background-color: $bsr-black-10;
|
|
259
255
|
color: $bsr-black-90;
|
|
260
256
|
cursor: pointer;
|
|
261
257
|
}
|
|
@@ -270,13 +266,6 @@
|
|
|
270
266
|
&:not(:last-child) {
|
|
271
267
|
margin-bottom: 0.25rem;
|
|
272
268
|
}
|
|
273
|
-
|
|
274
|
-
&[aria-selected="true"].selected {
|
|
275
|
-
&::after {
|
|
276
|
-
content: "✔";
|
|
277
|
-
margin-inline-start: 0.5rem;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
269
|
}
|
|
281
270
|
}
|
|
282
271
|
|
package/dist/styles/_form.scss
CHANGED
|
@@ -252,6 +252,15 @@ 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
|
+
|
|
255
264
|
/* RADIO INPUT */
|
|
256
265
|
input[type="radio"] {
|
|
257
266
|
display: flex;
|
|
@@ -489,7 +498,6 @@ form input[type="checkbox"] + label:before {
|
|
|
489
498
|
&:focus {
|
|
490
499
|
&:is(button):not(.disabled) {
|
|
491
500
|
background-color: $secondary;
|
|
492
|
-
color: $text-light;
|
|
493
501
|
|
|
494
502
|
.closeBtn {
|
|
495
503
|
color: $text-light;
|
|
@@ -2,80 +2,83 @@ $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
|
-
|
|
20
|
-
}
|
|
21
|
-
&.btn-outline-light:hover {
|
|
22
|
-
background-color: $bsr-white-100;;
|
|
23
|
-
color: $text-secondary;
|
|
24
|
-
border-color: $bsr-white-100;
|
|
5
|
+
.btn,
|
|
6
|
+
.pi-form-button button {
|
|
7
|
+
text-decoration: underline;
|
|
8
|
+
text-decoration-color: transparent;
|
|
9
|
+
transition-duration: 0.15s;
|
|
10
|
+
transition-timing-function: ease-in-out;
|
|
11
|
+
display: inline-flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
border-width: $bsr-border-width-m;
|
|
14
|
+
|
|
15
|
+
&[class*="btn-outline-"]:not([class*="btn-outline-light"]) {
|
|
16
|
+
--bs-btn-bg: #{$bsr-white-100};
|
|
17
|
+
|
|
18
|
+
&:hover:not([aria-disabled="true"]) {
|
|
19
|
+
border-color: $bsr-white-100;
|
|
25
20
|
}
|
|
26
|
-
|
|
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;
|
|
27
43
|
color: $bsr-white-100;
|
|
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
|
-
}
|
|
44
|
+
}
|
|
50
45
|
|
|
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
|
+
}
|
|
52
53
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
&:active {
|
|
55
|
+
text-decoration: none;
|
|
56
|
+
}
|
|
56
57
|
|
|
57
|
-
|
|
58
|
-
|
|
58
|
+
&[aria-disabled="true"],
|
|
59
|
+
.disabled,
|
|
60
|
+
&:disabled {
|
|
61
|
+
text-decoration: none;
|
|
59
62
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
63
|
+
@each $color, $value in $theme-colors {
|
|
64
|
+
@if $color == "light" {
|
|
65
|
+
&.btn-light {
|
|
66
|
+
background-color: $value;
|
|
67
|
+
border-color: currentColor;
|
|
68
|
+
color: $bsr-brick-100;
|
|
69
|
+
opacity: 0.4;
|
|
70
|
+
cursor: not-allowed;
|
|
71
|
+
}
|
|
69
72
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
73
|
+
&.btn-outline-light {
|
|
74
|
+
background-color: transparent;
|
|
75
|
+
border-color: $value;
|
|
76
|
+
color: $value;
|
|
77
|
+
opacity: 0.4;
|
|
78
|
+
cursor: not-allowed;
|
|
79
|
+
}
|
|
80
|
+
} @else {
|
|
81
|
+
/*
|
|
79
82
|
&.btn-#{$color} {
|
|
80
83
|
background-color: shade-color($value, 100%) !important;
|
|
81
84
|
border-color: shade-color($value, 100%);
|
|
@@ -92,67 +95,65 @@ $btn-padding-y: calc($base-gap * 2 - 1px);
|
|
|
92
95
|
cursor: not-allowed;
|
|
93
96
|
}
|
|
94
97
|
*/
|
|
95
|
-
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
+
}
|
|
98
99
|
}
|
|
100
|
+
}
|
|
99
101
|
}
|
|
100
102
|
|
|
101
103
|
.btn.btn-light {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
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;
|
|
104
|
+
--bs-btn-color: #{$bsr-brick-100};
|
|
105
|
+
&:hover {
|
|
106
|
+
&[aria-disabled="true"] {
|
|
107
|
+
background-color: $bsr-white-100 !important;
|
|
108
|
+
color: $bsr-brick-100 !important;
|
|
109
|
+
border-color: $bsr-brick-100 !important;
|
|
114
110
|
}
|
|
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
|
+
}
|
|
115
117
|
}
|
|
116
118
|
|
|
117
119
|
.btn.btn-outline-light {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
+
--bs-btn-hover-color: #{$bsr-brick-100} !important;
|
|
121
|
+
background: $bsr-brick-100;
|
|
120
122
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
123
|
+
&.btn:active {
|
|
124
|
+
--bs-btn-active-color: #{$bsr-brick-100};
|
|
125
|
+
}
|
|
124
126
|
}
|
|
125
127
|
|
|
126
128
|
.btn[class*="editingBtnAtom"] {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
129
|
+
font-size: $editingBtn-font-size;
|
|
130
|
+
line-height: $editingBtnAtom-line-height;
|
|
131
|
+
letter-spacing: $letter-spacing-xs;
|
|
132
|
+
font-weight: $fontweight-bold;
|
|
133
|
+
&[aria-disabled="true"] {
|
|
134
|
+
opacity: 0.4;
|
|
135
|
+
}
|
|
134
136
|
}
|
|
135
137
|
|
|
136
138
|
.btn[class*="iconOnlyBtnAtom"]:not([class*="btn-outline-brick"]) {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
139
|
+
padding: 0;
|
|
140
|
+
background-color: $secondary !important;
|
|
141
|
+
color: $light !important;
|
|
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;
|
|
140
150
|
border-color: $secondary !important;
|
|
141
|
-
text-decoration:
|
|
142
|
-
|
|
143
|
-
|
|
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
|
-
}
|
|
151
|
+
text-decoration: underline;
|
|
152
|
+
border-width: $bsr-border-width-m !important;
|
|
153
|
+
}
|
|
157
154
|
|
|
155
|
+
&:disabled {
|
|
156
|
+
opacity: 0.4;
|
|
157
|
+
cursor: not-allowed;
|
|
158
|
+
}
|
|
158
159
|
}
|