@pareto-engineering/design-system 5.12.3 → 5.12.5
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/{FormBuilder-Cn9TX6jo.js → FormBuilder-B0O9NnhC.js} +9756 -9731
- package/dist/assets/CharacterCount.css +1 -0
- package/dist/assets/FormBuilder.css +1 -1
- package/dist/index.js +37 -35
- package/dist/stories/a/AppContext.stories.js +6 -5
- package/dist/stories/a/AreaChart.stories.js +4 -3
- package/dist/stories/a/BarChart.stories.js +8 -7
- package/dist/stories/a/BlurOverlay.stories.js +4 -3
- package/dist/stories/a/ContentTree.stories.js +6 -5
- package/dist/stories/a/Conversation.stories.js +8 -7
- package/dist/stories/a/DatePicker.stories.js +4 -3
- package/dist/stories/a/DotInfo.stories.js +6 -5
- package/dist/stories/a/Figure.stories.js +6 -5
- package/dist/stories/a/HamburgerButton.stories.js +6 -5
- package/dist/stories/a/IconList.stories.js +6 -5
- package/dist/stories/a/Label.stories.js +6 -5
- package/dist/stories/a/LoadingCircle.stories.js +6 -5
- package/dist/stories/a/MetaCard.stories.js +4 -3
- package/dist/stories/a/Notification.stories.js +12 -11
- package/dist/stories/a/NotificationStack.stories.js +6 -5
- package/dist/stories/a/People.stories.js +10 -9
- package/dist/stories/a/PieChart.stories.js +7 -6
- package/dist/stories/a/Popover.stories.js +4 -3
- package/dist/stories/a/ProgressBar.stories.js +6 -5
- package/dist/stories/a/Quote.stories.js +4 -3
- package/dist/stories/a/Removable.stories.js +6 -5
- package/dist/stories/a/SVG.stories.js +12 -11
- package/dist/stories/a/SnapScroller.stories.js +8 -7
- package/dist/stories/a/Spinner.stories.js +6 -5
- package/dist/stories/a/TextSteps.stories.js +6 -5
- package/dist/stories/a/Timestamp.stories.js +4 -3
- package/dist/stories/a/Tip.stories.js +4 -3
- package/dist/stories/a/ToggleSwitch.stories.js +7 -6
- package/dist/stories/a/Tooltip.stories.js +10 -9
- package/dist/stories/a/XMLEditor.stories.js +4 -3
- package/dist/stories/b/Button/Button.stories.js +6 -5
- package/dist/stories/b/Button/Group.stories.js +4 -3
- package/dist/stories/b/Card/Card.stories.js +4 -3
- package/dist/stories/b/Card/Group.stories.js +4 -3
- package/dist/stories/b/Logo.stories.js +7 -6
- package/dist/stories/b/Page.stories.js +9 -8
- package/dist/stories/b/SocialMediaButton.stories.js +4 -3
- package/dist/stories/b/ThemeSelector.stories.js +6 -5
- package/dist/stories/b/Title.stories.js +6 -5
- package/dist/stories/c/Modal.stories.js +4 -3
- package/dist/stories/c/Shortener.stories.js +4 -3
- package/dist/stories/c/SocialMediaShareButton.stories.js +4 -3
- package/dist/stories/f/Checkbox.stories.js +4 -3
- package/dist/stories/f/ChoicesInput.stories.js +6 -5
- package/dist/stories/f/Combobox.stories.js +6 -5
- package/dist/stories/f/Description.stories.js +4 -3
- package/dist/stories/f/DragAndDropFileUpload.stories.js +14 -13
- package/dist/stories/f/EditorInput.stories.js +4 -3
- package/dist/stories/f/FileUpload.stories.js +10 -9
- package/dist/stories/f/Label.stories.js +6 -5
- package/dist/stories/f/LinkInput.stories.js +4 -3
- package/dist/stories/f/RadioInput.stories.js +6 -5
- package/dist/stories/f/RatingsInput.stories.js +4 -3
- package/dist/stories/f/SelectInput.stories.js +6 -5
- package/dist/stories/f/TextInput.stories.js +42 -28
- package/dist/stories/f/TextareaInput.stories.js +39 -26
- package/dist/stories/g/DragAndDrop.stories.js +8 -7
- package/dist/stories/g/ExpandableLexicalPreview.stories.js +4 -3
- package/dist/stories/g/FormBuilder.stories.js +98 -35
- package/dist/ui/a/AnimatedGradient/AnimatedGradient.js +1 -1
- package/dist/ui/a/AnimatedGradient/index.js +1 -1
- package/dist/ui/a/ContentTree/ContentTree.js +1 -1
- package/dist/ui/a/ContentTree/common/Tree/Tree.js +3 -2
- package/dist/ui/a/ContentTree/common/Tree/index.js +1 -1
- package/dist/ui/a/ContentTree/common/index.js +1 -1
- package/dist/ui/a/ContentTree/index.js +1 -1
- package/dist/ui/a/Conversation/Conversation.js +3 -2
- package/dist/ui/a/Conversation/index.js +1 -1
- package/dist/ui/a/Notification/Notification.js +3 -2
- package/dist/ui/a/Notification/index.js +1 -1
- package/dist/ui/a/NotificationStack/NotificationStack.js +1 -1
- package/dist/ui/a/NotificationStack/index.js +1 -1
- package/dist/ui/a/index.js +1 -1
- package/dist/ui/b/Button/Button.js +3 -2
- package/dist/ui/b/Button/index.js +1 -1
- package/dist/ui/b/Card/Card.js +3 -2
- package/dist/ui/b/Card/common/Group/Group.js +3 -2
- package/dist/ui/b/Card/common/Group/index.js +1 -1
- package/dist/ui/b/Card/common/index.js +1 -1
- package/dist/ui/b/Card/index.js +1 -1
- package/dist/ui/b/Logo/Logo.js +1 -1
- package/dist/ui/b/Logo/index.js +1 -1
- package/dist/ui/b/Page/Page.js +1 -1
- package/dist/ui/b/Page/common/PageHelmet/PageHelmet.js +1 -1
- package/dist/ui/b/Page/common/PageHelmet/index.js +1 -1
- package/dist/ui/b/Page/common/index.js +1 -1
- package/dist/ui/b/Page/index.js +1 -1
- package/dist/ui/b/SocialMediaButton/SocialMediaButton.js +1 -1
- package/dist/ui/b/SocialMediaButton/index.js +1 -1
- package/dist/ui/b/ThemeSelector/ThemeSelector.js +1 -1
- package/dist/ui/b/ThemeSelector/index.js +1 -1
- package/dist/ui/b/index.js +1 -1
- package/dist/ui/c/Modal/Modal.js +1 -1
- package/dist/ui/c/Modal/common/ModalHeader/ModalHeader.js +3 -2
- package/dist/ui/c/Modal/common/ModalHeader/index.js +1 -1
- package/dist/ui/c/Modal/common/index.js +1 -1
- package/dist/ui/c/Modal/index.js +1 -1
- package/dist/ui/c/Shortener/Shortener.js +1 -1
- package/dist/ui/c/Shortener/index.js +1 -1
- package/dist/ui/c/index.js +1 -1
- package/dist/ui/f/FormInput/FormInput.js +4 -3
- package/dist/ui/f/FormInput/index.js +1 -1
- package/dist/ui/f/common/CharacterCount/CharacterCount.js +36 -0
- package/dist/ui/f/common/CharacterCount/index.js +4 -0
- package/dist/ui/f/common/Debugger/Debugger.js +1 -1
- package/dist/ui/f/common/Debugger/index.js +1 -1
- package/dist/ui/f/common/index.js +8 -6
- package/dist/ui/f/fields/Checkbox/Checkbox.js +3 -2
- package/dist/ui/f/fields/Checkbox/index.js +1 -1
- package/dist/ui/f/fields/ChoicesInput/ChoicesInput.js +4 -2
- package/dist/ui/f/fields/ChoicesInput/index.js +1 -1
- package/dist/ui/f/fields/DragAndDropFileUpload/DragAndDropFileUpload.js +3 -2
- package/dist/ui/f/fields/DragAndDropFileUpload/index.js +1 -1
- package/dist/ui/f/fields/EditorInput/EditorInput.js +3 -2
- package/dist/ui/f/fields/EditorInput/common/BlockFormatDropDown/BlockFormatDropDown.js +1 -1
- package/dist/ui/f/fields/EditorInput/common/BlockFormatDropDown/index.js +1 -1
- package/dist/ui/f/fields/EditorInput/common/ColorPicker/ColorPicker.js +1 -1
- package/dist/ui/f/fields/EditorInput/common/ColorPicker/index.js +1 -1
- package/dist/ui/f/fields/EditorInput/common/FontSizeDropDown/FontSizeDropDown.js +1 -1
- package/dist/ui/f/fields/EditorInput/common/FontSizeDropDown/index.js +1 -1
- package/dist/ui/f/fields/EditorInput/common/ToolbarPlugin/ToolbarPlugin.js +1 -1
- package/dist/ui/f/fields/EditorInput/common/ToolbarPlugin/index.js +1 -1
- package/dist/ui/f/fields/EditorInput/common/index.js +1 -1
- package/dist/ui/f/fields/EditorInput/index.js +1 -1
- package/dist/ui/f/fields/FileUpload/FileUpload.js +3 -2
- package/dist/ui/f/fields/FileUpload/common/Preview/Preview.js +1 -1
- package/dist/ui/f/fields/FileUpload/common/Preview/index.js +1 -1
- package/dist/ui/f/fields/FileUpload/common/PreviewNewRegistration/PreviewNewRegistration.js +1 -1
- package/dist/ui/f/fields/FileUpload/common/PreviewNewRegistration/index.js +1 -1
- package/dist/ui/f/fields/FileUpload/common/index.js +1 -1
- package/dist/ui/f/fields/FileUpload/index.js +1 -1
- package/dist/ui/f/fields/LatexPreviewInput/LatexPreviewInput.js +1 -1
- package/dist/ui/f/fields/LatexPreviewInput/index.js +1 -1
- package/dist/ui/f/fields/LinkInput/LinkInput.js +3 -2
- package/dist/ui/f/fields/LinkInput/index.js +1 -1
- package/dist/ui/f/fields/PasswordInput/PasswordInput.js +3 -2
- package/dist/ui/f/fields/PasswordInput/index.js +1 -1
- package/dist/ui/f/fields/QueryChoices/QueryChoices.js +1 -1
- package/dist/ui/f/fields/QueryChoices/index.js +1 -1
- package/dist/ui/f/fields/QueryCombobox/QueryCombobox.js +1 -1
- package/dist/ui/f/fields/QueryCombobox/common/Combobox/Combobox.js +4 -3
- package/dist/ui/f/fields/QueryCombobox/common/Combobox/index.js +1 -1
- package/dist/ui/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +4 -3
- package/dist/ui/f/fields/QueryCombobox/common/MultipleCombobox/index.js +1 -1
- package/dist/ui/f/fields/QueryCombobox/common/index.js +1 -1
- package/dist/ui/f/fields/QueryCombobox/index.js +1 -1
- package/dist/ui/f/fields/QuerySelect/QuerySelect.js +3 -2
- package/dist/ui/f/fields/QuerySelect/index.js +1 -1
- package/dist/ui/f/fields/RatingsInput/RatingsInput.js +4 -2
- package/dist/ui/f/fields/RatingsInput/index.js +1 -1
- package/dist/ui/f/fields/SearchDropdown/SearchDropdown.js +3 -2
- package/dist/ui/f/fields/SearchDropdown/index.js +1 -1
- package/dist/ui/f/fields/SelectInput/SelectInput.js +1 -1
- package/dist/ui/f/fields/SelectInput/common/Menu/Menu.js +1 -1
- package/dist/ui/f/fields/SelectInput/common/Menu/index.js +1 -1
- package/dist/ui/f/fields/SelectInput/common/Multiple/Multiple.js +3 -2
- package/dist/ui/f/fields/SelectInput/common/Multiple/index.js +1 -1
- package/dist/ui/f/fields/SelectInput/common/Single/Single.js +3 -2
- package/dist/ui/f/fields/SelectInput/common/Single/index.js +1 -1
- package/dist/ui/f/fields/SelectInput/common/index.js +1 -1
- package/dist/ui/f/fields/SelectInput/index.js +1 -1
- package/dist/ui/f/fields/SelectSingle/SelectSingle.js +14 -13
- package/dist/ui/f/fields/TextInput/TextInput.js +2 -2
- package/dist/ui/f/fields/TextInput/index.js +1 -1
- package/dist/ui/f/fields/TextareaInput/TextareaInput.js +2 -2
- package/dist/ui/f/fields/TextareaInput/index.js +1 -1
- package/dist/ui/f/fields/ToggleInput/ToggleInput.js +3 -2
- package/dist/ui/f/fields/ToggleInput/index.js +1 -1
- package/dist/ui/f/fields/index.js +1 -1
- package/dist/ui/f/index.js +36 -34
- package/dist/ui/g/ExpandableLexicalPreview/ExpandableLexicalPreview.js +3 -2
- package/dist/ui/g/ExpandableLexicalPreview/common/NewWindowPortal/NewWindowPortal.js +1 -1
- package/dist/ui/g/ExpandableLexicalPreview/common/NewWindowPortal/index.js +1 -1
- package/dist/ui/g/ExpandableLexicalPreview/common/index.js +1 -1
- package/dist/ui/g/ExpandableLexicalPreview/index.js +1 -1
- package/dist/ui/g/FormBuilder/FormBuilder.js +1 -1
- package/dist/ui/g/FormBuilder/common/Builder/Builder.js +3 -2
- package/dist/ui/g/FormBuilder/common/Builder/common/ActionsContainer/ActionsContainer.js +1 -1
- package/dist/ui/g/FormBuilder/common/Builder/common/ActionsContainer/index.js +1 -1
- package/dist/ui/g/FormBuilder/common/Builder/common/InputBuilder/InputBuilder.js +3 -2
- package/dist/ui/g/FormBuilder/common/Builder/common/InputBuilder/index.js +1 -1
- package/dist/ui/g/FormBuilder/common/Builder/common/Section/Section.js +4 -3
- package/dist/ui/g/FormBuilder/common/Builder/common/Section/index.js +1 -1
- package/dist/ui/g/FormBuilder/common/Builder/common/index.js +1 -1
- package/dist/ui/g/FormBuilder/common/Builder/index.js +1 -1
- package/dist/ui/g/FormBuilder/common/Renderer/Renderer.js +2 -6
- package/dist/ui/g/FormBuilder/common/Renderer/common/Section/Section.js +4 -3
- package/dist/ui/g/FormBuilder/common/Renderer/common/Section/index.js +1 -1
- package/dist/ui/g/FormBuilder/common/Renderer/common/index.js +1 -1
- package/dist/ui/g/FormBuilder/common/Renderer/index.js +1 -1
- package/dist/ui/g/FormBuilder/common/index.js +1 -1
- package/dist/ui/g/FormBuilder/index.js +1 -1
- package/dist/ui/g/index.js +1 -1
- package/dist/ui/index.js +37 -35
- package/package.json +3 -3
package/dist/ui/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { default as p } from "./a/AppContext/ContextProvider.js";
|
|
|
3
3
|
import { default as u } from "./a/AppContext/useApp.js";
|
|
4
4
|
import { default as d } from "./a/AppContext/useTheme.js";
|
|
5
5
|
import { default as x } from "./a/BlurOverlay/BlurOverlay.js";
|
|
6
|
-
import { A as c, B as T, c as g, j as
|
|
6
|
+
import { A as c, B as T, c as g, j as C, g as S, C as h, a as I, q as D, E as F, s as P, n as A, t as L, D as b, F as B, m as k, l as v, L as y, M, N as w, b as E, P as O, r as Q, k as R, Q as U, i as G, R as N, p as H, f as V, d as j, S as q, e as z, h as W, T as X, o as Z } from "../FormBuilder-B0O9NnhC.js";
|
|
7
7
|
import "./a/Conversation/Context.js";
|
|
8
8
|
import "react";
|
|
9
9
|
import { default as J } from "./a/DotInfo/DotInfo.js";
|
|
@@ -17,7 +17,7 @@ import { default as me } from "./a/Popover/Popover.js";
|
|
|
17
17
|
import { default as ie } from "./a/ProgressBar/ProgressBar.js";
|
|
18
18
|
import { default as ne } from "./a/Quote/Quote.js";
|
|
19
19
|
import { default as Te } from "./a/SVG/SVG.js";
|
|
20
|
-
import { default as
|
|
20
|
+
import { default as Ce } from "./a/SnapScroller/SnapScroller.js";
|
|
21
21
|
import { default as he } from "./a/Spinner/Spinner.js";
|
|
22
22
|
import { default as De } from "./a/Timestamp/Timestamp.js";
|
|
23
23
|
import { default as Pe } from "./a/MetaCard/MetaCard.js";
|
|
@@ -38,18 +38,19 @@ import { default as Je } from "./b/Title/Title.js";
|
|
|
38
38
|
import { default as Ye } from "./c/SocialMediaShareButton/SocialMediaShareButton.js";
|
|
39
39
|
import { default as ea } from "./f/common/Label/Label.js";
|
|
40
40
|
import { default as oa } from "./f/common/Description/Description.js";
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import { default as ma } from "./f/fields/
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as ha } from "./
|
|
49
|
-
import { default as Da } from "./utils/hooks/
|
|
50
|
-
import { default as Pa } from "./utils/hooks/
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
41
|
+
import { default as ra } from "./f/common/CharacterCount/CharacterCount.js";
|
|
42
|
+
import { lookUpInputValueFromOptions as fa } from "./f/common/utils/lookUpInputValueFromOptions.js";
|
|
43
|
+
import { integerAndGreaterThanZero as la } from "./f/common/utils/validators.js";
|
|
44
|
+
import { default as ma } from "./f/fields/SelectSingle/SelectSingle.js";
|
|
45
|
+
import { default as ia } from "./f/fields/LatexPreviewInput/convertLatexToHtml.js";
|
|
46
|
+
import { fileUploadOptions as na, getFileType as ca, getFileTypeFromUrl as Ta } from "./f/fields/FileUpload/utils.js";
|
|
47
|
+
import { default as Ca } from "./f/fields/RadioInput/RadioInput.js";
|
|
48
|
+
import { default as ha } from "./g/DragAndDrop/DragAndDrop.js";
|
|
49
|
+
import { default as Da } from "./utils/hooks/useWindowSize.js";
|
|
50
|
+
import { default as Pa } from "./utils/hooks/useDynamicPosition.js";
|
|
51
|
+
import { default as La } from "./utils/hooks/useOutsideClick.js";
|
|
52
|
+
import { DATE_FORMATS as Ba, formatDate as ka, formatTime as va, parseDate as ya, snakeCaseToTitleCase as Ma } from "./utils/formatting.js";
|
|
53
|
+
import { applyCharacterLimit as Ea } from "./utils/applyCharacterLimit.js";
|
|
53
54
|
export {
|
|
54
55
|
Le as AnimatedBlobs,
|
|
55
56
|
c as AnimatedGradient,
|
|
@@ -60,14 +61,15 @@ export {
|
|
|
60
61
|
x as BlurOverlay,
|
|
61
62
|
T as Button,
|
|
62
63
|
g as Card,
|
|
63
|
-
|
|
64
|
-
C as
|
|
64
|
+
ra as CharacterCount,
|
|
65
|
+
C as Checkbox,
|
|
66
|
+
S as ChoicesInput,
|
|
65
67
|
h as ContentTree,
|
|
66
68
|
I as Conversation,
|
|
67
|
-
|
|
69
|
+
Ba as DATE_FORMATS,
|
|
68
70
|
Ue as DatePicker,
|
|
69
71
|
J as DotInfo,
|
|
70
|
-
|
|
72
|
+
ha as DragAndDrop,
|
|
71
73
|
D as DragAndDropFileUpload,
|
|
72
74
|
F as EditorInput,
|
|
73
75
|
P as ExpandableLexicalPreview,
|
|
@@ -99,15 +101,15 @@ export {
|
|
|
99
101
|
U as QueryCombobox,
|
|
100
102
|
G as QuerySelect,
|
|
101
103
|
ne as Quote,
|
|
102
|
-
|
|
104
|
+
Ca as RadioInput,
|
|
103
105
|
N as RatingsInput,
|
|
104
106
|
Me as Removable,
|
|
105
107
|
Te as SVG,
|
|
106
108
|
H as SearchDropdown,
|
|
107
109
|
V as SelectInput,
|
|
108
|
-
|
|
110
|
+
ma as SelectSingle,
|
|
109
111
|
j as Shortener,
|
|
110
|
-
|
|
112
|
+
Ce as SnapScroller,
|
|
111
113
|
q as SocialMediaButton,
|
|
112
114
|
Ye as SocialMediaShareButton,
|
|
113
115
|
he as Spinner,
|
|
@@ -123,20 +125,20 @@ export {
|
|
|
123
125
|
Ee as ToggleSwitch,
|
|
124
126
|
Ne as Tooltip,
|
|
125
127
|
Qe as XMLEditor,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
128
|
+
Ea as applyCharacterLimit,
|
|
129
|
+
ia as convertLatexToHtml,
|
|
130
|
+
na as fileUploadOptions,
|
|
131
|
+
ka as formatDate,
|
|
132
|
+
va as formatTime,
|
|
133
|
+
ca as getFileType,
|
|
134
|
+
Ta as getFileTypeFromUrl,
|
|
135
|
+
la as integerAndGreaterThanZero,
|
|
136
|
+
fa as lookUpInputValueFromOptions,
|
|
137
|
+
ya as parseDate,
|
|
138
|
+
Ma as snakeCaseToTitleCase,
|
|
137
139
|
u as useApp,
|
|
138
|
-
|
|
139
|
-
|
|
140
|
+
Pa as useDynamicPosition,
|
|
141
|
+
La as useOutsideClick,
|
|
140
142
|
d as useTheme,
|
|
141
|
-
|
|
143
|
+
Da as useWindowSize
|
|
142
144
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pareto-engineering/design-system",
|
|
3
|
-
"version": "5.12.
|
|
3
|
+
"version": "5.12.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@lexical/selection": "0.12.2",
|
|
73
73
|
"@lexical/table": "0.12.2",
|
|
74
74
|
"@lexical/utils": "0.12.2",
|
|
75
|
-
"@pareto-engineering/assets": "^5.12.
|
|
75
|
+
"@pareto-engineering/assets": "^5.12.5",
|
|
76
76
|
"@pareto-engineering/bem": "^5.11.5",
|
|
77
77
|
"@pareto-engineering/styles": "^5.12.2",
|
|
78
78
|
"@types/node": "^22.14.1",
|
|
@@ -105,5 +105,5 @@
|
|
|
105
105
|
"vite-plugin-lib-inject-css": "^2.2.2"
|
|
106
106
|
},
|
|
107
107
|
"browserslist": "> 2%",
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "aa9a21b4a626cc6fe567fcbe58c9e814e9d8970a"
|
|
109
109
|
}
|