@triptease/icons 1.3.11 → 1.3.13

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.
Files changed (39) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/custom-elements.json +393 -0
  3. package/dist/manifest.json +1 -0
  4. package/dist/src/icons/align-bottom.d.ts +1 -0
  5. package/dist/src/icons/align-bottom.js +6 -0
  6. package/dist/src/icons/align-bottom.js.map +1 -0
  7. package/dist/src/icons/align-top.d.ts +1 -0
  8. package/dist/src/icons/align-top.js +6 -0
  9. package/dist/src/icons/align-top.js.map +1 -0
  10. package/dist/src/icons/justify-center.d.ts +1 -0
  11. package/dist/src/icons/justify-center.js +7 -0
  12. package/dist/src/icons/justify-center.js.map +1 -0
  13. package/dist/src/icons/justify-left.d.ts +1 -0
  14. package/dist/src/icons/justify-left.js +6 -0
  15. package/dist/src/icons/justify-left.js.map +1 -0
  16. package/dist/src/icons/justify-right.d.ts +1 -0
  17. package/dist/src/icons/justify-right.js +6 -0
  18. package/dist/src/icons/justify-right.js.map +1 -0
  19. package/dist/src/icons/locked.d.ts +1 -0
  20. package/dist/src/icons/locked.js +5 -0
  21. package/dist/src/icons/locked.js.map +1 -0
  22. package/dist/src/icons/spinner.d.ts +1 -0
  23. package/dist/src/icons/spinner.js +5 -0
  24. package/dist/src/icons/spinner.js.map +1 -0
  25. package/dist/src/index.d.ts +7 -0
  26. package/dist/src/index.js +7 -0
  27. package/dist/src/index.js.map +1 -1
  28. package/package.json +15 -3
  29. package/scripts/generate-icon-manifest/__mocks__/account.js +1 -0
  30. package/scripts/generate-icon-manifest/__mocks__/align-center.js +1 -0
  31. package/scripts/generate-icon-manifest/__mocks__/checkbox-checked.js +1 -0
  32. package/scripts/generate-icon-manifest/__mocks__/empty-icon.js +1 -0
  33. package/scripts/generate-icon-manifest/generate-icon-manifest.ts +23 -0
  34. package/scripts/generate-icon-manifest/helpers/createManifest.spec.ts +40 -0
  35. package/scripts/generate-icon-manifest/helpers/createManifest.ts +35 -0
  36. package/scripts/generate-icon-manifest/helpers/createTimestamp.spec.ts +35 -0
  37. package/scripts/generate-icon-manifest/helpers/createTimestamp.ts +1 -0
  38. package/scripts/generate-icon-manifest/helpers/writeManifest.ts +9 -0
  39. package/tsconfig.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @triptease/icons
2
2
 
3
+ ## 1.3.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Add alignment, lock and spinner icons
8
+
9
+ ## 1.3.12
10
+
11
+ ### Patch Changes
12
+
13
+ - ff30018: Generate an icon manifest at build time and expose to NPM
14
+
3
15
  ## 1.3.11
4
16
 
5
17
  ### Patch Changes
@@ -23,6 +23,14 @@
23
23
  "module": "./icons/alert.js"
24
24
  }
25
25
  },
26
+ {
27
+ "kind": "js",
28
+ "name": "alignBottom",
29
+ "declaration": {
30
+ "name": "alignBottom",
31
+ "module": "./icons/align-bottom.js"
32
+ }
33
+ },
26
34
  {
27
35
  "kind": "js",
28
36
  "name": "alignCenter",
@@ -47,6 +55,14 @@
47
55
  "module": "./icons/align-right.js"
48
56
  }
49
57
  },
58
+ {
59
+ "kind": "js",
60
+ "name": "alignTop",
61
+ "declaration": {
62
+ "name": "alignTop",
63
+ "module": "./icons/align-top.js"
64
+ }
65
+ },
50
66
  {
51
67
  "kind": "js",
52
68
  "name": "arrowDown",
@@ -479,6 +495,30 @@
479
495
  "module": "./icons/italic.js"
480
496
  }
481
497
  },
498
+ {
499
+ "kind": "js",
500
+ "name": "justifyCenter",
501
+ "declaration": {
502
+ "name": "justifyCenter",
503
+ "module": "./icons/justify-center.js"
504
+ }
505
+ },
506
+ {
507
+ "kind": "js",
508
+ "name": "justifyLeft",
509
+ "declaration": {
510
+ "name": "justifyLeft",
511
+ "module": "./icons/justify-left.js"
512
+ }
513
+ },
514
+ {
515
+ "kind": "js",
516
+ "name": "justifyRight",
517
+ "declaration": {
518
+ "name": "justifyRight",
519
+ "module": "./icons/justify-right.js"
520
+ }
521
+ },
482
522
  {
483
523
  "kind": "js",
484
524
  "name": "keyboard",
@@ -503,6 +543,14 @@
503
543
  "module": "./icons/link.js"
504
544
  }
505
545
  },
546
+ {
547
+ "kind": "js",
548
+ "name": "locked",
549
+ "declaration": {
550
+ "name": "locked",
551
+ "module": "./icons/locked.js"
552
+ }
553
+ },
506
554
  {
507
555
  "kind": "js",
508
556
  "name": "logout",
@@ -671,6 +719,14 @@
671
719
  "module": "./icons/sidebar-expanded.js"
672
720
  }
673
721
  },
722
+ {
723
+ "kind": "js",
724
+ "name": "spinner",
725
+ "declaration": {
726
+ "name": "spinner",
727
+ "module": "./icons/spinner.js"
728
+ }
729
+ },
674
730
  {
675
731
  "kind": "js",
676
732
  "name": "stop",
@@ -817,6 +873,12 @@
817
873
  }
818
874
  ]
819
875
  },
876
+ {
877
+ "kind": "javascript-module",
878
+ "path": "scripts/generate-icon-manifest/generate-icon-manifest.ts",
879
+ "declarations": [],
880
+ "exports": []
881
+ },
820
882
  {
821
883
  "kind": "javascript-module",
822
884
  "path": "src/icons/account.ts",
@@ -859,6 +921,27 @@
859
921
  }
860
922
  ]
861
923
  },
924
+ {
925
+ "kind": "javascript-module",
926
+ "path": "src/icons/align-bottom.ts",
927
+ "declarations": [
928
+ {
929
+ "kind": "variable",
930
+ "name": "alignBottom",
931
+ "default": "`<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M10.25 16.5C10.6642 16.5 11 16.1642 11 15.75V4.75C11 4.33579 10.6642 4 10.25 4C9.83579 4 9.5 4.33579 9.5 4.75V15.75C9.5 16.1642 9.83579 16.5 10.25 16.5ZM13.75 16.5C14.1642 16.5 14.5 16.1642 14.5 15.75V8.75C14.5 8.33579 14.1642 8 13.75 8C13.3358 8 13 8.33579 13 8.75V15.75C13 16.1642 13.3358 16.5 13.75 16.5Z\" fill=\"currentColor\"/> <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 19.25C4 19.6642 4.33579 20 4.75 20L19.25 20C19.6642 20 20 19.6642 20 19.25C20 18.8358 19.6642 18.5 19.25 18.5L4.75 18.5C4.33579 18.5 4 18.8358 4 19.25Z\" fill=\"currentColor\"/> </svg> `"
932
+ }
933
+ ],
934
+ "exports": [
935
+ {
936
+ "kind": "js",
937
+ "name": "alignBottom",
938
+ "declaration": {
939
+ "name": "alignBottom",
940
+ "module": "src/icons/align-bottom.ts"
941
+ }
942
+ }
943
+ ]
944
+ },
862
945
  {
863
946
  "kind": "javascript-module",
864
947
  "path": "src/icons/align-center.ts",
@@ -922,6 +1005,27 @@
922
1005
  }
923
1006
  ]
924
1007
  },
1008
+ {
1009
+ "kind": "javascript-module",
1010
+ "path": "src/icons/align-top.ts",
1011
+ "declarations": [
1012
+ {
1013
+ "kind": "variable",
1014
+ "name": "alignTop",
1015
+ "default": "`<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M10.25 7.5C10.6642 7.5 11 7.83579 11 8.25V19.25C11 19.6642 10.6642 20 10.25 20C9.83579 20 9.5 19.6642 9.5 19.25V8.25C9.5 7.83579 9.83579 7.5 10.25 7.5ZM13.75 7.5C14.1642 7.5 14.5 7.83579 14.5 8.25V15.25C14.5 15.6642 14.1642 16 13.75 16C13.3358 16 13 15.6642 13 15.25V8.25C13 7.83579 13.3358 7.5 13.75 7.5Z\" fill=\"currentColor\"/> <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 4.75C4 4.33579 4.33579 4 4.75 4L19.25 4C19.6642 4 20 4.33579 20 4.75C20 5.16421 19.6642 5.5 19.25 5.5L4.75 5.5C4.33579 5.5 4 5.16421 4 4.75Z\" fill=\"currentColor\"/> </svg> `"
1016
+ }
1017
+ ],
1018
+ "exports": [
1019
+ {
1020
+ "kind": "js",
1021
+ "name": "alignTop",
1022
+ "declaration": {
1023
+ "name": "alignTop",
1024
+ "module": "src/icons/align-top.ts"
1025
+ }
1026
+ }
1027
+ ]
1028
+ },
925
1029
  {
926
1030
  "kind": "javascript-module",
927
1031
  "path": "src/icons/arrow-down.ts",
@@ -2056,6 +2160,69 @@
2056
2160
  }
