@simplybusiness/theme-simplybusiness 1.16.6 → 1.17.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @simplybusiness/theme-simplybusiness
2
2
 
3
+ ## 1.17.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 48387d1: This change introduces the Chatbot organism into Mobius.
8
+
3
9
  ## 1.16.6
4
10
 
5
11
  ### Patch Changes
package/dist/index.css CHANGED
@@ -6145,6 +6145,114 @@ svg:not(:host).svg-inline--mobius-icon{
6145
6145
  .mobius-interventions__coverage-diagnosis-modal-button{
6146
6146
  margin-bottom:8px;
6147
6147
  }
6148
+ .mobius-chatbot{
6149
+ height:100%;
6150
+ display:flex;
6151
+ flex-direction:column;
6152
+ }
6153
+ @media (min-width: 768px){
6154
+ .mobius-chatbot{
6155
+ width:626px;
6156
+ }
6157
+ }
6158
+ .mobius-chatbot__chat{
6159
+ display:flex;
6160
+ flex-direction:column;
6161
+ flex:1;
6162
+ overflow-y:auto;
6163
+ -ms-overflow-style:none;
6164
+ scrollbar-width:none;
6165
+ }
6166
+ .mobius-chatbot__chat::-webkit-scrollbar{
6167
+ display:none;
6168
+ }
6169
+ .mobius-chatbot__footer{
6170
+ display:flex;
6171
+ flex-direction:column;
6172
+ padding-top:16px;
6173
+ padding-bottom:10px;
6174
+ gap:16px;
6175
+ margin-top:auto;
6176
+ }
6177
+ .mobius-chatbot__input{
6178
+ display:flex;
6179
+ flex-direction:row;
6180
+ gap:8px;;
6181
+ }
6182
+ .mobius-chatbot__submit-button.mobius-button{
6183
+ border-radius:var(--radius-1);
6184
+ }
6185
+ .mobius-chatbot__copyright{
6186
+ display:flex;
6187
+ flex-direction:row;
6188
+ justify-content:center;
6189
+ }
6190
+ .mobius-chatbot__text{
6191
+ color:var(--color-text-medium);
6192
+ margin:0;
6193
+ font-size:12px;
6194
+ line-height:16px;
6195
+ font-weight:normal;
6196
+ }
6197
+ .mobius-user-message{
6198
+ display:flex;
6199
+ align-items:center;
6200
+ justify-content:center;
6201
+ }
6202
+ .mobius-user-message__text-container{
6203
+ margin-top:16px;
6204
+ margin-bottom:32px;
6205
+ padding:8px 12px;
6206
+ background-color:var(--color-background-highlight);
6207
+ border-radius:8px;
6208
+ margin-left:auto;
6209
+ display:flex;
6210
+ align-items:center;
6211
+ justify-content:center;
6212
+ }
6213
+ .mobius-user-message__text{
6214
+ margin:0;
6215
+ }
6216
+ .mobius-options-message{
6217
+ display:flex;
6218
+ padding-left:40px;
6219
+ width:100%;
6220
+ }
6221
+ .mobius-options-message__options{
6222
+ display:flex;
6223
+ flex-direction:column;
6224
+ gap:8px;
6225
+ }
6226
+ .mobius-option.mobius-button{
6227
+ border-radius:var(--radius-2);
6228
+ }
6229
+ .mobius-option__text{
6230
+ margin:0;
6231
+ }
6232
+ .mobius-text-message{
6233
+ padding-top:16px;
6234
+ display:flex;
6235
+ flex-direction:row;
6236
+ gap:8px;
6237
+ }
6238
+ .mobius-text-message__icon-container{
6239
+ background-color:var(--color-background-highlight);
6240
+ height:32px;
6241
+ width:32px;
6242
+ display:flex;
6243
+ border-radius:50%;
6244
+ align-items:center;
6245
+ justify-content:center;
6246
+ }
6247
+ .mobius-text-message__content{
6248
+ display:flex;
6249
+ flex-direction:column;
6250
+ gap:16px;
6251
+ width:100%;
6252
+ }
6253
+ .mobius-text-message__text{
6254
+ margin-top:0;
6255
+ }
6148
6256
  :root,
6149
6257
  :host{
6150
6258
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplybusiness/theme-simplybusiness",
3
- "version": "1.16.6",
3
+ "version": "1.17.0",
4
4
  "main": "dist/index.css",
5
5
  "simplyBusiness": {
6
6
  "publishToPublicNpm": true
package/src/index.css CHANGED
@@ -88,6 +88,13 @@
88
88
  /* @simplybusiness/mobius-interventions*/
89
89
  @import "@simplybusiness/mobius-interventions/src/index.css";
90
90
 
91
+ /* @simplybusiness/mobius-chatbot */
92
+ @import "@simplybusiness/mobius-chatbot/src/components/Chatbot/Chatbot.css";
93
+ @import "@simplybusiness/mobius-chatbot/src/components/UserMessage/UserMessage.css";
94
+ @import "@simplybusiness/mobius-chatbot/src/components/OptionsMessage/OptionsMessage.css";
95
+ @import "@simplybusiness/mobius-chatbot/src/components/Option/Option.css";
96
+ @import "@simplybusiness/mobius-chatbot/src/components/TextMessage/TextMessage.css";
97
+
91
98
  /* Base customisation */
92
99
  @import "./fonts.css";
93
100
  @import "./variables.css";