@bitrise/bitkit 9.1.6 → 9.2.2

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 (77) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/lib/cjs/Button/Button.d.ts +2 -1
  3. package/lib/cjs/Button/Button.d.ts.map +1 -1
  4. package/lib/cjs/Button/Button.js.map +1 -1
  5. package/lib/cjs/Button/ButtonSize.d.ts +3 -0
  6. package/lib/cjs/Button/ButtonSize.d.ts.map +1 -0
  7. package/lib/cjs/Button/ButtonSize.js +3 -0
  8. package/lib/cjs/Button/ButtonSize.js.map +1 -0
  9. package/lib/cjs/Button/ColorButton.d.ts +2 -1
  10. package/lib/cjs/Button/ColorButton.d.ts.map +1 -1
  11. package/lib/cjs/Button/ColorButton.js.map +1 -1
  12. package/lib/cjs/Icon/tsx/IconsHidePassword.d.ts +4 -0
  13. package/lib/cjs/Icon/tsx/IconsHidePassword.d.ts.map +1 -0
  14. package/lib/cjs/Icon/tsx/IconsHidePassword.js +27 -0
  15. package/lib/cjs/Icon/tsx/IconsHidePassword.js.map +1 -0
  16. package/lib/cjs/Icon/tsx/IconsShowPassword.d.ts +4 -0
  17. package/lib/cjs/Icon/tsx/IconsShowPassword.d.ts.map +1 -0
  18. package/lib/cjs/Icon/tsx/{IconsEye.js → IconsShowPassword.js} +5 -5
  19. package/lib/cjs/Icon/tsx/IconsShowPassword.js.map +1 -0
  20. package/lib/cjs/Icon/tsx/index.d.ts +1 -1
  21. package/lib/cjs/Icon/tsx/index.d.ts.map +1 -1
  22. package/lib/cjs/Icon/tsx/index.js +6 -3
  23. package/lib/cjs/Icon/tsx/index.js.map +1 -1
  24. package/lib/cjs/Progress/ProgressButton.js +3 -3
  25. package/lib/cjs/Progress/ProgressButton.js.map +1 -1
  26. package/lib/cjs/Progress/ProgressButtonContent.d.ts +2 -0
  27. package/lib/cjs/Progress/ProgressButtonContent.d.ts.map +1 -1
  28. package/lib/cjs/Progress/ProgressButtonContent.js +3 -2
  29. package/lib/cjs/Progress/ProgressButtonContent.js.map +1 -1
  30. package/lib/cjs/tsconfig.tsbuildinfo +53 -24
  31. package/lib/esn/Button/Button.d.ts +2 -1
  32. package/lib/esn/Button/Button.d.ts.map +1 -1
  33. package/lib/esn/Button/Button.js.map +1 -1
  34. package/lib/esn/Button/ButtonSize.d.ts +3 -0
  35. package/lib/esn/Button/ButtonSize.d.ts.map +1 -0
  36. package/lib/esn/Button/ButtonSize.js +1 -0
  37. package/lib/esn/Button/ButtonSize.js.map +1 -0
  38. package/lib/esn/Button/ColorButton.d.ts +2 -1
  39. package/lib/esn/Button/ColorButton.d.ts.map +1 -1
  40. package/lib/esn/Button/ColorButton.js.map +1 -1
  41. package/lib/esn/Icon/tsx/IconsHidePassword.d.ts +4 -0
  42. package/lib/esn/Icon/tsx/IconsHidePassword.d.ts.map +1 -0
  43. package/lib/esn/Icon/tsx/IconsHidePassword.js +7 -0
  44. package/lib/esn/Icon/tsx/IconsHidePassword.js.map +1 -0
  45. package/lib/esn/Icon/tsx/IconsShowPassword.d.ts +4 -0
  46. package/lib/esn/Icon/tsx/IconsShowPassword.d.ts.map +1 -0
  47. package/lib/esn/Icon/tsx/{IconsEye.js → IconsShowPassword.js} +5 -5
  48. package/lib/esn/Icon/tsx/IconsShowPassword.js.map +1 -0
  49. package/lib/esn/Icon/tsx/index.d.ts +1 -1
  50. package/lib/esn/Icon/tsx/index.d.ts.map +1 -1
  51. package/lib/esn/Icon/tsx/index.js +6 -3
  52. package/lib/esn/Icon/tsx/index.js.map +1 -1
  53. package/lib/esn/Progress/ProgressButton.js +3 -3
  54. package/lib/esn/Progress/ProgressButton.js.map +1 -1
  55. package/lib/esn/Progress/ProgressButtonContent.d.ts +2 -0
  56. package/lib/esn/Progress/ProgressButtonContent.d.ts.map +1 -1
  57. package/lib/esn/Progress/ProgressButtonContent.js +3 -2
  58. package/lib/esn/Progress/ProgressButtonContent.js.map +1 -1
  59. package/lib/esn/tsconfig.tsbuildinfo +53 -24
  60. package/package.json +2 -2
  61. package/site/components/Documentation/Components/SectionProgress.tsx +10 -1
  62. package/src/Button/Button.tsx +2 -1
  63. package/src/Button/ButtonSize.ts +3 -0
  64. package/src/Button/ColorButton.tsx +2 -1
  65. package/src/Icon/svg/icons-hide-password.svg +4 -0
  66. package/src/Icon/svg/{icons-eye.svg → icons-show-password.svg} +0 -0
  67. package/src/Icon/tsx/IconsHidePassword.tsx +17 -0
  68. package/src/Icon/tsx/{IconsEye.tsx → IconsShowPassword.tsx} +7 -4
  69. package/src/Icon/tsx/index.ts +8 -4
  70. package/src/Progress/ProgressButton.tsx +3 -3
  71. package/src/Progress/ProgressButtonContent.tsx +9 -2
  72. package/lib/cjs/Icon/tsx/IconsEye.d.ts +0 -4
  73. package/lib/cjs/Icon/tsx/IconsEye.d.ts.map +0 -1
  74. package/lib/cjs/Icon/tsx/IconsEye.js.map +0 -1
  75. package/lib/esn/Icon/tsx/IconsEye.d.ts +0 -4
  76. package/lib/esn/Icon/tsx/IconsEye.d.ts.map +0 -1
  77. package/lib/esn/Icon/tsx/IconsEye.js.map +0 -1
