@rolster/react-components 18.10.9 → 18.10.11
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/{index-nrIFu6l7.css → index-_J97liwf.css} +26 -27
- package/dist/cjs/index.js +7 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/assets/{index-nrIFu6l7.css → index-_J97liwf.css} +26 -27
- package/dist/es/index.js +7 -5
- package/dist/es/index.js.map +1 -1
- package/dist/esm/components/atoms/Avatar/Avatar.css +0 -1
- package/dist/esm/components/atoms/CheckBox/CheckBox.css +2 -2
- package/dist/esm/components/atoms/RadioButton/RadioButton.css +2 -2
- package/dist/esm/components/molecules/ButtonToggle/ButtonToggle.css +2 -2
- package/dist/esm/components/molecules/DayPicker/DayPicker.css +2 -2
- package/dist/esm/components/molecules/DayRangePicker/DayRangePicker.css +2 -2
- package/dist/esm/components/molecules/MonthPicker/MonthPicker.css +2 -2
- package/dist/esm/components/molecules/Toolbar/Toolbar.css +1 -1
- package/dist/esm/components/molecules/YearPicker/YearPicker.css +1 -1
- package/dist/esm/components/organisms/Confirmation/Confirmation.css +4 -4
- package/dist/esm/components/organisms/Datatable/Datatable.d.ts +3 -2
- package/dist/esm/components/organisms/Datatable/Datatable.js +7 -5
- package/dist/esm/components/organisms/Datatable/Datatable.js.map +1 -1
- package/dist/esm/components/organisms/DatePicker/DatePicker.css +3 -3
- package/dist/esm/components/organisms/DateRangePicker/DateRangePicker.css +2 -2
- package/dist/esm/components/organisms/FormNavigation/FormNavigation.css +1 -1
- package/dist/esm/components/organisms/Modal/Modal.css +1 -1
- package/dist/esm/components/organisms/Snackbar/Snackbar.css +1 -1
- package/package.json +2 -2
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
|
|
26
26
|
.rls-avatar {
|
|
27
27
|
position: relative;
|
|
28
|
-
float: left;
|
|
29
28
|
display: flex;
|
|
30
29
|
justify-content: center;
|
|
31
30
|
overflow: hidden;
|
|
@@ -391,8 +390,8 @@
|
|
|
391
390
|
}
|
|
392
391
|
.rls-checkbox__component {
|
|
393
392
|
border-radius: var(--sizing-x1);
|
|
394
|
-
width:
|
|
395
|
-
height:
|
|
393
|
+
width: 7rem;
|
|
394
|
+
height: 7rem;
|
|
396
395
|
margin: auto;
|
|
397
396
|
background: var(--gradient-rolster-500);
|
|
398
397
|
transform: var(--pvt-component-transform);
|
|
@@ -647,8 +646,8 @@
|
|
|
647
646
|
}
|
|
648
647
|
.rls-radiobutton__component {
|
|
649
648
|
border-radius: 50%;
|
|
650
|
-
width:
|
|
651
|
-
height:
|
|
649
|
+
width: 7rem;
|
|
650
|
+
height: 7rem;
|
|
652
651
|
margin: auto;
|
|
653
652
|
background: var(--gradient-rolster-500);
|
|
654
653
|
transform: var(--pvt-component-transform);
|
|
@@ -900,7 +899,7 @@
|
|
|
900
899
|
--rls-button-toggle-ul-opacity: 0;
|
|
901
900
|
--rls-button-toggle-ul-transform: none;
|
|
902
901
|
position: absolute;
|
|
903
|
-
top:
|
|
902
|
+
top: 22.5rem;
|
|
904
903
|
left: 0rem;
|
|
905
904
|
width: 100%;
|
|
906
905
|
height: 0rem;
|
|
@@ -948,7 +947,7 @@
|
|
|
948
947
|
line-height: var(--sizing-x20);
|
|
949
948
|
cursor: default;
|
|
950
949
|
font-weight: var(--font-weight-bold);
|
|
951
|
-
font-size:
|
|
950
|
+
font-size: 6.6rem;
|
|
952
951
|
letter-spacing: 0.825px;
|
|
953
952
|
text-transform: uppercase;
|
|
954
953
|
color: var(--color-theme-300);
|
|
@@ -1002,7 +1001,7 @@
|
|
|
1002
1001
|
position: relative;
|
|
1003
1002
|
float: left;
|
|
1004
1003
|
width: 100%;
|
|
1005
|
-
max-width:
|
|
1004
|
+
max-width: 140rem;
|
|
1006
1005
|
box-sizing: border-box;
|
|
1007
1006
|
user-select: none;
|
|
1008
1007
|
}
|
|
@@ -1036,7 +1035,7 @@
|
|
|
1036
1035
|
height: var(--sizing-x18);
|
|
1037
1036
|
line-height: var(--sizing-x18);
|
|
1038
1037
|
margin: var(--sizing-x1) 0rem;
|
|
1039
|
-
font-size:
|
|
1038
|
+
font-size: 7rem;
|
|
1040
1039
|
font-weight: var(--font-weight-semibold);
|
|
1041
1040
|
background: var(--pvt-span-background);
|
|
1042
1041
|
}
|
|
@@ -1069,7 +1068,7 @@
|
|
|
1069
1068
|
position: relative;
|
|
1070
1069
|
float: left;
|
|
1071
1070
|
width: 100%;
|
|
1072
|
-
max-width:
|
|
1071
|
+
max-width: 140rem;
|
|
1073
1072
|
box-sizing: border-box;
|
|
1074
1073
|
user-select: none;
|
|
1075
1074
|
}
|
|
@@ -1103,7 +1102,7 @@
|
|
|
1103
1102
|
height: var(--sizing-x18);
|
|
1104
1103
|
line-height: var(--sizing-x18);
|
|
1105
1104
|
margin: var(--sizing-x1) 0rem;
|
|
1106
|
-
font-size:
|
|
1105
|
+
font-size: 7rem;
|
|
1107
1106
|
font-weight: var(--font-weight-semibold);
|
|
1108
1107
|
}
|
|
1109
1108
|
.rls-day-range-picker__day__span:not(:hover) {
|
|
@@ -1143,7 +1142,7 @@
|
|
|
1143
1142
|
position: relative;
|
|
1144
1143
|
float: left;
|
|
1145
1144
|
width: 100%;
|
|
1146
|
-
max-width:
|
|
1145
|
+
max-width: 140rem;
|
|
1147
1146
|
display: grid;
|
|
1148
1147
|
grid-template-columns: repeat(3, 1fr);
|
|
1149
1148
|
gap: var(--sizing-x2);
|
|
@@ -1173,7 +1172,7 @@
|
|
|
1173
1172
|
opacity: 0.5;
|
|
1174
1173
|
}
|
|
1175
1174
|
.rls-month-picker__span {
|
|
1176
|
-
font-size:
|
|
1175
|
+
font-size: 5.8rem;
|
|
1177
1176
|
margin: auto;
|
|
1178
1177
|
cursor: default;
|
|
1179
1178
|
pointer-events: none;
|
|
@@ -1406,7 +1405,7 @@
|
|
|
1406
1405
|
color: var(--color-theme-500);
|
|
1407
1406
|
height: var(--sizing-x12);
|
|
1408
1407
|
line-height: var(--sizing-x12);
|
|
1409
|
-
font-size:
|
|
1408
|
+
font-size: 8.125rem;
|
|
1410
1409
|
letter-spacing: var(--label-letter-spacing);
|
|
1411
1410
|
font-weight: var(--font-weight-bold);
|
|
1412
1411
|
}
|
|
@@ -1427,7 +1426,7 @@
|
|
|
1427
1426
|
position: relative;
|
|
1428
1427
|
float: left;
|
|
1429
1428
|
width: 100%;
|
|
1430
|
-
max-width:
|
|
1429
|
+
max-width: 140rem;
|
|
1431
1430
|
box-sizing: border-box;
|
|
1432
1431
|
overflow: hidden;
|
|
1433
1432
|
user-select: none;
|
|
@@ -1604,9 +1603,9 @@
|
|
|
1604
1603
|
--pvt-subtitle-letter-spacing: var(--body-letter-spacing);
|
|
1605
1604
|
--pvt-subtitle-line-height: var(--body-line-height);
|
|
1606
1605
|
--pvt-subtitle-text-transform: initial;
|
|
1607
|
-
--pvt-content-font-size:
|
|
1606
|
+
--pvt-content-font-size: 7.4rem;
|
|
1608
1607
|
--pvt-content-letter-spacing: 0.05em;
|
|
1609
|
-
--pvt-content-line-height:
|
|
1608
|
+
--pvt-content-line-height: 10.6rem;
|
|
1610
1609
|
--pvt-backdrop-opacity: 0;
|
|
1611
1610
|
--pvt-backdrop-bottom: initial;
|
|
1612
1611
|
position: fixed;
|
|
@@ -1635,7 +1634,7 @@
|
|
|
1635
1634
|
flex-direction: column;
|
|
1636
1635
|
row-gap: var(--sizing-x8);
|
|
1637
1636
|
width: calc(100% - var(--sizing-x16));
|
|
1638
|
-
max-width:
|
|
1637
|
+
max-width: 280rem;
|
|
1639
1638
|
height: var(--pvt-component-height);
|
|
1640
1639
|
opacity: var(--pvt-component-opacity);
|
|
1641
1640
|
visibility: var(--pvt-component-visibility);
|
|
@@ -1732,7 +1731,7 @@
|
|
|
1732
1731
|
--pvt-subtitle-font-size: var(--smalltext-font-size);
|
|
1733
1732
|
--pvt-subtitle-letter-spacing: var(--smalltext-letter-spacing);
|
|
1734
1733
|
--pvt-subtitle-line-height: var(--smalltext-line-height);
|
|
1735
|
-
--pvt-content-font-size:
|
|
1734
|
+
--pvt-content-font-size: 7.325rem;
|
|
1736
1735
|
}
|
|
1737
1736
|
.rls-confirmation__footer__actions {
|
|
1738
1737
|
flex-direction: column-reverse;
|
|
@@ -1746,7 +1745,7 @@
|
|
|
1746
1745
|
display: flex;
|
|
1747
1746
|
flex-direction: column;
|
|
1748
1747
|
overflow: hidden;
|
|
1749
|
-
max-width:
|
|
1748
|
+
max-width: 150rem;
|
|
1750
1749
|
}
|
|
1751
1750
|
.rls-date-picker__header {
|
|
1752
1751
|
background: var(--color-rolster-100);
|
|
@@ -1766,7 +1765,7 @@
|
|
|
1766
1765
|
.rls-date-picker__title--description {
|
|
1767
1766
|
height: var(--sizing-x16);
|
|
1768
1767
|
line-height: var(--sizing-x16);
|
|
1769
|
-
font-size:
|
|
1768
|
+
font-size: 9.25rem;
|
|
1770
1769
|
}
|
|
1771
1770
|
.rls-date-picker__title--year {
|
|
1772
1771
|
margin: var(--sizing-x4) 0rem var(--sizing-x2) 0rem;
|
|
@@ -1777,7 +1776,7 @@
|
|
|
1777
1776
|
}
|
|
1778
1777
|
.rls-date-picker__component {
|
|
1779
1778
|
display: flex;
|
|
1780
|
-
width:
|
|
1779
|
+
width: 150rem;
|
|
1781
1780
|
padding: 0rem var(--sizing-x2);
|
|
1782
1781
|
box-sizing: border-box;
|
|
1783
1782
|
margin-bottom: var(--sizing-x4);
|
|
@@ -1820,7 +1819,7 @@
|
|
|
1820
1819
|
}
|
|
1821
1820
|
|
|
1822
1821
|
.rls-modal {
|
|
1823
|
-
--pvt-component-transform: translateY(
|
|
1822
|
+
--pvt-component-transform: translateY(80rem) scale(0.6);
|
|
1824
1823
|
--pvt-component-height: 0rem;
|
|
1825
1824
|
--pvt-component-opacity: 0;
|
|
1826
1825
|
--pvt-component-visibility: hidden;
|
|
@@ -1923,7 +1922,7 @@
|
|
|
1923
1922
|
.rls-date-range-picker {
|
|
1924
1923
|
position: relative;
|
|
1925
1924
|
float: left;
|
|
1926
|
-
max-width:
|
|
1925
|
+
max-width: 150rem;
|
|
1927
1926
|
overflow: hidden;
|
|
1928
1927
|
}
|
|
1929
1928
|
.rls-date-range-picker__header {
|
|
@@ -1944,7 +1943,7 @@
|
|
|
1944
1943
|
.rls-date-range-picker__title--description {
|
|
1945
1944
|
height: var(--sizing-x16);
|
|
1946
1945
|
line-height: var(--sizing-x16);
|
|
1947
|
-
font-size:
|
|
1946
|
+
font-size: 9.25rem;
|
|
1948
1947
|
}
|
|
1949
1948
|
.rls-date-range-picker__title--year {
|
|
1950
1949
|
margin: var(--sizing-x4) 0rem var(--sizing-x2) 0rem;
|
|
@@ -2045,7 +2044,7 @@
|
|
|
2045
2044
|
top: var(--sizing-x8);
|
|
2046
2045
|
right: var(--sizing-x8);
|
|
2047
2046
|
width: calc(100% - var(--sizing-x16));
|
|
2048
|
-
max-width:
|
|
2047
|
+
max-width: 160rem;
|
|
2049
2048
|
height: auto;
|
|
2050
2049
|
max-height: calc(100vh - var(--sizing-x16));
|
|
2051
2050
|
z-index: var(--z-index-12);
|
|
@@ -2090,7 +2089,7 @@
|
|
|
2090
2089
|
z-index: 32;
|
|
2091
2090
|
width: auto;
|
|
2092
2091
|
height: auto;
|
|
2093
|
-
max-width:
|
|
2092
|
+
max-width: 240rem;
|
|
2094
2093
|
padding: var(--sizing-x6);
|
|
2095
2094
|
box-sizing: border-box;
|
|
2096
2095
|
border-radius: var(--sizing-x4);
|
package/dist/cjs/index.js
CHANGED
|
@@ -1525,14 +1525,16 @@ function RlsDatatableHeader({ children }) {
|
|
|
1525
1525
|
return jsxRuntime.jsx("tr", { className: "rls-datatable__header", children: children });
|
|
1526
1526
|
}
|
|
1527
1527
|
function RlsDatatableTitle({ children, className, control }) {
|
|
1528
|
-
return (jsxRuntime.jsx("th", { className:
|
|
1528
|
+
return (jsxRuntime.jsx("th", { className: (renderClassStatus('rls-datatable__title', { control }) +
|
|
1529
|
+
` ${className || ''}`).trim(), children: children }));
|
|
1529
1530
|
}
|
|
1530
|
-
function RlsDatatableData({ children, className }) {
|
|
1531
|
-
return jsxRuntime.jsx("tr", { className:
|
|
1531
|
+
function RlsDatatableData({ children, className, error }) {
|
|
1532
|
+
return (jsxRuntime.jsx("tr", { className: (renderClassStatus('rls-datatable__data', { error }) +
|
|
1533
|
+
` ${className || ''}`).trim(), children: children }));
|
|
1532
1534
|
}
|
|
1533
1535
|
function RlsDatatableCell({ children, className, control, overflow }) {
|
|
1534
|
-
return (jsxRuntime.jsx("th", { className:
|
|
1535
|
-
|
|
1536
|
+
return (jsxRuntime.jsx("th", { className: (renderClassStatus('rls-datatable__cell', { control, overflow }) +
|
|
1537
|
+
` ${className || ''}`).trim(), children: children }));
|
|
1536
1538
|
}
|
|
1537
1539
|
function RlsDatatable({ children, footer, header, rlsTheme }) {
|
|
1538
1540
|
return (jsxRuntime.jsxs("div", { className: "rls-datatable", "rls-theme": rlsTheme, children: [jsxRuntime.jsxs("table", { children: [header && jsxRuntime.jsx("thead", { className: "rls-datatable__thead", children: header }), jsxRuntime.jsx("tbody", { className: "rls-datatable__tbody", children: children })] }), footer && jsxRuntime.jsx("div", { className: "rls-datatable__tfooter", children: footer })] }));
|