@doist/reactist 22.1.0 → 22.2.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.
Files changed (36) hide show
  1. package/dist/reactist.cjs.development.js +21 -20
  2. package/dist/reactist.cjs.development.js.map +1 -1
  3. package/dist/reactist.cjs.production.min.js +1 -1
  4. package/dist/reactist.cjs.production.min.js.map +1 -1
  5. package/es/alert/alert.js +4 -3
  6. package/es/alert/alert.js.map +1 -1
  7. package/es/alert/alert.module.css.js +1 -1
  8. package/es/base-field/base-field.module.css.js +1 -1
  9. package/es/icons/alert-icon.js +12 -12
  10. package/es/icons/alert-icon.js.map +1 -1
  11. package/es/select-field/select-field.module.css.js +1 -1
  12. package/es/text-area/text-area.module.css.js +1 -1
  13. package/es/text-field/text-field.module.css.js +1 -1
  14. package/lib/alert/alert.js +1 -1
  15. package/lib/alert/alert.js.map +1 -1
  16. package/lib/alert/alert.module.css.js +1 -1
  17. package/lib/base-field/base-field.module.css.js +1 -1
  18. package/lib/icons/alert-icon.js +1 -1
  19. package/lib/icons/alert-icon.js.map +1 -1
  20. package/lib/select-field/select-field.module.css.js +1 -1
  21. package/lib/text-area/text-area.module.css.js +1 -1
  22. package/lib/text-field/text-field.module.css.js +1 -1
  23. package/package.json +1 -1
  24. package/styles/alert.css +1 -1
  25. package/styles/alert.module.css.css +1 -1
  26. package/styles/base-field.css +1 -1
  27. package/styles/base-field.module.css.css +1 -1
  28. package/styles/password-field.css +2 -2
  29. package/styles/reactist.css +6 -6
  30. package/styles/select-field.css +2 -2
  31. package/styles/select-field.module.css.css +1 -1
  32. package/styles/switch-field.css +1 -1
  33. package/styles/text-area.css +2 -2
  34. package/styles/text-area.module.css.css +1 -1
  35. package/styles/text-field.css +2 -2
  36. 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
- fill: "none",
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: "M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18zm0-1a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm1.18-11.84a.84.84 0 1 1-1.68 0 .84.84 0 0 1 1.68 0zM12.5 10a.5.5 0 0 1 .5.5V15h1a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1h1v-4h-1a.5.5 0 0 1 0-1h1.5z",
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
- fill: "none",
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: "M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18zm0-1a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm-4.354-8.104a.5.5 0 0 1 .708 0l2.146 2.147 5.146-5.147a.5.5 0 0 1 .708.708l-5.5 5.5a.5.5 0 0 1-.708 0l-2.5-2.5a.5.5 0 0 1 0-.708z",
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
- fill: "none",
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: "m3.254 16.992 7.018-12.03a2 2 0 0 1 3.455 0l7.018 12.03A2 2 0 0 1 19.018 20H4.982a2 2 0 0 1-1.728-3.008zm8.242-11.887a1 1 0 0 0-.36.36l-7.018 12.03A1 1 0 0 0 4.982 19h14.036a1 1 0 0 0 .864-1.504l-7.018-12.03a1 1 0 0 0-1.368-.36zM13 16.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.014-7.014a.987.987 0 1 0-1.971.055l.236 4.25c.053.945 1.445.945 1.498 0l.236-4.25.001-.027v-.028z",
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
- fill: "none",
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 3.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17zM2.5 12a9.5 9.5 0 1 1 19 0 9.5 9.5 0 0 1-19 0zM13 15.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.014-7.014A.987.987 0 0 0 12 7.5h-.027l-.028.002a.987.987 0 0 0-.93 1.04l.236 4.25c.053.944 1.445.944 1.498 0l.236-4.25.001-.028v-.027z",
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":"eb665121","tone-info":"d0373ff9","tone-positive":"bb18dcab","tone-caution":"_0af02331","tone-critical":"f76146f9"};
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: "standard",
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: "top"
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":"_616a033e","auxiliaryLabel":"_0b88d85e","bordered":"c466cda3","error":"_4156d9cb","primaryLabel":"_274ef80a","secondaryLabel":"_2c4a8aed","messageIcon":"cd105f69"};
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":"_483abe7b","bordered":"fce9399c","error":"_603b8c4b","slot":"_79ca0da5"};
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":"a9cbb3a6","bordered":"f3869290","error":"aefdbdaa"};
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":"_29503131","innerContainer":"_6ea894ce","bordered":"e1e8b6a7","error":"_1b94ff46","autoExpand":"e82223c4"};
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) {