2057
2161
  ]
2058
2162
  },
2163
+ {
2164
+ "kind": "javascript-module",
2165
+ "path": "src/icons/justify-center.ts",
2166
+ "declarations": [
2167
+ {
2168
+ "kind": "variable",
2169
+ "name": "justifyCenter",
2170
+ "default": "`<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12 4C12.4142 4 12.75 4.33579 12.75 4.75L12.75 19.25C12.75 19.6642 12.4142 20 12 20C11.5858 20 11.25 19.6642 11.25 19.25L11.25 4.75C11.25 4.33579 11.5858 4 12 4Z\" fill=\"currentColor\"/> <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.75 10.25C5.75 9.83578 6.08579 9.5 6.5 9.5L17.5 9.5C17.9142 9.5 18.25 9.83579 18.25 10.25C18.25 10.6642 17.9142 11 17.5 11L6.5 11C6.08579 11 5.75 10.6642 5.75 10.25Z\" fill=\"currentColor\"/> <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.75 13.75C7.75 13.3358 8.08579 13 8.5 13L15.5 13C15.9142 13 16.25 13.3358 16.25 13.75C16.25 14.1642 15.9142 14.5 15.5 14.5L8.5 14.5C8.08579 14.5 7.75 14.1642 7.75 13.75Z\" fill=\"currentColor\"/> </svg> `"
2171
+ }
2172
+ ],
2173
+ "exports": [
2174
+ {
2175
+ "kind": "js",
2176
+ "name": "justifyCenter",
2177
+ "declaration": {
2178
+ "name": "justifyCenter",
2179
+ "module": "src/icons/justify-center.ts"
2180
+ }
2181
+ }
2182
+ ]
2183
+ },
2184
+ {
2185
+ "kind": "javascript-module",
2186
+ "path": "src/icons/justify-left.ts",
2187
+ "declarations": [
2188
+ {
2189
+ "kind": "variable",
2190
+ "name": "justifyLeft",
2191
+ "default": "`<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M7.5 13.75C7.5 13.3358 7.83579 13 8.25 13H19.25C19.6642 13 20 13.3358 20 13.75C20 14.1642 19.6642 14.5 19.25 14.5H8.25C7.83579 14.5 7.5 14.1642 7.5 13.75ZM7.5 10.25C7.5 9.83579 7.83579 9.5 8.25 9.5H15.25C15.6642 9.5 16 9.83579 16 10.25C16 10.6642 15.6642 11 15.25 11H8.25C7.83579 11 7.5 10.6642 7.5 10.25Z\" fill=\"currentColor\"/> <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.75 20C4.33579 20 4 19.6642 4 19.25L4 4.75C4 4.33579 4.33579 4 4.75 4C5.16421 4 5.5 4.33579 5.5 4.75L5.5 19.25C5.5 19.6642 5.16421 20 4.75 20Z\" fill=\"currentColor\"/> </svg> `"
2192
+ }
2193
+ ],
2194
+ "exports": [
2195
+ {
2196
+ "kind": "js",
2197
+ "name": "justifyLeft",
2198
+ "declaration": {
2199
+ "name": "justifyLeft",
2200
+ "module": "src/icons/justify-left.ts"
2201
+ }
2202
+ }
2203
+ ]
2204
+ },
2205
+ {
2206
+ "kind": "javascript-module",
2207
+ "path": "src/icons/justify-right.ts",
2208
+ "declarations": [
2209
+ {
2210
+ "kind": "variable",
2211
+ "name": "justifyRight",
2212
+ "default": "`<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M16.4999 13.75C16.4999 13.3358 16.1642 13 15.7499 13L4.74994 13C4.33573 13 3.99994 13.3358 3.99994 13.75C3.99994 14.1642 4.33573 14.5 4.74994 14.5L15.7499 14.5C16.1642 14.5 16.4999 14.1642 16.4999 13.75ZM16.4999 10.25C16.4999 9.83579 16.1642 9.5 15.7499 9.5H8.74994C8.33573 9.5 7.99994 9.83579 7.99994 10.25C7.99994 10.6642 8.33573 11 8.74994 11H15.7499C16.1642 11 16.4999 10.6642 16.4999 10.25Z\" fill=\"currentColor\"/> <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M19.2499 20C19.6642 20 19.9999 19.6642 19.9999 19.25L19.9999 4.75C19.9999 4.33579 19.6642 4 19.2499 4C18.8357 4 18.4999 4.33579 18.4999 4.75L18.4999 19.25C18.4999 19.6642 18.8357 20 19.2499 20Z\" fill=\"currentColor\"/> </svg> `"
2213
+ }
2214
+ ],
2215
+ "exports": [
2216
+ {
2217
+ "kind": "js",
2218
+ "name": "justifyRight",
2219
+ "declaration": {
2220
+ "name": "justifyRight",
2221
+ "module": "src/icons/justify-right.ts"
2222
+ }
2223
+ }
2224
+ ]
2225
+ },
2059
2226
  {
2060
2227
  "kind": "javascript-module",
2061
2228
  "path": "src/icons/keyboard.ts",
@@ -2119,6 +2286,27 @@
2119
2286
  }
2120
2287
  ]
2121
2288
  },
2289
+ {
2290
+ "kind": "javascript-module",
2291
+ "path": "src/icons/locked.ts",
2292
+ "declarations": [
2293
+ {
2294
+ "kind": "variable",
2295
+ "name": "locked",
2296
+ "default": "`<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12 2.25C9.92893 2.25 8.25 3.92893 8.25 6V8H7C5.34315 8 4 9.34315 4 11V19C4 20.6569 5.34315 22 7 22H17C18.6569 22 20 20.6569 20 19V11C20 9.34315 18.6569 8 17 8H15.75V6C15.75 3.92893 14.0711 2.25 12 2.25ZM14.25 8V6C14.25 4.75736 13.2426 3.75 12 3.75C10.7574 3.75 9.75 4.75736 9.75 6V8H14.25ZM5.5 11C5.5 10.1716 6.17157 9.5 7 9.5H17C17.8284 9.5 18.5 10.1716 18.5 11V19C18.5 19.8284 17.8284 20.5 17 20.5H7C6.17157 20.5 5.5 19.8284 5.5 19V11Z\" fill=\"currentColor\"/> </svg> `"
2297
+ }
2298
+ ],
2299
+ "exports": [
2300
+ {
2301
+ "kind": "js",
2302
+ "name": "locked",
2303
+ "declaration": {
2304
+ "name": "locked",
2305
+ "module": "src/icons/locked.ts"
2306
+ }
2307
+ }
2308
+ ]
2309
+ },
2122
2310
  {
2123
2311
  "kind": "javascript-module",
2124
2312
  "path": "src/icons/logout.ts",
@@ -2560,6 +2748,27 @@
2560
2748
  }
2561
2749
  ]
2562
2750
  },
2751
+ {
2752
+ "kind": "javascript-module",
2753
+ "path": "src/icons/spinner.ts",
2754
+ "declarations": [
2755
+ {
2756
+ "kind": "variable",
2757
+ "name": "spinner",
2758
+ "default": "`<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M12 22.8C9.86393 22.8 7.77568 22.1665 5.99984 20.9799C4.224 19.7931 2.83953 18.1064 2.02211 16.1329C1.20468 14.1595 0.990803 11.988 1.40752 9.89305C1.82425 7.79805 2.85284 5.87367 4.36325 4.36325C5.87367 2.85284 7.79805 1.82425 9.89305 1.40752C11.988 0.990803 14.1595 1.20468 16.1329 2.02211C18.1064 2.83953 19.7931 4.224 20.9799 5.99984C22.1665 7.77568 22.8 9.86393 22.8 12\" stroke=\"currentColor\" stroke-width=\"2.4\" stroke-linecap=\"round\"/> </svg> `"
2759
+ }
2760
+ ],
2761
+ "exports": [
2762
+ {
2763
+ "kind": "js",
2764
+ "name": "spinner",
2765
+ "declaration": {
2766
+ "name": "spinner",
2767
+ "module": "src/icons/spinner.ts"
2768
+ }
2769
+ }
2770
+ ]
2771
+ },
2563
2772
  {
2564
2773
  "kind": "javascript-module",
2565
2774
  "path": "src/icons/stop-filled.ts",
@@ -2937,6 +3146,190 @@
2937
3146
  }
2938
3147
  }
2939
3148
  ]
