@rolster/react-components 1.5.6 → 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-1621a5fc.css → lib.cjs-c052832f.css} +5 -0
- package/dist/cjs/lib.cjs.js +1 -1
- package/dist/cjs/lib.cjs.js.map +1 -1
- package/dist/es/assets/{lib-1621a5fc.css → lib-c052832f.css} +5 -0
- package/dist/es/lib.js +1 -1
- package/dist/es/lib.js.map +1 -1
- package/dist/esm/components/atoms/Button/Button.css +4 -0
- 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/SearchInput/SearchInput.css +1 -0
- 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);
|
|
@@ -248,6 +249,9 @@
|
|
|
248
249
|
font-weight: var(--font-weight-bold);
|
|
249
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;
|
|
@@ -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);
|
package/dist/es/lib.js
CHANGED
|
@@ -1396,7 +1396,7 @@ function RlsIcon({ value, skeleton }) {
|
|
|
1396
1396
|
}
|
|
1397
1397
|
|
|
1398
1398
|
function RlsButton({ type, children, disabled, prefixIcon, suffixIcon, rlsTheme, onClick }) {
|
|
1399
|
-
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
|
|
1399
|
+
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 })] }) }));
|
|
1400
1400
|
}
|
|
1401
1401
|
|
|
1402
1402
|
function RlsButtonAction({ icon, disabled, tooltip, onClick }) {
|