@@ -417,10 +417,6 @@
417
417
  "version": "34c382f5d21ae0b849ea724430f473679587c2cea57df261126e927060b0c739",
418
418
  "signature": "b9a55fa195d0cada40c826f57f7185ffa3014d676f01a05667405fc26ff80835"
419
419
  },
420
- "/bitrise/src/src/Icon/tsx/IconsEye.tsx": {
421
- "version": "7cec50760705a228f57190d72ec270dbd28b2896ceba516381ef875b4100e288",
422
- "signature": "a8119a13c06b541b4fda4830189d91889046bf8cfb249ebf1fa57b960b16bd9a"
423
- },
424
420
  "/bitrise/src/src/Icon/tsx/IconsFileDoc.tsx": {
425
421
  "version": "10ab8e7bdf0a87b0981d877ec8d6fe36f754905d20a98494c87e09c20b5178e9",
426
422
  "signature": "4f7b410895f34799960f1de432061494521ed698b59e04a789797e1406401915"
@@ -485,6 +481,10 @@
485
481
  "version": "65ca56979d35815997d42ef2cbda02baeb9551f42660a362a4374d11577ab06b",
486
482
  "signature": "19c91477a1173564d11616b20425733698d2d56b83668e092ccf7d32ca6b2f54"
487
483
  },
484
+ "/bitrise/src/src/Icon/tsx/IconsHidePassword.tsx": {
485
+ "version": "1686a5ea624ec1b53766fe2fb670200ab38560183d96b4469d05e7eca56a92bd",
486
+ "signature": "f86d9c242cefeb96db92329f790ba5ea8ee5d72dc481b8ea7ae09f6ff8c0584d"
487
+ },
488
488
  "/bitrise/src/src/Icon/tsx/IconsHistory.tsx": {
489
489
  "version": "b09bc9dce7a008818a9fafc73d7d82cf92316588724d78a274197f45cfd9632d",
490
490
  "signature": "39c908c9fc556964e07aca32535eb4c64eea6c2fee727eb4993692122cc804b0"
@@ -709,6 +709,10 @@
709
709
  "version": "9145b884643c8fe03c3b67668d87f72dff9c084954a60f9275a3026e01c4b7fb",
710
710
  "signature": "da2b75855058ee98fdbf735e6b00e79ba347c21de1d869c9ef5ec37a7e9be87b"
711
711
  },
712
+ "/bitrise/src/src/Icon/tsx/IconsShowPassword.tsx": {
713
+ "version": "fdbf9edcd6a8a9a396702483e34e819d5ebbe4b9dc8875ffc8831e193469604b",
714
+ "signature": "5b9374ffda84d50d9401c59f1d8c76628d32c71e76ec81723719e9662ff982e4"
715
+ },
712
716
  "/bitrise/src/src/Icon/tsx/IconsShuffle.tsx": {
713
717
  "version": "c183be5134e63c064c065349eb1e87c920cc78e578f04548e9f02c2ba57d0021",
714
718
  "signature": "a254024fc491cb3af8908ceae5b8136472e563aa97bfc6ca22f86af78ed804d0"
@@ -846,8 +850,8 @@
846
850
  "signature": "dd09fa7389df583f3735c5707652b2a7a29275c764d2f9c12c402ade540b0bbc"
847
851
  },
848
852
  "/bitrise/src/src/Icon/tsx/index.ts": {
849
- "version": "13862a7915f2f177180fbff9bcc93243dd704d7554cf41c13e562f705fb49a6b",
850
- "signature": "78fccb421d5019943e48f27d28f318e384d145c95fb8ca262b98c0c572d13a50"
853
+ "version": "3b52bfd0820bdef26dc3dc0dc82a467fb642d25a293fa6371a5a979de0f50113",
854
+ "signature": "520d03a23308f00086274446cfcc721181923c554145cfdc8440301c3ab6f9a4"
851
855
  },
852
856
  "/bitrise/src/src/variables.ts": {
853
857
  "version": "657aac073381bbc671cd3459844c4b979942eb74d6b431e898ee4e73b3ecf332",
@@ -992,9 +996,13 @@
992
996
  "version": "f305ddb03e57eaa7a58633d414ccb76d1589398f1cc65b8af2de66e4ea3c834f",
993
997
  "signature": "b77da07fc65e8498d161679d0b393d5e21d8becedb04adbbd0d921052e8f4b27"
994
998
  },
999
+ "/bitrise/src/src/Button/ButtonSize.ts": {
1000
+ "version": "2779bfdc1cbf30315e8f6cce4fef9c57f4ef36eef75cc363e34f11293a6abeba",
1001
+ "signature": "8ce445c09395d964e0bb4098b6b542ea815be587819830f279972b4fc7333b82"
1002
+ },
995
1003
  "/bitrise/src/src/Button/Button.tsx": {
996
- "version": "fcf9680314e889e38420ba6df898748130ec43a2ba6a826d991bc72d55de26c6",
997
- "signature": "5bcc10c84ef5c425847e1fcbe2254bd85a547e797671f4b065aaedca1992a310"
1004
+ "version": "aaf9d9485b0cb6f04ed33e0375913cd9055e742edd84828cecbd92d63604ee3e",
1005
+ "signature": "178fd572bd74fdfee891b8ec35e061eb345740945c4e4ae22049fc3f3313d051"
998
1006
  },