3149
+ },
3150
+ {
3151
+ "kind": "javascript-module",
3152
+ "path": "scripts/generate-icon-manifest/__mocks__/account.js",
3153
+ "declarations": [
3154
+ {
3155
+ "kind": "variable",
3156
+ "name": "account",
3157
+ "type": {
3158
+ "text": "string"
3159
+ },
3160
+ "default": "'<svg></svg>'"
3161
+ }
3162
+ ],
3163
+ "exports": [
3164
+ {
3165
+ "kind": "js",
3166
+ "name": "account",
3167
+ "declaration": {
3168
+ "name": "account",
3169
+ "module": "scripts/generate-icon-manifest/__mocks__/account.js"
3170
+ }
3171
+ }
3172
+ ]
3173
+ },
3174
+ {
3175
+ "kind": "javascript-module",
3176
+ "path": "scripts/generate-icon-manifest/__mocks__/align-center.js",
3177
+ "declarations": [
3178
+ {
3179
+ "kind": "variable",
3180
+ "name": "alignCenter",
3181
+ "type": {
3182
+ "text": "string"
3183
+ },
3184
+ "default": "'<svg></svg>'"
3185
+ }
3186
+ ],
3187
+ "exports": [
3188
+ {
3189
+ "kind": "js",
3190
+ "name": "alignCenter",
3191
+ "declaration": {
3192
+ "name": "alignCenter",
3193
+ "module": "scripts/generate-icon-manifest/__mocks__/align-center.js"
3194
+ }
3195
+ }
3196
+ ]
3197
+ },
3198
+ {
3199
+ "kind": "javascript-module",
3200
+ "path": "scripts/generate-icon-manifest/__mocks__/checkbox-checked.js",
3201
+ "declarations": [
3202
+ {
3203
+ "kind": "variable",
3204
+ "name": "checkboxChecked",
3205
+ "type": {
3206
+ "text": "string"
3207
+ },
3208
+ "default": "'<svg></svg>'"
3209
+ }
3210
+ ],
3211
+ "exports": [
3212
+ {
3213
+ "kind": "js",
3214
+ "name": "checkboxChecked",
3215
+ "declaration": {
3216
+ "name": "checkboxChecked",
3217
+ "module": "scripts/generate-icon-manifest/__mocks__/checkbox-checked.js"
3218
+ }
3219
+ }
3220
+ ]
3221
+ },
3222
+ {
3223
+ "kind": "javascript-module",
3224
+ "path": "scripts/generate-icon-manifest/__mocks__/empty-icon.js",
3225
+ "declarations": [],
3226
+ "exports": []
3227
+ },
3228
+ {
3229
+ "kind": "javascript-module",
3230
+ "path": "scripts/generate-icon-manifest/helpers/createManifest.spec.ts",
3231
+ "declarations": [],
3232
+ "exports": []
3233
+ },
3234
+ {
3235
+ "kind": "javascript-module",
3236
+ "path": "scripts/generate-icon-manifest/helpers/createManifest.ts",
3237
+ "declarations": [
3238
+ {
3239
+ "kind": "function",
3240
+ "name": "createManifest",
3241
+ "parameters": [
3242
+ {
3243
+ "name": "MANIFEST_FILE_NAME",
3244
+ "type": {
3245
+ "text": "string"
3246
+ }
3247
+ },
3248
+ {
3249
+ "name": "moduleName",
3250
+ "type": {
3251
+ "text": "string"
3252
+ }
3253
+ },
3254
+ {
3255
+ "name": "packageJsonExports",
3256
+ "type": {
3257
+ "text": "Record<string, string>"
3258
+ }
3259
+ }
3260
+ ]
3261
+ }
3262
+ ],
3263
+ "exports": [
3264
+ {
3265
+ "kind": "js",
3266
+ "name": "createManifest",
3267
+ "declaration": {
3268
+ "name": "createManifest",
3269
+ "module": "scripts/generate-icon-manifest/helpers/createManifest.ts"
3270
+ }
3271
+ }
3272
+ ]
3273
+ },
3274
+ {
3275
+ "kind": "javascript-module",
3276
+ "path": "scripts/generate-icon-manifest/helpers/createTimestamp.spec.ts",
3277
+ "declarations": [],
3278
+ "exports": []
3279
+ },
3280
+ {
3281
+ "kind": "javascript-module",
3282
+ "path": "scripts/generate-icon-manifest/helpers/createTimestamp.ts",
3283
+ "declarations": [
3284
+ {
3285
+ "kind": "function",
3286
+ "name": "createTimestamp"
3287
+ }
3288
+ ],
3289
+ "exports": [
3290
+ {
3291
+ "kind": "js",
3292
+ "name": "createTimestamp",
3293
+ "declaration": {
3294
+ "name": "createTimestamp",
3295
+ "module": "scripts/generate-icon-manifest/helpers/createTimestamp.ts"
3296
+ }
3297
+ }
3298
+ ]
3299
+ },
3300
+ {
3301
+ "kind": "javascript-module",
3302
+ "path": "scripts/generate-icon-manifest/helpers/writeManifest.ts",
3303
+ "declarations": [
3304
+ {
3305
+ "kind": "function",
3306
+ "name": "writeManifest",
3307
+ "parameters": [
3308
+ {
3309
+ "name": "MANIFEST_FILE_PATH",
3310
+ "type": {
3311
+ "text": "string"
3312
+ }
3313
+ },
3314
+ {
3315
+ "name": "manifest",
3316
+ "type": {
3317
+ "text": "Record<string, string>"
3318
+ }
3319
+ }
3320
+ ]
3321
+ }
3322
+ ],
3323
+ "exports": [
3324
+ {
3325
+ "kind": "js",
3326
+ "name": "writeManifest",
3327
+ "declaration": {
3328
+ "name": "writeManifest",
3329
+ "module": "scripts/generate-icon-manifest/helpers/writeManifest.ts"
3330
+ }
3331
+ }
3332
+ ]
2940
3333
  }
2941
3334
  ]
2942
3335
  }
