@doist/reactist 22.1.0 → 22.3.0
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/reactist.cjs.development.js +21 -20
- package/dist/reactist.cjs.development.js.map +1 -1
- package/dist/reactist.cjs.production.min.js +1 -1
- package/dist/reactist.cjs.production.min.js.map +1 -1
- package/es/alert/alert.js +4 -3
- package/es/alert/alert.js.map +1 -1
- package/es/alert/alert.module.css.js +1 -1
- package/es/base-field/base-field.module.css.js +1 -1
- package/es/icons/alert-icon.js +12 -12
- package/es/icons/alert-icon.js.map +1 -1
- package/es/select-field/select-field.module.css.js +1 -1
- package/es/text-area/text-area.module.css.js +1 -1
- package/es/text-field/text-field.module.css.js +1 -1
- package/lib/alert/alert.js +1 -1
- package/lib/alert/alert.js.map +1 -1
- package/lib/alert/alert.module.css.js +1 -1
- package/lib/base-field/base-field.module.css.js +1 -1
- package/lib/icons/alert-icon.js +1 -1
- package/lib/icons/alert-icon.js.map +1 -1
- package/lib/select-field/select-field.module.css.js +1 -1
- package/lib/text-area/text-area.module.css.js +1 -1
- package/lib/text-field/text-field.module.css.js +1 -1
- package/package.json +2 -2
- package/styles/alert.css +1 -1
- package/styles/alert.module.css.css +1 -1
- package/styles/base-field.css +1 -1
- package/styles/base-field.module.css.css +1 -1
- package/styles/password-field.css +2 -2
- package/styles/reactist.css +6 -6
- package/styles/select-field.css +2 -2
- package/styles/select-field.module.css.css +1 -1
- package/styles/switch-field.css +1 -1
- package/styles/text-area.css +2 -2
- package/styles/text-area.module.css.css +1 -1
- package/styles/text-field.css +2 -2
- package/styles/text-field.module.css.css +1 -1
|
@@ -725,56 +725,56 @@ function AlertIcon(_ref) {
|
|
|
725
725
|
|
|
726
726
|
function AlertInfoIcon(props) {
|
|
727
727
|
return /*#__PURE__*/React.createElement("svg", _objectSpread2({
|
|
728
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
728
729
|
width: "24",
|
|
729
730
|
height: "24",
|
|
730
|
-
|
|
731
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
731
|
+
viewBox: "0 0 24 24"
|
|
732
732
|
}, props), /*#__PURE__*/React.createElement("path", {
|
|
733
733
|
fillRule: "evenodd",
|
|
734
734
|
clipRule: "evenodd",
|
|
735
|
-
d: "
|
|
735
|
+
d: "M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-8-3.94a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10.25 10a.75.75 0 0 0 0 1.5h1.25V15h-1.25a.75.75 0 0 0 0 1.5h3.5a.75.75 0 0 0 0-1.5H13v-4.25a.75.75 0 0 0-.75-.75h-2Z",
|
|
736
736
|
fill: "currentColor"
|
|
737
737
|
}));
|
|
738
738
|
}
|
|
739
739
|
|
|
740
740
|
function AlertPositiveIcon(props) {
|
|
741
741
|
return /*#__PURE__*/React.createElement("svg", _objectSpread2({
|
|
742
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
742
743
|
width: "24",
|
|
743
744
|
height: "24",
|
|
744
|
-
|
|
745
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
745
|
+
viewBox: "0 0 24 24"
|
|
746
746
|
}, props), /*#__PURE__*/React.createElement("path", {
|
|
747
747
|
fillRule: "evenodd",
|
|
748
748
|
clipRule: "evenodd",
|
|
749
|
-
d: "
|
|
749
|
+
d: "M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-5.555-2.99a.75.75 0 0 1 1.06 1.06l-5.303 5.304a.748.748 0 0 1-1.061 0l-2.475-2.475a.75.75 0 0 1 1.06-1.06l1.945 1.944 4.774-4.773Z",
|
|
750
750
|
fill: "currentColor"
|
|
751
751
|
}));
|
|
752
752
|
}
|
|
753
753
|
|
|
754
754
|
function AlertCautionIcon(props) {
|
|
755
755
|
return /*#__PURE__*/React.createElement("svg", _objectSpread2({
|
|
756
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
756
757
|
width: "24",
|
|
757
758
|
height: "24",
|
|
758
|
-
|
|
759
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
759
|
+
viewBox: "0 0 24 24"
|
|
760
760
|
}, props), /*#__PURE__*/React.createElement("path", {
|
|
761
761
|
fillRule: "evenodd",
|
|
762
762
|
clipRule: "evenodd",
|
|
763
|
-
d: "
|
|
763
|
+
d: "m10.272 4.962-7.018 12.03A2 2 0 0 0 4.982 20h14.036a2 2 0 0 0 1.727-3.008l-7.018-12.03a2 2 0 0 0-3.455 0ZM13 16.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-.014-7.013A.987.987 0 0 0 12 8.5h-.028l-.027.002a.987.987 0 0 0-.93 1.04l.236 4.25c.052.944 1.445.944 1.498 0l.236-4.25a1.925 1.925 0 0 0 .001-.055Z",
|
|
764
764
|
fill: "currentColor"
|
|
765
765
|
}));
|
|
766
766
|
}
|
|
767
767
|
|
|
768
768
|
function AlertCriticalIcon(props) {
|
|
769
769
|
return /*#__PURE__*/React.createElement("svg", _objectSpread2({
|
|
770
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
770
771
|
width: "24",
|
|
771
772
|
height: "24",
|
|
772
|
-
|
|
773
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
773
|
+
viewBox: "0 0 24 24"
|
|
774
774
|
}, props), /*#__PURE__*/React.createElement("path", {
|
|
775
775
|
fillRule: "evenodd",
|
|
776
776
|
clipRule: "evenodd",
|
|
777
|
-
d: "M12
|
|
777
|
+
d: "M12.9866 2.25049C12.3729 1.91683 11.6271 1.91683 11.0134 2.25049L4.04793 6.03744C3.40122 6.38904 2.99999 7.05702 2.99999 7.78208V15.2184C2.99999 15.9435 3.40122 16.6115 4.04793 16.963L11.0134 20.75C11.6271 21.0837 12.3729 21.0837 12.9866 20.75L19.9521 16.963C20.5988 16.6114 21 15.9435 21 15.2184V7.78208C21 7.05701 20.5988 6.38904 19.9521 6.03744L12.9866 2.25049ZM12 7.00024C12.5448 7.00024 12.9865 7.44191 12.9865 7.98674C12.9864 8.00043 12.9863 8.00727 12.9861 8.01411C12.9859 8.02095 12.9856 8.02779 12.985 8.04146L12.7489 12.2918C12.6964 13.2364 11.3036 13.2364 11.2512 12.2918L11.015 8.04146C10.9848 7.49747 11.4013 7.03198 11.9453 7.00176L11.9726 7.00062L12 7.00024ZM13 15.0002C13 15.5525 12.5523 16.0002 12 16.0002C11.4477 16.0002 11 15.5525 11 15.0002C11 14.448 11.4477 14.0002 12 14.0002C12.5523 14.0002 13 14.448 13 15.0002Z",
|
|
778
778
|
fill: "currentColor"
|
|
779
779
|
}));
|
|
780
780
|
}
|
|
@@ -790,7 +790,7 @@ function CloseIcon(props) {
|
|
|
790
790
|
}));
|
|
791
791
|
}
|
|
792
792
|
|
|
793
|
-
var modules_6205a58e = {"container":"
|
|
793
|
+
var modules_6205a58e = {"container":"_51a84fb3","tone-info":"_5649104a","icon":"_79fa06e2","tone-positive":"c67632e4","tone-caution":"_654ff216","tone-critical":"b1ee4ff1"};
|
|
794
794
|
|
|
795
795
|
function Alert({
|
|
796
796
|
id,
|
|
@@ -803,15 +803,16 @@ function Alert({
|
|
|
803
803
|
id: id,
|
|
804
804
|
role: "alert",
|
|
805
805
|
"aria-live": "polite",
|
|
806
|
-
borderRadius: "
|
|
806
|
+
borderRadius: "full",
|
|
807
807
|
className: [modules_6205a58e.container, getClassNames(modules_6205a58e, 'tone', tone)]
|
|
808
808
|
}, /*#__PURE__*/React.createElement(Columns, {
|
|
809
809
|
space: "small",
|
|
810
|
-
alignY: "
|
|
810
|
+
alignY: "center"
|
|
811
811
|
}, /*#__PURE__*/React.createElement(Column, {
|
|
812
812
|
width: "content"
|
|
813
813
|
}, /*#__PURE__*/React.createElement(AlertIcon, {
|
|
814
|
-
tone: tone
|
|
814
|
+
tone: tone,
|
|
815
|
+
className: modules_6205a58e.icon
|
|
815
816
|
})), /*#__PURE__*/React.createElement(Column, null, /*#__PURE__*/React.createElement(Box, {
|
|
816
817
|
paddingY: "xsmall",
|
|
817
818
|
paddingRight: onClose != null && closeLabel != null ? undefined : 'small'
|
|
@@ -1724,7 +1725,7 @@ function PasswordHiddenIcon(props) {
|
|
|
1724
1725
|
})));
|
|
1725
1726
|
}
|
|
1726
1727
|
|
|
1727
|
-
var modules_540a88ff = {"container":"
|
|
1728
|
+
var modules_540a88ff = {"container":"_7acdc928","auxiliaryLabel":"_815bad88","bordered":"e35886fe","error":"_6c7b5dc8","primaryLabel":"ec74af87","secondaryLabel":"_6db0ec44","messageIcon":"_05c35af8"};
|
|
1728
1729
|
|
|
1729
1730
|
function FieldHint(props) {
|
|
1730
1731
|
return /*#__PURE__*/React.createElement(Text, _objectSpread2({
|
|
@@ -1826,7 +1827,7 @@ function BaseField({
|
|
|
1826
1827
|
}, hint) : null);
|
|
1827
1828
|
}
|
|
1828
1829
|
|
|
1829
|
-
var modules_aaf25250 = {"inputWrapper":"
|
|
1830
|
+
var modules_aaf25250 = {"inputWrapper":"dea25485","bordered":"_80b6b376","error":"_1a32867a","slot":"dbbd207e"};
|
|
1830
1831
|
|
|
1831
1832
|
const _excluded$k = ["variant", "id", "label", "secondaryLabel", "auxiliaryLabel", "hint", "message", "tone", "type", "maxWidth", "hidden", "aria-describedby", "startSlot", "endSlot"];
|
|
1832
1833
|
const TextField = /*#__PURE__*/React.forwardRef(function TextField(_ref, ref) {
|
|
@@ -1915,7 +1916,7 @@ const PasswordField = /*#__PURE__*/React.forwardRef(function PasswordField(_ref,
|
|
|
1915
1916
|
}));
|
|
1916
1917
|
});
|
|
1917
1918
|
|
|
1918
|
-
var modules_1fa9b208 = {"selectWrapper":"
|
|
1919
|
+
var modules_1fa9b208 = {"selectWrapper":"b930bb07","bordered":"e1f620b6","error":"_7e87474e"};
|
|
1919
1920
|
|
|
1920
1921
|
const _excluded$m = ["variant", "id", "label", "secondaryLabel", "auxiliaryLabel", "hint", "message", "tone", "maxWidth", "children", "hidden", "aria-describedby"];
|
|
1921
1922
|
const SelectField = /*#__PURE__*/React.forwardRef(function SelectField(_ref, ref) {
|
|
@@ -2045,7 +2046,7 @@ const SwitchField = /*#__PURE__*/React.forwardRef(function SwitchField(_ref, ref
|
|
|
2045
2046
|
}, hint) : null);
|
|
2046
2047
|
});
|
|
2047
2048
|
|
|
2048
|
-
var modules_2728c236 = {"textAreaContainer":"
|
|
2049
|
+
var modules_2728c236 = {"textAreaContainer":"_55ccf266","innerContainer":"_89bb7098","bordered":"_02a47358","error":"_704ff540","autoExpand":"_145ca8f0"};
|
|
2049
2050
|
|
|
2050
2051
|
const _excluded$o = ["variant", "id", "label", "secondaryLabel", "auxiliaryLabel", "hint", "message", "tone", "maxWidth", "hidden", "aria-describedby", "rows", "autoExpand"];
|
|
2051
2052
|
const TextArea = /*#__PURE__*/React.forwardRef(function TextArea(_ref, ref) {
|