pds-dev-kit-web-test 0.3.6 → 0.3.8
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/index.d.ts +2 -2
- package/dist/src/common/assets/icons/fill/DeviceMobileNotification.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/DeviceMobileNotification.js +30 -0
- package/dist/src/common/assets/icons/fill/index.d.ts +1 -0
- package/dist/src/common/assets/icons/fill/index.js +2 -0
- package/dist/src/common/assets/icons/line/Chapter.js +1 -1
- package/dist/src/common/assets/icons/line/DeviceMobileNotification.d.ts +4 -0
- package/dist/src/common/assets/icons/line/DeviceMobileNotification.js +30 -0
- package/dist/src/common/assets/icons/line/Pages.js +1 -1
- package/dist/src/common/assets/icons/line/VideoPlayCircle.js +1 -1
- package/dist/src/common/assets/icons/line/index.d.ts +1 -0
- package/dist/src/common/assets/icons/line/index.js +2 -0
- package/dist/src/common/index.d.ts +1 -1
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +2 -1
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +2 -1
- package/dist/src/common/styles/colorSet/UIColor.json +2 -1
- package/dist/src/common/styles/colorSet/index.d.ts +350 -347
- package/dist/src/common/styles/colorSet/index.js +3 -3
- package/dist/src/common/styles/colorSet/ui-type.d.ts +1 -0
- package/dist/src/common/types/components.d.ts +5 -0
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.js +5 -5
- package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.d.ts +4 -1
- package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.js +16 -4
- package/dist/src/desktop/components/Dropdown/Dropdown.d.ts +3 -2
- package/dist/src/desktop/components/Dropdown/Dropdown.js +124 -19
- package/dist/src/desktop/components/DynamicDesktopNavBar/DynamicDesktopNavBar.js +25 -6
- package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/BrandLogo.d.ts +2 -1
- package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/BrandLogo.js +2 -2
- package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/UserProfile.d.ts +2 -2
- package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/UserProfile.js +7 -5
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/LogoNav.d.ts +2 -1
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/LogoNav.js +12 -3
- package/dist/src/desktop/components/DynamicDesktopNavBar/templates/DynamicDesktopNavBarTemplates.d.ts +136 -1
- package/dist/src/desktop/components/DynamicDesktopNavBar/templates/constants.d.ts +141 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/templates/constants.js +141 -0
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.js +5 -5
- package/dist/src/mobile/components/Dropdown/Dropdown.d.ts +3 -2
- package/dist/src/mobile/components/Dropdown/Dropdown.js +123 -18
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +4 -2
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.d.ts +850 -8
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.js +2048 -1202
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider/Divider.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +15 -9
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/index.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/index.js +3 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropHoverAnim.d.ts +19 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropHoverAnim.js +51 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/types.d.ts +4 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/types.js +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +4 -1
- package/package.json +1 -1
- package/release-note.md +3 -3
|
@@ -2,7 +2,7 @@ import type { TemplateNamesType } from './types';
|
|
|
2
2
|
declare class DynamicDesktopNavBarTemplates {
|
|
3
3
|
private static data;
|
|
4
4
|
private static names;
|
|
5
|
-
static getNames(): Record<"W1_0001" | "W1_0002" | "W1_0003" | "W1_0004" | "W1_0005", "W1_0001" | "W1_0002" | "W1_0003" | "W1_0004" | "W1_0005">;
|
|
5
|
+
static getNames(): Record<"W1_0001" | "W1_0002" | "W1_0003" | "W1_0004" | "W1_0005" | "W1_0006" | "W1_0007" | "W1_0008" | "W1_0009" | "W1_0010" | "W1_0011", "W1_0001" | "W1_0002" | "W1_0003" | "W1_0004" | "W1_0005" | "W1_0006" | "W1_0007" | "W1_0008" | "W1_0009" | "W1_0010" | "W1_0011">;
|
|
6
6
|
static getTemplate(name: TemplateNamesType): {
|
|
7
7
|
gridTemplate: string;
|
|
8
8
|
gridStyle: {
|
|
@@ -108,6 +108,141 @@ declare class DynamicDesktopNavBarTemplates {
|
|
|
108
108
|
userProfileOptions: {
|
|
109
109
|
style: {};
|
|
110
110
|
};
|
|
111
|
+
} | {
|
|
112
|
+
gridTemplate: string;
|
|
113
|
+
gridStyle: {
|
|
114
|
+
width: string;
|
|
115
|
+
gridTemplateColumns: string;
|
|
116
|
+
};
|
|
117
|
+
showSecondaryMenu: boolean;
|
|
118
|
+
userProfileOptions: {
|
|
119
|
+
style: {
|
|
120
|
+
width: string;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
primaryMenuOptions: {
|
|
124
|
+
showMenuAsIcon: boolean;
|
|
125
|
+
maxLength: number;
|
|
126
|
+
style: {
|
|
127
|
+
justifyContent: string;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
secondaryMenuOptions: {
|
|
131
|
+
showMenuAsIcon: boolean;
|
|
132
|
+
maxLength: number;
|
|
133
|
+
style: {};
|
|
134
|
+
};
|
|
135
|
+
} | {
|
|
136
|
+
gridTemplate: string;
|
|
137
|
+
gridStyle: {
|
|
138
|
+
width: string;
|
|
139
|
+
gridTemplateColumns: string;
|
|
140
|
+
};
|
|
141
|
+
showSecondaryMenu: boolean;
|
|
142
|
+
primaryMenuOptions: {
|
|
143
|
+
showMenuAsIcon: boolean;
|
|
144
|
+
maxLength: number;
|
|
145
|
+
style: {};
|
|
146
|
+
};
|
|
147
|
+
secondaryMenuOptions: {
|
|
148
|
+
showMenuAsIcon: boolean;
|
|
149
|
+
maxLength: number;
|
|
150
|
+
style: {};
|
|
151
|
+
};
|
|
152
|
+
userProfileOptions: {
|
|
153
|
+
style: {};
|
|
154
|
+
};
|
|
155
|
+
} | {
|
|
156
|
+
gridTemplate: string;
|
|
157
|
+
gridStyle: {
|
|
158
|
+
width: string;
|
|
159
|
+
gridTemplateColumns: string;
|
|
160
|
+
};
|
|
161
|
+
showSecondaryMenu: boolean;
|
|
162
|
+
primaryMenuOptions: {
|
|
163
|
+
showMenuAsIcon: boolean;
|
|
164
|
+
maxLength: number;
|
|
165
|
+
style: {};
|
|
166
|
+
};
|
|
167
|
+
secondaryMenuOptions: {
|
|
168
|
+
showMenuAsIcon: boolean;
|
|
169
|
+
maxLength: number;
|
|
170
|
+
style: {};
|
|
171
|
+
};
|
|
172
|
+
userProfileOptions: {
|
|
173
|
+
style: {};
|
|
174
|
+
};
|
|
175
|
+
} | {
|
|
176
|
+
gridTemplate: string;
|
|
177
|
+
gridStyle: {
|
|
178
|
+
width: string;
|
|
179
|
+
gridTemplateColumns: string;
|
|
180
|
+
};
|
|
181
|
+
showSecondaryMenu: boolean;
|
|
182
|
+
primaryMenuOptions: {
|
|
183
|
+
showMenuAsIcon: boolean;
|
|
184
|
+
maxLength: number;
|
|
185
|
+
style: {
|
|
186
|
+
justifyContent: string;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
secondaryMenuOptions: {
|
|
190
|
+
showMenuAsIcon: boolean;
|
|
191
|
+
maxLength: number;
|
|
192
|
+
style: {};
|
|
193
|
+
};
|
|
194
|
+
userProfileOptions: {
|
|
195
|
+
style: {};
|
|
196
|
+
};
|
|
197
|
+
} | {
|
|
198
|
+
gridTemplate: string;
|
|
199
|
+
gridStyle: {
|
|
200
|
+
width: string;
|
|
201
|
+
gridTemplateColumns: string;
|
|
202
|
+
};
|
|
203
|
+
showSecondaryMenu: boolean;
|
|
204
|
+
primaryMenuOptions: {
|
|
205
|
+
showMenuAsIcon: boolean;
|
|
206
|
+
maxLength: number;
|
|
207
|
+
style: {
|
|
208
|
+
justifyContent: string;
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
secondaryMenuOptions: {
|
|
212
|
+
showMenuAsIcon: boolean;
|
|
213
|
+
maxLength: number;
|
|
214
|
+
style: {
|
|
215
|
+
justifyContent: string;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
userProfileOptions: {
|
|
219
|
+
style: {};
|
|
220
|
+
};
|
|
221
|
+
} | {
|
|
222
|
+
gridTemplate: string;
|
|
223
|
+
gridStyle: {
|
|
224
|
+
gridTemplateColumns: string;
|
|
225
|
+
};
|
|
226
|
+
showSecondaryMenu: boolean;
|
|
227
|
+
primaryMenuOptions: {
|
|
228
|
+
showMenuAsIcon: boolean;
|
|
229
|
+
maxLength: number;
|
|
230
|
+
style: {
|
|
231
|
+
justifyContent: string;
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
secondaryMenuOptions: {
|
|
235
|
+
showMenuAsIcon: boolean;
|
|
236
|
+
maxLength: number;
|
|
237
|
+
style: {
|
|
238
|
+
width: string;
|
|
239
|
+
justifyContent: string;
|
|
240
|
+
paddingLeft: string;
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
userProfileOptions: {
|
|
244
|
+
style: {};
|
|
245
|
+
};
|
|
111
246
|
};
|
|
112
247
|
}
|
|
113
248
|
export default DynamicDesktopNavBarTemplates;
|
|
@@ -109,4 +109,145 @@ export declare const TEMPLATES_DATA: {
|
|
|
109
109
|
style: {};
|
|
110
110
|
};
|
|
111
111
|
};
|
|
112
|
+
W1_0006: {
|
|
113
|
+
gridTemplate: string;
|
|
114
|
+
gridStyle: {
|
|
115
|
+
width: string;
|
|
116
|
+
gridTemplateColumns: string;
|
|
117
|
+
};
|
|
118
|
+
showSecondaryMenu: boolean;
|
|
119
|
+
userProfileOptions: {
|
|
120
|
+
style: {
|
|
121
|
+
width: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
primaryMenuOptions: {
|
|
125
|
+
showMenuAsIcon: boolean;
|
|
126
|
+
maxLength: number;
|
|
127
|
+
style: {
|
|
128
|
+
justifyContent: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
secondaryMenuOptions: {
|
|
132
|
+
showMenuAsIcon: boolean;
|
|
133
|
+
maxLength: number;
|
|
134
|
+
style: {};
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
W1_0007: {
|
|
138
|
+
gridTemplate: string;
|
|
139
|
+
gridStyle: {
|
|
140
|
+
width: string;
|
|
141
|
+
gridTemplateColumns: string;
|
|
142
|
+
};
|
|
143
|
+
showSecondaryMenu: boolean;
|
|
144
|
+
primaryMenuOptions: {
|
|
145
|
+
showMenuAsIcon: boolean;
|
|
146
|
+
maxLength: number;
|
|
147
|
+
style: {};
|
|
148
|
+
};
|
|
149
|
+
secondaryMenuOptions: {
|
|
150
|
+
showMenuAsIcon: boolean;
|
|
151
|
+
maxLength: number;
|
|
152
|
+
style: {};
|
|
153
|
+
};
|
|
154
|
+
userProfileOptions: {
|
|
155
|
+
style: {};
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
W1_0008: {
|
|
159
|
+
gridTemplate: string;
|
|
160
|
+
gridStyle: {
|
|
161
|
+
width: string;
|
|
162
|
+
gridTemplateColumns: string;
|
|
163
|
+
};
|
|
164
|
+
showSecondaryMenu: boolean;
|
|
165
|
+
primaryMenuOptions: {
|
|
166
|
+
showMenuAsIcon: boolean;
|
|
167
|
+
maxLength: number;
|
|
168
|
+
style: {};
|
|
169
|
+
};
|
|
170
|
+
secondaryMenuOptions: {
|
|
171
|
+
showMenuAsIcon: boolean;
|
|
172
|
+
maxLength: number;
|
|
173
|
+
style: {};
|
|
174
|
+
};
|
|
175
|
+
userProfileOptions: {
|
|
176
|
+
style: {};
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
W1_0009: {
|
|
180
|
+
gridTemplate: string;
|
|
181
|
+
gridStyle: {
|
|
182
|
+
width: string;
|
|
183
|
+
gridTemplateColumns: string;
|
|
184
|
+
};
|
|
185
|
+
showSecondaryMenu: boolean;
|
|
186
|
+
primaryMenuOptions: {
|
|
187
|
+
showMenuAsIcon: boolean;
|
|
188
|
+
maxLength: number;
|
|
189
|
+
style: {
|
|
190
|
+
justifyContent: string;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
secondaryMenuOptions: {
|
|
194
|
+
showMenuAsIcon: boolean;
|
|
195
|
+
maxLength: number;
|
|
196
|
+
style: {};
|
|
197
|
+
};
|
|
198
|
+
userProfileOptions: {
|
|
199
|
+
style: {};
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
W1_0010: {
|
|
203
|
+
gridTemplate: string;
|
|
204
|
+
gridStyle: {
|
|
205
|
+
width: string;
|
|
206
|
+
gridTemplateColumns: string;
|
|
207
|
+
};
|
|
208
|
+
showSecondaryMenu: boolean;
|
|
209
|
+
primaryMenuOptions: {
|
|
210
|
+
showMenuAsIcon: boolean;
|
|
211
|
+
maxLength: number;
|
|
212
|
+
style: {
|
|
213
|
+
justifyContent: string;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
secondaryMenuOptions: {
|
|
217
|
+
showMenuAsIcon: boolean;
|
|
218
|
+
maxLength: number;
|
|
219
|
+
style: {
|
|
220
|
+
justifyContent: string;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
userProfileOptions: {
|
|
224
|
+
style: {};
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
W1_0011: {
|
|
228
|
+
gridTemplate: string;
|
|
229
|
+
gridStyle: {
|
|
230
|
+
gridTemplateColumns: string;
|
|
231
|
+
};
|
|
232
|
+
showSecondaryMenu: boolean;
|
|
233
|
+
primaryMenuOptions: {
|
|
234
|
+
showMenuAsIcon: boolean;
|
|
235
|
+
maxLength: number;
|
|
236
|
+
style: {
|
|
237
|
+
justifyContent: string;
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
secondaryMenuOptions: {
|
|
241
|
+
showMenuAsIcon: boolean;
|
|
242
|
+
maxLength: number;
|
|
243
|
+
style: {
|
|
244
|
+
width: string;
|
|
245
|
+
justifyContent: string;
|
|
246
|
+
paddingLeft: string;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
userProfileOptions: {
|
|
250
|
+
style: {};
|
|
251
|
+
};
|
|
252
|
+
};
|
|
112
253
|
};
|
|
@@ -111,5 +111,146 @@ exports.TEMPLATES_DATA = {
|
|
|
111
111
|
userProfileOptions: {
|
|
112
112
|
style: {}
|
|
113
113
|
}
|
|
114
|
+
},
|
|
115
|
+
W1_0006: {
|
|
116
|
+
gridTemplate: 'BRAND_LOGO PRIMARY_MENU USER_PROFILE',
|
|
117
|
+
gridStyle: {
|
|
118
|
+
width: '1400px',
|
|
119
|
+
gridTemplateColumns: 'max-content auto max-content'
|
|
120
|
+
},
|
|
121
|
+
showSecondaryMenu: false,
|
|
122
|
+
userProfileOptions: {
|
|
123
|
+
style: {
|
|
124
|
+
width: '180px'
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
primaryMenuOptions: {
|
|
128
|
+
showMenuAsIcon: false,
|
|
129
|
+
maxLength: 99,
|
|
130
|
+
style: {
|
|
131
|
+
justifyContent: 'center'
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
secondaryMenuOptions: {
|
|
135
|
+
showMenuAsIcon: false,
|
|
136
|
+
maxLength: 0,
|
|
137
|
+
style: {}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
W1_0007: {
|
|
141
|
+
gridTemplate: 'BRAND_LOGO PRIMARY_MENU USER_PROFILE',
|
|
142
|
+
gridStyle: {
|
|
143
|
+
width: '1400px',
|
|
144
|
+
gridTemplateColumns: 'max-content auto max-content'
|
|
145
|
+
},
|
|
146
|
+
showSecondaryMenu: false,
|
|
147
|
+
primaryMenuOptions: {
|
|
148
|
+
showMenuAsIcon: false,
|
|
149
|
+
maxLength: 99,
|
|
150
|
+
style: {}
|
|
151
|
+
},
|
|
152
|
+
secondaryMenuOptions: {
|
|
153
|
+
showMenuAsIcon: false,
|
|
154
|
+
maxLength: 0,
|
|
155
|
+
style: {}
|
|
156
|
+
},
|
|
157
|
+
userProfileOptions: {
|
|
158
|
+
style: {}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
W1_0008: {
|
|
162
|
+
gridTemplate: 'BRAND_LOGO PRIMARY_MENU SECONDARY_MENU USER_PROFILE',
|
|
163
|
+
gridStyle: {
|
|
164
|
+
width: '1400px',
|
|
165
|
+
gridTemplateColumns: 'max-content auto max-content max-content'
|
|
166
|
+
},
|
|
167
|
+
showSecondaryMenu: true,
|
|
168
|
+
primaryMenuOptions: {
|
|
169
|
+
showMenuAsIcon: false,
|
|
170
|
+
maxLength: 99,
|
|
171
|
+
style: {}
|
|
172
|
+
},
|
|
173
|
+
secondaryMenuOptions: {
|
|
174
|
+
showMenuAsIcon: true,
|
|
175
|
+
maxLength: 3,
|
|
176
|
+
style: {}
|
|
177
|
+
},
|
|
178
|
+
userProfileOptions: {
|
|
179
|
+
style: {}
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
W1_0009: {
|
|
183
|
+
gridTemplate: 'BRAND_LOGO PRIMARY_MENU USER_PROFILE',
|
|
184
|
+
gridStyle: {
|
|
185
|
+
width: '1400px',
|
|
186
|
+
gridTemplateColumns: 'max-content auto max-content'
|
|
187
|
+
},
|
|
188
|
+
showSecondaryMenu: false,
|
|
189
|
+
primaryMenuOptions: {
|
|
190
|
+
showMenuAsIcon: false,
|
|
191
|
+
maxLength: 5,
|
|
192
|
+
style: {
|
|
193
|
+
justifyContent: 'flex-end'
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
secondaryMenuOptions: {
|
|
197
|
+
showMenuAsIcon: false,
|
|
198
|
+
maxLength: 0,
|
|
199
|
+
style: {}
|
|
200
|
+
},
|
|
201
|
+
userProfileOptions: {
|
|
202
|
+
style: {}
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
W1_0010: {
|
|
206
|
+
gridTemplate: 'BRAND_LOGO PRIMARY_MENU SECONDARY_MENU USER_PROFILE',
|
|
207
|
+
gridStyle: {
|
|
208
|
+
width: '1400px',
|
|
209
|
+
gridTemplateColumns: 'max-content auto max-content max-content'
|
|
210
|
+
},
|
|
211
|
+
showSecondaryMenu: true,
|
|
212
|
+
primaryMenuOptions: {
|
|
213
|
+
showMenuAsIcon: false,
|
|
214
|
+
maxLength: 99,
|
|
215
|
+
style: {
|
|
216
|
+
justifyContent: 'flex-end'
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
secondaryMenuOptions: {
|
|
220
|
+
showMenuAsIcon: true,
|
|
221
|
+
maxLength: 3,
|
|
222
|
+
style: {
|
|
223
|
+
justifyContent: 'flex-end'
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
userProfileOptions: {
|
|
227
|
+
style: {}
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
W1_0011: {
|
|
231
|
+
gridTemplate: 'PRIMARY_MENU BRAND_LOGO SECONDARY_MENU USER_PROFILE',
|
|
232
|
+
gridStyle: {
|
|
233
|
+
gridTemplateColumns: '1fr min-content 1fr min-content'
|
|
234
|
+
},
|
|
235
|
+
showSecondaryMenu: true,
|
|
236
|
+
primaryMenuOptions: {
|
|
237
|
+
showMenuAsIcon: false,
|
|
238
|
+
maxLength: 3,
|
|
239
|
+
style: {
|
|
240
|
+
justifyContent: 'right'
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
secondaryMenuOptions: {
|
|
244
|
+
showMenuAsIcon: false,
|
|
245
|
+
maxLength: 2,
|
|
246
|
+
style: {
|
|
247
|
+
width: '100%',
|
|
248
|
+
justifyContent: 'left',
|
|
249
|
+
paddingLeft: '32px'
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
userProfileOptions: {
|
|
253
|
+
style: {}
|
|
254
|
+
}
|
|
114
255
|
}
|
|
115
256
|
};
|
|
@@ -79,26 +79,26 @@ function ChatBubbleListItem(_a) {
|
|
|
79
79
|
styleTheme === 'other_avatar' ||
|
|
80
80
|
styleTheme === 'other_avatar_sub';
|
|
81
81
|
var titleTextColorTheme = 'sysTextPrimary';
|
|
82
|
-
var countTextColorTheme = '
|
|
82
|
+
var countTextColorTheme = 'sysTextPrimary';
|
|
83
83
|
switch (colorTheme) {
|
|
84
84
|
case 'grey': {
|
|
85
85
|
titleTextColorTheme = 'sysTextPrimary';
|
|
86
|
-
countTextColorTheme = '
|
|
86
|
+
countTextColorTheme = 'sysTextPrimary';
|
|
87
87
|
break;
|
|
88
88
|
}
|
|
89
89
|
case 'brand_primary': {
|
|
90
90
|
titleTextColorTheme = 'usrTextBrandPrimary';
|
|
91
|
-
countTextColorTheme = '
|
|
91
|
+
countTextColorTheme = 'sysTextPrimary';
|
|
92
92
|
break;
|
|
93
93
|
}
|
|
94
94
|
case 'translucent_white': {
|
|
95
95
|
titleTextColorTheme = 'sysTextBlack';
|
|
96
|
-
countTextColorTheme = '
|
|
96
|
+
countTextColorTheme = 'sysTextPrimary';
|
|
97
97
|
break;
|
|
98
98
|
}
|
|
99
99
|
case 'translucent_black': {
|
|
100
100
|
titleTextColorTheme = 'sysTextWhite';
|
|
101
|
-
countTextColorTheme = '
|
|
101
|
+
countTextColorTheme = 'sysTextPrimary';
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { PDSTextType } from '../../../common';
|
|
3
|
-
import type { DropdownValueOption } from '../../../common/types';
|
|
3
|
+
import type { DropdownGroupInfo, DropdownValueOption } from '../../../common/types';
|
|
4
4
|
type Props = {
|
|
5
5
|
colorTheme?: 'none' | 'dark' | 'white';
|
|
6
6
|
defaultValue?: DropdownValueOption;
|
|
@@ -14,7 +14,8 @@ type Props = {
|
|
|
14
14
|
customWidth?: string;
|
|
15
15
|
displayType?: 'text_only' | 'icon_only' | 'icon_text';
|
|
16
16
|
fontWeight?: 'bold' | 'regular';
|
|
17
|
+
groupInfoArray?: DropdownGroupInfo[];
|
|
17
18
|
onChange?: (option: DropdownValueOption) => void;
|
|
18
19
|
};
|
|
19
|
-
declare function Dropdown({ colorTheme, value, defaultValue, hintText, maxHeightItemNumber, responsiveMode, size, state, valueArray, customWidth, displayType, fontWeight, onChange }: Props): JSX.Element;
|
|
20
|
+
declare function Dropdown({ colorTheme, value, defaultValue, hintText, maxHeightItemNumber, responsiveMode, size, state, valueArray, customWidth, displayType, fontWeight, groupInfoArray, onChange }: Props): JSX.Element;
|
|
20
21
|
export default Dropdown;
|