@@ -0,0 +1 @@
1
+ {"account":"@triptease/icons/account.js","alert":"@triptease/icons/alert.js","alignBottom":"@triptease/icons/align-bottom.js","alignCenter":"@triptease/icons/align-center.js","alignLeft":"@triptease/icons/align-left.js","alignRight":"@triptease/icons/align-right.js","alignTop":"@triptease/icons/align-top.js","arrowDown":"@triptease/icons/arrow-down.js","arrowLeft":"@triptease/icons/arrow-left.js","arrowRight":"@triptease/icons/arrow-right.js","arrowUp":"@triptease/icons/arrow-up.js","audienceTargeting":"@triptease/icons/audience-targeting.js","bold":"@triptease/icons/bold.js","bulletList":"@triptease/icons/bullet-list.js","button":"@triptease/icons/button.js","calendarIcon":"@triptease/icons/calendar.js","campaigns":"@triptease/icons/campaigns.js","channels":"@triptease/icons/channels.js","checkboxChecked":"@triptease/icons/checkbox-checked.js","chevron":"@triptease/icons/chevron.js","chevronDown":"@triptease/icons/chevron-down.js","chevronRight":"@triptease/icons/chevron-right.js","chevronUp":"@triptease/icons/chevron-up.js","clock":"@triptease/icons/clock.js","close":"@triptease/icons/close.js","coin":"@triptease/icons/coin.js","collapsible":"@triptease/icons/collapsible.js","cog":"@triptease/icons/cog.js","column":"@triptease/icons/column.js","comparison":"@triptease/icons/comparison.js","container":"@triptease/icons/container.js","countdown":"@triptease/icons/countdown.js","dateBoost":"@triptease/icons/date-boost.js","deleteIcon":"@triptease/icons/delete.js","desktop":"@triptease/icons/desktop.js","disabled":"@triptease/icons/disabled.js","dismissible":"@triptease/icons/dismissible.js","divider":"@triptease/icons/divider.js","doubleChevron":"@triptease/icons/double-chevron.js","download":"@triptease/icons/download.js","dropdown":"@triptease/icons/dropdown.js","duplicate":"@triptease/icons/duplicate.js","edit":"@triptease/icons/edit.js","email":"@triptease/icons/email.js","embed":"@triptease/icons/embed.js","experiment":"@triptease/icons/experiment.js","external":"@triptease/icons/external.js","filter":"@triptease/icons/filter.js","form":"@triptease/icons/form.js","gallery":"@triptease/icons/gallery.js","gear":"@triptease/icons/gear.js","globe":"@triptease/icons/globe.js","graph":"@triptease/icons/graph.js","handle":"@triptease/icons/handle.js","help":"@triptease/icons/help.js","home":"@triptease/icons/home.js","horizontal":"@triptease/icons/horizontal.js","hotel":"@triptease/icons/hotel.js","info":"@triptease/icons/info.js","insights":"@triptease/icons/insights.js","italic":"@triptease/icons/italic.js","justifyCenter":"@triptease/icons/justify-center.js","justifyLeft":"@triptease/icons/justify-left.js","justifyRight":"@triptease/icons/justify-right.js","keyboard":"@triptease/icons/keyboard.js","lightningBolt":"@triptease/icons/lightning-bolt.js","link":"@triptease/icons/link.js","locked":"@triptease/icons/locked.js","logout":"@triptease/icons/logout.js","messages":"@triptease/icons/messages.js","minus":"@triptease/icons/minus.js","moveToParent":"@triptease/icons/move-to-parent.js","mobile":"@triptease/icons/mobile.js","multiMessage":"@triptease/icons/multi-message.js","newTab":"@triptease/icons/new-tab.js","numberedList":"@triptease/icons/numbered-list.js","pause":"@triptease/icons/pause.js","pieChart":"@triptease/icons/pie-chart.js","pauseFilled":"@triptease/icons/pause-filled.js","plus":"@triptease/icons/plus.js","redo":"@triptease/icons/redo.js","preview":"@triptease/icons/preview.js","radioChecked":"@triptease/icons/radio-checked.js","rename":"@triptease/icons/rename.js","section":"@triptease/icons/section.js","send":"@triptease/icons/send.js","share":"@triptease/icons/share.js","sidebarCollapsed":"@triptease/icons/sidebar-collapsed.js","sidebarExpanded":"@triptease/icons/sidebar-expanded.js","spinner":"@triptease/icons/spinner.js","stop":"@triptease/icons/stop.js","stopFilled":"@triptease/icons/stop-filled.js","strikethrough":"@triptease/icons/strikethrough.js","tag":"@triptease/icons/tag.js","target":"@triptease/icons/target.js","templates":"@triptease/icons/templates.js","text":"@triptease/icons/text.js","textInput":"@triptease/icons/text-input.js","tick":"@triptease/icons/tick.js","ticket":"@triptease/icons/ticket.js","treeGraph":"@triptease/icons/tree-graph.js","undo":"@triptease/icons/undo.js","underline":"@triptease/icons/underline.js","unlink":"@triptease/icons/unlink.js","user":"@triptease/icons/user.js","vertical":"@triptease/icons/vertical.js","wallet":"@triptease/icons/wallet.js","warning":"@triptease/icons/warning.js"}
@@ -0,0 +1 @@
1
+ export declare const alignBottom = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M10.25 16.5C10.6642 16.5 11 16.1642 11 15.75V4.75C11 4.33579 10.6642 4 10.25 4C9.83579 4 9.5 4.33579 9.5 4.75V15.75C9.5 16.1642 9.83579 16.5 10.25 16.5ZM13.75 16.5C14.1642 16.5 14.5 16.1642 14.5 15.75V8.75C14.5 8.33579 14.1642 8 13.75 8C13.3358 8 13 8.33579 13 8.75V15.75C13 16.1642 13.3358 16.5 13.75 16.5Z\" fill=\"currentColor\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 19.25C4 19.6642 4.33579 20 4.75 20L19.25 20C19.6642 20 20 19.6642 20 19.25C20 18.8358 19.6642 18.5 19.25 18.5L4.75 18.5C4.33579 18.5 4 18.8358 4 19.25Z\" fill=\"currentColor\"/>\n</svg>\n";
@@ -0,0 +1,6 @@
1
+ export const alignBottom = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10.25 16.5C10.6642 16.5 11 16.1642 11 15.75V4.75C11 4.33579 10.6642 4 10.25 4C9.83579 4 9.5 4.33579 9.5 4.75V15.75C9.5 16.1642 9.83579 16.5 10.25 16.5ZM13.75 16.5C14.1642 16.5 14.5 16.1642 14.5 15.75V8.75C14.5 8.33579 14.1642 8 13.75 8C13.3358 8 13 8.33579 13 8.75V15.75C13 16.1642 13.3358 16.5 13.75 16.5Z" fill="currentColor"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M4 19.25C4 19.6642 4.33579 20 4.75 20L19.25 20C19.6642 20 20 19.6642 20 19.25C20 18.8358 19.6642 18.5 19.25 18.5L4.75 18.5C4.33579 18.5 4 18.8358 4 19.25Z" fill="currentColor"/>
4
+ </svg>
5
+ `;
6
+ //# sourceMappingURL=align-bottom.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"align-bottom.js","sourceRoot":"","sources":["../../../src/icons/align-bottom.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;;;;CAI1B,CAAC","sourcesContent":["export const alignBottom = `<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M10.25 16.5C10.6642 16.5 11 16.1642 11 15.75V4.75C11 4.33579 10.6642 4 10.25 4C9.83579 4 9.5 4.33579 9.5 4.75V15.75C9.5 16.1642 9.83579 16.5 10.25 16.5ZM13.75 16.5C14.1642 16.5 14.5 16.1642 14.5 15.75V8.75C14.5 8.33579 14.1642 8 13.75 8C13.3358 8 13 8.33579 13 8.75V15.75C13 16.1642 13.3358 16.5 13.75 16.5Z\" fill=\"currentColor\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 19.25C4 19.6642 4.33579 20 4.75 20L19.25 20C19.6642 20 20 19.6642 20 19.25C20 18.8358 19.6642 18.5 19.25 18.5L4.75 18.5C4.33579 18.5 4 18.8358 4 19.25Z\" fill=\"currentColor\"/>\n</svg>\n`;\n"]}
@@ -0,0 +1 @@
1
+ export declare const alignTop = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M10.25 7.5C10.6642 7.5 11 7.83579 11 8.25V19.25C11 19.6642 10.6642 20 10.25 20C9.83579 20 9.5 19.6642 9.5 19.25V8.25C9.5 7.83579 9.83579 7.5 10.25 7.5ZM13.75 7.5C14.1642 7.5 14.5 7.83579 14.5 8.25V15.25C14.5 15.6642 14.1642 16 13.75 16C13.3358 16 13 15.6642 13 15.25V8.25C13 7.83579 13.3358 7.5 13.75 7.5Z\" fill=\"currentColor\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 4.75C4 4.33579 4.33579 4 4.75 4L19.25 4C19.6642 4 20 4.33579 20 4.75C20 5.16421 19.6642 5.5 19.25 5.5L4.75 5.5C4.33579 5.5 4 5.16421 4 4.75Z\" fill=\"currentColor\"/>\n</svg>\n";
@@ -0,0 +1,6 @@
1
+ export const alignTop = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10.25 7.5C10.6642 7.5 11 7.83579 11 8.25V19.25C11 19.6642 10.6642 20 10.25 20C9.83579 20 9.5 19.6642 9.5 19.25V8.25C9.5 7.83579 9.83579 7.5 10.25 7.5ZM13.75 7.5C14.1642 7.5 14.5 7.83579 14.5 8.25V15.25C14.5 15.6642 14.1642 16 13.75 16C13.3358 16 13 15.6642 13 15.25V8.25C13 7.83579 13.3358 7.5 13.75 7.5Z" fill="currentColor"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M4 4.75C4 4.33579 4.33579 4 4.75 4L19.25 4C19.6642 4 20 4.33579 20 4.75C20 5.16421 19.6642 5.5 19.25 5.5L4.75 5.5C4.33579 5.5 4 5.16421 4 4.75Z" fill="currentColor"/>
4
+ </svg>
5
+ `;
6
+ //# sourceMappingURL=align-top.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"align-top.js","sourceRoot":"","sources":["../../../src/icons/align-top.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;;;;CAIvB,CAAC","sourcesContent":["export const alignTop = `<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M10.25 7.5C10.6642 7.5 11 7.83579 11 8.25V19.25C11 19.6642 10.6642 20 10.25 20C9.83579 20 9.5 19.6642 9.5 19.25V8.25C9.5 7.83579 9.83579 7.5 10.25 7.5ZM13.75 7.5C14.1642 7.5 14.5 7.83579 14.5 8.25V15.25C14.5 15.6642 14.1642 16 13.75 16C13.3358 16 13 15.6642 13 15.25V8.25C13 7.83579 13.3358 7.5 13.75 7.5Z\" fill=\"currentColor\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 4.75C4 4.33579 4.33579 4 4.75 4L19.25 4C19.6642 4 20 4.33579 20 4.75C20 5.16421 19.6642 5.5 19.25 5.5L4.75 5.5C4.33579 5.5 4 5.16421 4 4.75Z\" fill=\"currentColor\"/>\n</svg>\n`;\n"]}
@@ -0,0 +1 @@
1
+ export declare const justifyCenter = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12 4C12.4142 4 12.75 4.33579 12.75 4.75L12.75 19.25C12.75 19.6642 12.4142 20 12 20C11.5858 20 11.25 19.6642 11.25 19.25L11.25 4.75C11.25 4.33579 11.5858 4 12 4Z\" fill=\"currentColor\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.75 10.25C5.75 9.83578 6.08579 9.5 6.5 9.5L17.5 9.5C17.9142 9.5 18.25 9.83579 18.25 10.25C18.25 10.6642 17.9142 11 17.5 11L6.5 11C6.08579 11 5.75 10.6642 5.75 10.25Z\" fill=\"currentColor\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.75 13.75C7.75 13.3358 8.08579 13 8.5 13L15.5 13C15.9142 13 16.25 13.3358 16.25 13.75C16.25 14.1642 15.9142 14.5 15.5 14.5L8.5 14.5C8.08579 14.5 7.75 14.1642 7.75 13.75Z\" fill=\"currentColor\"/>\n</svg>\n";
@@ -0,0 +1,7 @@
1
+ export const justifyCenter = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12 4C12.4142 4 12.75 4.33579 12.75 4.75L12.75 19.25C12.75 19.6642 12.4142 20 12 20C11.5858 20 11.25 19.6642 11.25 19.25L11.25 4.75C11.25 4.33579 11.5858 4 12 4Z" fill="currentColor"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M5.75 10.25C5.75 9.83578 6.08579 9.5 6.5 9.5L17.5 9.5C17.9142 9.5 18.25 9.83579 18.25 10.25C18.25 10.6642 17.9142 11 17.5 11L6.5 11C6.08579 11 5.75 10.6642 5.75 10.25Z" fill="currentColor"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M7.75 13.75C7.75 13.3358 8.08579 13 8.5 13L15.5 13C15.9142 13 16.25 13.3358 16.25 13.75C16.25 14.1642 15.9142 14.5 15.5 14.5L8.5 14.5C8.08579 14.5 7.75 14.1642 7.75 13.75Z" fill="currentColor"/>
5
+ </svg>
6
+ `;
7
+ //# sourceMappingURL=justify-center.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"justify-center.js","sourceRoot":"","sources":["../../../src/icons/justify-center.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG;;;;;CAK5B,CAAC","sourcesContent":["export const justifyCenter = `<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12 4C12.4142 4 12.75 4.33579 12.75 4.75L12.75 19.25C12.75 19.6642 12.4142 20 12 20C11.5858 20 11.25 19.6642 11.25 19.25L11.25 4.75C11.25 4.33579 11.5858 4 12 4Z\" fill=\"currentColor\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.75 10.25C5.75 9.83578 6.08579 9.5 6.5 9.5L17.5 9.5C17.9142 9.5 18.25 9.83579 18.25 10.25C18.25 10.6642 17.9142 11 17.5 11L6.5 11C6.08579 11 5.75 10.6642 5.75 10.25Z\" fill=\"currentColor\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.75 13.75C7.75 13.3358 8.08579 13 8.5 13L15.5 13C15.9142 13 16.25 13.3358 16.25 13.75C16.25 14.1642 15.9142 14.5 15.5 14.5L8.5 14.5C8.08579 14.5 7.75 14.1642 7.75 13.75Z\" fill=\"currentColor\"/>\n</svg>\n`;\n"]}
@@ -0,0 +1 @@
1
+ export declare const justifyLeft = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M7.5 13.75C7.5 13.3358 7.83579 13 8.25 13H19.25C19.6642 13 20 13.3358 20 13.75C20 14.1642 19.6642 14.5 19.25 14.5H8.25C7.83579 14.5 7.5 14.1642 7.5 13.75ZM7.5 10.25C7.5 9.83579 7.83579 9.5 8.25 9.5H15.25C15.6642 9.5 16 9.83579 16 10.25C16 10.6642 15.6642 11 15.25 11H8.25C7.83579 11 7.5 10.6642 7.5 10.25Z\" fill=\"currentColor\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.75 20C4.33579 20 4 19.6642 4 19.25L4 4.75C4 4.33579 4.33579 4 4.75 4C5.16421 4 5.5 4.33579 5.5 4.75L5.5 19.25C5.5 19.6642 5.16421 20 4.75 20Z\" fill=\"currentColor\"/>\n</svg>\n";
@@ -0,0 +1,6 @@
1
+ export const justifyLeft = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M7.5 13.75C7.5 13.3358 7.83579 13 8.25 13H19.25C19.6642 13 20 13.3358 20 13.75C20 14.1642 19.6642 14.5 19.25 14.5H8.25C7.83579 14.5 7.5 14.1642 7.5 13.75ZM7.5 10.25C7.5 9.83579 7.83579 9.5 8.25 9.5H15.25C15.6642 9.5 16 9.83579 16 10.25C16 10.6642 15.6642 11 15.25 11H8.25C7.83579 11 7.5 10.6642 7.5 10.25Z" fill="currentColor"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M4.75 20C4.33579 20 4 19.6642 4 19.25L4 4.75C4 4.33579 4.33579 4 4.75 4C5.16421 4 5.5 4.33579 5.5 4.75L5.5 19.25C5.5 19.6642 5.16421 20 4.75 20Z" fill="currentColor"/>
4
+ </svg>
5
+ `;
6
+ //# sourceMappingURL=justify-left.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"justify-left.js","sourceRoot":"","sources":["../../../src/icons/justify-left.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;;;;CAI1B,CAAC","sourcesContent":["export const justifyLeft = `<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M7.5 13.75C7.5 13.3358 7.83579 13 8.25 13H19.25C19.6642 13 20 13.3358 20 13.75C20 14.1642 19.6642 14.5 19.25 14.5H8.25C7.83579 14.5 7.5 14.1642 7.5 13.75ZM7.5 10.25C7.5 9.83579 7.83579 9.5 8.25 9.5H15.25C15.6642 9.5 16 9.83579 16 10.25C16 10.6642 15.6642 11 15.25 11H8.25C7.83579 11 7.5 10.6642 7.5 10.25Z\" fill=\"currentColor\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.75 20C4.33579 20 4 19.6642 4 19.25L4 4.75C4 4.33579 4.33579 4 4.75 4C5.16421 4 5.5 4.33579 5.5 4.75L5.5 19.25C5.5 19.6642 5.16421 20 4.75 20Z\" fill=\"currentColor\"/>\n</svg>\n`;\n"]}
@@ -0,0 +1 @@
1
+ export declare const justifyRight = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M16.4999 13.75C16.4999 13.3358 16.1642 13 15.7499 13L4.74994 13C4.33573 13 3.99994 13.3358 3.99994 13.75C3.99994 14.1642 4.33573 14.5 4.74994 14.5L15.7499 14.5C16.1642 14.5 16.4999 14.1642 16.4999 13.75ZM16.4999 10.25C16.4999 9.83579 16.1642 9.5 15.7499 9.5H8.74994C8.33573 9.5 7.99994 9.83579 7.99994 10.25C7.99994 10.6642 8.33573 11 8.74994 11H15.7499C16.1642 11 16.4999 10.6642 16.4999 10.25Z\" fill=\"currentColor\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M19.2499 20C19.6642 20 19.9999 19.6642 19.9999 19.25L19.9999 4.75C19.9999 4.33579 19.6642 4 19.2499 4C18.8357 4 18.4999 4.33579 18.4999 4.75L18.4999 19.25C18.4999 19.6642 18.8357 20 19.2499 20Z\" fill=\"currentColor\"/>\n</svg>\n";
@@ -0,0 +1,6 @@
1
+ export const justifyRight = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M16.4999 13.75C16.4999 13.3358 16.1642 13 15.7499 13L4.74994 13C4.33573 13 3.99994 13.3358 3.99994 13.75C3.99994 14.1642 4.33573 14.5 4.74994 14.5L15.7499 14.5C16.1642 14.5 16.4999 14.1642 16.4999 13.75ZM16.4999 10.25C16.4999 9.83579 16.1642 9.5 15.7499 9.5H8.74994C8.33573 9.5 7.99994 9.83579 7.99994 10.25C7.99994 10.6642 8.33573 11 8.74994 11H15.7499C16.1642 11 16.4999 10.6642 16.4999 10.25Z" fill="currentColor"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M19.2499 20C19.6642 20 19.9999 19.6642 19.9999 19.25L19.9999 4.75C19.9999 4.33579 19.6642 4 19.2499 4C18.8357 4 18.4999 4.33579 18.4999 4.75L18.4999 19.25C18.4999 19.6642 18.8357 20 19.2499 20Z" fill="currentColor"/>
4
+ </svg>
5
+ `;
6
+ //# sourceMappingURL=justify-right.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"justify-right.js","sourceRoot":"","sources":["../../../src/icons/justify-right.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG;;;;CAI3B,CAAC","sourcesContent":["export const justifyRight = `<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M16.4999 13.75C16.4999 13.3358 16.1642 13 15.7499 13L4.74994 13C4.33573 13 3.99994 13.3358 3.99994 13.75C3.99994 14.1642 4.33573 14.5 4.74994 14.5L15.7499 14.5C16.1642 14.5 16.4999 14.1642 16.4999 13.75ZM16.4999 10.25C16.4999 9.83579 16.1642 9.5 15.7499 9.5H8.74994C8.33573 9.5 7.99994 9.83579 7.99994 10.25C7.99994 10.6642 8.33573 11 8.74994 11H15.7499C16.1642 11 16.4999 10.6642 16.4999 10.25Z\" fill=\"currentColor\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M19.2499 20C19.6642 20 19.9999 19.6642 19.9999 19.25L19.9999 4.75C19.9999 4.33579 19.6642 4 19.2499 4C18.8357 4 18.4999 4.33579 18.4999 4.75L18.4999 19.25C18.4999 19.6642 18.8357 20 19.2499 20Z\" fill=\"currentColor\"/>\n</svg>\n`;\n"]}
@@ -0,0 +1 @@
1
+ export declare const locked = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12 2.25C9.92893 2.25 8.25 3.92893 8.25 6V8H7C5.34315 8 4 9.34315 4 11V19C4 20.6569 5.34315 22 7 22H17C18.6569 22 20 20.6569 20 19V11C20 9.34315 18.6569 8 17 8H15.75V6C15.75 3.92893 14.0711 2.25 12 2.25ZM14.25 8V6C14.25 4.75736 13.2426 3.75 12 3.75C10.7574 3.75 9.75 4.75736 9.75 6V8H14.25ZM5.5 11C5.5 10.1716 6.17157 9.5 7 9.5H17C17.8284 9.5 18.5 10.1716 18.5 11V19C18.5 19.8284 17.8284 20.5 17 20.5H7C6.17157 20.5 5.5 19.8284 5.5 19V11Z\" fill=\"currentColor\"/>\n</svg>\n";
@@ -0,0 +1,5 @@
1
+ export const locked = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12 2.25C9.92893 2.25 8.25 3.92893 8.25 6V8H7C5.34315 8 4 9.34315 4 11V19C4 20.6569 5.34315 22 7 22H17C18.6569 22 20 20.6569 20 19V11C20 9.34315 18.6569 8 17 8H15.75V6C15.75 3.92893 14.0711 2.25 12 2.25ZM14.25 8V6C14.25 4.75736 13.2426 3.75 12 3.75C10.7574 3.75 9.75 4.75736 9.75 6V8H14.25ZM5.5 11C5.5 10.1716 6.17157 9.5 7 9.5H17C17.8284 9.5 18.5 10.1716 18.5 11V19C18.5 19.8284 17.8284 20.5 17 20.5H7C6.17157 20.5 5.5 19.8284 5.5 19V11Z" fill="currentColor"/>
3
+ </svg>
4
+ `;
5
+ //# sourceMappingURL=locked.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locked.js","sourceRoot":"","sources":["../../../src/icons/locked.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;;;CAGrB,CAAC","sourcesContent":["export const locked = `<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12 2.25C9.92893 2.25 8.25 3.92893 8.25 6V8H7C5.34315 8 4 9.34315 4 11V19C4 20.6569 5.34315 22 7 22H17C18.6569 22 20 20.6569 20 19V11C20 9.34315 18.6569 8 17 8H15.75V6C15.75 3.92893 14.0711 2.25 12 2.25ZM14.25 8V6C14.25 4.75736 13.2426 3.75 12 3.75C10.7574 3.75 9.75 4.75736 9.75 6V8H14.25ZM5.5 11C5.5 10.1716 6.17157 9.5 7 9.5H17C17.8284 9.5 18.5 10.1716 18.5 11V19C18.5 19.8284 17.8284 20.5 17 20.5H7C6.17157 20.5 5.5 19.8284 5.5 19V11Z\" fill=\"currentColor\"/>\n</svg>\n`;\n"]}
@@ -0,0 +1 @@
1
+ export declare const spinner = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M12 22.8C9.86393 22.8 7.77568 22.1665 5.99984 20.9799C4.224 19.7931 2.83953 18.1064 2.02211 16.1329C1.20468 14.1595 0.990803 11.988 1.40752 9.89305C1.82425 7.79805 2.85284 5.87367 4.36325 4.36325C5.87367 2.85284 7.79805 1.82425 9.89305 1.40752C11.988 0.990803 14.1595 1.20468 16.1329 2.02211C18.1064 2.83953 19.7931 4.224 20.9799 5.99984C22.1665 7.77568 22.8 9.86393 22.8 12\" stroke=\"currentColor\" stroke-width=\"2.4\" stroke-linecap=\"round\"/>\n</svg>\n";
@@ -0,0 +1,5 @@
1
+ export const spinner = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12 22.8C9.86393 22.8 7.77568 22.1665 5.99984 20.9799C4.224 19.7931 2.83953 18.1064 2.02211 16.1329C1.20468 14.1595 0.990803 11.988 1.40752 9.89305C1.82425 7.79805 2.85284 5.87367 4.36325 4.36325C5.87367 2.85284 7.79805 1.82425 9.89305 1.40752C11.988 0.990803 14.1595 1.20468 16.1329 2.02211C18.1064 2.83953 19.7931 4.224 20.9799 5.99984C22.1665 7.77568 22.8 9.86393 22.8 12" stroke="currentColor" stroke-width="2.4" stroke-linecap="round"/>
3
+ </svg>
4
+ `;
5
+ //# sourceMappingURL=spinner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spinner.js","sourceRoot":"","sources":["../../../src/icons/spinner.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;;;CAGtB,CAAC","sourcesContent":["export const spinner = `<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M12 22.8C9.86393 22.8 7.77568 22.1665 5.99984 20.9799C4.224 19.7931 2.83953 18.1064 2.02211 16.1329C1.20468 14.1595 0.990803 11.988 1.40752 9.89305C1.82425 7.79805 2.85284 5.87367 4.36325 4.36325C5.87367 2.85284 7.79805 1.82425 9.89305 1.40752C11.988 0.990803 14.1595 1.20468 16.1329 2.02211C18.1064 2.83953 19.7931 4.224 20.9799 5.99984C22.1665 7.77568 22.8 9.86393 22.8 12\" stroke=\"currentColor\" stroke-width=\"2.4\" stroke-linecap=\"round\"/>\n</svg>\n`;\n"]}
@@ -1,8 +1,10 @@
1
1
  export { account } from './icons/account.js';