999
1007
  "/bitrise/src/src/Button/Buttons.tsx": {
1000
1008
  "version": "e5bef22712f5a42ae6ae3c1b63cbb07b59d834f804b5c1a0ec4eaabf876b9b9e",
@@ -1025,8 +1033,8 @@
1025
1033
  "signature": "a6c91195a9a692fa95736513d3cd875f7fc8b23f17e12a865d696c9e69dd5f75"
1026
1034
  },
1027
1035
  "/bitrise/src/src/Button/ColorButton.tsx": {
1028
- "version": "ad8fc39983eb26bab94e8f3b07a0dd5a23c7f41e7b154c134be0e01e39bbbf89",
1029
- "signature": "f1eb65acb4f3a572c412e8126302557d52b38f003ecca7fed1f037c6cf677a67"
1036
+ "version": "c229f924965a0e3e4aacefd2f23527273718e0eb4351295be9cd00c73f92406c",
1037
+ "signature": "7147b6bf41f24207d04e83042592ad0d764e4d0e99ab2c8d16d940e21bd2f346"
1030
1038
  },
1031
1039
  "/bitrise/src/node_modules/@types/luxon/index.d.ts": {
1032
1040
  "version": "2e3ecf70a6141d644cdc7292d6ee7e855c1646a3c9cf89e4f11ad0f8067fd288",
@@ -1213,11 +1221,11 @@
1213
1221
  "signature": "f1e1c7937d162a2076aab174e2fa3b6e922e0973abcc110bea1db07334b794ed"
1214
1222
  },
1215
1223
  "/bitrise/src/src/Progress/ProgressButtonContent.tsx": {
1216
- "version": "f691d44cfce3dd08e02e4c4bb2ec697605c7869c873f4e46061102acdb861fdb",
1217
- "signature": "c7bc06141a90ecd84ed43521fce78d0e5dff9e683501328b6141a0a7659744c0"
1224
+ "version": "05c000cd8d012507f992f97b1b539293636f27f4899df7bdd5a054bc3562a8a1",
1225
+ "signature": "35601ba6e4a826a5024ec867844acbef66b9a0ca931a4cd7b59cb12004426e0a"
1218
1226
  },
1219
1227
  "/bitrise/src/src/Progress/ProgressButton.tsx": {
1220
- "version": "69390605109df5703e966769e369896ae50c711339287a373d9f7693d4e35f7a",
1228
+ "version": "5ceb085b549f9645f5faebc35d59690dc965da3eb2a886e299789b0f3b52d9d9",
1221
1229
  "signature": "1d8e946910abae24a8af73d63858846284c2b0a663fe0a87cf9b1bf528f17764"
1222
1230
  },
1223
1231
  "/bitrise/src/src/Progress/ProgressBitbot.tsx": {
@@ -2283,11 +2291,6 @@
2283
2291
  "/bitrise/src/node_modules/@types/node/util.d.ts",
2284
2292
  "/bitrise/src/node_modules/@types/node/ts3.2/util.d.ts"
2285
2293
  ],
2286
- "/bitrise/src/src/Icon/tsx/IconsEye.tsx": [
2287
- "/bitrise/src/node_modules/@types/react/index.d.ts",
2288
- "/bitrise/src/node_modules/@types/node/util.d.ts",
2289
- "/bitrise/src/node_modules/@types/node/ts3.2/util.d.ts"
2290
- ],
2291
2294
  "/bitrise/src/src/Icon/tsx/IconsFileDoc.tsx": [
2292
2295
  "/bitrise/src/node_modules/@types/react/index.d.ts",
2293
2296
  "/bitrise/src/node_modules/@types/node/util.d.ts",
@@ -2368,6 +2371,11 @@
2368
2371
  "/bitrise/src/node_modules/@types/node/util.d.ts",
2369
2372
  "/bitrise/src/node_modules/@types/node/ts3.2/util.d.ts"
2370
2373
  ],
2374
+ "/bitrise/src/src/Icon/tsx/IconsHidePassword.tsx": [
2375
+ "/bitrise/src/node_modules/@types/react/index.d.ts",
2376
+ "/bitrise/src/node_modules/@types/node/util.d.ts",
2377
+ "/bitrise/src/node_modules/@types/node/ts3.2/util.d.ts"
2378
+ ],
2371
2379
  "/bitrise/src/src/Icon/tsx/IconsHistory.tsx": [
2372
2380
  "/bitrise/src/node_modules/@types/react/index.d.ts",
2373
2381
  "/bitrise/src/node_modules/@types/node/util.d.ts",
@@ -2648,6 +2656,11 @@
2648
2656
  "/bitrise/src/node_modules/@types/node/util.d.ts",
2649
2657
  "/bitrise/src/node_modules/@types/node/ts3.2/util.d.ts"
2650
2658
  ],
