@evoke-platform/ui-components 1.1.0-testing.1 → 1.1.0-testing.11
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/published/components/core/DateTimePicker/DateTimePicker.js +7 -1
- package/dist/published/components/custom/CriteriaBuilder/CriteriaBuilder.d.ts +4 -5
- package/dist/published/components/custom/CriteriaBuilder/CriteriaBuilder.js +37 -29
- package/dist/published/components/custom/CriteriaBuilder/PropertyTree.js +4 -10
- package/dist/published/components/custom/CriteriaBuilder/ValueEditor.js +39 -14
- package/dist/published/components/custom/Form/Common/Form.d.ts +7 -1
- package/dist/published/components/custom/Form/Common/Form.js +112 -94
- package/dist/published/components/custom/Form/Common/FormComponentWrapper.d.ts +5 -0
- package/dist/published/components/custom/Form/Common/FormComponentWrapper.js +15 -4
- package/dist/published/components/custom/Form/FormComponents/ButtonComponent.d.ts +1 -2
- package/dist/published/components/custom/Form/FormComponents/DocumentComponent/DocumentComponent.d.ts +1 -2
- package/dist/published/components/custom/Form/FormComponents/FormFieldComponent.d.ts +1 -1
- package/dist/published/components/custom/Form/FormComponents/FormFieldComponent.js +1 -1
- package/dist/published/components/custom/Form/FormComponents/ImageComponent/ImageComponent.d.ts +0 -3
- package/dist/published/components/custom/Form/FormComponents/ObjectComponent/ObjectComponent.d.ts +0 -1
- package/dist/published/components/custom/Form/FormComponents/ObjectComponent/ObjectPropertyInput.js +7 -3
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ManyToMany/DropdownRepeatableField.js +6 -2
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ManyToMany/DropdownRepeatableFieldInput.js +1 -0
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/RepeatableFieldComponent.d.ts +0 -1
- package/dist/published/components/custom/Form/FormComponents/UserComponent/UserComponent.d.ts +0 -3
- package/dist/published/components/custom/Form/index.d.ts +2 -1
- package/dist/published/components/custom/Form/utils.js +21 -4
- package/dist/published/components/custom/FormField/FormField.d.ts +2 -0
- package/dist/published/components/custom/FormField/FormField.js +3 -1
- package/dist/published/components/custom/FormField/Select/Select.js +28 -4
- package/dist/published/components/custom/FormField/Select/Select.test.js +41 -0
- package/dist/published/components/custom/OverflowTextField/OverflowTextField.d.ts +4 -0
- package/dist/published/components/custom/OverflowTextField/OverflowTextField.js +13 -0
- package/dist/published/components/custom/OverflowTextField/index.d.ts +2 -0
- package/dist/published/components/custom/OverflowTextField/index.js +2 -0
- package/dist/published/components/custom/index.d.ts +3 -2
- package/dist/published/components/custom/index.js +2 -2
- package/dist/published/index.d.ts +6 -3
- package/dist/published/index.js +4 -2
- package/dist/published/stories/Form.stories.d.ts +6 -0
- package/dist/published/stories/Form.stories.js +82 -0
- package/dist/published/stories/FormField.stories.js +2 -0
- package/dist/published/stories/OverflowTextField.stories.d.ts +5 -0
- package/dist/published/stories/OverflowTextField.stories.js +28 -0
- package/package.json +2 -8
@@ -0,0 +1,28 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { OverflowTextField as CustomOverflowTextField } from '../components/custom/OverflowTextField';
|
3
|
+
export default {
|
4
|
+
title: 'Input/OverflowTextField',
|
5
|
+
component: CustomOverflowTextField,
|
6
|
+
argTypes: {
|
7
|
+
value: {
|
8
|
+
control: 'text',
|
9
|
+
defaultValue: 'This is a sample text that is too long to be fully visible within the input field, triggering an ellipsis.',
|
10
|
+
description: 'The text to display in the field',
|
11
|
+
},
|
12
|
+
placeholder: {
|
13
|
+
control: 'text',
|
14
|
+
defaultValue: 'Enter text...',
|
15
|
+
},
|
16
|
+
size: {
|
17
|
+
control: 'text',
|
18
|
+
defaultValue: 'small',
|
19
|
+
},
|
20
|
+
},
|
21
|
+
};
|
22
|
+
const Template = (args) => React.createElement(CustomOverflowTextField, { ...args });
|
23
|
+
export const OverflowTextField = Template.bind({});
|
24
|
+
OverflowTextField.args = {
|
25
|
+
value: 'This is a sample text that is too long to be fully visible within the input field, triggering an ellipsis.',
|
26
|
+
placeholder: 'Enter text here...',
|
27
|
+
size: 'small',
|
28
|
+
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@evoke-platform/ui-components",
|
3
|
-
"version": "1.1.0-testing.
|
3
|
+
"version": "1.1.0-testing.11",
|
4
4
|
"description": "",
|
5
5
|
"main": "dist/published/index.js",
|
6
6
|
"module": "dist/published/index.js",
|
@@ -94,7 +94,7 @@
|
|
94
94
|
"@dnd-kit/sortable": "^7.0.1",
|
95
95
|
"@emotion/react": "^11.13.5",
|
96
96
|
"@emotion/styled": "^11.8.1",
|
97
|
-
"@evoke-platform/context": "^1.0.0-dev.
|
97
|
+
"@evoke-platform/context": "^1.0.0-dev.126",
|
98
98
|
"@formio/react": "^5.2.4-rc.1",
|
99
99
|
"@js-joda/core": "^3.2.0",
|
100
100
|
"@js-joda/locale_en-us": "^3.2.2",
|
@@ -135,12 +135,6 @@
|
|
135
135
|
"npm run lint:fix"
|
136
136
|
]
|
137
137
|
},
|
138
|
-
"husky": {
|
139
|
-
"hooks": {
|
140
|
-
"pre-commit": "npx lint-staged",
|
141
|
-
"commit-msg": "npx commitlint --edit $1"
|
142
|
-
}
|
143
|
-
},
|
144
138
|
"jest": {
|
145
139
|
"verbose": true,
|
146
140
|
"testEnvironment": "jsdom",
|