2
2
  export { alert } from './icons/alert.js';
3
+ export { alignBottom } from './icons/align-bottom.js';
3
4
  export { alignCenter } from './icons/align-center.js';
4
5
  export { alignLeft } from './icons/align-left.js';
5
6
  export { alignRight } from './icons/align-right.js';
7
+ export { alignTop } from './icons/align-top.js';
6
8
  export { arrowDown } from './icons/arrow-down.js';
7
9
  export { arrowLeft } from './icons/arrow-left.js';
8
10
  export { arrowRight } from './icons/arrow-right.js';
@@ -57,9 +59,13 @@ export { hotel } from './icons/hotel.js';
57
59
  export { info } from './icons/info.js';
58
60
  export { insights } from './icons/insights.js';
59
61
  export { italic } from './icons/italic.js';
62
+ export { justifyCenter } from './icons/justify-center.js';
63
+ export { justifyLeft } from './icons/justify-left.js';
64
+ export { justifyRight } from './icons/justify-right.js';
60
65
  export { keyboard } from './icons/keyboard.js';
61
66
  export { lightningBolt } from './icons/lightning-bolt.js';
62
67
  export { link } from './icons/link.js';
68
+ export { locked } from './icons/locked.js';
63
69
  export { logout } from './icons/logout.js';
