@rolster/react-components 18.21.12 → 18.21.14

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.
@@ -0,0 +1,7 @@
1
+ .rls-field-readonly {
2
+ --rlc-fieldbox-body-padding: var(--rls-sizing-x3) var(--rls-sizing-x4);
3
+ --pvt-component-font-color: var(--rlc-input-font-color);
4
+ position: relative;
5
+ width: 100%;
6
+ box-sizing: border-box;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { RlsComponent } from '../../definitions';
2
+ import './FieldReadonly.css';
3
+ interface FieldReadonlyProps extends RlsComponent {
4
+ value: string;
5
+ }
6
+ export declare function RlsFieldReadonly({ children, identifier, rlsTheme, value }: FieldReadonlyProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import './FieldReadonly.css';
3
+ export function RlsFieldReadonly({ children, identifier, rlsTheme, value }) {
4
+ return (_jsxs("div", { id: identifier, className: "rls-field-readonly rls-field-box", "rls-theme": rlsTheme, children: [children && _jsx("label", { className: "rls-field-box__label", children: children }), _jsx("div", { className: "rls-field-box__component", children: _jsx("div", { className: "rls-field-box__body", children: _jsx("input", { className: "rls-input__component", autoComplete: "off", type: 'text', readOnly: true, value: value }) }) })] }));
5
+ }
6
+ //# sourceMappingURL=FieldReadonly.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FieldReadonly.js","sourceRoot":"","sources":["../../../../../src/components/molecules/FieldReadonly/FieldReadonly.tsx"],"names":[],"mappings":";AACA,OAAO,qBAAqB,CAAC;AAM7B,MAAM,UAAU,gBAAgB,CAAC,EAC/B,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,KAAK,EACc;IACnB,OAAO,CACL,eACE,EAAE,EAAE,UAAU,EACd,SAAS,EAAC,kCAAkC,eACjC,QAAQ,aAElB,QAAQ,IAAI,gBAAO,SAAS,EAAC,sBAAsB,YAAE,QAAQ,GAAS,EAEvE,cAAK,SAAS,EAAC,0BAA0B,YACvC,cAAK,SAAS,EAAC,qBAAqB,YAClC,gBACE,SAAS,EAAC,sBAAsB,EAChC,YAAY,EAAC,KAAK,EAClB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,IAAI,EACd,KAAK,EAAE,KAAK,GACZ,GACE,GACF,IACF,CACP,CAAC;AACJ,CAAC"}
@@ -5,6 +5,7 @@ export * from './ButtonToggle/ButtonToggle';
5
5
  export * from './FieldMoney/FieldMoney';
6
6
  export * from './FieldNumber/FieldNumber';
7
7
  export * from './FieldPassword/FieldPassword';
8
+ export * from './FieldReadonly/FieldReadonly';
8
9
  export * from './FieldText/FieldText';
9
10
  export * from './LabelCheckBox/LabelCheckBox';
10
11
  export * from './LabelRadioButton/LabelRadioButton';
@@ -5,6 +5,7 @@ export * from './ButtonToggle/ButtonToggle';
5
5
  export * from './FieldMoney/FieldMoney';
6
6
  export * from './FieldNumber/FieldNumber';
7
7
  export * from './FieldPassword/FieldPassword';
8
+ export * from './FieldReadonly/FieldReadonly';
8
9
  export * from './FieldText/FieldText';
9
10
  export * from './LabelCheckBox/LabelCheckBox';
10
11
  export * from './LabelRadioButton/LabelRadioButton';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iCAAiC,CAAC;AAChD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qCAAqC,CAAC;AACpD,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iCAAiC,CAAC;AAChD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qCAAqC,CAAC;AACpD,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolster/react-components",
3
- "version": "18.21.12",
3
+ "version": "18.21.14",
4
4
  "type": "module",
5
5
  "description": "Package containing UI components for React Project.",
6
6
  "module": "dist/esm/index.js",
@@ -49,7 +49,7 @@
49
49
  "@rollup/plugin-node-resolve": "^15.2.1",
50
50
  "@rollup/plugin-typescript": "^11.1.3",
51
51
  "@rolster/rollup": "^1.0.6",
52
- "@rolster/styles-foundations": "^2.3.36",
52
+ "@rolster/styles-foundations": "^2.3.38",
53
53
  "@rolster/types": "^1.1.0",
54
54
  "@types/node-sass": "^4.11.4",
55
55
  "@types/react": "^18.0.28",
@@ -71,7 +71,7 @@
71
71
  "sass": "^1.62.1",
72
72
  "sort-by": "^0.0.2",
73
73
  "typescript": "^5.7.2",
74
- "vite": "^6.2.5"
74
+ "vite": "^6.2.6"
75
75
  },
76
76
  "repository": {
77
77
  "type": "git",