@gem-sdk/components 2.0.0-dev.675 → 2.0.0-dev.676
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/accordion/components/AccordionItem.js +0 -1
- package/dist/cjs/accordion/setting/configs/settings.js +1 -1
- package/dist/cjs/accordion/setting/configs/uiV2.js +25 -38
- package/dist/cjs/button/setting/configs/uiV2.js +1 -1
- package/dist/esm/accordion/components/AccordionItem.js +0 -1
- package/dist/esm/accordion/setting/configs/settings.js +1 -1
- package/dist/esm/accordion/setting/configs/uiV2.js +25 -38
- package/dist/esm/button/setting/configs/uiV2.js +1 -1
- package/package.json +2 -2
|
@@ -17,7 +17,6 @@ var index = require('./common/index.js');
|
|
|
17
17
|
const AccordionItem = (props)=>{
|
|
18
18
|
const { children, index: index$1, parentUid, title, childrenIcon } = props;
|
|
19
19
|
const { iconSvg, titleTypo, layoutHeader, iconGlobalSize, iconCollapseSize, iconCollapse, iconExpand, alignment, configIconSize, iconPosition } = index.getParentSettings(props.parentSetting) ?? {};
|
|
20
|
-
console.log('titleTypo', titleTypo);
|
|
21
20
|
const { refContainer, getIdDropdownItem, makeIcon, isShow, uniqueId, composeIconColor, isRenderChildren, composeContentSizeStyle, hasTransitionedIn, isMounted, productID } = useAccordionItem.default(props);
|
|
22
21
|
const composeContainerClasses = system.createClass(classes.getItemContainerClasses);
|
|
23
22
|
const composeDropdownClasses = system.createClass(classes.getDropdownClasses(props.parentStyle, {
|
|
@@ -185,48 +185,35 @@ const SettingUIV2 = [
|
|
|
185
185
|
label: {
|
|
186
186
|
en: 'Title'
|
|
187
187
|
},
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
isHideClear: true,
|
|
191
|
-
popoverLabel: {
|
|
192
|
-
en: 'Title'
|
|
188
|
+
setting: {
|
|
189
|
+
id: 'titleTypo'
|
|
193
190
|
},
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
{
|
|
214
|
-
action: {
|
|
215
|
-
controlId: 'textColor',
|
|
216
|
-
valueFromField: 'attrs.color',
|
|
217
|
-
groupType: 'style',
|
|
218
|
-
controlType: 'style',
|
|
219
|
-
removeDevice: true,
|
|
220
|
-
state: 'normal'
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
],
|
|
224
|
-
options: {
|
|
225
|
-
noRecordHistory: true
|
|
191
|
+
options: {
|
|
192
|
+
updateFields: [
|
|
193
|
+
{
|
|
194
|
+
field: 'attrs.color',
|
|
195
|
+
settingId: 'textColor',
|
|
196
|
+
state: 'normal'
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
controlChangeTrigger: {
|
|
201
|
+
settings: [
|
|
202
|
+
{
|
|
203
|
+
action: {
|
|
204
|
+
controlId: 'textColor',
|
|
205
|
+
valueFromField: 'attrs.color',
|
|
206
|
+
groupType: 'style',
|
|
207
|
+
controlType: 'style',
|
|
208
|
+
removeDevice: true,
|
|
209
|
+
state: 'normal'
|
|
226
210
|
}
|
|
227
211
|
}
|
|
212
|
+
],
|
|
213
|
+
options: {
|
|
214
|
+
noRecordHistory: true
|
|
228
215
|
}
|
|
229
|
-
|
|
216
|
+
}
|
|
230
217
|
},
|
|
231
218
|
{
|
|
232
219
|
label: {
|
|
@@ -13,7 +13,6 @@ import { getParentSettings, MINIMUM_CHILD, BODY_CHILD_INDEX } from './common/ind
|
|
|
13
13
|
const AccordionItem = (props)=>{
|
|
14
14
|
const { children, index, parentUid, title, childrenIcon } = props;
|
|
15
15
|
const { iconSvg, titleTypo, layoutHeader, iconGlobalSize, iconCollapseSize, iconCollapse, iconExpand, alignment, configIconSize, iconPosition } = getParentSettings(props.parentSetting) ?? {};
|
|
16
|
-
console.log('titleTypo', titleTypo);
|
|
17
16
|
const { refContainer, getIdDropdownItem, makeIcon, isShow, uniqueId, composeIconColor, isRenderChildren, composeContentSizeStyle, hasTransitionedIn, isMounted, productID } = useAccordionItem(props);
|
|
18
17
|
const composeContainerClasses = createClass(getItemContainerClasses);
|
|
19
18
|
const composeDropdownClasses = createClass(getDropdownClasses(props.parentStyle, {
|
|
@@ -183,48 +183,35 @@ const SettingUIV2 = [
|
|
|
183
183
|
label: {
|
|
184
184
|
en: 'Title'
|
|
185
185
|
},
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
isHideClear: true,
|
|
189
|
-
popoverLabel: {
|
|
190
|
-
en: 'Title'
|
|
186
|
+
setting: {
|
|
187
|
+
id: 'titleTypo'
|
|
191
188
|
},
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
{
|
|
212
|
-
action: {
|
|
213
|
-
controlId: 'textColor',
|
|
214
|
-
valueFromField: 'attrs.color',
|
|
215
|
-
groupType: 'style',
|
|
216
|
-
controlType: 'style',
|
|
217
|
-
removeDevice: true,
|
|
218
|
-
state: 'normal'
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
],
|
|
222
|
-
options: {
|
|
223
|
-
noRecordHistory: true
|
|
189
|
+
options: {
|
|
190
|
+
updateFields: [
|
|
191
|
+
{
|
|
192
|
+
field: 'attrs.color',
|
|
193
|
+
settingId: 'textColor',
|
|
194
|
+
state: 'normal'
|
|
195
|
+
}
|
|
196
|
+
]
|
|
197
|
+
},
|
|
198
|
+
controlChangeTrigger: {
|
|
199
|
+
settings: [
|
|
200
|
+
{
|
|
201
|
+
action: {
|
|
202
|
+
controlId: 'textColor',
|
|
203
|
+
valueFromField: 'attrs.color',
|
|
204
|
+
groupType: 'style',
|
|
205
|
+
controlType: 'style',
|
|
206
|
+
removeDevice: true,
|
|
207
|
+
state: 'normal'
|
|
224
208
|
}
|
|
225
209
|
}
|
|
210
|
+
],
|
|
211
|
+
options: {
|
|
212
|
+
noRecordHistory: true
|
|
226
213
|
}
|
|
227
|
-
|
|
214
|
+
}
|
|
228
215
|
},
|
|
229
216
|
{
|
|
230
217
|
label: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/components",
|
|
3
|
-
"version": "2.0.0-dev.
|
|
3
|
+
"version": "2.0.0-dev.676",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"scan-all-text": "rollup -c ./scripts/rollup.config.settings.mjs && node ./scripts/scan-all-text && node ./scripts/scan-all-text"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@gem-sdk/core": "2.0.0-dev.
|
|
28
|
+
"@gem-sdk/core": "2.0.0-dev.676",
|
|
29
29
|
"@gem-sdk/styles": "2.0.0-dev.661",
|
|
30
30
|
"@gem-sdk/system": "2.0.0-dev.661",
|
|
31
31
|
"@types/react-transition-group": "^4.4.5",
|