2659
+ "/bitrise/src/src/Icon/tsx/IconsShowPassword.tsx": [
2660
+ "/bitrise/src/node_modules/@types/react/index.d.ts",
2661
+ "/bitrise/src/node_modules/@types/node/util.d.ts",
2662
+ "/bitrise/src/node_modules/@types/node/ts3.2/util.d.ts"
2663
+ ],
2651
2664
  "/bitrise/src/src/Icon/tsx/IconsShuffle.tsx": [
2652
2665
  "/bitrise/src/node_modules/@types/react/index.d.ts",
2653
2666
  "/bitrise/src/node_modules/@types/node/util.d.ts",
@@ -2882,7 +2895,6 @@
2882
2895
  "/bitrise/src/src/Icon/tsx/IconsDuplicate.tsx",
2883
2896
  "/bitrise/src/src/Icon/tsx/IconsEnterprise.tsx",
2884
2897
  "/bitrise/src/src/Icon/tsx/IconsErrorGeneral.tsx",
2885
- "/bitrise/src/src/Icon/tsx/IconsEye.tsx",
2886
2898
  "/bitrise/src/src/Icon/tsx/IconsFileDoc.tsx",
2887
2899
  "/bitrise/src/src/Icon/tsx/IconsFilePdf.tsx",
2888
2900
  "/bitrise/src/src/Icon/tsx/IconsFilePlist.tsx",
@@ -2899,6 +2911,7 @@
2899
2911
  "/bitrise/src/src/Icon/tsx/IconsGlobe.tsx",
2900
2912
  "/bitrise/src/src/Icon/tsx/IconsGroup.tsx",
2901
2913
  "/bitrise/src/src/Icon/tsx/IconsHeart.tsx",
2914
+ "/bitrise/src/src/Icon/tsx/IconsHidePassword.tsx",
2902
2915
  "/bitrise/src/src/Icon/tsx/IconsHistory.tsx",
2903
2916
  "/bitrise/src/src/Icon/tsx/IconsImage.tsx",
2904
2917
  "/bitrise/src/src/Icon/tsx/IconsInfo.tsx",
@@ -2955,6 +2968,7 @@
2955
2968
  "/bitrise/src/src/Icon/tsx/IconsSecurityShield.tsx",
2956
2969
  "/bitrise/src/src/Icon/tsx/IconsSettings.tsx",
2957
2970
  "/bitrise/src/src/Icon/tsx/IconsShip.tsx",
2971
+ "/bitrise/src/src/Icon/tsx/IconsShowPassword.tsx",
2958
2972
  "/bitrise/src/src/Icon/tsx/IconsShuffle.tsx",
2959
2973
  "/bitrise/src/src/Icon/tsx/IconsStability.tsx",
2960
2974
  "/bitrise/src/src/Icon/tsx/IconsStack.tsx",
@@ -3222,10 +3236,15 @@
3222
3236
  "/bitrise/src/node_modules/@types/node/util.d.ts",
3223
3237
  "/bitrise/src/node_modules/@types/node/ts3.2/util.d.ts"
3224
3238
  ],
3239
+ "/bitrise/src/src/Button/ButtonSize.ts": [
3240
+ "/bitrise/src/node_modules/@types/node/util.d.ts",
3241
+ "/bitrise/src/node_modules/@types/node/ts3.2/util.d.ts"
3242
+ ],
3225
3243
  "/bitrise/src/src/Button/Button.tsx": [
3226
3244
  "/bitrise/src/node_modules/@types/react/index.d.ts",
3227
3245
  "/bitrise/src/node_modules/@types/classnames/index.d.ts",
3228
3246
  "/bitrise/src/src/Flex/Flex.tsx",
3247
+ "/bitrise/src/src/Button/ButtonSize.ts",
3229
3248
  "/bitrise/src/node_modules/@types/node/util.d.ts",
3230
3249
  "/bitrise/src/node_modules/@types/node/ts3.2/util.d.ts"
3231
3250
  ],
@@ -3278,6 +3297,7 @@
3278
3297
  "/bitrise/src/node_modules/@types/react/index.d.ts",
3279
3298
  "/bitrise/src/node_modules/@types/classnames/index.d.ts",
3280
3299
  "/bitrise/src/src/Flex/Flex.tsx",
3300
+ "/bitrise/src/src/Button/ButtonSize.ts",
3281
3301
  "/bitrise/src/node_modules/@types/node/util.d.ts",
3282
3302
  "/bitrise/src/node_modules/@types/node/ts3.2/util.d.ts"
3283
3303
  ],
@@ -3638,6 +3658,7 @@
3638
3658
  "/bitrise/src/src/Base/Base.tsx",
3639
3659
  "/bitrise/src/src/Progress/ProgressSpinner.tsx",
3640
3660
  "/bitrise/src/src/Visibility/Visibility.tsx",
3661
+ "/bitrise/src/src/Button/ButtonSize.ts",
3641
3662
  "/bitrise/src/node_modules/@types/node/util.d.ts",
3642
3663
  "/bitrise/src/node_modules/@types/node/ts3.2/util.d.ts"
3643
3664
  ],
@@ -5139,7 +5160,8 @@
5139
5160
  "/bitrise/src/node_modules/@types/react/index.d.ts"
5140
5161
  ],
5141
5162
  "/bitrise/src/src/Progress/ProgressButtonContent.tsx": [
5142
- "/bitrise/src/node_modules/@types/react/index.d.ts"
5163
+ "/bitrise/src/node_modules/@types/react/index.d.ts",
5164
+ "/bitrise/src/src/Button/ButtonSize.ts"
5143
5165
  ],
5144
5166
  "/bitrise/src/src/Notification/Notification.tsx": [
5145
5167
  "/bitrise/src/src/Flex/Flex.tsx",
@@ -5325,6 +5347,7 @@
5325
5347
  ],
5326
5348
  "/bitrise/src/src/Button/ColorButton.tsx": [
5327
5349
  "/bitrise/src/src/Flex/Flex.tsx",
5350
+ "/bitrise/src/src/Button/ButtonSize.ts",
5328
5351
  "/bitrise/src/node_modules/@types/react/index.d.ts"
5329
5352
  ],
5330
5353
  "/bitrise/src/src/Checkbox/Checkbox.tsx": [
@@ -5352,6 +5375,7 @@
5352
5375
  ],
