@rolster/react-components 18.15.37 → 18.15.40

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.
@@ -2,6 +2,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { RlsIcon } from '../Icon/Icon';
3
3
  import './ButtonAction.css';
4
4
  export function RlsButtonAction({ icon, disabled, tooltip, onClick }) {
5
- return (_jsxs("button", { className: "rls-button-action", onClick: onClick, disabled: disabled, children: [_jsx("div", { className: "rls-button-action__content", children: _jsx(RlsIcon, { value: icon }) }), tooltip && (_jsx("div", { className: "rls-button-action__tooltip caption-semibold", children: _jsx("span", { children: tooltip }) }))] }));
5
+ return (_jsxs("button", { className: "rls-button-action", onClick: onClick, disabled: disabled, children: [_jsx("div", { className: "rls-button-action__content", children: _jsx(RlsIcon, { value: icon }) }), tooltip && (_jsx("div", { className: "rls-button-action__tooltip rls-overline-medium", children: _jsx("span", { children: tooltip }) }))] }));
6
6
  }
7
7
  //# sourceMappingURL=ButtonAction.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonAction.js","sourceRoot":"","sources":["../../../../../src/components/atoms/ButtonAction/ButtonAction.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,oBAAoB,CAAC;AAS5B,MAAM,UAAU,eAAe,CAAC,EAC9B,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,OAAO,EACW;IAClB,OAAO,CACL,kBAAQ,SAAS,EAAC,mBAAmB,EAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,aACxE,cAAK,SAAS,EAAC,4BAA4B,YACzC,KAAC,OAAO,IAAC,KAAK,EAAE,IAAI,GAAI,GACpB,EACL,OAAO,IAAI,CACV,cAAK,SAAS,EAAC,6CAA6C,YAC1D,yBAAO,OAAO,GAAQ,GAClB,CACP,IACM,CACV,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"ButtonAction.js","sourceRoot":"","sources":["../../../../../src/components/atoms/ButtonAction/ButtonAction.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,oBAAoB,CAAC;AAS5B,MAAM,UAAU,eAAe,CAAC,EAC9B,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,OAAO,EACW;IAClB,OAAO,CACL,kBAAQ,SAAS,EAAC,mBAAmB,EAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,aACxE,cAAK,SAAS,EAAC,4BAA4B,YACzC,KAAC,OAAO,IAAC,KAAK,EAAE,IAAI,GAAI,GACpB,EACL,OAAO,IAAI,CACV,cAAK,SAAS,EAAC,gDAAgD,YAC7D,yBAAO,OAAO,GAAQ,GAClB,CACP,IACM,CACV,CAAC;AACJ,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import './TabularText.css';
3
- const baseCls = 'rls-tabular-text';
3
+ const className = 'rls-tabular-text';
4
4
  const pointers = ['.', ','];
5
5
  function charClass(char) {
6
- return pointers.includes(char) ? `${baseCls}__pointer` : `${baseCls}__char`;
6
+ return pointers.includes(char)
7
+ ? `${className}__pointer`
8
+ : `${className}__char`;
7
9
  }
8
10
  export function RlsTabularText({ value }) {
9
11
  return (_jsx("div", { className: "rls-tabular-text", children: value?.split('').map((char, index) => (_jsx("span", { className: charClass(char), children: char }, index))) }));
@@ -1 +1 @@
1
- {"version":3,"file":"TabularText.js","sourceRoot":"","sources":["../../../../../src/components/atoms/TabularText/TabularText.tsx"],"names":[],"mappings":";AAAA,OAAO,mBAAmB,CAAC;AAE3B,MAAM,OAAO,GAAG,kBAAkB,CAAC;AACnC,MAAM,QAAQ,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;AAE5B,SAAS,SAAS,CAAC,IAAY;IAC7B,OAAO,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,OAAO,WAAW,CAAC,CAAC,CAAC,GAAG,OAAO,QAAQ,CAAC;AAC9E,CAAC;AAMD,MAAM,UAAU,cAAc,CAAC,EAAE,KAAK,EAAoB;IACxD,OAAO,CACL,cAAK,SAAS,EAAC,kBAAkB,YAC9B,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACrC,eAAkB,SAAS,EAAE,SAAS,CAAC,IAAI,CAAC,YACzC,IAAI,IADI,KAAK,CAET,CACR,CAAC,GACE,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"TabularText.js","sourceRoot":"","sources":["../../../../../src/components/atoms/TabularText/TabularText.tsx"],"names":[],"mappings":";AAAA,OAAO,mBAAmB,CAAC;AAE3B,MAAM,SAAS,GAAG,kBAAkB,CAAC;AACrC,MAAM,QAAQ,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;AAE5B,SAAS,SAAS,CAAC,IAAY;IAC7B,OAAO,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC;QAC5B,CAAC,CAAC,GAAG,SAAS,WAAW;QACzB,CAAC,CAAC,GAAG,SAAS,QAAQ,CAAC;AAC3B,CAAC;AAMD,MAAM,UAAU,cAAc,CAAC,EAAE,KAAK,EAAoB;IACxD,OAAO,CACL,cAAK,SAAS,EAAC,kBAAkB,YAC9B,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACrC,eAAkB,SAAS,EAAE,SAAS,CAAC,IAAI,CAAC,YACzC,IAAI,IADI,KAAK,CAET,CACR,CAAC,GACE,CACP,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolster/react-components",
3
- "version": "18.15.37",
3
+ "version": "18.15.40",
4
4
  "type": "module",
5
5
  "description": "Package containing UI components for React Project.",
6
6
  "module": "dist/esm/index.js",
@@ -37,9 +37,9 @@
37
37
  "@rolster/commons": "^2.0.9",
38
38
  "@rolster/components": "^0.3.10",
39
39
  "@rolster/dates": "^2.0.0",
40
- "@rolster/forms": "^2.6.5",
40
+ "@rolster/forms": "^2.7.1",
41
41
  "@rolster/i18n": "^2.1.1",
42
- "@rolster/react-forms": "^18.7.4",
42
+ "@rolster/react-forms": "^18.8.0",
43
43
  "@rolster/strings": "^2.0.0",
44
44
  "@rolster/validators": "^2.0.2",
45
45
  "lottie-react": "^2.4.0",