@liner-fe/prism 2.1.13 → 2.1.15

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/lib/index.mjs CHANGED
@@ -7903,6 +7903,482 @@ var Paragraph = forwardRef2(
7903
7903
 
7904
7904
  // src/components/Toast/index.tsx
7905
7905
  import { useRecoilValue, useSetRecoilState as useSetRecoilState2 } from "recoil";
7906
+ import Lottie from "lottie-web";
7907
+
7908
+ // src/lottie/loading.json
7909
+ var loading_default = {
7910
+ v: "5.9.0",
7911
+ fr: 60,
7912
+ ip: 0,
7913
+ op: 60,
7914
+ w: 48,
7915
+ h: 48,
7916
+ nm: "Loading Lottie Outline #FFFFFF",
7917
+ ddd: 0,
7918
+ assets: [],
7919
+ layers: [
7920
+ {
7921
+ ddd: 0,
7922
+ ind: 1,
7923
+ ty: 4,
7924
+ nm: "Point 3",
7925
+ sr: 1,
7926
+ ks: {
7927
+ o: {
7928
+ a: 1,
7929
+ k: [
7930
+ { i: { x: [0.25], y: [1] }, o: { x: [0.5], y: [0] }, t: 0, s: [50] },
7931
+ { i: { x: [0.5], y: [1] }, o: { x: [0.5], y: [0] }, t: 40, s: [100] },
7932
+ { t: 60, s: [50] }
7933
+ ],
7934
+ ix: 11
7935
+ },
7936
+ r: { a: 0, k: 0, ix: 10 },
7937
+ p: { a: 0, k: [40, 24, 0], ix: 2, l: 2 },
7938
+ a: { a: 0, k: [40.25, 40.25, 0], ix: 1, l: 2 },
7939
+ s: {
7940
+ a: 1,
7941
+ k: [
7942
+ {
7943
+ i: { x: [0.25, 0.25, 0.667], y: [1, 1, 1] },
7944
+ o: { x: [0.5, 0.5, 0.333], y: [0, 0, 0] },
7945
+ t: 0,
7946
+ s: [12.5, 12.5, 100]
7947
+ },
7948
+ {
7949
+ i: { x: [0.5, 0.5, 0.667], y: [1, 1, 1] },
7950
+ o: { x: [0.5, 0.5, 0.333], y: [0, 0, 0] },
7951
+ t: 40,
7952
+ s: [10, 10, 100]
7953
+ },
7954
+ { t: 60, s: [12.5, 12.5, 100] }
7955
+ ],
7956
+ ix: 6,
7957
+ l: 2
7958
+ }
7959
+ },
7960
+ ao: 0,
7961
+ shapes: [
7962
+ {
7963
+ ty: "gr",
7964
+ it: [
7965
+ {
7966
+ ind: 0,
7967
+ ty: "sh",
7968
+ ix: 1,
7969
+ ks: {
7970
+ a: 0,
7971
+ k: {
7972
+ i: [
7973
+ [-11.046, 0],
7974
+ [0, 0],
7975
+ [0, -11.046],
7976
+ [0, 0],
7977
+ [11.046, 0],
7978
+ [0, 0],
7979
+ [0, 11.046],
7980
+ [0, 0]
7981
+ ],
7982
+ o: [
7983
+ [0, 0],
7984
+ [11.046, 0],
7985
+ [0, 0],
7986
+ [0, 11.046],
7987
+ [0, 0],
7988
+ [-11.046, 0],
7989
+ [0, 0],
7990
+ [0, -11.046]
7991
+ ],
7992
+ v: [
7993
+ [-20, -40],
7994
+ [20, -40],
7995
+ [40, -20],
7996
+ [40, 20],
7997
+ [20, 40],
7998
+ [-20, 40],
7999
+ [-40, 20],
8000
+ [-40, -20]
8001
+ ],
8002
+ c: true
8003
+ },
8004
+ ix: 2
8005
+ },
8006
+ nm: "Path 1",
8007
+ mn: "ADBE Vector Shape - Group",
8008
+ hd: false
8009
+ },
8010
+ {
8011
+ ty: "gr",
8012
+ it: [
8013
+ {
8014
+ ty: "tr",
8015
+ p: { a: 0, k: [0, 0], ix: 2 },
8016
+ a: { a: 0, k: [0, 0], ix: 1 },
8017
+ s: { a: 0, k: [100, 100], ix: 3 },
8018
+ r: { a: 0, k: 0, ix: 6 },
8019
+ o: { a: 0, k: 100, ix: 7 },
8020
+ sk: { a: 0, k: 0, ix: 4 },
8021
+ sa: { a: 0, k: 0, ix: 5 },
8022
+ nm: "Transform"
8023
+ }
8024
+ ],
8025
+ nm: "Group 1",
8026
+ np: 0,
8027
+ cix: 2,
8028
+ bm: 0,
8029
+ ix: 2,
8030
+ mn: "ADBE Vector Group",
8031
+ hd: false
8032
+ },
8033
+ { ty: "mm", mm: 4, nm: "Merge Paths 1", mn: "ADBE Vector Filter - Merge", hd: false },
8034
+ {
8035
+ ty: "fl",
8036
+ c: { a: 0, k: [1, 1, 1, 1], ix: 4 },
8037
+ o: { a: 0, k: 100, ix: 5 },
8038
+ r: 1,
8039
+ bm: 0,
8040
+ nm: "Fill 1",
8041
+ mn: "ADBE Vector Graphic - Fill",
8042
+ hd: false
8043
+ },
8044
+ {
8045
+ ty: "tr",
8046
+ p: { a: 0, k: [40.25, 40.25], ix: 2 },
8047
+ a: { a: 0, k: [0, 0], ix: 1 },
8048
+ s: { a: 0, k: [100, 100], ix: 3 },
8049
+ r: { a: 0, k: 0, ix: 6 },
8050
+ o: { a: 0, k: 100, ix: 7 },
8051
+ sk: { a: 0, k: 0, ix: 4 },
8052
+ sa: { a: 0, k: 0, ix: 5 },
8053
+ nm: "Transform"
8054
+ }
8055
+ ],
8056
+ nm: "Group 1",
8057
+ np: 4,
8058
+ cix: 2,
8059
+ bm: 0,
8060
+ ix: 1,
8061
+ mn: "ADBE Vector Group",
8062
+ hd: false
8063
+ }
8064
+ ],
8065
+ ip: 0,
8066
+ op: 60,
8067
+ st: 0,
8068
+ bm: 0
8069
+ },
8070
+ {
8071
+ ddd: 0,
8072
+ ind: 2,
8073
+ ty: 4,
8074
+ nm: "Point 2",
8075
+ sr: 1,
8076
+ ks: {
8077
+ o: {
8078
+ a: 1,
8079
+ k: [
8080
+ { i: { x: [0.466], y: [1] }, o: { x: [0.185], y: [0.563] }, t: 0, s: [85.479] },
8081
+ { i: { x: [0.5], y: [1] }, o: { x: [0.5], y: [0] }, t: 20, s: [100] },
8082
+ { i: { x: [0.666], y: [0.584] }, o: { x: [0.5], y: [0] }, t: 40, s: [50] },
8083
+ { t: 60, s: [85.479] }
8084
+ ],
8085
+ ix: 11
8086
+ },
8087
+ r: { a: 0, k: 0, ix: 10 },
8088
+ p: { a: 0, k: [24, 24, 0], ix: 2, l: 2 },
8089
+ a: { a: 0, k: [40.25, 40.25, 0], ix: 1, l: 2 },
8090
+ s: {
8091
+ a: 1,
8092
+ k: [
8093
+ {
8094
+ i: { x: [0.569, 0.569, 0.674], y: [1, 1, 1] },
8095
+ o: { x: [0.248, 0.248, 0.337], y: [1.236, 1.236, 0] },
8096
+ t: 0,
8097
+ s: [10.24, 10.24, 100]
8098
+ },
8099
+ {
8100
+ i: { x: [0.5, 0.5, 0.667], y: [1, 1, 1] },
8101
+ o: { x: [0.5, 0.5, 0.333], y: [0, 0, 0] },
8102
+ t: 20,
8103
+ s: [10, 10, 100]
8104
+ },
8105
+ {
8106
+ i: { x: [0.477, 0.477, 0.651], y: [0.723, 0.723, -3.226] },
8107
+ o: { x: [0.606, 0.606, 0.301], y: [0, 0, 0] },
8108
+ t: 40,
8109
+ s: [12.5, 12.5, 100]
8110
+ },
8111
+ { t: 60, s: [10.24, 10.24, 100] }
8112
+ ],
8113
+ ix: 6,
8114
+ l: 2
8115
+ }
8116
+ },
8117
+ ao: 0,
8118
+ shapes: [
8119
+ {
8120
+ ty: "gr",
8121
+ it: [
8122
+ {
8123
+ ind: 0,
8124
+ ty: "sh",
8125
+ ix: 1,
8126
+ ks: {
8127
+ a: 0,
8128
+ k: {
8129
+ i: [
8130
+ [-11.046, 0],
8131
+ [0, 0],
8132
+ [0, -11.046],
8133
+ [0, 0],
8134
+ [11.046, 0],
8135
+ [0, 0],
8136
+ [0, 11.046],
8137
+ [0, 0]
8138
+ ],
8139
+ o: [
8140
+ [0, 0],
8141
+ [11.046, 0],
8142
+ [0, 0],
8143
+ [0, 11.046],
8144
+ [0, 0],
8145
+ [-11.046, 0],
8146
+ [0, 0],
8147
+ [0, -11.046]
8148
+ ],
8149
+ v: [
8150
+ [-20, -40],
8151
+ [20, -40],
8152
+ [40, -20],
8153
+ [40, 20],
8154
+ [20, 40],
8155
+ [-20, 40],
8156
+ [-40, 20],
8157
+ [-40, -20]
8158
+ ],
8159
+ c: true
8160
+ },
8161
+ ix: 2
8162
+ },
8163
+ nm: "Path 1",
8164
+ mn: "ADBE Vector Shape - Group",
8165
+ hd: false
8166
+ },
8167
+ {
8168
+ ty: "gr",
8169
+ it: [
8170
+ {
8171
+ ty: "tr",
8172
+ p: { a: 0, k: [0, 0], ix: 2 },
8173
+ a: { a: 0, k: [0, 0], ix: 1 },
8174
+ s: { a: 0, k: [100, 100], ix: 3 },
8175
+ r: { a: 0, k: 0, ix: 6 },
8176
+ o: { a: 0, k: 100, ix: 7 },
8177
+ sk: { a: 0, k: 0, ix: 4 },
8178
+ sa: { a: 0, k: 0, ix: 5 },
8179
+ nm: "Transform"
8180
+ }
8181
+ ],
8182
+ nm: "Group 1",
8183
+ np: 0,
8184
+ cix: 2,
8185
+ bm: 0,
8186
+ ix: 2,
8187
+ mn: "ADBE Vector Group",
8188
+ hd: false
8189
+ },
8190
+ { ty: "mm", mm: 4, nm: "Merge Paths 1", mn: "ADBE Vector Filter - Merge", hd: false },
8191
+ {
8192
+ ty: "fl",
8193
+ c: { a: 0, k: [1, 1, 1, 1], ix: 4 },
8194
+ o: { a: 0, k: 100, ix: 5 },
8195
+ r: 1,
8196
+ bm: 0,
8197
+ nm: "Fill 1",
8198
+ mn: "ADBE Vector Graphic - Fill",
8199
+ hd: false
8200
+ },
8201
+ {
8202
+ ty: "tr",
8203
+ p: { a: 0, k: [40.25, 40.25], ix: 2 },
8204
+ a: { a: 0, k: [0, 0], ix: 1 },
8205
+ s: { a: 0, k: [100, 100], ix: 3 },
8206
+ r: { a: 0, k: 0, ix: 6 },
8207
+ o: { a: 0, k: 100, ix: 7 },
8208
+ sk: { a: 0, k: 0, ix: 4 },
8209
+ sa: { a: 0, k: 0, ix: 5 },
8210
+ nm: "Transform"
8211
+ }
8212
+ ],
8213
+ nm: "Group 1",
8214
+ np: 4,
8215
+ cix: 2,
8216
+ bm: 0,
8217
+ ix: 1,
8218
+ mn: "ADBE Vector Group",
8219
+ hd: false
8220
+ }
8221
+ ],
8222
+ ip: 0,
8223
+ op: 60,
8224
+ st: -1,
8225
+ bm: 0
8226
+ },
8227
+ {
8228
+ ddd: 0,
8229
+ ind: 3,
8230
+ ty: 4,
8231
+ nm: "Point 1",
8232
+ sr: 1,
8233
+ ks: {
8234
+ o: {
8235
+ a: 1,
8236
+ k: [
8237
+ { i: { x: [0.5], y: [1] }, o: { x: [0.5], y: [0] }, t: 0, s: [100] },
8238
+ { i: { x: [0.25], y: [1] }, o: { x: [0.5], y: [0] }, t: 20, s: [50] },
8239
+ { t: 60, s: [100] }
8240
+ ],
8241
+ ix: 11
8242
+ },
8243
+ r: { a: 0, k: 0, ix: 10 },
8244
+ p: { a: 0, k: [7.969, 24.031, 0], ix: 2, l: 2 },
8245
+ a: { a: 0, k: [40.5, 40.375, 0], ix: 1, l: 2 },
8246
+ s: {
8247
+ a: 1,
8248
+ k: [
8249
+ {
8250
+ i: { x: [0.5, 0.5, 0.667], y: [1, 1, 1] },
8251
+ o: { x: [0.5, 0.5, 0.333], y: [0, 0, 0] },
8252
+ t: 0,
8253
+ s: [10, 10, 100]
8254
+ },
8255
+ {
8256
+ i: { x: [0.25, 0.25, 0.667], y: [1, 1, 1] },
8257
+ o: { x: [0.5, 0.5, 0.333], y: [0, 0, 0] },
8258
+ t: 20,
8259
+ s: [12.5, 12.5, 100]
8260
+ },
8261
+ { t: 60, s: [10, 10, 100] }
8262
+ ],
8263
+ ix: 6,
8264
+ l: 2
8265
+ }
8266
+ },
8267
+ ao: 0,
8268
+ shapes: [
8269
+ {
8270
+ ty: "gr",
8271
+ it: [
8272
+ {
8273
+ ind: 0,
8274
+ ty: "sh",
8275
+ ix: 1,
8276
+ ks: {
8277
+ a: 0,
8278
+ k: {
8279
+ i: [
8280
+ [-11.046, 0],
8281
+ [0, 0],
8282
+ [0, -11.046],
8283
+ [0, 0],
8284
+ [11.046, 0],
8285
+ [0, 0],
8286
+ [0, 11.046],
8287
+ [0, 0]
8288
+ ],
8289
+ o: [
8290
+ [0, 0],
8291
+ [11.046, 0],
8292
+ [0, 0],
8293
+ [0, 11.046],
8294
+ [0, 0],
8295
+ [-11.046, 0],
8296
+ [0, 0],
8297
+ [0, -11.046]
8298
+ ],
8299
+ v: [
8300
+ [-20, -40],
8301
+ [20, -40],
8302
+ [40, -20],
8303
+ [40, 20],
8304
+ [20, 40],
8305
+ [-20, 40],
8306
+ [-40, 20],
8307
+ [-40, -20]
8308
+ ],
8309
+ c: true
8310
+ },
8311
+ ix: 2
8312
+ },
8313
+ nm: "Path 1",
8314
+ mn: "ADBE Vector Shape - Group",
8315
+ hd: false
8316
+ },
8317
+ {
8318
+ ty: "gr",
8319
+ it: [
8320
+ {
8321
+ ty: "tr",
8322
+ p: { a: 0, k: [0, 0], ix: 2 },
8323
+ a: { a: 0, k: [0, 0], ix: 1 },
8324
+ s: { a: 0, k: [100, 100], ix: 3 },
8325
+ r: { a: 0, k: 0, ix: 6 },
8326
+ o: { a: 0, k: 100, ix: 7 },
8327
+ sk: { a: 0, k: 0, ix: 4 },
8328
+ sa: { a: 0, k: 0, ix: 5 },
8329
+ nm: "Transform"
8330
+ }
8331
+ ],
8332
+ nm: "Group 1",
8333
+ np: 0,
8334
+ cix: 2,
8335
+ bm: 0,
8336
+ ix: 2,
8337
+ mn: "ADBE Vector Group",
8338
+ hd: false
8339
+ },
8340
+ { ty: "mm", mm: 4, nm: "Merge Paths 1", mn: "ADBE Vector Filter - Merge", hd: false },
8341
+ {
8342
+ ty: "fl",
8343
+ c: { a: 0, k: [1, 1, 1, 1], ix: 4 },
8344
+ o: { a: 0, k: 100, ix: 5 },
8345
+ r: 1,
8346
+ bm: 0,
8347
+ nm: "Fill 1",
8348
+ mn: "ADBE Vector Graphic - Fill",
8349
+ hd: false
8350
+ },
8351
+ {
8352
+ ty: "tr",
8353
+ p: { a: 0, k: [40.25, 40.25], ix: 2 },
8354
+ a: { a: 0, k: [0, 0], ix: 1 },
8355
+ s: { a: 0, k: [100, 100], ix: 3 },
8356
+ r: { a: 0, k: 0, ix: 6 },
8357
+ o: { a: 0, k: 100, ix: 7 },
8358
+ sk: { a: 0, k: 0, ix: 4 },
8359
+ sa: { a: 0, k: 0, ix: 5 },
8360
+ nm: "Transform"
8361
+ }
8362
+ ],
8363
+ nm: "Group 1",
8364
+ np: 4,
8365
+ cix: 2,
8366
+ bm: 0,
8367
+ ix: 1,
8368
+ mn: "ADBE Vector Group",
8369
+ hd: false
8370
+ }
8371
+ ],
8372
+ ip: 0,
8373
+ op: 60,
8374
+ st: 0,
8375
+ bm: 0
8376
+ }
8377
+ ],
8378
+ markers: []
8379
+ };
8380
+
8381
+ // src/components/Toast/index.tsx
7906
8382
  import { jsx as jsx162, jsxs as jsxs112 } from "react/jsx-runtime";
7907
8383
  import { createElement } from "react";
7908
8384
  var Toaster = /* @__PURE__ */ __name(() => {
@@ -7930,6 +8406,13 @@ var SingleToast = /* @__PURE__ */ __name((props) => {
7930
8406
  useEffect(() => {
7931
8407
  if (isLoading && !toastSuccess.current) {
7932
8408
  if (lottieRef.current) {
8409
+ Lottie.loadAnimation({
8410
+ container: lottieRef.current,
8411
+ renderer: "svg",
8412
+ loop: true,
8413
+ autoplay: true,
8414
+ animationData: loading_default
8415
+ });
7933
8416
  }
7934
8417
  } else {
7935
8418
  toastSuccess.current = true;
@@ -8844,7 +9327,8 @@ var Textfield = forwardRef14((props, ref) => {
8844
9327
  {
8845
9328
  tabIndex: -1,
8846
9329
  className: style_module_default13["action-button"],
8847
- level: "tertiary",
9330
+ level: "secondary",
9331
+ fill: false,
8848
9332
  icon: {
8849
9333
  name: deidentifiy ? "visibility-off" : "visibility",
8850
9334
  size: "s",