@react-ui-org/react-ui 0.55.1 → 0.56.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.nvmrc +1 -1
- package/dist/react-ui.css +16 -21
- package/dist/react-ui.development.css +18 -37
- package/dist/react-ui.development.js +101 -91
- package/dist/react-ui.js +1 -1
- package/package.json +41 -39
- package/src/components/Alert/Alert.jsx +1 -1
- package/src/components/Alert/README.md +5 -4
- package/src/components/Badge/Badge.jsx +1 -1
- package/src/components/Badge/README.md +5 -4
- package/src/components/Button/Button.jsx +1 -1
- package/src/components/Button/README.md +20 -18
- package/src/components/Button/_base.scss +1 -4
- package/src/components/ButtonGroup/ButtonGroup.jsx +1 -1
- package/src/components/ButtonGroup/README.md +5 -4
- package/src/components/Card/Card.jsx +1 -1
- package/src/components/Card/CardBody.jsx +1 -1
- package/src/components/Card/CardFooter.jsx +1 -1
- package/src/components/Card/README.md +5 -4
- package/src/components/CheckboxField/CheckboxField.jsx +2 -2
- package/src/components/CheckboxField/README.md +8 -4
- package/src/components/FileInputField/FileInputField.jsx +3 -3
- package/src/components/FileInputField/README.md +8 -4
- package/src/components/FormLayout/FormLayout.jsx +1 -1
- package/src/components/FormLayout/FormLayoutCustomField.jsx +1 -1
- package/src/components/FormLayout/README.md +5 -4
- package/src/components/Grid/Grid.jsx +1 -1
- package/src/components/Grid/Grid.module.scss +2 -4
- package/src/components/Grid/GridSpan.jsx +1 -1
- package/src/components/Grid/README.md +6 -4
- package/src/components/Grid/_settings.scss +2 -2
- package/src/components/InputGroup/InputGroup.jsx +2 -2
- package/src/components/InputGroup/README.md +5 -4
- package/src/components/Modal/Modal.jsx +1 -1
- package/src/components/Modal/Modal.module.scss +1 -1
- package/src/components/Modal/ModalBody.jsx +1 -1
- package/src/components/Modal/ModalCloseButton.jsx +1 -1
- package/src/components/Modal/ModalContent.jsx +1 -1
- package/src/components/Modal/ModalFooter.jsx +1 -1
- package/src/components/Modal/ModalHeader.jsx +2 -4
- package/src/components/Modal/ModalTitle.jsx +2 -4
- package/src/components/Modal/README.md +3 -2
- package/src/components/Paper/Paper.jsx +1 -1
- package/src/components/Paper/README.md +5 -4
- package/src/components/Popover/Popover.jsx +1 -1
- package/src/components/Popover/PopoverWrapper.jsx +1 -1
- package/src/components/Popover/README.md +5 -4
- package/src/components/Radio/README.md +8 -4
- package/src/components/Radio/Radio.jsx +2 -2
- package/src/components/ScrollView/README.md +5 -4
- package/src/components/ScrollView/ScrollView.jsx +1 -1
- package/src/components/ScrollView/ScrollView.module.scss +2 -4
- package/src/components/SelectField/README.md +8 -4
- package/src/components/SelectField/SelectField.jsx +2 -2
- package/src/components/Table/README.md +5 -4
- package/src/components/Table/Table.jsx +1 -1
- package/src/components/Tabs/README.md +3 -2
- package/src/components/Tabs/Tabs.jsx +1 -1
- package/src/components/Tabs/TabsItem.jsx +1 -1
- package/src/components/Text/README.md +3 -2
- package/src/components/Text/Text.jsx +1 -1
- package/src/components/TextArea/README.md +8 -4
- package/src/components/TextArea/TextArea.jsx +2 -2
- package/src/components/TextField/README.md +8 -4
- package/src/components/TextField/TextField.jsx +2 -2
- package/src/components/TextLink/README.md +5 -4
- package/src/components/TextLink/TextLink.jsx +1 -1
- package/src/components/Toggle/README.md +8 -4
- package/src/components/Toggle/Toggle.jsx +2 -2
- package/src/components/Toolbar/README.md +5 -4
- package/src/components/Toolbar/Toolbar.jsx +1 -1
- package/src/components/Toolbar/ToolbarGroup.jsx +1 -1
- package/src/components/Toolbar/ToolbarItem.jsx +1 -1
- package/src/index.js +1 -0
- package/src/provider/RUIProvider.jsx +6 -3
- package/src/styles/tools/form-fields/_box-field-layout.scss +1 -2
- package/src/styles/tools/form-fields/_inline-field-layout.scss +1 -0
- package/src/utils/mergeDeep.js +28 -0
- package/src/{components/_helpers → utils}/transferProps.js +0 -8
@@ -3703,10 +3703,7 @@
|
|
3703
3703
|
}
|
3704
3704
|
.Button-module__feedbackIcon__ry0Mv9vN {
|
3705
3705
|
position: absolute;
|
3706
|
-
|
3707
|
-
right: 0;
|
3708
|
-
bottom: 0;
|
3709
|
-
left: 0;
|
3706
|
+
inset: 0;
|
3710
3707
|
z-index: 1;
|
3711
3708
|
align-items: center;
|
3712
3709
|
}
|
@@ -5378,8 +5375,7 @@
|
|
5378
5375
|
}
|
5379
5376
|
.FormLayoutCustomField-module__isRootLayoutHorizontal__u3SsP1T1 .FormLayoutCustomField-module__field__e10UO6e7 {
|
5380
5377
|
grid-area: field;
|
5381
|
-
|
5382
|
-
justify-self: start;
|
5378
|
+
place-self: var(--rui-FormField--horizontal__field__vertical-alignment) start;
|
5383
5379
|
}
|
5384
5380
|
}
|
5385
5381
|
@media (min-width: 48em) {
|
@@ -5832,6 +5828,7 @@
|
|
5832
5828
|
}
|
5833
5829
|
.CheckboxField-module__isRootInFormLayout__qJftdsXt.CheckboxField-module__isRootLayoutHorizontal__xNZjpdEE .CheckboxField-module__label__COOgBeex {
|
5834
5830
|
grid-column-start: 1;
|
5831
|
+
align-self: start;
|
5835
5832
|
width: auto;
|
5836
5833
|
padding-right: var(--rui-dimension-space-2);
|
5837
5834
|
margin-left: 0;
|
@@ -6126,8 +6123,7 @@
|
|
6126
6123
|
}
|
6127
6124
|
.FileInputField-module__isRootLayoutHorizontal__lHc4IRZD .FileInputField-module__field__SZE7nT5K {
|
6128
6125
|
grid-area: field;
|
6129
|
-
|
6130
|
-
justify-self: start;
|
6126
|
+
place-self: var(--rui-FormField--horizontal__field__vertical-alignment) start;
|
6131
6127
|
}
|
6132
6128
|
}
|
6133
6129
|
@media (min-width: 48em) {
|
@@ -6248,10 +6244,8 @@
|
|
6248
6244
|
grid-template-rows: var(--rui-local-rows);
|
6249
6245
|
grid-auto-flow: var(--rui-local-auto-flow);
|
6250
6246
|
grid-gap: var(--rui-local-row-gap) var(--rui-local-column-gap);
|
6251
|
-
|
6252
|
-
|
6253
|
-
justify-content: var(--rui-local-justify-content);
|
6254
|
-
justify-items: var(--rui-local-justify-items);
|
6247
|
+
place-content: var(--rui-local-align-content) var(--rui-local-justify-content);
|
6248
|
+
place-items: var(--rui-local-align-items) var(--rui-local-justify-items);
|
6255
6249
|
}
|
6256
6250
|
@media (min-width: 36em) {
|
6257
6251
|
.Grid-module__root__m6PTEyJq {
|
@@ -6677,12 +6671,10 @@
|
|
6677
6671
|
text-overflow: ellipsis;
|
6678
6672
|
}
|
6679
6673
|
.Text-module__isRootHyphensAuto__m1nWJ4re {
|
6680
|
-
|
6681
|
-
hyphens: auto;
|
6674
|
+
hyphens: auto;
|
6682
6675
|
}
|
6683
6676
|
.Text-module__isRootHyphensManual__upey6EkW {
|
6684
|
-
|
6685
|
-
hyphens: manual;
|
6677
|
+
hyphens: manual;
|
6686
6678
|
}
|
6687
6679
|
.Text-module__isRootWordWrappingAnywhere__jt5wmKlV {
|
6688
6680
|
word-break: break-all;
|
@@ -6974,8 +6966,7 @@
|
|
6974
6966
|
}
|
6975
6967
|
.InputGroup-module__isRootLayoutHorizontal__E9aM__PG .InputGroup-module__field__UIKh_s8O {
|
6976
6968
|
grid-area: field;
|
6977
|
-
|
6978
|
-
justify-self: start;
|
6969
|
+
place-self: var(--rui-FormField--horizontal__field__vertical-alignment) start;
|
6979
6970
|
}
|
6980
6971
|
}
|
6981
6972
|
@media (min-width: 48em) {
|
@@ -7040,11 +7031,11 @@
|
|
7040
7031
|
max-width: var(--rui-local-max-width);
|
7041
7032
|
max-height: var(--rui-local-max-height);
|
7042
7033
|
overflow-y: auto;
|
7043
|
-
overscroll-behavior: contain;
|
7044
7034
|
border-radius: var(--rui-dimension-radius-2);
|
7045
7035
|
background: var(--rui-Modal__background);
|
7046
7036
|
box-shadow: var(--rui-Modal__box-shadow);
|
7047
7037
|
transform: translateX(-50%);
|
7038
|
+
overscroll-behavior: contain;
|
7048
7039
|
}
|
7049
7040
|
@media (min-width: 36em) {
|
7050
7041
|
.Modal-module__root__ifxS_8bg {
|
@@ -7835,8 +7826,7 @@
|
|
7835
7826
|
}
|
7836
7827
|
.Radio-module__isRootLayoutHorizontal__kiXsrxex .Radio-module__field__fEX1KJ1l {
|
7837
7828
|
grid-area: field;
|
7838
|
-
|
7839
|
-
justify-self: start;
|
7829
|
+
place-self: var(--rui-FormField--horizontal__field__vertical-alignment) start;
|
7840
7830
|
}
|
7841
7831
|
}
|
7842
7832
|
@media (min-width: 48em) {
|
@@ -7992,8 +7982,7 @@
|
|
7992
7982
|
}
|
7993
7983
|
.ScrollView-module__isRootVertical__Bm4Pguep .ScrollView-module__viewport__LsYZ6t7A {
|
7994
7984
|
height: 100%;
|
7995
|
-
overflow
|
7996
|
-
overflow-y: auto;
|
7985
|
+
overflow: clip auto;
|
7997
7986
|
}
|
7998
7987
|
.ScrollView-module__isRootVertical__Bm4Pguep .ScrollView-module__arrowPrev__hjvS6Zm8 {
|
7999
7988
|
top: 0;
|
@@ -8060,8 +8049,7 @@
|
|
8060
8049
|
transform: translateY(calc(-1 * var(--rui-local-end-shadow-initial-offset)));
|
8061
8050
|
}
|
8062
8051
|
.ScrollView-module__isRootHorizontal__Uid9wTWM .ScrollView-module__viewport__LsYZ6t7A {
|
8063
|
-
overflow
|
8064
|
-
overflow-y: clip;
|
8052
|
+
overflow: auto clip;
|
8065
8053
|
}
|
8066
8054
|
.ScrollView-module__isRootHorizontal__Uid9wTWM .ScrollView-module__content__MzOH2Ajq {
|
8067
8055
|
display: inline-flex;
|
@@ -8671,8 +8659,7 @@
|
|
8671
8659
|
}
|
8672
8660
|
.SelectField-module__isRootLayoutHorizontal__CPQ6cI7b .SelectField-module__field__OGZrVIr0 {
|
8673
8661
|
grid-area: field;
|
8674
|
-
|
8675
|
-
justify-self: start;
|
8662
|
+
place-self: var(--rui-FormField--horizontal__field__vertical-alignment) start;
|
8676
8663
|
}
|
8677
8664
|
}
|
8678
8665
|
@media (min-width: 48em) {
|
@@ -9499,8 +9486,7 @@
|
|
9499
9486
|
}
|
9500
9487
|
.TextArea-module__isRootLayoutHorizontal__cNOI7ysK .TextArea-module__field__gBoGySQg {
|
9501
9488
|
grid-area: field;
|
9502
|
-
|
9503
|
-
justify-self: start;
|
9489
|
+
place-self: var(--rui-FormField--horizontal__field__vertical-alignment) start;
|
9504
9490
|
}
|
9505
9491
|
}
|
9506
9492
|
@media (min-width: 48em) {
|
@@ -9670,12 +9656,7 @@
|
|
9670
9656
|
color: var(--rui-local-surrounding-text-color, var(--rui-FormField__help-text__color));
|
9671
9657
|
}
|
9672
9658
|
.TextField-module__hasRootCustomInputSize__EgSM_H1h .TextField-module__input__EJkZBuV_ {
|
9673
|
-
width: calc(
|
9674
|
-
1ch * var(--rui-custom-input-size)
|
9675
|
-
+ var(--rui-local-arrows-width, 0)
|
9676
|
-
+ 2 * var(--rui-local-padding-x)
|
9677
|
-
+ 2 * var(--rui-FormField--box__border-width)
|
9678
|
-
);
|
9659
|
+
width: calc(1ch * var(--rui-custom-input-size) + var(--rui-local-arrows-width, 0) + 2 * var(--rui-local-padding-x) + 2 * var(--rui-FormField--box__border-width));
|
9679
9660
|
min-width: auto;
|
9680
9661
|
}
|
9681
9662
|
.TextField-module__hasRootCustomInputSize__EgSM_H1h .TextField-module__input__EJkZBuV_[type=number] {
|
@@ -10125,8 +10106,7 @@
|
|
10125
10106
|
}
|
10126
10107
|
.TextField-module__isRootLayoutHorizontal__OH1K4lj5 .TextField-module__field__iXnhzy2A {
|
10127
10108
|
grid-area: field;
|
10128
|
-
|
10129
|
-
justify-self: start;
|
10109
|
+
place-self: var(--rui-FormField--horizontal__field__vertical-alignment) start;
|
10130
10110
|
}
|
10131
10111
|
}
|
10132
10112
|
.TextField-module__isRootFullWidth__v9O9JDms {
|
@@ -10707,6 +10687,7 @@
|
|
10707
10687
|
}
|
10708
10688
|
.Toggle-module__isRootInFormLayout__op60MdLR.Toggle-module__isRootLayoutHorizontal__hwPmxjxq .Toggle-module__label__rk_uCGgk {
|
10709
10689
|
grid-column-start: 1;
|
10690
|
+
align-self: start;
|
10710
10691
|
width: auto;
|
10711
10692
|
padding-right: var(--rui-dimension-space-2);
|
10712
10693
|
margin-left: 0;
|