@woosmap/ui 4.57.2 → 4.59.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/ui",
3
- "version": "4.57.2",
3
+ "version": "4.59.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -3,3 +3,4 @@
3
3
  @import "./flex.styl"
4
4
  @import "./base.styl"
5
5
  @import "./commons.styl"
6
+ @import "./sf.styl"
@@ -0,0 +1,262 @@
1
+ // SF Chat Customization
2
+ body
3
+ .embeddedServiceSidebarMinimizedDefaultUI
4
+ background-color $logo2
5
+ border-color $logo2
6
+ .embeddedServiceSidebarMinimizedDefaultUI.helpButton
7
+ .embeddedServiceHelpButton .helpButton .uiButton
8
+ trans()
9
+ background $logo2
10
+ background linear-gradient(180Deg, $logo2 0, $logo3 100%)
11
+ font-family $fontFamily
12
+ font-size $fontSize
13
+ min-width 1rem
14
+ text-decoration none
15
+ box-shadow 0 0 .2rem transparent
16
+ &:focus
17
+ outline: none
18
+ background $logo4
19
+ text-decoration: none;
20
+ .helpButtonLabel
21
+ text-decoration none
22
+ &:hover
23
+ textShadow()
24
+ background-color $success2
25
+ background linear-gradient(180Deg, $success2 0, $success2 100%)
26
+ &:before
27
+ content unset !important
28
+ .embeddedServiceIcon.x-small
29
+ svg
30
+ sq(2)
31
+ fill $light
32
+ .embeddedServiceSidebarMinimizedDefaultUI
33
+ width auto
34
+ min-width 4rem
35
+ max-width 20rem
36
+ .messageContent
37
+ font-family $fontFamily
38
+ font-size $fontSize
39
+ .minimizedImage
40
+ img
41
+ .uiImage
42
+ sq(2)
43
+ .embeddedServiceLoadingBalls
44
+ &.tiny
45
+ .loadingBall
46
+ margin .1rem .1rem .4rem .1rem
47
+ .embeddedServiceLiveAgentStateWaiting
48
+ .waitingGreeting
49
+ &.imageIsSet
50
+ order 2
51
+ .waitingImage
52
+ order 1
53
+ sq(3)
54
+ .waitingMessage
55
+ &.imageIsSet
56
+ order 3
57
+
58
+ [embeddedService-chatHeader_chatHeader-host]
59
+ background linear-gradient(45Deg, $logo2 0, $logo3 100%)
60
+ font-family $fontFamily
61
+ font-size $fontSize
62
+ h2
63
+ font-weight 600
64
+ button[embeddedService-chatHeader_chatHeader]
65
+ &.minimizeButton
66
+ &.closeButton
67
+ sq(2.4)
68
+ cursor pointer
69
+ svg
70
+ sq(1.4)
71
+ label
72
+ font()
73
+ mbi(.4)
74
+ display flex
75
+ > :first-child
76
+ order 1
77
+ .embeddedServiceSidebarForm
78
+ .fieldList
79
+ margin-top 2rem
80
+ .embeddedServiceSidebarFormField
81
+ margin-bottom 2rem
82
+ &.buttonWrapper
83
+ background $light
84
+ padding-top 0
85
+ padding-bottom 10px
86
+ &.formContent
87
+ height calc(100% - 6.1rem)
88
+ margin-bottom 6.1rem
89
+ .embeddedServiceSidebarButton
90
+ br()
91
+ trans()
92
+ font()
93
+ background $logo3
94
+ &:disabled
95
+ opacity .3
96
+ &:not(:disabled)
97
+ &:hover
98
+ background-color $success2
99
+ text-decoration none
100
+ .label
101
+ textShadow()
102
+ &:focus
103
+ background $logo4
104
+ box-shadow 0 0 .1rem .1rem $logo6
105
+ text-decoration none
106
+ .label
107
+ background-color transparent
108
+ text-decoration none
109
+
110
+ .label
111
+ text-shadow none
112
+ trans()
113
+ background-color transparent
114
+ .embeddedServiceSidebarFormField
115
+ .uiInput
116
+ margin-bottom 1rem
117
+ .required
118
+ position relative
119
+ top unset
120
+ left unset
121
+ order 2
122
+ .uiLabel-left
123
+ margin-left 0
124
+ .slds-style-inputtext
125
+ .slds-style-select
126
+ font()
127
+ .has-error
128
+ .slds-style-inputtext:not(:focus)
129
+ border-color $error
130
+ .uiInputDefaultError .form-element__help
131
+ color $error
132
+ input
133
+ trans()
134
+ width 100%
135
+ font-family $fontFamily
136
+ font-size $fontSize
137
+ font-weight $fontWeight
138
+ color $textColor
139
+ line-height $fontSize + .4
140
+ -webkit-font-smoothing antialiased
141
+ -moz-osx-font-smoothing grayscale
142
+ &:not([type=button]):not([type=checkbox]):not([type=radio])
143
+ br()
144
+ placeHolderColor($placeHolderColor)
145
+ height $inputHeight
146
+ padding $inputPadding
147
+ min-width $inputMinWidth
148
+ width 100%
149
+ background-color $light
150
+ border .1rem solid $inputBorderColor
151
+ &:focus
152
+ border-color $secondary
153
+ &[type=textarea]
154
+ padding round($padding / 1.7) $padding
155
+ height $inputHeight * 2
156
+ .embeddedServiceSidebarDialogState
157
+ .dialogTextContainer
158
+ font-family $fontFamily
159
+ .dialogIcon
160
+ svg
161
+ sq(6)
162
+ .waitingMessage
163
+ &.imageIsSet
164
+ font()
165
+ .embeddedServiceSidebarButton.uiButton--inverse
166
+ .embeddedServiceSidebarButton.uiButton--inverse:disabled
167
+ br()
168
+ border .1rem solid $borderColor
169
+ .label
170
+ color $textColor
171
+ background-color transparent
172
+ &:hover
173
+ text-shadow none
174
+ .label
175
+ text-shadow none
176
+ .embeddedServiceSidebarFormField.inputSplitName
177
+ width auto
178
+ display block
179
+ .waitingStateContainer
180
+ .waitingGreetingContent
181
+ font-family $fontFamily
182
+ .embeddedServiceLiveAgentStateChat
183
+ .messageArea:focus
184
+ border 0
185
+ .unseenMessageNotification[embeddedService-chatUnseenMessageNotification_chatUnseenMessageNotification] .scrollDownButton[embeddedService-chatUnseenMessageNotification_chatUnseenMessageNotification]
186
+ .scrollDownButton[embeddedService-chatUnseenMessageNotification_chatUnseenMessageNotification] button[embeddedService-chatUnseenMessageNotification_chatUnseenMessageNotification]
187
+ margin-left .3rem
188
+ .embeddedServiceLiveAgentStateChatInputFooter
189
+ .unseenMessageNotificationWrapper
190
+ .scrollDownButton
191
+ .slds-button_icon-border
192
+ sq(3)
193
+ br(50)
194
+ align-items center
195
+ background-color $dark2
196
+ border .1rem solid $dark6
197
+ line-height .5
198
+ .slds-button__icon
199
+ sq(1.6)
200
+ fill $dark30
201
+ &.chasitorInputWrapper
202
+ border-top .1rem solid $borderColor
203
+ background-color $light
204
+ &.dynamicResizeTextOneRow
205
+ height auto
206
+ min-height 1rem
207
+ flex-shrink 0
208
+ margin-bottom 1rem
209
+ .chasitorControls
210
+ margin 0
211
+ height 100%
212
+ .uiInput
213
+ trans()
214
+ br(0)
215
+ border 0
216
+ padding 1rem 2rem
217
+ width 100%
218
+ height 100%
219
+ font-family $fontFamily
220
+ font-size $fontSize
221
+ font-weight $fontWeight
222
+ color $textColor
223
+ line-height $fontSize + .4
224
+ text-align left
225
+ -webkit-font-smoothing antialiased
226
+ -moz-osx-font-smoothing grayscale
227
+ .chasitorText
228
+ &.textAreaIsFocused
229
+ border 0
230
+ .messageArea
231
+ font-family $fontFamily
232
+ font-size $fontSize + .2
233
+ .embeddedServiceLiveAgentStateChatPlaintextMessageDefaultUI
234
+ &.chasitor
235
+ &.plaintextContent
236
+ background $logo3
237
+ .embeddedServiceLiveAgentStateChatItem
238
+ &.chatMessage
239
+ margin-bottom 1rem
240
+ flex-shrink 0
241
+ .isLightningOutContext
242
+ .avatar
243
+ border .1rem solid $boarderColor
244
+ bottom auto
245
+ top .6rem
246
+ [embeddedServiceLiveAgentStateChatAvatar]
247
+ position relative
248
+ overflow visible
249
+ .embeddedServiceLiveAgentStateChat
250
+ .chatSessionStartTime
251
+ flex 0 0 auto
252
+ .messageWrapper
253
+ .typingIndicatorContainer
254
+ .queuePositionContainer
255
+ display flex
256
+ flex-direction column
257
+ .messageArea
258
+ display block
259
+ &.smoothScroll
260
+ scroll-behavior smooth
261
+ // End SF Chat Customization
262
+
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="Encoding">
4
- <file url="PROJECT" charset="UTF-8" />
5
- </component>
6
- </project>
@@ -1,18 +0,0 @@
1
- <component name="InspectionProjectProfileManager">
2
- <profile version="1.0">
3
- <option name="myName" value="Project Default" />
4
- <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
- <inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
6
- <option name="ignoredPackages">
7
- <value>
8
- <list size="4">
9
- <item index="0" class="java.lang.String" itemvalue="Fabric" />
10
- <item index="1" class="java.lang.String" itemvalue="PyYAML" />
11
- <item index="2" class="java.lang.String" itemvalue="Jinja2" />
12
- <item index="3" class="java.lang.String" itemvalue="github3.py" />
13
- </list>
14
- </value>
15
- </option>
16
- </inspection_tool>
17
- </profile>
18
- </component>
@@ -1,6 +0,0 @@
1
- <component name="InspectionProjectProfileManager">
2
- <settings>
3
- <option name="USE_PROJECT_PROFILE" value="false" />
4
- <version value="1.0" />
5
- </settings>
6
- </component>
package/.idea/misc.xml DELETED
@@ -1,4 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9" project-jdk-type="Python SDK" />
4
- </project>
package/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/ui.iml" filepath="$PROJECT_DIR$/.idea/ui.iml" />
6
- </modules>
7
- </component>
8
- </project>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="PrettierConfiguration">
4
- <option name="myRunOnReformat" value="true" />
5
- </component>
6
- </project>
package/.idea/ui.iml DELETED
@@ -1,15 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="PYTHON_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$" />
5
- <orderEntry type="inheritedJdk" />
6
- <orderEntry type="sourceFolder" forTests="false" />
7
- </component>
8
- <component name="TemplatesService">
9
- <option name="TEMPLATE_FOLDERS">
10
- <list>
11
- <option value="$MODULE_DIR$/node_modules/@storybook/core/dist/server/templates" />
12
- </list>
13
- </option>
14
- </component>
15
- </module>
package/.idea/vcs.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
- </component>
6
- </project>