@rolster/react-components 1.5.5 → 1.5.7
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/cjs/assets/{lib.cjs-49b3766e.css → lib.cjs-c052832f.css} +16 -11
- package/dist/cjs/lib.cjs.js +1 -1
- package/dist/cjs/lib.cjs.js.map +1 -1
- package/dist/es/assets/{lib-49b3766e.css → lib-c052832f.css} +16 -11
- package/dist/es/lib.js +1 -1
- package/dist/es/lib.js.map +1 -1
- package/dist/esm/components/atoms/Button/Button.css +6 -2
- package/dist/esm/components/atoms/Button/Button.js +1 -1
- package/dist/esm/components/atoms/Button/Button.js.map +1 -1
- package/dist/esm/components/atoms/ButtonAction/ButtonAction.css +7 -7
- package/dist/esm/components/atoms/SearchInput/SearchInput.css +1 -0
- package/dist/esm/components/molecules/PasswordField/PasswordField.css +2 -2
- package/package.json +2 -2
|
@@ -187,6 +187,7 @@
|
|
|
187
187
|
.rls-button__content {
|
|
188
188
|
display: flex;
|
|
189
189
|
justify-content: center;
|
|
190
|
+
overflow: hidden;
|
|
190
191
|
line-height: var(--sizing-40);
|
|
191
192
|
height: var(--sizing-40);
|
|
192
193
|
padding: var(--rls-button-content-padding);
|
|
@@ -244,10 +245,13 @@
|
|
|
244
245
|
line-height: initial;
|
|
245
246
|
width: auto;
|
|
246
247
|
margin: auto 0rem;
|
|
247
|
-
font-size:
|
|
248
|
+
font-size: var(--button-font-size);
|
|
248
249
|
font-weight: var(--font-weight-bold);
|
|
249
|
-
letter-spacing:
|
|
250
|
+
letter-spacing: var(--button-letter-spacing);
|
|
250
251
|
text-transform: var(--rls-button-label-text-transform);
|
|
252
|
+
text-overflow: ellipsis;
|
|
253
|
+
overflow: hidden;
|
|
254
|
+
white-space: nowrap;
|
|
251
255
|
}
|
|
252
256
|
.rls-button__label a {
|
|
253
257
|
text-decoration: none;
|
|
@@ -280,7 +284,7 @@
|
|
|
280
284
|
user-select: none;
|
|
281
285
|
cursor: default;
|
|
282
286
|
background: transparent;
|
|
283
|
-
color: var(--rls-
|
|
287
|
+
color: var(--rls-action-color);
|
|
284
288
|
}
|
|
285
289
|
.rls-button-action::before {
|
|
286
290
|
position: absolute;
|
|
@@ -292,7 +296,7 @@
|
|
|
292
296
|
visibility: hidden;
|
|
293
297
|
border-radius: 50%;
|
|
294
298
|
transform: scale(0);
|
|
295
|
-
background: var(--rls-
|
|
299
|
+
background: var(--rls-action-ripple-color);
|
|
296
300
|
padding-top: calc(120% - var(--sizing-8));
|
|
297
301
|
padding-left: calc(120% - var(--sizing-8));
|
|
298
302
|
margin-top: calc(-60% + var(--sizing-4));
|
|
@@ -310,12 +314,12 @@
|
|
|
310
314
|
top: 50%;
|
|
311
315
|
left: 50%;
|
|
312
316
|
opacity: 0.24;
|
|
313
|
-
width: var(--rls-
|
|
314
|
-
height: var(--rls-
|
|
315
|
-
margin-top: var(--rls-
|
|
316
|
-
margin-left: var(--rls-
|
|
317
|
+
width: var(--rls-action-ripple-dimension);
|
|
318
|
+
height: var(--rls-action-ripple-dimension);
|
|
319
|
+
margin-top: var(--rls-action-ripple-position);
|
|
320
|
+
margin-left: var(--rls-action-ripple-position);
|
|
317
321
|
border-radius: 50%;
|
|
318
|
-
background: var(--rls-
|
|
322
|
+
background: var(--rls-action-ripple-color);
|
|
319
323
|
transform: scale(0);
|
|
320
324
|
transition: transform 160ms 0ms var(--sharp-curve);
|
|
321
325
|
}
|
|
@@ -643,6 +647,7 @@
|
|
|
643
647
|
position: relative;
|
|
644
648
|
float: left;
|
|
645
649
|
display: flex;
|
|
650
|
+
align-items: center;
|
|
646
651
|
padding: var(--sizing-8) var(--sizing-12);
|
|
647
652
|
box-sizing: border-box;
|
|
648
653
|
border: var(--border-1-theme-300);
|
|
@@ -1240,8 +1245,8 @@
|
|
|
1240
1245
|
|
|
1241
1246
|
.rls-password-field {
|
|
1242
1247
|
--rls-input-parent-padding: var(--sizing-6) var(--sizing-8);
|
|
1243
|
-
--rls-
|
|
1244
|
-
--rls-
|
|
1248
|
+
--rls-action-ripple-dimension: var(--sizing-32);
|
|
1249
|
+
--rls-action-ripple-position: -1rem;
|
|
1245
1250
|
position: relative;
|
|
1246
1251
|
float: left;
|
|
1247
1252
|
width: 100%;
|
package/dist/cjs/lib.cjs.js
CHANGED
|
@@ -1398,7 +1398,7 @@ function RlsIcon({ value, skeleton }) {
|
|
|
1398
1398
|
}
|
|
1399
1399
|
|
|
1400
1400
|
function RlsButton({ type, children, disabled, prefixIcon, suffixIcon, rlsTheme, onClick }) {
|
|
1401
|
-
return (jsxRuntimeExports.jsx("button", { className: "rls-button", onClick: onClick, "rls-theme": rlsTheme, disabled: disabled, children: jsxRuntimeExports.jsxs("div", { className: renderClassStatus('rls-button__content', { type }), children: [prefixIcon && jsxRuntimeExports.jsx(RlsIcon, { value: prefixIcon }), children && (jsxRuntimeExports.jsx("div", { className: "rls-button__label
|
|
1401
|
+
return (jsxRuntimeExports.jsx("button", { className: "rls-button", onClick: onClick, "rls-theme": rlsTheme, disabled: disabled, children: jsxRuntimeExports.jsxs("div", { className: renderClassStatus('rls-button__content', { type }), children: [prefixIcon && jsxRuntimeExports.jsx(RlsIcon, { value: prefixIcon }), children && (jsxRuntimeExports.jsx("div", { className: "rls-button__label", children: children })), suffixIcon && jsxRuntimeExports.jsx(RlsIcon, { value: suffixIcon })] }) }));
|
|
1402
1402
|
}
|
|
1403
1403
|
|
|
1404
1404
|
function RlsButtonAction({ icon, disabled, tooltip, onClick }) {
|