64
70
  export { messages } from './icons/messages.js';
65
71
  export { minus } from './icons/minus.js';
@@ -81,6 +87,7 @@ export { send } from './icons/send.js';
81
87
  export { share } from './icons/share.js';
82
88
  export { sidebarCollapsed } from './icons/sidebar-collapsed.js';
83
89
  export { sidebarExpanded } from './icons/sidebar-expanded.js';
90
+ export { spinner } from './icons/spinner.js';
84
91
  export { stop } from './icons/stop.js';
85
92
  export { stopFilled } from './icons/stop-filled.js';
86
93
  export { strikethrough } from './icons/strikethrough.js';
package/dist/src/index.js CHANGED
@@ -1,8 +1,10 @@
1
1
  export { account } from './icons/account.js';
2
2
  export { alert } from './icons/alert.js';
3
+ export { alignBottom } from './icons/align-bottom.js';
3
4
  export { alignCenter } from './icons/align-center.js';
4
5
  export { alignLeft } from './icons/align-left.js';
5
6
  export { alignRight } from './icons/align-right.js';
7
+ export { alignTop } from './icons/align-top.js';
6
8
  export { arrowDown } from './icons/arrow-down.js';
7
9
  export { arrowLeft } from './icons/arrow-left.js';
8
10
  export { arrowRight } from './icons/arrow-right.js';
@@ -57,9 +59,13 @@ export { hotel } from './icons/hotel.js';
57
59
  export { info } from './icons/info.js';
58
60
  export { insights } from './icons/insights.js';
59
61
  export { italic } from './icons/italic.js';
62
+ export { justifyCenter } from './icons/justify-center.js';
63
+ export { justifyLeft } from './icons/justify-left.js';
64
+ export { justifyRight } from './icons/justify-right.js';
60
65
  export { keyboard } from './icons/keyboard.js';
61
66
  export { lightningBolt } from './icons/lightning-bolt.js';
62
67
  export { link } from './icons/link.js';
68
+ export { locked } from './icons/locked.js';
63
69
  export { logout } from './icons/logout.js';
64
70
  export { messages } from './icons/messages.js';
65
71
  export { minus } from './icons/minus.js';
@@ -81,6 +87,7 @@ export { send } from './icons/send.js';
81
87
  export { share } from './icons/share.js';
82
88
  export { sidebarCollapsed } from './icons/sidebar-collapsed.js';
83
89
  export { sidebarExpanded } from './icons/sidebar-expanded.js';
90
+ export { spinner } from './icons/spinner.js';
84
91
  export { stop } from './icons/stop.js';
85
92
  export { stopFilled } from './icons/stop-filled.js';
