@rolster/react-components 19.10.0 → 19.12.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/cjs/index.cjs +151 -67
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/es/index.mjs +149 -68
- package/dist/es/index.mjs.map +1 -1
- package/dist/esm/components/atoms/Chip/Chip.d.ts +13 -0
- package/dist/esm/components/atoms/Chip/Chip.js +10 -0
- package/dist/esm/components/atoms/Chip/Chip.js.map +1 -0
- package/dist/esm/components/molecules/ChipGroup/ChipGroup.d.ts +31 -0
- package/dist/esm/components/molecules/ChipGroup/ChipGroup.js +34 -0
- package/dist/esm/components/molecules/ChipGroup/ChipGroup.js.map +1 -0
- package/dist/esm/components/organisms/FieldList/FieldList.js +4 -2
- package/dist/esm/components/organisms/FieldList/FieldList.js.map +1 -1
- package/dist/esm/components/organisms/ImageEditor/ImageEditor.js +2 -15
- package/dist/esm/components/organisms/ImageEditor/ImageEditor.js.map +1 -1
- package/dist/esm/components/organisms/LedColor/LedColor.d.ts +36 -0
- package/dist/esm/components/organisms/LedColor/LedColor.js +48 -0
- package/dist/esm/components/organisms/LedColor/LedColor.js.map +1 -0
- package/dist/esm/components/organisms/PickerClock/PickerClock.js +67 -53
- package/dist/esm/components/organisms/PickerClock/PickerClock.js.map +1 -1
- package/dist/esm/controllers/ImageEditorController.js +2 -2
- package/dist/esm/controllers/ImageEditorController.js.map +1 -1
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -2
- package/readme.md +3 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { i18nSubscribe } from '@rolster/i18n';
|
|
3
3
|
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
4
|
-
import {
|
|
4
|
+
import { RlsIcon } from '../components/atoms/Icon/Icon';
|
|
5
5
|
import { RlsImageEditorModal } from '../components/organisms/ImageEditorModal/ImageEditorModal';
|
|
6
6
|
import { MIME_TYPE_SUPPORTS } from '../constants/image-editor.constant';
|
|
7
7
|
import { reactI18n } from '../i18n';
|
|
@@ -44,7 +44,7 @@ export function useImageEditorController(options) {
|
|
|
44
44
|
setSrcEditor(undefined);
|
|
45
45
|
}, []);
|
|
46
46
|
const RlsImageEditorChooser = useMemo(() => {
|
|
47
|
-
return (srcEditor && (_jsx(RlsImageEditorModal, { visible: true, src: srcEditor, formControl: options.formControl, maxWidth: options.maxWidth, quality: options.quality, ratio: options.ratio, selection: options.selection, onValue: onEditorValue, children: _jsx(
|
|
47
|
+
return (srcEditor && (_jsx(RlsImageEditorModal, { visible: true, src: srcEditor, formControl: options.formControl, maxWidth: options.maxWidth, quality: options.quality, ratio: options.ratio, selection: options.selection, onValue: onEditorValue, children: _jsx("button", { className: "rls-image-editor__action", "rls-theme": "danger", onClick: onCancel, disabled: options.disabled, children: _jsx(RlsIcon, { value: "close" }) }) })));
|
|
48
48
|
}, [
|
|
49
49
|
srcEditor,
|
|
50
50
|
labels,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageEditorController.js","sourceRoot":"","sources":["../../../src/controllers/ImageEditorController.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAEL,WAAW,EACX,SAAS,EACT,OAAO,EACP,MAAM,EACN,QAAQ,EACT,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ImageEditorController.js","sourceRoot":"","sources":["../../../src/controllers/ImageEditorController.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAEL,WAAW,EACX,SAAS,EACT,OAAO,EACP,MAAM,EACN,QAAQ,EACT,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B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AC,QAAQ;QAChB,OAAO,CAAC,OAAO;QACf,OAAO,CAAC,KAAK;QACb,OAAO,CAAC,QAAQ;QAChB,aAAa;QACb,QAAQ;KACT,CAAC,CAAC;IAEH,MAAM,cAAc,GAAG,WAAW,CAAC,GAAG,EAAE;QACtC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;YACtB,QAAQ,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QAC3B,CAAC;IACH,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEvB,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,CAAC;AACnD,CAAC"}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './components/atoms/ButtonAction/ButtonAction';
|
|
|
8
8
|
export * from './components/atoms/ButtonIcon/ButtonIcon';
|
|
9
9
|
export * from './components/atoms/ButtonOption/ButtonOption';
|
|
10
10
|
export * from './components/atoms/CheckBox/CheckBox';
|
|
11
|
+
export * from './components/atoms/Chip/Chip';
|
|
11
12
|
export * from './components/atoms/Icon/Icon';
|
|
12
13
|
export * from './components/atoms/Image/Image';
|
|
13
14
|
export * from './components/atoms/Input/Input';
|
|
@@ -41,6 +42,7 @@ export * from './components/molecules/Body/Body';
|
|
|
41
42
|
export * from './components/molecules/ButtonProgress/ButtonProgress';
|
|
42
43
|
export * from './components/molecules/ButtonStepper/ButtonStepper';
|
|
43
44
|
export * from './components/molecules/ButtonToggle/ButtonToggle';
|
|
45
|
+
export * from './components/molecules/ChipGroup/ChipGroup';
|
|
44
46
|
export * from './components/molecules/Content/Content';
|
|
45
47
|
export * from './components/molecules/FieldArea/FieldArea';
|
|
46
48
|
export * from './components/molecules/FieldDecimal/FieldDecimal';
|
|
@@ -89,6 +91,7 @@ export * from './components/organisms/FieldSelect/FieldSelectController';
|
|
|
89
91
|
export * from './components/organisms/FormNavigation/FormNavigation';
|
|
90
92
|
export * from './components/organisms/ImageChooser/ImageChooser';
|
|
91
93
|
export * from './components/organisms/ImageEditor/ImageEditor';
|
|
94
|
+
export * from './components/organisms/LedColor/LedColor';
|
|
92
95
|
export * from './components/organisms/Modal/Modal';
|
|
93
96
|
export * from './components/organisms/ModalClock/ModalClock';
|
|
94
97
|
export * from './components/organisms/ModalDate/ModalDate';
|
package/dist/esm/index.js
CHANGED
|
@@ -8,6 +8,7 @@ export * from './components/atoms/ButtonAction/ButtonAction';
|
|
|
8
8
|
export * from './components/atoms/ButtonIcon/ButtonIcon';
|
|
9
9
|
export * from './components/atoms/ButtonOption/ButtonOption';
|
|
10
10
|
export * from './components/atoms/CheckBox/CheckBox';
|
|
11
|
+
export * from './components/atoms/Chip/Chip';
|
|
11
12
|
export * from './components/atoms/Icon/Icon';
|
|
12
13
|
export * from './components/atoms/Image/Image';
|
|
13
14
|
export * from './components/atoms/Input/Input';
|
|
@@ -41,6 +42,7 @@ export * from './components/molecules/Body/Body';
|
|
|
41
42
|
export * from './components/molecules/ButtonProgress/ButtonProgress';
|
|
42
43
|
export * from './components/molecules/ButtonStepper/ButtonStepper';
|
|
43
44
|
export * from './components/molecules/ButtonToggle/ButtonToggle';
|
|
45
|
+
export * from './components/molecules/ChipGroup/ChipGroup';
|
|
44
46
|
export * from './components/molecules/Content/Content';
|
|
45
47
|
export * from './components/molecules/FieldArea/FieldArea';
|
|
46
48
|
export * from './components/molecules/FieldDecimal/FieldDecimal';
|
|
@@ -89,6 +91,7 @@ export * from './components/organisms/FieldSelect/FieldSelectController';
|
|
|
89
91
|
export * from './components/organisms/FormNavigation/FormNavigation';
|
|
90
92
|
export * from './components/organisms/ImageChooser/ImageChooser';
|
|
91
93
|
export * from './components/organisms/ImageEditor/ImageEditor';
|
|
94
|
+
export * from './components/organisms/LedColor/LedColor';
|
|
92
95
|
export * from './components/organisms/Modal/Modal';
|
|
93
96
|
export * from './components/organisms/ModalClock/ModalClock';
|
|
94
97
|
export * from './components/organisms/ModalDate/ModalDate';
|
package/dist/esm/index.js.map
CHAN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E,cAAc,8CAA8C,CAAC;AAC7D,cAAc,oDAAoD,CAAC;AACnE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,wDAAwD,CAAC;AACvE,cAAc,0CAA0C,CAAC;AAMzD,cAAc,WAAW,CAAC;AAC1B,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,sCAAsC,CAAC;AACrD,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,cAAc,SAAS,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rolster/react-components",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.12.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Package containing UI components for React Project.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@eslint/js": "^10.0.1",
|
|
52
52
|
"@rolster/rollup": "^2.2.0",
|
|
53
|
-
"@rolster/styles-foundations": "^3.
|
|
53
|
+
"@rolster/styles-foundations": "^3.11.0",
|
|
54
54
|
"@rolster/types": "^1.1.1",
|
|
55
55
|
"@types/react": "^19.0.0",
|
|
56
56
|
"@types/react-dom": "^19.0.0",
|
package/readme.md
CHANGED
|
@@ -112,6 +112,7 @@ Components that display a list of options (`RlsFieldSelect`, `RlsFieldList`, `Rl
|
|
|
112
112
|
| `RlsButtonOption` | Icon button that behaves as one option of a single selection over a control |
|
|
113
113
|
| `RlsCheckBox` | Checkbox mark driven by the `checked` prop |
|
|
114
114
|
| `RlsCheckBoxControl` | `RlsCheckBox` bound to a `boolean` control |
|
|
115
|
+
| `RlsChip` | Compact label with optional icon, remove button and clickable state |
|
|
115
116
|
| `RlsHoverSwap` | Renders `children` and swaps it for `content` while the pointer is over it |
|
|
116
117
|
| `RlsIcon` | Renders the glyph `rls-icon-{value}`, with skeleton state |
|
|
117
118
|
| `RlsImage` | `img` that shows a skeleton until the source finishes loading |
|
|
@@ -174,6 +175,7 @@ function Header({ requesting, onSave }: HeaderProps) {
|
|
|
174
175
|
| `RlsButtonProgress` | Action button surrounded by a circular progress while `progressing` |
|
|
175
176
|
| `RlsButtonStepper` | Pair of buttons that emit a down and an up action |
|
|
176
177
|
| `RlsButtonToggle` | Action button with a second button that opens the list of `options` |
|
|
178
|
+
| `RlsChipGroup` | Group of chips that behaves as a single selection over a list of values |
|
|
177
179
|
| `RlsContent` | Content container of an application page |
|
|
178
180
|
| `RlsFieldArea` | Labelled field over `RlsAreaText`, with an optional counter and its error message |
|
|
179
181
|
| `RlsFieldDecimal` | Labelled field over `RlsInputDecimal` with its error message |
|
|
@@ -261,6 +263,7 @@ function Account() {
|
|
|
261
263
|
| `RlsFormNavigation` | Navigation panel that slides over a form |
|
|
262
264
|
| `RlsImageChooser` | Avatar that opens the file selector and the image editor |
|
|
263
265
|
| `RlsImageEditor` | Image editor with zoom, crop by ratio and export to `ImageEditorValue` |
|
|
266
|
+
| `RlsLedColor` | Led that opens the color picker and shows the selected color |
|
|
264
267
|
| `RlsModal` | Modal window with backdrop |
|
|
265
268
|
| `RlsModalClock` | Modal that hosts `RlsPickerClock` |
|
|
266
269
|
| `RlsModalDate` | Modal that hosts `RlsPickerDate` |
|