5353
5376
  "/bitrise/src/src/Button/Button.tsx": [
5354
5377
  "/bitrise/src/src/Flex/Flex.tsx",
5378
+ "/bitrise/src/src/Button/ButtonSize.ts",
5355
5379
  "/bitrise/src/node_modules/@types/react/index.d.ts"
5356
5380
  ],
5357
5381
  "/bitrise/src/src/Bounds/Bounds.tsx": [
@@ -5569,6 +5593,9 @@
5569
5593
  "/bitrise/src/src/Icon/tsx/IconsShuffle.tsx": [
5570
5594
  "/bitrise/src/node_modules/@types/react/index.d.ts"
5571
5595
  ],
5596
+ "/bitrise/src/src/Icon/tsx/IconsShowPassword.tsx": [
5597
+ "/bitrise/src/node_modules/@types/react/index.d.ts"
5598
+ ],
5572
5599
  "/bitrise/src/src/Icon/tsx/IconsShip.tsx": [
5573
5600
  "/bitrise/src/node_modules/@types/react/index.d.ts"
5574
5601
  ],
@@ -5737,6 +5764,9 @@
5737
5764
  "/bitrise/src/src/Icon/tsx/IconsHistory.tsx": [
5738
5765
  "/bitrise/src/node_modules/@types/react/index.d.ts"
5739
5766
  ],
5767
+ "/bitrise/src/src/Icon/tsx/IconsHidePassword.tsx": [
5768
+ "/bitrise/src/node_modules/@types/react/index.d.ts"
5769
+ ],
5740
5770
  "/bitrise/src/src/Icon/tsx/IconsHeart.tsx": [
5741
5771
  "/bitrise/src/node_modules/@types/react/index.d.ts"
5742
5772
  ],
@@ -5785,9 +5815,6 @@
5785
5815
  "/bitrise/src/src/Icon/tsx/IconsFileDoc.tsx": [
5786
5816
  "/bitrise/src/node_modules/@types/react/index.d.ts"
5787
5817
  ],
5788
- "/bitrise/src/src/Icon/tsx/IconsEye.tsx": [
5789
- "/bitrise/src/node_modules/@types/react/index.d.ts"
5790
- ],
5791
5818
  "/bitrise/src/src/Icon/tsx/IconsErrorGeneral.tsx": [
5792
5819
  "/bitrise/src/node_modules/@types/react/index.d.ts"
5793
5820
  ],
@@ -6790,7 +6817,6 @@
6790
6817
  "/bitrise/src/src/Icon/tsx/IconsDuplicate.tsx",
6791
6818
  "/bitrise/src/src/Icon/tsx/IconsEnterprise.tsx",
6792
6819
  "/bitrise/src/src/Icon/tsx/IconsErrorGeneral.tsx",
6793
- "/bitrise/src/src/Icon/tsx/IconsEye.tsx",
6794
6820
  "/bitrise/src/src/Icon/tsx/IconsFileDoc.tsx",
6795
6821
  "/bitrise/src/src/Icon/tsx/IconsFilePdf.tsx",
6796
6822
  "/bitrise/src/src/Icon/tsx/IconsFilePlist.tsx",
@@ -6807,6 +6833,7 @@
6807
6833
  "/bitrise/src/src/Icon/tsx/IconsGlobe.tsx",
6808
6834
  "/bitrise/src/src/Icon/tsx/IconsGroup.tsx",
6809
6835
  "/bitrise/src/src/Icon/tsx/IconsHeart.tsx",
6836
+ "/bitrise/src/src/Icon/tsx/IconsHidePassword.tsx",
6810
6837
  "/bitrise/src/src/Icon/tsx/IconsHistory.tsx",
6811
6838
  "/bitrise/src/src/Icon/tsx/IconsImage.tsx",
6812
6839
  "/bitrise/src/src/Icon/tsx/IconsInfo.tsx",
@@ -6863,6 +6890,7 @@
6863
6890
  "/bitrise/src/src/Icon/tsx/IconsSecurityShield.tsx",
6864
6891
  "/bitrise/src/src/Icon/tsx/IconsSettings.tsx",
6865
6892
  "/bitrise/src/src/Icon/tsx/IconsShip.tsx",
6893
+ "/bitrise/src/src/Icon/tsx/IconsShowPassword.tsx",
6866
6894
  "/bitrise/src/src/Icon/tsx/IconsShuffle.tsx",
6867
6895
  "/bitrise/src/src/Icon/tsx/IconsStability.tsx",
6868
6896
  "/bitrise/src/src/Icon/tsx/IconsStack.tsx",
@@ -6934,6 +6962,7 @@
6934
6962
  "/bitrise/src/src/Avatar/avatarColors.ts",
6935
6963
  "/bitrise/src/src/Avatar/Avatar.tsx",
6936
6964
  "/bitrise/src/src/Bounds/Bounds.tsx",
6965
+ "/bitrise/src/src/Button/ButtonSize.ts",
6937
6966
  "/bitrise/src/src/Button/Button.tsx",
6938
6967
  "/bitrise/src/src/Button/Buttons.tsx",
6939
6968
  "/bitrise/src/src/ButtonWithDropdown/ButtonWithDropdown.tsx",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit",
3
3
  "description": "Bitrise React component library",
4
- "version": "9.1.6",
4
+ "version": "9.2.2",
5
5
  "repository": "git@github.com:bitrise-io/bitkit.git",
6
6
  "main": "lib/cjs/index.js",
7
7
  "esnext": "lib/esn/index.js",
@@ -25,7 +25,7 @@
25
25
  "serve": "superstatic ./dist --port 4001 -c superstatic.json",
26
26
  "start": "rm -rf ./dist && concurrently \"yarn start:docs\" \"yarn start:site\" \"yarn start:icons\"",
27
27
  "start:docs": "ts-node ./scripts/build-docs-watch",
28
- "start:site": "parcel site/index.html --port 4001 -d dist --no-cache",
28
+ "start:site": "parcel serve site/index.html --port 4001 -d dist --no-cache",
29
29
  "start:icons": "chokidar src/Icon/svg/** -c \"yarn svgr {path} && yarn lint:fix-icons\"",
30
30
  "test": "jest ./src"
31
31
  },
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { hooks, Base, Buttons, ProgressBar, ProgressButton, ProgressColorButton, ProgressBitbot, ProgressSpinner, Flex, Text } from '@bitrise/bitkit';
2
+ import { hooks, Base, Buttons, ProgressBar, ProgressButton, ProgressColorButton, ProgressBitbot, ProgressSpinner, Flex, Text, Icon } from '@bitrise/bitkit';
3
3
  import Section from '../../Section/Section';