86
93
  export { strikethrough } from './icons/strikethrough.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC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AE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC","sourcesContent":["export { account } from './icons/account.js';\nexport { alert } from './icons/alert.js';\nexport { alignCenter } from './icons/align-center.js';\nexport { alignLeft } from './icons/align-left.js';\nexport { alignRight } from './icons/align-right.js';\nexport { arrowDown } from './icons/arrow-down.js';\nexport { arrowLeft } from './icons/arrow-left.js';\nexport { arrowRight } from './icons/arrow-right.js';\nexport { arrowUp } from './icons/arrow-up.js';\nexport { audienceTargeting } from './icons/audience-targeting.js';\nexport { bold } from './icons/bold.js';\nexport { bulletList } from './icons/bullet-list.js';\nexport { button } from './icons/button.js';\nexport { calendarIcon } from './icons/calendar.js';\nexport { campaigns } from './icons/campaigns.js';\nexport { channels } from './icons/channels.js';\nexport { checkboxChecked } from './icons/checkbox-checked.js';\nexport { chevron } from './icons/chevron.js';\nexport { chevronDown } from './icons/chevron-down.js';\nexport { chevronRight } from './icons/chevron-right.js';\nexport { chevronUp } from './icons/chevron-up.js';\nexport { clock } from './icons/clock.js';\nexport { close } from './icons/close.js';\nexport { cog } from './icons/cog.js';\nexport { coin } from './icons/coin.js';\nexport { collapsible } from './icons/collapsible.js';\nexport { column } from './icons/column.js';\nexport { comparison } from './icons/comparison.js';\nexport { container } from './icons/container.js';\nexport { countdown } from './icons/countdown.js';\nexport { dateBoost } from './icons/date-boost.js';\nexport { deleteIcon } from './icons/delete.js';\nexport { desktop } from './icons/desktop.js';\nexport { disabled } from './icons/disabled.js';\nexport { dismissible } from './icons/dismissible.js';\nexport { divider } from './icons/divider.js';\nexport { doubleChevron } from './icons/double-chevron.js';\nexport { download } from './icons/download.js';\nexport { dropdown } from './icons/dropdown.js';\nexport { duplicate } from './icons/duplicate.js';\nexport { edit } from './icons/edit.js';\nexport { email } from './icons/email.js';\nexport { embed } from './icons/embed.js';\nexport { experiment } from './icons/experiment.js';\nexport { external } from './icons/external.js';\nexport { filter } from './icons/filter.js';\nexport { form } from './icons/form.js';\nexport { gallery } from './icons/gallery.js';\nexport { gear } from './icons/gear.js';\nexport { globe } from './icons/globe.js';\nexport { graph } from './icons/graph.js';\nexport { handle } from './icons/handle.js';\nexport { help } from './icons/help.js';\nexport { home } from './icons/home.js';\nexport { horizontal } from './icons/horizontal.js';\nexport { hotel } from './icons/hotel.js';\nexport { info } from './icons/info.js';\nexport { insights } from './icons/insights.js';\nexport { italic } from './icons/italic.js';\nexport { keyboard } from './icons/keyboard.js';\nexport { lightningBolt } from './icons/lightning-bolt.js';\nexport { link } from './icons/link.js';\nexport { logout } from './icons/logout.js';\nexport { messages } from './icons/messages.js';\nexport { minus } from './icons/minus.js';\nexport { mobile } from './icons/mobile.js';\nexport { moveToParent } from './icons/move-to-parent.js';\nexport { multiMessage } from './icons/multi-message.js';\nexport { newTab } from './icons/new-tab.js';\nexport { numberedList } from './icons/numbered-list.js';\nexport { pause } from './icons/pause.js';\nexport { pauseFilled } from './icons/pause-filled.js';\nexport { pieChart } from './icons/pie-chart.js';\nexport { plus } from './icons/plus.js';\nexport { preview } from './icons/preview.js';\nexport { radioChecked } from './icons/radio-checked.js';\nexport { redo } from './icons/redo.js';\nexport { rename } from './icons/rename.js';\nexport { section } from './icons/section.js';\nexport { send } from './icons/send.js';\nexport { share } from './icons/share.js';\nexport { sidebarCollapsed } from './icons/sidebar-collapsed.js';\nexport { sidebarExpanded } from './icons/sidebar-expanded.js';\nexport { stop } from './icons/stop.js';\nexport { stopFilled } from './icons/stop-filled.js';\nexport { strikethrough } from './icons/strikethrough.js';\nexport { tag } from './icons/tag.js';\nexport { target } from './icons/target.js';\nexport { templates } from './icons/templates.js';\nexport { text } from './icons/text.js';\nexport { textInput } from './icons/text-input.js';\nexport { tick } from './icons/tick.js';\nexport { ticket } from './icons/ticket.js';\nexport { treeGraph } from './icons/tree-graph.js';\nexport { undo } from './icons/undo.js';\nexport { underline } from './icons/underline.js';\nexport { unlink } from './icons/unlink.js';\nexport { user } from './icons/user.js';\nexport { vertical } from './icons/vertical.js';\nexport { wallet } from './icons/wallet.js';\nexport { warning } from './icons/warning.js';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,MAAM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,kBAAkB,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC","sourcesContent":["export { account } from './icons/account.js';\nexport { alert } from './icons/alert.js';\nexport { alignBottom } from './icons/align-bottom.js';\nexport { alignCenter } from './icons/align-center.js';\nexport { alignLeft } from './icons/align-left.js';\nexport { alignRight } from './icons/align-right.js';\nexport { alignTop } from './icons/align-top.js';\nexport { arrowDown } from './icons/arrow-down.js';\nexport { arrowLeft } from './icons/arrow-left.js';\nexport { arrowRight } from './icons/arrow-right.js';\nexport { arrowUp } from './icons/arrow-up.js';\nexport { audienceTargeting } from './icons/audience-targeting.js';\nexport { bold } from './icons/bold.js';\nexport { bulletList } from './icons/bullet-list.js';\nexport { button } from './icons/button.js';\nexport { calendarIcon } from './icons/calendar.js';\nexport { campaigns } from './icons/campaigns.js';\nexport { channels } from './icons/channels.js';\nexport { checkboxChecked } from './icons/checkbox-checked.js';\nexport { chevron } from './icons/chevron.js';\nexport { chevronDown } from './icons/chevron-down.js';\nexport { chevronRight } from './icons/chevron-right.js';\nexport { chevronUp } from './icons/chevron-up.js';\nexport { clock } from './icons/clock.js';\nexport { close } from './icons/close.js';\nexport { cog } from './icons/cog.js';\nexport { coin } from './icons/coin.js';\nexport { collapsible } from './icons/collapsible.js';\nexport { column } from './icons/column.js';\nexport { comparison } from './icons/comparison.js';\nexport { container } from './icons/container.js';\nexport { countdown } from './icons/countdown.js';\nexport { dateBoost } from './icons/date-boost.js';\nexport { deleteIcon } from './icons/delete.js';\nexport { desktop } from './icons/desktop.js';\nexport { disabled } from './icons/disabled.js';\nexport { dismissible } from './icons/dismissible.js';\nexport { divider } from './icons/divider.js';\nexport { doubleChevron } from './icons/double-chevron.js';\nexport { download } from './icons/download.js';\nexport { dropdown } from './icons/dropdown.js';\nexport { duplicate } from './icons/duplicate.js';\nexport { edit } from './icons/edit.js';\nexport { email } from './icons/email.js';\nexport { embed } from './icons/embed.js';\nexport { experiment } from './icons/experiment.js';\nexport { external } from './icons/external.js';\nexport { filter } from './icons/filter.js';\nexport { form } from './icons/form.js';\nexport { gallery } from './icons/gallery.js';\nexport { gear } from './icons/gear.js';\nexport { globe } from './icons/globe.js';\nexport { graph } from './icons/graph.js';\nexport { handle } from './icons/handle.js';\nexport { help } from './icons/help.js';\nexport { home } from './icons/home.js';\nexport { horizontal } from './icons/horizontal.js';\nexport { hotel } from './icons/hotel.js';\nexport { info } from './icons/info.js';\nexport { insights } from './icons/insights.js';\nexport { italic } from './icons/italic.js';\nexport { justifyCenter } from './icons/justify-center.js';\nexport { justifyLeft } from './icons/justify-left.js';\nexport { justifyRight } from './icons/justify-right.js';\nexport { keyboard } from './icons/keyboard.js';\nexport { lightningBolt } from './icons/lightning-bolt.js';\nexport { link } from './icons/link.js';\nexport { locked } from './icons/locked.js';\nexport { logout } from './icons/logout.js';\nexport { messages } from './icons/messages.js';\nexport { minus } from './icons/minus.js';\nexport { mobile } from './icons/mobile.js';\nexport { moveToParent } from './icons/move-to-parent.js';\nexport { multiMessage } from './icons/multi-message.js';\nexport { newTab } from './icons/new-tab.js';\nexport { numberedList } from './icons/numbered-list.js';\nexport { pause } from './icons/pause.js';\nexport { pauseFilled } from './icons/pause-filled.js';\nexport { pieChart } from './icons/pie-chart.js';\nexport { plus } from './icons/plus.js';\nexport { preview } from './icons/preview.js';\nexport { radioChecked } from './icons/radio-checked.js';\nexport { redo } from './icons/redo.js';\nexport { rename } from './icons/rename.js';\nexport { section } from './icons/section.js';\nexport { send } from './icons/send.js';\nexport { share } from './icons/share.js';\nexport { sidebarCollapsed } from './icons/sidebar-collapsed.js';\nexport { sidebarExpanded } from './icons/sidebar-expanded.js';\nexport { spinner } from './icons/spinner.js';\nexport { stop } from './icons/stop.js';\nexport { stopFilled } from './icons/stop-filled.js';\nexport { strikethrough } from './icons/strikethrough.js';\nexport { tag } from './icons/tag.js';\nexport { target } from './icons/target.js';\nexport { templates } from './icons/templates.js';\nexport { text } from './icons/text.js';\nexport { textInput } from './icons/text-input.js';\nexport { tick } from './icons/tick.js';\nexport { ticket } from './icons/ticket.js';\nexport { treeGraph } from './icons/tree-graph.js';\nexport { undo } from './icons/undo.js';\nexport { underline } from './icons/underline.js';\nexport { unlink } from './icons/unlink.js';\nexport { user } from './icons/user.js';\nexport { vertical } from './icons/vertical.js';\nexport { wallet } from './icons/wallet.js';\nexport { warning } from './icons/warning.js';\n"]}
package/package.json CHANGED
@@ -3,17 +3,20 @@
3
3
  "description": "Triptease icon set",
4
4
  "license": "MIT",
5
5
  "author": "@triptease",
6
- "version": "1.3.11",
6
+ "version": "1.3.13",
7
7
  "type": "module",
8
8
  "main": "dist/src/index.js",
9
9
  "module": "dist/src/index.js",
