@pinuts/bsr-uikit-relaunch 0.2.21 → 0.2.23
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/BSRStreetPlzSelector.d.ts.map +1 -1
- package/dist/items/BSRAddressSelector/BSRStreetPlzSelector.js +2 -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":"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) {
|
|
@@ -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
|
}
|