4
4
  import SectionSubTitle from '../../Section/SectionSubTitle';
5
5
 
@@ -14,6 +14,7 @@ const SectionProgress = () => {
14
14
  const [progressing2, setProgressing2] = useState(false);
15
15
  const [progressing3, setProgressing3] = useState(false);
16
16
  const [progressing4, setProgressing4] = useState(false);
17
+ const [progressing5, setProgressing5] = useState(false);
17
18
 
18
19
  React.useEffect(() => {
19
20
  refTimeout.current = window.setTimeout(() => {
@@ -96,6 +97,14 @@ const SectionProgress = () => {
96
97
  size="medium">
97
98
  Color button
98
99
  </ProgressColorButton>
100
+
101
+ <ProgressButton
102
+ level="primary"
103
+ onClick={ () => setProgressing5(!progressing5) }
104
+ progressing={ progressing5 }>
105
+ <Icon name="App" />
106
+ <span>Button with icon</span>
107
+ </ProgressButton>
99
108
  </Buttons>
100
109
  </Base>
101
110
 
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  import classnames from 'classnames';
3
3
  import Flex, { Props as FlexProps } from '../Flex/Flex';
4
4
  import './Button.css';
5
+ import ButtonSize from './ButtonSize';
5
6
 
6
7
  export interface Props extends FlexProps {
7
8
  /**
@@ -21,7 +22,7 @@ export interface Props extends FlexProps {
21
22
  * into smaller spaces, while large will help the button stand
22
23
  * out on a page with lots of space.
23
24
  */
24
- size?: 'small' | 'medium' | 'large';
25
+ size?: ButtonSize;
25
26
  /**
26
27
  * Variant is another prop that changes the styles to indicate it's usage.
27
28
  * For example "danger" is to let the user know this button performs a
@@ -0,0 +1,3 @@
1
+ type ButtonSize = 'small' | 'medium' | 'large';
2
+
3
+ export default ButtonSize;
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  import classnames from 'classnames';
3
3
  import Flex, { Props as FlexProps } from '../Flex/Flex';
4
4
  import './ColorButton.css';
5
+ import ButtonSize from './ButtonSize';
5
6
 
6
7
  export interface Props extends FlexProps {
7
8
  /** Color of the button */
@@ -11,7 +12,7 @@ export interface Props extends FlexProps {
11
12
  * into smaller spaces, while large will help the button stand
12
13
  * out on a page with lots of space.
13
14
  */
14
- size: 'small' | 'medium' | 'large';
15
+ size?: ButtonSize;
15
16
  }
16
17
 
17
18
  /**
@@ -0,0 +1,4 @@
1
+ <svg width="22" height="18" viewBox="0 0 22 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M18.2929 17.7071L2.29289 1.70712L3.70711 0.292908L6.08051 2.66631C7.00348 2.22999 8.01944 2.00018 9.0708 2.00018L12.9328 2.00118C14.8008 2.00118 16.5588 2.72818 17.8798 4.05118L21.4148 7.58618C22.1948 8.36518 22.1948 9.63518 21.4148 10.4142C20.1547 11.6742 18.9401 13.0089 17.6148 14.2006L19.7071 16.2929L18.2929 17.7071ZM16.1981 12.7839L13.7069 10.2927C13.8941 9.90123 13.999 9.46286 13.999 8.99998C13.999 7.34398 12.655 5.99998 10.999 5.99998C10.5361 5.99998 10.0978 6.10486 9.70632 6.29212L7.6252 4.211C8.08816 4.07205 8.57401 4.00018 9.0708 4.00018L12.9318 4.00118C14.2668 4.00118 15.5218 4.52018 16.4658 5.46518L20.0018 8.99918C18.7456 10.2554 17.5444 11.6239 16.1981 12.7839Z" fill="#351D48"/>
3
+ <path d="M2.96338 5.20761L0.584802 7.58618C-0.195198 8.36518 -0.195198 9.63518 0.584802 10.4142L4.1208 13.9502C5.4428 15.2722 7.2008 16.0002 9.0708 16.0002L12.9318 15.9992C13.1926 15.9992 13.4527 15.9842 13.7106 15.9548L11.7553 13.9995L9.0708 14.0002C7.7358 14.0002 6.4798 13.4802 5.5348 12.5362L1.9988 9.00018L4.37738 6.62161L2.96338 5.20761Z" fill="#351D48"/>
4
+ </svg>
@@ -0,0 +1,17 @@
1
+ // THIS IS AN AUTOGERENATED FILE. DO NOT EDIT IT. CHECK README ON HOW TO MANAGE ICONS INSTEAD.
2
+ import * as React from 'react';
3
+
4
+ const SvgIconsHidePassword = (props: React.SVGProps<SVGSVGElement>) => (
5
+ <svg { ...props } fill="none" viewBox="0 0 22 18">
6
+ <path
7
+ clipRule="evenodd"
8
+ d="m18.293 17.707-16-16L3.707.293l2.374 2.373A6.979 6.979 0 0 1 9.07 2l3.862.001c1.868 0 3.626.727 4.947 2.05l3.535 3.535c.78.78.78 2.05 0 2.828-1.26 1.26-2.475 2.595-3.8 3.787l2.092 2.092-1.414 1.414Zm-2.095-4.923-2.491-2.491a3.001 3.001 0 0 0-4-4L7.624 4.21c.463-.139.949-.21 1.446-.21h3.86c1.336 0 2.59.52 3.535 1.464L20.002 9c-1.256 1.256-2.458 2.625-3.804 3.785Z"
9
+ fill="currentColor"
10
+ fillRule="evenodd"/>
11
+ <path
12
+ d="M2.963 5.208.585 7.586a2.001 2.001 0 0 0 0 2.828L4.12 13.95A6.954 6.954 0 0 0 9.07 16h3.86c.262 0 .522-.016.78-.045l-1.956-1.956L9.071 14a4.971 4.971 0 0 1-3.536-1.464L1.999 9l2.378-2.378-1.414-1.414Z"
13
+ fill="currentColor"/>
14
+ </svg>
15
+ );
16
+
17
+ export default SvgIconsHidePassword;
@@ -1,15 +1,18 @@
1
1
  // THIS IS AN AUTOGERENATED FILE. DO NOT EDIT IT. CHECK README ON HOW TO MANAGE ICONS INSTEAD.
2
2
  import * as React from 'react';
3
3
 
4
- const SvgIconsEye = (props: React.SVGProps<SVGSVGElement>) => (
4
+ const SvgIconsShowPassword = (props: React.SVGProps<SVGSVGElement>) => (
5
5
  <svg { ...props } viewBox="0 0 24 24">
6
6
  <defs>
7
7
  <path
8
8
  d="M11.999 9a3.001 3.001 0 0 1 0 6 3 3 0 1 1 0-6zm5.467 6.535L21.002 12l-3.536-3.534a4.961 4.961 0 0 0-3.534-1.464H10.07a4.967 4.967 0 0 0-3.536 1.463L2.999 12l3.536 3.536A4.971 4.971 0 0 0 10.07 17h3.86a5.029 5.029 0 0 0 3.535-1.465zm4.949-4.949c.78.78.78 2.05 0 2.828L18.88 16.95A7.042 7.042 0 0 1 13.932 19H10.07a6.954 6.954 0 0 1-4.95-2.05l-3.535-3.536a2.001 2.001 0 0 1 0-2.828L5.12 7.05A6.95 6.95 0 0 1 10.07 5l3.862.001c1.868 0 3.626.727 4.947 2.05l3.535 3.535z"
9
- id="icons-eye_svg__a"/>
9
+ id="icons-show-password_svg__a"/>
10
10
  </defs>
11
- <use fill="currentColor" fillRule="evenodd" xlinkHref="#icons-eye_svg__a" />
11
+ <use
12
+ fill="currentColor"
13
+ fillRule="evenodd"
14
+ xlinkHref="#icons-show-password_svg__a"/>
12
15
  </svg>
13
16
  );
14
17
 
15
- export default SvgIconsEye;
18
+ export default SvgIconsShowPassword;
@@ -61,7 +61,6 @@ import Dudes from './IconsDudes';
61
61
  import Duplicate from './IconsDuplicate';
62
62
  import Enterprise from './IconsEnterprise';
63
63
  import ErrorGeneral from './IconsErrorGeneral';
64
- import Eye from './IconsEye';
65
64
  import FileDoc from './IconsFileDoc';
66
65
  import FilePdf from './IconsFilePdf';
67
66
  import FilePlist from './IconsFilePlist';
@@ -78,6 +77,7 @@ import Gitlab from './IconsGitlab';
78
77
  import Globe from './IconsGlobe';
79
78
  import Group from './IconsGroup';
80
79
  import Heart from './IconsHeart';
80
+ import HidePassword from './IconsHidePassword';
81
81
  import History from './IconsHistory';
82
82
  import Image from './IconsImage';
83
83
  import Info from './IconsInfo';
@@ -134,6 +134,7 @@ import Save from './IconsSave';
134
134
  import SecurityShield from './IconsSecurityShield';
135
135
  import Settings from './IconsSettings';
136
136
  import Ship from './IconsShip';
137
+ import ShowPassword from './IconsShowPassword';
137
138
  import Shuffle from './IconsShuffle';
138
139
  import Stability from './IconsStability';
139
140
  import Stack from './IconsStack';
@@ -233,7 +234,6 @@ export type TypeIconName =
233
234
  | 'Duplicate'
234
235
  | 'Enterprise'
235
236
  | 'ErrorGeneral'
236
- | 'Eye'
237
237
  | 'FileDoc'
238
238
  | 'FilePdf'
239
239
  | 'FilePlist'
@@ -250,6 +250,7 @@ export type TypeIconName =
250
250
  | 'Globe'
251
251
  | 'Group'
252
252
  | 'Heart'
253
+ | 'HidePassword'
253
254
  | 'History'
254
255
  | 'Image'
255
256
  | 'Info'
@@ -306,6 +307,7 @@ export type TypeIconName =
306
307
  | 'SecurityShield'
307
308
  | 'Settings'
308
309
  | 'Ship'
310
+ | 'ShowPassword'
309
311
  | 'Shuffle'
310
312
  | 'Stability'
311
313
  | 'Stack'
@@ -405,7 +407,6 @@ export const IconList: TypeIconName[] = [
405
407
  'Duplicate',
406
408
  'Enterprise',
407
409
  'ErrorGeneral',
408
- 'Eye',
409
410
  'FileDoc',
410
411
  'FilePdf',
411
412
  'FilePlist',
@@ -422,6 +423,7 @@ export const IconList: TypeIconName[] = [
422
423
  'Globe',
423
424
  'Group',
424
425
  'Heart',
426
+ 'HidePassword',
425
427
  'History',
426
428
  'Image',
427
429
  'Info',
@@ -478,6 +480,7 @@ export const IconList: TypeIconName[] = [
478
480
  'SecurityShield',
479
481
  'Settings',
480
482
  'Ship',
483
+ 'ShowPassword',
481
484
  'Shuffle',
482
485
  'Stability',
483
486
  'Stack',
@@ -580,7 +583,6 @@ export const IconMap: {
580
583
  Duplicate,
581
584
  Enterprise,
582
585
  ErrorGeneral,
583
- Eye,
584
586
  FileDoc,
585
587
  FilePdf,
586
588
  FilePlist,
@@ -597,6 +599,7 @@ export const IconMap: {
597
599
  Globe,
598
600
  Group,
599
601
  Heart,
602
+ HidePassword,
600
603
  History,
601
604
  Image,
602
605
  Info,
@@ -653,6 +656,7 @@ export const IconMap: {
653
656
  SecurityShield,
654
657
  Settings,
655
658
  Ship,
659
+ ShowPassword,
656
660
  Shuffle,
657
661
  Stability,
658
662
  Stack,
@@ -10,11 +10,11 @@ export interface Props extends ButtonProps, ProgressButtonContentProps { }
10
10
  * something is happening.
11
11
  */
12
12
  const ProgressButton: React.FunctionComponent<Props> = (props: Props) => {
13
- const { children, progressing, ...rest } = props;
13
+ const { children, progressing, size, ...rest } = props;
14
14
 
15
15
  return (
16
- <Button { ...rest }>
17
- <ProgressButtonContent progressing={ progressing }>
16
+ <Button size={ size } { ...rest }>
17
+ <ProgressButtonContent progressing={ progressing } size={ size }>
18
18
  { children }
19
19
  </ProgressButtonContent>
20
20
  </Button>
@@ -2,10 +2,12 @@ import * as React from 'react';
2
2
  import Base from '../Base/Base';
3
3
  import ProgressSpinner from './ProgressSpinner';
4
4
  import Visibility from '../Visibility/Visibility';
5
+ import ButtonSize from '../Button/ButtonSize';
5
6
 
6
7
  export interface Props {
7
8
  progressing: boolean;
8
9
  children: React.ReactNode;
10
+ size?: ButtonSize;
9
11
  }
10
12
 
11
13
  /**
@@ -14,11 +16,16 @@ export interface Props {
14
16
  * something is happening.
15
17
  */
16
18
  const ProgressButtonContent: React.FunctionComponent<Props> = (props: Props) => {
17
- const { children, progressing } = props;
19
+ const { children, progressing, size } = props;
20
+ const gap = size === 'small' ? 'x1' : 'x2';
18
21
 
19
22
  return (
20
23
  <Base container>
21
- <Visibility visible={ !progressing }>
24
+ <Visibility
25
+ alignChildren="middle"
26
+ direction="horizontal"
27
+ gap={ gap }
28
+ visible={ !progressing }>
22
29
  { children }
23
30
  </Visibility>
24
31
 
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- declare const SvgIconsEye: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
3
- export default SvgIconsEye;
4
- //# sourceMappingURL=IconsEye.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IconsEye.d.ts","sourceRoot":"","sources":["../../../../src/Icon/tsx/IconsEye.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,QAAA,MAAM,WAAW,uDAShB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"IconsEye.js","sourceRoot":"","sources":["../../../../src/Icon/tsx/IconsEye.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,8FAA8F;AAC9F,2CAA+B;AAE/B,IAAM,WAAW,GAAG,UAAC,KAAoC,IAAK,OAAA,CAC5D,wCAAU,KAAK,IAAG,OAAO,EAAC,WAAW;IACnC;QACE,8BACI,CAAC,EAAC,mdAAmd,EACrd,EAAE,EAAC,kBAAkB,GAAE,CACtB;IACP,6BAAK,IAAI,EAAC,cAAc,EAAC,QAAQ,EAAC,SAAS,EAAC,SAAS,EAAC,mBAAmB,GAAG,CACxE,CACP,EAT6D,CAS7D,CAAC;AAEF,kBAAe,WAAW,CAAC"}
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- declare const SvgIconsEye: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
3
- export default SvgIconsEye;
4
- //# sourceMappingURL=IconsEye.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IconsEye.d.ts","sourceRoot":"","sources":["../../../../src/Icon/tsx/IconsEye.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,QAAA,MAAM,WAAW,uDAShB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"IconsEye.js","sourceRoot":"","sources":["../../../../src/Icon/tsx/IconsEye.tsx"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,GAAG,CAAC,KAAoC,EAAE,EAAE,CAAC,CAC5D,6CAAU,KAAK,IAAG,OAAO,EAAC,WAAW;IACnC;QACE,8BACI,CAAC,EAAC,mdAAmd,EACrd,EAAE,EAAC,kBAAkB,GAAE,CACtB;IACP,6BAAK,IAAI,EAAC,cAAc,EAAC,QAAQ,EAAC,SAAS,EAAC,SAAS,EAAC,mBAAmB,GAAG,CACxE,CACP,CAAC;AAEF,eAAe,WAAW,CAAC"}