10
10
  "exports": {
11
11
  ".": "./dist/src/index.js",
12
+ "./manifest.json": "./dist/manifest.json",
12
13
  "./account.js": "./dist/src/icons/account.js",
13
14
  "./alert.js": "./dist/src/icons/alert.js",
15
+ "./align-bottom.js": "./dist/src/icons/align-bottom.js",
14
16
  "./align-center.js": "./dist/src/icons/align-center.js",
15
17
  "./align-left.js": "./dist/src/icons/align-left.js",
16
18
  "./align-right.js": "./dist/src/icons/align-right.js",
19
+ "./align-top.js": "./dist/src/icons/align-top.js",
17
20
  "./arrow-down.js": "./dist/src/icons/arrow-down.js",
18
21
  "./arrow-left.js": "./dist/src/icons/arrow-left.js",
19
22
  "./arrow-right.js": "./dist/src/icons/arrow-right.js",
@@ -68,9 +71,13 @@
68
71
  "./info.js": "./dist/src/icons/info.js",
69
72
  "./insights.js": "./dist/src/icons/insights.js",
70
73
  "./italic.js": "./dist/src/icons/italic.js",
74
+ "./justify-center.js": "./dist/src/icons/justify-center.js",
75
+ "./justify-left.js": "./dist/src/icons/justify-left.js",
76
+ "./justify-right.js": "./dist/src/icons/justify-right.js",
71
77
  "./keyboard.js": "./dist/src/icons/keyboard.js",
72
78
  "./lightning-bolt.js": "./dist/src/icons/lightning-bolt.js",
73
79
  "./link.js": "./dist/src/icons/link.js",
80
+ "./locked.js": "./dist/src/icons/locked.js",
74
81
  "./logout.js": "./dist/src/icons/logout.js",
75
82
  "./messages.js": "./dist/src/icons/messages.js",
76
83
  "./minus.js": "./dist/src/icons/minus.js",
@@ -92,6 +99,7 @@
92
99
  "./share.js": "./dist/src/icons/share.js",
93
100
  "./sidebar-collapsed.js": "./dist/src/icons/sidebar-collapsed.js",
94
101
  "./sidebar-expanded.js": "./dist/src/icons/sidebar-expanded.js",
102
+ "./spinner.js": "./dist/src/icons/spinner.js",
95
103
  "./stop.js": "./dist/src/icons/stop.js",
96
104
  "./stop-filled.js": "./dist/src/icons/stop-filled.js",
97
105
  "./strikethrough.js": "./dist/src/icons/strikethrough.js",
@@ -113,15 +121,19 @@
113
121
  },
114
122
  "scripts": {
115
123
  "analyze": "cem analyze --litelement",
116
- "build": "yarn build:node && yarn build:web && npm run analyze -- --exclude dist",
124
+ "generate-icon-manifest": "npx tsx scripts/generate-icon-manifest/generate-icon-manifest.ts",
125
+ "build": "yarn build:node && yarn build:web && yarn generate-icon-manifest && npm run analyze -- --exclude dist",
117
126
  "build:node": "tsc",
118
127
  "build:node:watch": "tsc --watch",
119
128
  "build:web": "node ../../scripts/esbuild.mjs",
129
+ "test": "vitest run",
130
+ "test:watch": "vitest",
120
131
  "prepublish": "yarn build:node && npm run analyze -- --exclude dist"
121
132
  },
122
133
  "devDependencies": {
123
134
  "tslib": "^2.6.3",
124
- "typescript": "^5.5.3"
135
+ "typescript": "^5.5.3",
136
+ "vitest": "^4.0.16"
125
137
  },
126
138
  "publishConfig": {
127
139
  "access": "public"
@@ -0,0 +1 @@
1
+ export const account = '<svg></svg>';
@@ -0,0 +1 @@
1
+ export const alignCenter = '<svg></svg>';
@@ -0,0 +1 @@
1
+ export const checkboxChecked = '<svg></svg>';
@@ -0,0 +1 @@
1
+ // File is intentionally empty
@@ -0,0 +1,23 @@
1
+ import { createTimestamp } from './helpers/createTimestamp';
2
+ import { createManifest } from './helpers/createManifest';
3
+ import { writeManifest } from './helpers/writeManifest';
4
+ import packageJson from '../../package.json';
5
+
6
+ const MANIFEST_FILE_NAME = 'manifest.json';
7
+ const MANIFEST_FILE_PATH = `./dist/${MANIFEST_FILE_NAME}`;
8
+
9
+ (async () => {
10
+ try {
11
+ console.info(`${createTimestamp()} 🏗️ Generating icon manifest...`);
12
+ const { name, exports } = packageJson;
13
+ const manifest = await createManifest(MANIFEST_FILE_NAME, name, exports);
14
+ await writeManifest(MANIFEST_FILE_PATH, manifest);
15
+
16
+ console.info(`${createTimestamp()} ✅ Icon manifest generated successfully!`);
17
+ process.exit(0);
18
+ } catch (error) {
19
+ console.error(`${createTimestamp()} ❌ Failed to generate icon manifest:`);
20
+ console.error(error);
21
+ process.exit(1);
22
+ }
23
+ })();
@@ -0,0 +1,40 @@
1
+ import { describe, expect, it } from 'vitest';
2
+ import { createManifest } from './createManifest';
3
+
4
+ const MANIFEST_FILE_NAME = 'manifest.json';
5
+
6
+ describe('createManifest', () => {
7
+ it('should correctly create the manifest', async () => {
8
+ const manifest = await createManifest(MANIFEST_FILE_NAME, 'test-module', {
9
+ './account.js': '../../scripts/generate-icon-manifest/__mocks__/account.js',
10
+ './align-center.js': '../../scripts/generate-icon-manifest/__mocks__/align-center.js',
11
+ './checkbox-checked.js': '../../scripts/generate-icon-manifest/__mocks__/checkbox-checked.js',
12
+ });
13
+
14
+ expect(manifest).toEqual({
15
+ account: 'test-module/account.js',
16
+ alignCenter: 'test-module/align-center.js',
17
+ checkboxChecked: 'test-module/checkbox-checked.js',
18
+ });
19
+ });
20
+
21
+ it('should error if the icon file is empty', async () => {
22
+ await expect(
23
+ createManifest(MANIFEST_FILE_NAME, 'test-module', {
24
+ './empty-icon.js': '../../scripts/generate-icon-manifest/__mocks__/empty-icon.js',
25
+ })
26
+ ).rejects.toThrowError(
27
+ 'Failed to generate manifest for ./empty-icon.js: The imported icon file does not export a variable.'
28
+ );
29
+ });
30
+
31
+ it('should error if the icon file cannot be found', async () => {
32
+ await expect(
33
+ createManifest(MANIFEST_FILE_NAME, 'test-module', {
34
+ './missing-icon.js': './missing-icon.js',
35
+ })
36
+ ).rejects.toThrowError(
37
+ /^Failed to generate manifest for \.\/missing-icon\.js: Cannot find module '.*' imported from .*$/
38
+ );
39
+ });
40
+ });
@@ -0,0 +1,35 @@
1
+ export const createManifest = async (
2
+ MANIFEST_FILE_NAME: string,
3
+ moduleName: string,
4
+ packageJsonExports: Record<string, string>
5
+ ) => {
6
+ const EXCLUDE_LIST = ['.', `./${MANIFEST_FILE_NAME}`];
7
+ const manifest: Record<string, string> = {};
8
+
9
+ const exportsArray = Object.entries(packageJsonExports).filter(([key]) => !EXCLUDE_LIST.includes(key));
10
+
11
+ await Promise.all(
12
+ exportsArray.map(async ([key, value]) => {
13
+ try {
14
+ const module = await import(`../../../${value}`);
15
+
16
+ const [varName] = Object.entries(module).flat();
17
+ // 'typeof' is needed to appease TypeScript, exported variable names will always be strings
18
+ if (!varName || typeof varName !== 'string')
19
+ throw new Error('The imported icon file does not export a variable.');
20
+
21
+ const importPath = key.split('./')[1];
22
+ manifest[varName] = `${moduleName}/${importPath}`;
23
+ } catch (error) {
24
+ // Catch is needed to catch failed imports and throw a more descriptive error message
25
+ if (error instanceof Error) {
26
+ throw new Error(`Failed to generate manifest for ${key}: ${error.message}`);
27
+ } else {
28
+ throw error;
29
+ }
30
+ }
31
+ })
32
+ );
33
+
34
+ return manifest;
35
+ };
@@ -0,0 +1,35 @@
1
+ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
2
+ import { createTimestamp } from './createTimestamp';
3
+
4
+ describe('createTimestamp', () => {
5
+ beforeEach(() => {
6
+ // tell vitest we use mocked time
7
+ vi.useFakeTimers();
8
+
9
+ const date = new Date(2000, 1, 1, 13, 30, 10);
10
+ vi.setSystemTime(date);
11
+ });
12
+
13
+ afterEach(() => {
14
+ // restoring date after each test run
15
+ vi.useRealTimers();
16
+ });
17
+
18
+ it('should return a timestamp in the format [HH:mm:ss AM]', () => {
19
+ const date = new Date(2000, 1, 1, 9, 30, 10);
20
+ vi.setSystemTime(date);
21
+
22
+ const timestamp = createTimestamp();
23
+
24
+ expect(timestamp).toEqual('[9:30:10 AM]');
25
+ });
26
+
27
+ it('should return a timestamp in the format [HH:mm:ss PM]', () => {
28
+ const date = new Date(2000, 1, 1, 13, 30, 10);
29
+ vi.setSystemTime(date);
30
+
31
+ const timestamp = createTimestamp();
32
+
33
+ expect(timestamp).toEqual('[1:30:10 PM]');
34
+ });
35
+ });
@@ -0,0 +1 @@
1
+ export const createTimestamp = () => `[${new Date().toLocaleTimeString(undefined, { hour12: true })}]`;
@@ -0,0 +1,9 @@
1
+ import fs from 'fs';
2
+
3
+ export const writeManifest = (MANIFEST_FILE_PATH: string, manifest: Record<string, string>) =>
4
+ new Promise((resolve, reject) => {
5
+ fs.writeFile(MANIFEST_FILE_PATH, JSON.stringify(manifest), (err) => {
6
+ if (err) reject(err);
7
+ resolve(true);
8
+ });
9
+ });
package/tsconfig.json CHANGED
@@ -5,5 +5,5 @@
5
5
  "outDir": "dist"
6
6
  },
7
7
  "include": ["**/*.ts"],
8
- "exclude": ["node_modules", "test", "dist"]
8
+ "exclude": ["node_modules", "test", "dist", "scripts"]
9
9
  }