cozy-sharing 6.0.2 → 6.0.4

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 (34) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/SharingBanner/hooks/useSharingInfos.js +35 -37
  3. package/dist/SharingBanner/hooks/useSharingInfos.spec.js +40 -44
  4. package/dist/SharingProvider.js +351 -375
  5. package/dist/SharingProvider.spec.js +29 -33
  6. package/dist/components/CozyPassFingerprintDialogContent.spec.js +14 -16
  7. package/dist/components/Recipient/LinkRecipientPermissions.js +25 -27
  8. package/dist/components/Recipient/Recipient.spec.js +39 -43
  9. package/dist/components/Recipient/RecipientPermissions.js +20 -22
  10. package/dist/components/ShareButton.js +0 -2
  11. package/dist/components/ShareByEmail.js +53 -55
  12. package/dist/components/ShareByEmail.spec.js +50 -52
  13. package/dist/components/ShareByLink.js +73 -79
  14. package/dist/components/ShareDialogCozyToCozy.spec.js +238 -264
  15. package/dist/components/ShareDialogTwoStepsConfirmationContainer.js +33 -35
  16. package/dist/components/ShareDialogTwoStepsConfirmationContainer.spec.js +240 -266
  17. package/dist/components/SharedBadge.js +0 -2
  18. package/dist/components/badge.styl +7 -5
  19. package/dist/components/button.styl +11 -12
  20. package/dist/components/useFetchDocumentPath.js +16 -18
  21. package/dist/fetchNextPermissions.js +15 -17
  22. package/dist/getSharedDocument.js +13 -15
  23. package/dist/getSharedDocument.spec.js +10 -12
  24. package/dist/helpers/contacts.js +65 -69
  25. package/dist/helpers/contacts.spec.js +30 -32
  26. package/dist/helpers/files.js +26 -28
  27. package/dist/helpers/files.spec.js +54 -58
  28. package/dist/helpers/sharings.js +56 -60
  29. package/dist/helpers/synchronousJobQueue.js +19 -21
  30. package/dist/helpers/synchronousJobQueue.spec.js +39 -43
  31. package/dist/stylesheet.css +28 -820
  32. package/package.json +3 -3
  33. package/src/components/badge.styl +7 -5
  34. package/src/components/button.styl +11 -12
@@ -2841,826 +2841,32 @@ html {
2841
2841
  .autosuggest__recipientChip___oRxU- {
2842
2842
  margin: 0.25rem 0.5rem 0.25rem 0;
2843
2843
  }
2844
- /*
2845
- imported from button.styl
2846
- */
2847
-
2848
- :root {
2849
- --invertedBackgroundColor: #297ef2;
2850
- --invertedContrastTextColor: #fff;
2851
- }
2852
- .button__CozyTheme--inverted___3s3RR {
2853
- --primaryTextColor: #fff;
2854
- --secondaryTextColor: rgba(255,255,255,0.64);
2855
- --disabledTextColor: rgba(255,255,255,0.4);
2856
- --hintTextColor: rgba(255,255,255,0.4);
2857
- --iconTextColor: #fff;
2858
- --actionColorActive: #fff;
2859
- --actionColorHover: rgba(255,255,255,0.08);
2860
- --actionColorSelected: rgba(255,255,255,0.16);
2861
- --actionColorDisabled: rgba(255,255,255,0.32);
2862
- --actionColorDisabledBackground: rgba(255,255,255,0.12);
2863
- --actionColorFocus: rgba(255,255,255,0.24);
2864
- --actionColorGhost: rgba(255,255,255,0.08);
2865
- --actionColorHoverGhost: rgba(255,255,255,0.16);
2866
- --dividerColor: rgba(255,255,255,0.16);
2867
- --borderMainColor: rgba(255,255,255,0.24);
2868
- --borderDisabledColor: rgba(255,255,255,0.12);
2869
- --borderGhostColor: rgba(255,255,255,0.48);
2870
- --borderGhostDisabledColor: rgba(255,255,255,0.24);
2871
- --paperBackgroundColor: #297ef2;
2872
- --defaultBackgroundColor: #579eff;
2873
- --contrastBackgroundColor: rgba(255,255,255,0.12);
2874
- --primaryColorLight: #fff;
2875
- --primaryColor: #fff;
2876
- --primaryColorDark: #eaf3ff;
2877
- --primaryContrastTextColor: #297ef2;
2878
- --secondaryColorLight: #f8eefd;
2879
- --secondaryColor: #ecd7f7;
2880
- --secondaryColorDark: #deb8f0;
2881
- --secondaryContrastTextColor: rgba(29,33,42,0.9);
2882
- --errorColorLight: #ffecec;
2883
- --errorColor: #ffd3d3;
2884
- --errorColorDark: #ffb9b9;
2885
- --errorColorContrastText: rgba(29,33,42,0.9);
2886
- --errorBackground: #d31f1f;
2887
- --warningColorLight: #fff3dd;
2888
- --warningColor: #ffe4b5;
2889
- --warningColorDark: #ffd58b;
2890
- --warningColorContrastText: rgba(29,33,42,0.9);
2891
- --successColorLight: #e3ffe7;
2892
- --successColor: #c0f4c6;
2893
- --successColorDark: #97eca1;
2894
- --successColorContrastText: rgba(29,33,42,0.9);
2895
- --infoColorLight: #d4feff;
2896
- --infoColor: #affdff;
2897
- --infoColorDark: #86f5f7;
2898
- --infoColorContrastText: rgba(29,33,42,0.9);
2899
- /*
2900
- The CSS variables below are historic and we should strive not to
2901
- use them. Prefer to use directly semantic colors above.
2902
- */
2903
- --iconColor: currentColor;
2904
- --textIconColor: #fff;
2905
- --actionMenuIconColor: #fff;
2906
- --barIconColor: #fff;
2907
- --barIconColorDisabled: rgba(255,255,255,0.88);
2908
- --spinnerColor: #fff;
2909
- --linkColor: #fff;
2910
- --linkColorActive: #fff;
2911
- --linkTextDecoration: underline;
2912
- --regularButtonPrimaryColor: #fff;
2913
- --regularButtonSecondaryColor: #fff;
2914
- --regularButtonActiveColor: rgba(255,255,255,0.88);
2915
- --regularButtonConstrastColor: #297ef2;
2916
- --secondaryButtonPrimaryColor: #297ef2;
2917
- --secondaryButtonSecondaryColor: #fff;
2918
- --secondaryButtonActiveColor: rgba(255,255,255,0.24);
2919
- --secondaryButtonContrastColor: #fff;
2920
- --dividerColor2: rgba(255,255,255,0.16);
2921
- }
2922
- html {
2923
- /*
2924
- Grey
2925
-
2926
- Stylus: grey0 - #FFFFFF, CSS: var(--grey0)
2927
- Stylus: grey50 - #f9fafb, CSS: var(--grey50)
2928
- Stylus: grey100 - #f4f5f6, CSS: var(--grey100)
2929
- Stylus: grey200 - #eceff1, CSS: var(--grey200)
2930
- Stylus: grey300 - #dde0e3, CSS: var(--grey300)
2931
- Stylus: grey400 - #bfc3c7, CSS: var(--grey400)
2932
- Stylus: grey500 - #9da2a6, CSS: var(--grey500)
2933
- Stylus: grey600 - #7c8086, CSS: var(--grey600)
2934
- Stylus: grey700 - #5d6169, CSS: var(--grey700)
2935
- Stylus: grey800 - #3e424a, CSS: var(--grey800)
2936
- Stylus: grey900 - #1d212a, CSS: var(--grey900)
2937
- Stylus: greyA100 - #d3d6d8, CSS: var(--greyA100)
2938
- Stylus: greyA200 - #a7abaf, CSS: var(--greyA200)
2939
- Stylus: greyA400 - #2c3039, CSS: var(--greyA400)
2940
- Stylus: greyA700 - #5d6169, CSS: var(--greyA700)
2941
- Stylus: white - #FFFFFF, CSS: var(--white)
2942
- Stylus: paleGrey - #F5F6F7, CSS: var(--paleGrey)
2943
- Stylus: silver - #D6D8Da, CSS: var(--silver)
2944
- Stylus: coolGrey - #95999D, CSS: var(--coolGrey)
2945
- Stylus: slateGrey - #5D6165, CSS: var(--slateGrey)
2946
- Stylus: charcoalGrey - #32363F, CSS: var(--charcoalGrey)
2947
- Stylus: black - #000000, CSS: var(--black)
2948
-
2949
- Styleguide Settings.colors.grey
2950
- */
2951
- --grey0: #fff;
2952
- --grey50: #f9fafb;
2953
- --grey100: #f4f5f6;
2954
- --grey200: #eceff1;
2955
- --grey300: #dde0e3;
2956
- --grey400: #bfc3c7;
2957
- --grey500: #9da2a6;
2958
- --grey600: #7c8086;
2959
- --grey700: #5d6169;
2960
- --grey800: #3e424a;
2961
- --grey900: #1d212a;
2962
- --greyA100: #d3d6d8;
2963
- --greyA200: #a7abaf;
2964
- --greyA400: #2c3039;
2965
- --greyA700: #5d6169;
2966
- --white: #fff;
2967
- --paleGrey: #f5f6f7;
2968
- --silver: #d6d8da;
2969
- --coolGrey: #95999d;
2970
- --slateGrey: #5d6165;
2971
- --charcoalGrey: #32363f;
2972
- --black: #000;
2973
- --overlay: rgba(50,54,63,0.5);
2974
- /*
2975
- Blue
2976
-
2977
- Stylus: zircon - #F5FAFF, CSS: var(--zircon)
2978
- Stylus: dodgerBlue - #297EF2, CSS: var(--dodgerBlue)
2979
- Stylus: scienceBlue - #0B61D6, CSS: var(--scienceBlue)
2980
-
2981
- Styleguide Settings.colors.blue
2982
- */
2983
- --zircon: #f5faff;
2984
- --dodgerBlue: #297ef2;
2985
- --scienceBlue: #0b61d6;
2986
- /*
2987
- Green
2988
-
2989
- Stylus: weirdGreen - #40DE8E, CSS: var(--weirdGreen)
2990
- Stylus: emerald - #35CE68, CSS: var(--emerald)
2991
- Stylus: malachite - #08b442, CSS: var(--malachite)
2992
-
2993
- Styleguide Settings.colors.green
2994
- */
2995
- --weirdGreen: #40de8e;
2996
- --emerald: #35ce68;
2997
- --malachite: #08b442;
2998
- /*
2999
- Orange
3000
-
3001
- Stylus: mango - #FF962F, CSS: var(--mango)
3002
-
3003
- Styleguide Settings.colors.orange
3004
- */
3005
- --mango: #ff962f;
3006
- /*
3007
- Red
3008
-
3009
- Stylus: chablis - #FFF2F2, CSS: var(--chablis)
3010
- Stylus: yourPink - #FDCBCB, CSS: var(--yourPink)
3011
- Stylus: fuchsia - #FC4C83, CSS: var(--fuchsia)
3012
- Stylus: pomegranate - #F52D2D, CSS: var(--pomegranate)
3013
- Stylus: monza - #DD0505, CSS: var(--monza)
3014
-
3015
- Styleguide Settings.colors.red
3016
- */
3017
- --chablis: #fff2f2;
3018
- --yourPink: #fdcbcb;
3019
- --fuchsia: #fc4c83;
3020
- --pomegranate: #f52d2d;
3021
- --monza: #dd0505;
3022
- }
3023
- html,
3024
- .button__CozyTheme--normal___OteWq {
3025
- /*
3026
- Primary colors
3027
-
3028
- Stylus: primaryColorLightest - #B3D3FF, CSS: var(--primaryColorLightest)
3029
- Stylus: primaryColorLight - #5C9DF5, CSS: var(--primaryColorLight)
3030
- Stylus: primaryColor - #297EF2, CSS: var(--primaryColor)
3031
- Stylus: primaryColorDark - #0B61D6, CSS: var(--primaryColorDark)
3032
- Stylus: primaryContrastTextColor - #FFF, CSS: var(--primaryContrastTextColor)
3033
-
3034
- Styleguide Settings.theme.primary
3035
- */
3036
- --primaryColorLightest: #b3d3ff;
3037
- --primaryColorLight: #579eff;
3038
- --primaryColor: #297ef2;
3039
- --primaryColorDark: #0f5cc7;
3040
- --primaryContrastTextColor: #fff;
3041
- /*
3042
- Secondary colors
3043
-
3044
- Stylus: secondaryColorLightest - #FFD3D3, CSS: var(--secondaryColorLightest)
3045
- Stylus: secondaryColorLight - #F96B6B, CSS: var(--secondaryColorLight)
3046
- Stylus: secondaryColor - #EA3F3F, CSS: var(--secondaryColor)
3047
- Stylus: secondaryColorDark - #D31F1F, CSS: var(--secondaryColorDark)
3048
- Stylus: secondaryContrastTextColor - #FFF, CSS: var(--secondaryContrastTextColor)
3049
-
3050
- Styleguide Settings.theme.secondary
3051
- */
3052
- --secondaryColorLightest: #ffd3d3;
3053
- --secondaryColorLight: #f96b6b;
3054
- --secondaryColor: #ea3f3f;
3055
- --secondaryColorDark: #d31f1f;
3056
- --secondaryContrastTextColor: #fff;
3057
- /*
3058
- Background colors
3059
-
3060
- Stylus: primaryBackgroundLight - #F7FAFF, CSS: var(--primaryBackgroundLight)
3061
- Stylus: paperBackgroundColor - #FFF, CSS: var(--paperBackgroundColor)
3062
- Stylus: defaultBackgroundColor - #F4F5F6, CSS: var(--defaultBackgroundColor)
3063
- Stylus: contrastBackgroundColor - #F5F5F6, CSS: var(--contrastBackgroundColor)
3064
-
3065
- Styleguide Settings.theme.background
3066
- */
3067
- --primaryBackgroundLight: #f7faff;
3068
- --paperBackgroundColor: #fff;
3069
- --defaultBackgroundColor: #f4f5f6;
3070
- --contrastBackgroundColor: rgba(29,33,42,0.048);
3071
- /*
3072
- Text colors
3073
-
3074
- These colors use the alpha layer. Be careful to use the semantic variable.
3075
- Hexadecimal colors are here only as an example on a white background.
3076
-
3077
- Stylus: primaryTextColor - #383B43, CSS: var(--primaryTextColor)
3078
- Stylus: secondaryTextColor - #9D9EA1, CSS: var(--secondaryTextColor)
3079
- Stylus: disabledTextColor - #BEBFC1, CSS: var(--disabledTextColor)
3080
- Stylus: hintTextColor - #BEBFC1, CSS: var(--hintTextColor)
3081
- Stylus: iconTextColor - #66686D, CSS: var(--iconTextColor)
3082
-
3083
- Styleguide Settings.theme.text
3084
- */
3085
- --primaryTextColor: rgba(29,33,42,0.9);
3086
- --secondaryTextColor: rgba(29,33,42,0.48);
3087
- --disabledTextColor: rgba(29,33,42,0.32);
3088
- --hintTextColor: rgba(29,33,42,0.32);
3089
- --iconTextColor: rgba(29,33,42,0.72);
3090
- /*
3091
- Action colors
3092
-
3093
- These colors use the alpha layer. Be careful to use the semantic variable.
3094
- Hexadecimal colors are here only as an example on a white background.
3095
-
3096
- Stylus: actionColorActive - #8A8C90, CSS: var(--actionColorActive)
3097
- Stylus: actionColorHover - #F7F7F7, CSS: var(--actionColorHover)
3098
- Stylus: actionColorSelected - #EFEFF0, CSS: var(--actionColorSelected)
3099
- Stylus: actionColorDisabled - #CFCFD1, CSS: var(--actionColorDisabled)
3100
- Stylus: actionColorDisabledBackground - #E7E7E8, CSS: var(--actionColorDisabledBackground)
3101
- Stylus: actionColorFocus - #E7E7E8, CSS: var(--actionColorFocus)
3102
- Stylus: actionColorGhost - #EFEFF0, CSS: var(--actionColorGhost)
3103
- Stylus: actionColorHoverGhost - #DFE0E0, CSS: var(--actionColorHoverGhost)
3104
-
3105
- Styleguide Settings.theme.action
3106
- */
3107
- --actionColorActive: rgba(29,33,42,0.56);
3108
- --actionColorHover: rgba(29,33,42,0.04);
3109
- --actionColorSelected: rgba(29,33,42,0.08);
3110
- --actionColorDisabled: rgba(29,33,42,0.24);
3111
- --actionColorDisabledBackground: rgba(29,33,42,0.12);
3112
- --actionColorFocus: rgba(29,33,42,0.12);
3113
- --actionColorGhost: rgba(29,33,42,0.08);
3114
- --actionColorHoverGhost: rgba(29,33,42,0.16);
3115
- /*
3116
- Border colors
3117
-
3118
- These colors use the alpha layer. Be careful to use the semantic variable.
3119
- Hexadecimal colors are here only as an example on a white background.
3120
-
3121
- Stylus: borderMainColor - #DFE0E0, CSS: var(--borderMainColor)
3122
- Stylus: borderDisabledColor - #EFEFF0, CSS: var(--borderDisabledColor)
3123
- Stylus: borderGhostColor - #9D9EA1, CSS: var(--borderGhostColor)
3124
- Stylus: borderGhostDisabledColor - #DFE0E0, CSS: var(--borderGhostDisabledColor)
3125
-
3126
- Styleguide Settings.theme.border
3127
- */
3128
- --borderMainColor: rgba(29,33,42,0.16);
3129
- --borderDisabledColor: rgba(29,33,42,0.08);
3130
- --borderGhostColor: rgba(29,33,42,0.48);
3131
- --borderGhostDisabledColor: rgba(29,33,42,0.16);
3132
- /*
3133
- Divider colors
3134
-
3135
- These colors use the alpha layer. Be careful to use the semantic variable.
3136
- Hexadecimal colors are here only as an example on a white background.
3137
-
3138
- Stylus: dividerColor - #E3E4E5, CSS: var(--dividerColor)
3139
-
3140
- Styleguide Settings.theme.divider
3141
- */
3142
- --dividerColor: rgba(29,33,42,0.12);
3143
- /*
3144
- Success colors
3145
-
3146
- Stylus: successColorLight - #38C949, CSS: var(--successColorLight)
3147
- Stylus: successColor - #09AE1C, CSS: var(--successColor)
3148
- Stylus: successColorDark - #018711, CSS: var(--successColorDark)
3149
- Stylus: successColorContrastText - #FFF, CSS: var(--successColorContrastText)
3150
-
3151
- Styleguide Settings.theme.success
3152
- */
3153
- --successColorLight: #38c949;
3154
- --successColor: #09ae1c;
3155
- --successColorDark: #018711;
3156
- --successColorContrastText: #fff;
3157
- /*
3158
- Warning colors
3159
-
3160
- Stylus: warningColorLight - #EFA82F, CSS: var(--warningColorLight)
3161
- Stylus: warningColor - #CB8100, CSS: var(--warningColor)
3162
- Stylus: warningColorDark - #986100, CSS: var(--warningColorDark)
3163
- Stylus: warningColorContrastText - #FFF, CSS: var(--warningColorContrastText)
3164
-
3165
- Styleguide Settings.theme.warning
3166
- */
3167
- --warningColorLight: #efa82d;
3168
- --warningColor: #cb8100;
3169
- --warningColorDark: #986100;
3170
- --warningColorContrastText: #fff;
3171
- /*
3172
- Error colors
3173
-
3174
- Stylus: errorColorLightest - #FFECEC, CSS: var(--errorColorLightest)
3175
- Stylus: errorColorLight - #F96B6B, CSS: var(--errorColorLight)
3176
- Stylus: errorColor - #EA3F3F, CSS: var(--errorColor)
3177
- Stylus: errorColorDark - #D31F1F, CSS: var(--errorColorDark)
3178
- Stylus: errorBackground - #FFECEC, CSS: var(--errorBackground)
3179
- Stylus: errorColorContrastText - #FFF, CSS: var(--errorColorContrastText)
3180
-
3181
- Styleguide Settings.theme.error
3182
- */
3183
- --errorColorLightest: #ffecec;
3184
- --errorColorLight: #f96b6b;
3185
- --errorColor: #ea3f3f;
3186
- --errorColorDark: #d31f1f;
3187
- --errorBackground: #ffecec;
3188
- --errorColorContrastText: #fff;
3189
- /*
3190
- Info colors
3191
-
3192
- Stylus: infoColorLight - #0EC4C7, CSS: var(--infoColorLight)
3193
- Stylus: infoColor - #009FA2, CSS: var(--infoColor)
3194
- Stylus: infoColorDark - #007578, CSS: var(--infoColorDark)
3195
- Stylus: infoColorContrastText - #FFF, CSS: var(--infoColorContrastText)
3196
-
3197
- Styleguide Settings.theme.info
3198
- */
3199
- --infoColorLight: #0ec4c7;
3200
- --infoColor: #009fa2;
3201
- --infoColorDark: #007578;
3202
- --infoColorContrastText: #fff;
3203
- /*
3204
- ---------------------------------------------------------------------
3205
- */
3206
- /*
3207
- The CSS variables below are historic and we should strive not to
3208
- use them. Prefer to use directly semantic colors above.
3209
- */
3210
- --spinnerColor: var(--primaryColor);
3211
- --linkColor: var(--primaryColor);
3212
- --linkTextDecoration: none;
3213
- --linkColorActive: var(--primaryColorDark);
3214
- --invertedTabsActiveTextColor: var(--primaryContrastTextColor);
3215
- --invertedTabsInactiveTextColor: var(--primaryContrastTextColor);
3216
- --invertedTabsIndicatorColor: var(--primaryContrastTextColor);
3217
- --invertedTabsBackgroundColor: var(--primaryColor);
3218
- --regularButtonPrimaryColor: var(--primaryColor);
3219
- --regularButtonSecondaryColor: var(--primaryColor);
3220
- --regularButtonActiveColor: var(--primaryColorDark);
3221
- --regularButtonConstrastColor: var(--primaryContrastTextColor);
3222
- --secondaryButtonPrimaryColor: #fff;
3223
- --secondaryButtonSecondaryColor: var(--silver);
3224
- --secondaryButtonActiveColor: var(--silver);
3225
- --secondaryButtonContrastColor: var(--black);
3226
- --dividerColor2: var(--coolGrey);
3227
- --iconColor: currentColor;
3228
- --textIconColor: var(--charcoalGrey);
3229
- --actionMenuIconColor: var(--slateGrey);
3230
- --neutralBackground: var(--paleGrey);
3231
- --buttonTextTransform: uppercase;
3232
- --buttonBorderRadius: 0.125rem;
3233
- --navTextColor: var(--slateGrey);
3234
- --navTextActiveColor: var(--slateGrey);
3235
- --navTextHoverColor: var(--charcoalGrey);
3236
- --alertErrorColor: #fff;
3237
- --alertErrorBackgroundColor: var(--errorColor);
3238
- --alertSuccessColor: #fff;
3239
- --alertSuccessBackgroundColor: var(--successColor);
3240
- --alertInfoColor: #fff;
3241
- --alertInfoBackgroundColor: var(--slateGrey);
3242
- }
3243
- .button__coz-btn-shared___2BoMk {
3244
- border-color: var(--emerald);
3245
- background-color: var(--emerald);
3246
- color: var(--white);
3247
- transition: all 0.2s ease-out;
3248
- }
3249
- .button__coz-btn-shared___2BoMk:focus,
3250
- .button__coz-btn-shared___2BoMk:not([disabled]):not([aria-disabled=true]):hover {
3251
- border-color: var(--malachite);
3252
- background-color: var(--malachite);
3253
- }
3254
- .button__coz-btn-sharedWithMe___2Vjfh {
3255
- border-color: var(--lightishPurple);
3256
- background-color: var(--lightishPurple);
3257
- color: var(--white);
3258
- transition: all 0.2s ease-out;
3259
- }
3260
- .button__coz-btn-sharedWithMe___2Vjfh:focus,
3261
- .button__coz-btn-sharedWithMe___2Vjfh:not([disabled]):not([aria-disabled=true]):hover {
3262
- border-color: var(--barney);
3263
- background-color: var(--barney);
3264
- }
3265
- /*
3266
- imported from badge.styl
3267
- */
3268
-
3269
- :root {
3270
- --invertedBackgroundColor: #297ef2;
3271
- --invertedContrastTextColor: #fff;
3272
- }
3273
- .badge__CozyTheme--inverted___1vv9l {
3274
- --primaryTextColor: #fff;
3275
- --secondaryTextColor: rgba(255,255,255,0.64);
3276
- --disabledTextColor: rgba(255,255,255,0.4);
3277
- --hintTextColor: rgba(255,255,255,0.4);
3278
- --iconTextColor: #fff;
3279
- --actionColorActive: #fff;
3280
- --actionColorHover: rgba(255,255,255,0.08);
3281
- --actionColorSelected: rgba(255,255,255,0.16);
3282
- --actionColorDisabled: rgba(255,255,255,0.32);
3283
- --actionColorDisabledBackground: rgba(255,255,255,0.12);
3284
- --actionColorFocus: rgba(255,255,255,0.24);
3285
- --actionColorGhost: rgba(255,255,255,0.08);
3286
- --actionColorHoverGhost: rgba(255,255,255,0.16);
3287
- --dividerColor: rgba(255,255,255,0.16);
3288
- --borderMainColor: rgba(255,255,255,0.24);
3289
- --borderDisabledColor: rgba(255,255,255,0.12);
3290
- --borderGhostColor: rgba(255,255,255,0.48);
3291
- --borderGhostDisabledColor: rgba(255,255,255,0.24);
3292
- --paperBackgroundColor: #297ef2;
3293
- --defaultBackgroundColor: #579eff;
3294
- --contrastBackgroundColor: rgba(255,255,255,0.12);
3295
- --primaryColorLight: #fff;
3296
- --primaryColor: #fff;
3297
- --primaryColorDark: #eaf3ff;
3298
- --primaryContrastTextColor: #297ef2;
3299
- --secondaryColorLight: #f8eefd;
3300
- --secondaryColor: #ecd7f7;
3301
- --secondaryColorDark: #deb8f0;
3302
- --secondaryContrastTextColor: rgba(29,33,42,0.9);
3303
- --errorColorLight: #ffecec;
3304
- --errorColor: #ffd3d3;
3305
- --errorColorDark: #ffb9b9;
3306
- --errorColorContrastText: rgba(29,33,42,0.9);
3307
- --errorBackground: #d31f1f;
3308
- --warningColorLight: #fff3dd;
3309
- --warningColor: #ffe4b5;
3310
- --warningColorDark: #ffd58b;
3311
- --warningColorContrastText: rgba(29,33,42,0.9);
3312
- --successColorLight: #e3ffe7;
3313
- --successColor: #c0f4c6;
3314
- --successColorDark: #97eca1;
3315
- --successColorContrastText: rgba(29,33,42,0.9);
3316
- --infoColorLight: #d4feff;
3317
- --infoColor: #affdff;
3318
- --infoColorDark: #86f5f7;
3319
- --infoColorContrastText: rgba(29,33,42,0.9);
3320
- /*
3321
- The CSS variables below are historic and we should strive not to
3322
- use them. Prefer to use directly semantic colors above.
3323
- */
3324
- --iconColor: currentColor;
3325
- --textIconColor: #fff;
3326
- --actionMenuIconColor: #fff;
3327
- --barIconColor: #fff;
3328
- --barIconColorDisabled: rgba(255,255,255,0.88);
3329
- --spinnerColor: #fff;
3330
- --linkColor: #fff;
3331
- --linkColorActive: #fff;
3332
- --linkTextDecoration: underline;
3333
- --regularButtonPrimaryColor: #fff;
3334
- --regularButtonSecondaryColor: #fff;
3335
- --regularButtonActiveColor: rgba(255,255,255,0.88);
3336
- --regularButtonConstrastColor: #297ef2;
3337
- --secondaryButtonPrimaryColor: #297ef2;
3338
- --secondaryButtonSecondaryColor: #fff;
3339
- --secondaryButtonActiveColor: rgba(255,255,255,0.24);
3340
- --secondaryButtonContrastColor: #fff;
3341
- --dividerColor2: rgba(255,255,255,0.16);
3342
- }
3343
- html {
3344
- /*
3345
- Grey
3346
-
3347
- Stylus: grey0 - #FFFFFF, CSS: var(--grey0)
3348
- Stylus: grey50 - #f9fafb, CSS: var(--grey50)
3349
- Stylus: grey100 - #f4f5f6, CSS: var(--grey100)
3350
- Stylus: grey200 - #eceff1, CSS: var(--grey200)
3351
- Stylus: grey300 - #dde0e3, CSS: var(--grey300)
3352
- Stylus: grey400 - #bfc3c7, CSS: var(--grey400)
3353
- Stylus: grey500 - #9da2a6, CSS: var(--grey500)
3354
- Stylus: grey600 - #7c8086, CSS: var(--grey600)
3355
- Stylus: grey700 - #5d6169, CSS: var(--grey700)
3356
- Stylus: grey800 - #3e424a, CSS: var(--grey800)
3357
- Stylus: grey900 - #1d212a, CSS: var(--grey900)
3358
- Stylus: greyA100 - #d3d6d8, CSS: var(--greyA100)
3359
- Stylus: greyA200 - #a7abaf, CSS: var(--greyA200)
3360
- Stylus: greyA400 - #2c3039, CSS: var(--greyA400)
3361
- Stylus: greyA700 - #5d6169, CSS: var(--greyA700)
3362
- Stylus: white - #FFFFFF, CSS: var(--white)
3363
- Stylus: paleGrey - #F5F6F7, CSS: var(--paleGrey)
3364
- Stylus: silver - #D6D8Da, CSS: var(--silver)
3365
- Stylus: coolGrey - #95999D, CSS: var(--coolGrey)
3366
- Stylus: slateGrey - #5D6165, CSS: var(--slateGrey)
3367
- Stylus: charcoalGrey - #32363F, CSS: var(--charcoalGrey)
3368
- Stylus: black - #000000, CSS: var(--black)
3369
-
3370
- Styleguide Settings.colors.grey
3371
- */
3372
- --grey0: #fff;
3373
- --grey50: #f9fafb;
3374
- --grey100: #f4f5f6;
3375
- --grey200: #eceff1;
3376
- --grey300: #dde0e3;
3377
- --grey400: #bfc3c7;
3378
- --grey500: #9da2a6;
3379
- --grey600: #7c8086;
3380
- --grey700: #5d6169;
3381
- --grey800: #3e424a;
3382
- --grey900: #1d212a;
3383
- --greyA100: #d3d6d8;
3384
- --greyA200: #a7abaf;
3385
- --greyA400: #2c3039;
3386
- --greyA700: #5d6169;
3387
- --white: #fff;
3388
- --paleGrey: #f5f6f7;
3389
- --silver: #d6d8da;
3390
- --coolGrey: #95999d;
3391
- --slateGrey: #5d6165;
3392
- --charcoalGrey: #32363f;
3393
- --black: #000;
3394
- --overlay: rgba(50,54,63,0.5);
3395
- /*
3396
- Blue
3397
-
3398
- Stylus: zircon - #F5FAFF, CSS: var(--zircon)
3399
- Stylus: dodgerBlue - #297EF2, CSS: var(--dodgerBlue)
3400
- Stylus: scienceBlue - #0B61D6, CSS: var(--scienceBlue)
3401
-
3402
- Styleguide Settings.colors.blue
3403
- */
3404
- --zircon: #f5faff;
3405
- --dodgerBlue: #297ef2;
3406
- --scienceBlue: #0b61d6;
3407
- /*
3408
- Green
3409
-
3410
- Stylus: weirdGreen - #40DE8E, CSS: var(--weirdGreen)
3411
- Stylus: emerald - #35CE68, CSS: var(--emerald)
3412
- Stylus: malachite - #08b442, CSS: var(--malachite)
3413
-
3414
- Styleguide Settings.colors.green
3415
- */
3416
- --weirdGreen: #40de8e;
3417
- --emerald: #35ce68;
3418
- --malachite: #08b442;
3419
- /*
3420
- Orange
3421
-
3422
- Stylus: mango - #FF962F, CSS: var(--mango)
3423
-
3424
- Styleguide Settings.colors.orange
3425
- */
3426
- --mango: #ff962f;
3427
- /*
3428
- Red
3429
-
3430
- Stylus: chablis - #FFF2F2, CSS: var(--chablis)
3431
- Stylus: yourPink - #FDCBCB, CSS: var(--yourPink)
3432
- Stylus: fuchsia - #FC4C83, CSS: var(--fuchsia)
3433
- Stylus: pomegranate - #F52D2D, CSS: var(--pomegranate)
3434
- Stylus: monza - #DD0505, CSS: var(--monza)
2844
+ /* imported from button.styl */
3435
2845
 
3436
- Styleguide Settings.colors.red
3437
- */
3438
- --chablis: #fff2f2;
3439
- --yourPink: #fdcbcb;
3440
- --fuchsia: #fc4c83;
3441
- --pomegranate: #f52d2d;
3442
- --monza: #dd0505;
2846
+ .button__coz-btn-shared___2BoMk {
2847
+ border-color: #35ce68;
2848
+ background-color: #35ce68;
2849
+ color: var(--white);
2850
+ transition: all 0.2s ease-out;
3443
2851
  }
3444
- html,
3445
- .badge__CozyTheme--normal___2pjsD {
3446
- /*
3447
- Primary colors
3448
-
3449
- Stylus: primaryColorLightest - #B3D3FF, CSS: var(--primaryColorLightest)
3450
- Stylus: primaryColorLight - #5C9DF5, CSS: var(--primaryColorLight)
3451
- Stylus: primaryColor - #297EF2, CSS: var(--primaryColor)
3452
- Stylus: primaryColorDark - #0B61D6, CSS: var(--primaryColorDark)
3453
- Stylus: primaryContrastTextColor - #FFF, CSS: var(--primaryContrastTextColor)
3454
-
3455
- Styleguide Settings.theme.primary
3456
- */
3457
- --primaryColorLightest: #b3d3ff;
3458
- --primaryColorLight: #579eff;
3459
- --primaryColor: #297ef2;
3460
- --primaryColorDark: #0f5cc7;
3461
- --primaryContrastTextColor: #fff;
3462
- /*
3463
- Secondary colors
3464
-
3465
- Stylus: secondaryColorLightest - #FFD3D3, CSS: var(--secondaryColorLightest)
3466
- Stylus: secondaryColorLight - #F96B6B, CSS: var(--secondaryColorLight)
3467
- Stylus: secondaryColor - #EA3F3F, CSS: var(--secondaryColor)
3468
- Stylus: secondaryColorDark - #D31F1F, CSS: var(--secondaryColorDark)
3469
- Stylus: secondaryContrastTextColor - #FFF, CSS: var(--secondaryContrastTextColor)
3470
-
3471
- Styleguide Settings.theme.secondary
3472
- */
3473
- --secondaryColorLightest: #ffd3d3;
3474
- --secondaryColorLight: #f96b6b;
3475
- --secondaryColor: #ea3f3f;
3476
- --secondaryColorDark: #d31f1f;
3477
- --secondaryContrastTextColor: #fff;
3478
- /*
3479
- Background colors
3480
-
3481
- Stylus: primaryBackgroundLight - #F7FAFF, CSS: var(--primaryBackgroundLight)
3482
- Stylus: paperBackgroundColor - #FFF, CSS: var(--paperBackgroundColor)
3483
- Stylus: defaultBackgroundColor - #F4F5F6, CSS: var(--defaultBackgroundColor)
3484
- Stylus: contrastBackgroundColor - #F5F5F6, CSS: var(--contrastBackgroundColor)
3485
-
3486
- Styleguide Settings.theme.background
3487
- */
3488
- --primaryBackgroundLight: #f7faff;
3489
- --paperBackgroundColor: #fff;
3490
- --defaultBackgroundColor: #f4f5f6;
3491
- --contrastBackgroundColor: rgba(29,33,42,0.048);
3492
- /*
3493
- Text colors
3494
-
3495
- These colors use the alpha layer. Be careful to use the semantic variable.
3496
- Hexadecimal colors are here only as an example on a white background.
3497
-
3498
- Stylus: primaryTextColor - #383B43, CSS: var(--primaryTextColor)
3499
- Stylus: secondaryTextColor - #9D9EA1, CSS: var(--secondaryTextColor)
3500
- Stylus: disabledTextColor - #BEBFC1, CSS: var(--disabledTextColor)
3501
- Stylus: hintTextColor - #BEBFC1, CSS: var(--hintTextColor)
3502
- Stylus: iconTextColor - #66686D, CSS: var(--iconTextColor)
3503
-
3504
- Styleguide Settings.theme.text
3505
- */
3506
- --primaryTextColor: rgba(29,33,42,0.9);
3507
- --secondaryTextColor: rgba(29,33,42,0.48);
3508
- --disabledTextColor: rgba(29,33,42,0.32);
3509
- --hintTextColor: rgba(29,33,42,0.32);
3510
- --iconTextColor: rgba(29,33,42,0.72);
3511
- /*
3512
- Action colors
3513
-
3514
- These colors use the alpha layer. Be careful to use the semantic variable.
3515
- Hexadecimal colors are here only as an example on a white background.
3516
-
3517
- Stylus: actionColorActive - #8A8C90, CSS: var(--actionColorActive)
3518
- Stylus: actionColorHover - #F7F7F7, CSS: var(--actionColorHover)
3519
- Stylus: actionColorSelected - #EFEFF0, CSS: var(--actionColorSelected)
3520
- Stylus: actionColorDisabled - #CFCFD1, CSS: var(--actionColorDisabled)
3521
- Stylus: actionColorDisabledBackground - #E7E7E8, CSS: var(--actionColorDisabledBackground)
3522
- Stylus: actionColorFocus - #E7E7E8, CSS: var(--actionColorFocus)
3523
- Stylus: actionColorGhost - #EFEFF0, CSS: var(--actionColorGhost)
3524
- Stylus: actionColorHoverGhost - #DFE0E0, CSS: var(--actionColorHoverGhost)
3525
-
3526
- Styleguide Settings.theme.action
3527
- */
3528
- --actionColorActive: rgba(29,33,42,0.56);
3529
- --actionColorHover: rgba(29,33,42,0.04);
3530
- --actionColorSelected: rgba(29,33,42,0.08);
3531
- --actionColorDisabled: rgba(29,33,42,0.24);
3532
- --actionColorDisabledBackground: rgba(29,33,42,0.12);
3533
- --actionColorFocus: rgba(29,33,42,0.12);
3534
- --actionColorGhost: rgba(29,33,42,0.08);
3535
- --actionColorHoverGhost: rgba(29,33,42,0.16);
3536
- /*
3537
- Border colors
3538
-
3539
- These colors use the alpha layer. Be careful to use the semantic variable.
3540
- Hexadecimal colors are here only as an example on a white background.
3541
-
3542
- Stylus: borderMainColor - #DFE0E0, CSS: var(--borderMainColor)
3543
- Stylus: borderDisabledColor - #EFEFF0, CSS: var(--borderDisabledColor)
3544
- Stylus: borderGhostColor - #9D9EA1, CSS: var(--borderGhostColor)
3545
- Stylus: borderGhostDisabledColor - #DFE0E0, CSS: var(--borderGhostDisabledColor)
3546
-
3547
- Styleguide Settings.theme.border
3548
- */
3549
- --borderMainColor: rgba(29,33,42,0.16);
3550
- --borderDisabledColor: rgba(29,33,42,0.08);
3551
- --borderGhostColor: rgba(29,33,42,0.48);
3552
- --borderGhostDisabledColor: rgba(29,33,42,0.16);
3553
- /*
3554
- Divider colors
3555
-
3556
- These colors use the alpha layer. Be careful to use the semantic variable.
3557
- Hexadecimal colors are here only as an example on a white background.
3558
-
3559
- Stylus: dividerColor - #E3E4E5, CSS: var(--dividerColor)
3560
-
3561
- Styleguide Settings.theme.divider
3562
- */
3563
- --dividerColor: rgba(29,33,42,0.12);
3564
- /*
3565
- Success colors
3566
-
3567
- Stylus: successColorLight - #38C949, CSS: var(--successColorLight)
3568
- Stylus: successColor - #09AE1C, CSS: var(--successColor)
3569
- Stylus: successColorDark - #018711, CSS: var(--successColorDark)
3570
- Stylus: successColorContrastText - #FFF, CSS: var(--successColorContrastText)
3571
-
3572
- Styleguide Settings.theme.success
3573
- */
3574
- --successColorLight: #38c949;
3575
- --successColor: #09ae1c;
3576
- --successColorDark: #018711;
3577
- --successColorContrastText: #fff;
3578
- /*
3579
- Warning colors
3580
-
3581
- Stylus: warningColorLight - #EFA82F, CSS: var(--warningColorLight)
3582
- Stylus: warningColor - #CB8100, CSS: var(--warningColor)
3583
- Stylus: warningColorDark - #986100, CSS: var(--warningColorDark)
3584
- Stylus: warningColorContrastText - #FFF, CSS: var(--warningColorContrastText)
3585
-
3586
- Styleguide Settings.theme.warning
3587
- */
3588
- --warningColorLight: #efa82d;
3589
- --warningColor: #cb8100;
3590
- --warningColorDark: #986100;
3591
- --warningColorContrastText: #fff;
3592
- /*
3593
- Error colors
3594
-
3595
- Stylus: errorColorLightest - #FFECEC, CSS: var(--errorColorLightest)
3596
- Stylus: errorColorLight - #F96B6B, CSS: var(--errorColorLight)
3597
- Stylus: errorColor - #EA3F3F, CSS: var(--errorColor)
3598
- Stylus: errorColorDark - #D31F1F, CSS: var(--errorColorDark)
3599
- Stylus: errorBackground - #FFECEC, CSS: var(--errorBackground)
3600
- Stylus: errorColorContrastText - #FFF, CSS: var(--errorColorContrastText)
3601
-
3602
- Styleguide Settings.theme.error
3603
- */
3604
- --errorColorLightest: #ffecec;
3605
- --errorColorLight: #f96b6b;
3606
- --errorColor: #ea3f3f;
3607
- --errorColorDark: #d31f1f;
3608
- --errorBackground: #ffecec;
3609
- --errorColorContrastText: #fff;
3610
- /*
3611
- Info colors
3612
-
3613
- Stylus: infoColorLight - #0EC4C7, CSS: var(--infoColorLight)
3614
- Stylus: infoColor - #009FA2, CSS: var(--infoColor)
3615
- Stylus: infoColorDark - #007578, CSS: var(--infoColorDark)
3616
- Stylus: infoColorContrastText - #FFF, CSS: var(--infoColorContrastText)
3617
-
3618
- Styleguide Settings.theme.info
3619
- */
3620
- --infoColorLight: #0ec4c7;
3621
- --infoColor: #009fa2;
3622
- --infoColorDark: #007578;
3623
- --infoColorContrastText: #fff;
3624
- /*
3625
- ---------------------------------------------------------------------
3626
- */
3627
- /*
3628
- The CSS variables below are historic and we should strive not to
3629
- use them. Prefer to use directly semantic colors above.
3630
- */
3631
- --spinnerColor: var(--primaryColor);
3632
- --linkColor: var(--primaryColor);
3633
- --linkTextDecoration: none;
3634
- --linkColorActive: var(--primaryColorDark);
3635
- --invertedTabsActiveTextColor: var(--primaryContrastTextColor);
3636
- --invertedTabsInactiveTextColor: var(--primaryContrastTextColor);
3637
- --invertedTabsIndicatorColor: var(--primaryContrastTextColor);
3638
- --invertedTabsBackgroundColor: var(--primaryColor);
3639
- --regularButtonPrimaryColor: var(--primaryColor);
3640
- --regularButtonSecondaryColor: var(--primaryColor);
3641
- --regularButtonActiveColor: var(--primaryColorDark);
3642
- --regularButtonConstrastColor: var(--primaryContrastTextColor);
3643
- --secondaryButtonPrimaryColor: #fff;
3644
- --secondaryButtonSecondaryColor: var(--silver);
3645
- --secondaryButtonActiveColor: var(--silver);
3646
- --secondaryButtonContrastColor: var(--black);
3647
- --dividerColor2: var(--coolGrey);
3648
- --iconColor: currentColor;
3649
- --textIconColor: var(--charcoalGrey);
3650
- --actionMenuIconColor: var(--slateGrey);
3651
- --neutralBackground: var(--paleGrey);
3652
- --buttonTextTransform: uppercase;
3653
- --buttonBorderRadius: 0.125rem;
3654
- --navTextColor: var(--slateGrey);
3655
- --navTextActiveColor: var(--slateGrey);
3656
- --navTextHoverColor: var(--charcoalGrey);
3657
- --alertErrorColor: #fff;
3658
- --alertErrorBackgroundColor: var(--errorColor);
3659
- --alertSuccessColor: #fff;
3660
- --alertSuccessBackgroundColor: var(--successColor);
3661
- --alertInfoColor: #fff;
3662
- --alertInfoBackgroundColor: var(--slateGrey);
2852
+ .button__coz-btn-shared___2BoMk:focus,
2853
+ .button__coz-btn-shared___2BoMk:not([disabled]):not([aria-disabled=true]):hover {
2854
+ border-color: #08b442;
2855
+ background-color: #08b442;
2856
+ }
2857
+ .button__coz-btn-sharedWithMe___2Vjfh {
2858
+ border-color: #b449e7;
2859
+ background-color: #b449e7;
2860
+ color: var(--white);
2861
+ transition: all 0.2s ease-out;
2862
+ }
2863
+ .button__coz-btn-sharedWithMe___2Vjfh:focus,
2864
+ .button__coz-btn-sharedWithMe___2Vjfh:not([disabled]):not([aria-disabled=true]):hover {
2865
+ border-color: #922bc2;
2866
+ background-color: #922bc2;
3663
2867
  }
2868
+ /* imported from badge.styl */
2869
+
3664
2870
  .badge__shared-badge___2QYc_ {
3665
2871
  display: flex;
3666
2872
  align-items: center;
@@ -3669,7 +2875,8 @@ html,
3669
2875
  background-clip: padding-box;
3670
2876
  }
3671
2877
  .badge__shared-badge___2QYc_.badge__--small___3i2p8 {
3672
- border: 0.125rem solid var(--white);
2878
+ border: 0.125rem solid;
2879
+ border-color: var(--white);
3673
2880
  width: 1.5rem;
3674
2881
  height: 1.5rem;
3675
2882
  }
@@ -3678,7 +2885,8 @@ html,
3678
2885
  height: 0.75rem;
3679
2886
  }
3680
2887
  .badge__shared-badge___2QYc_.badge__--xsmall___1SOfR {
3681
- border: 0.0625rem solid var(--white);
2888
+ border: 0.0625rem solid;
2889
+ border-color: var(--white);
3682
2890
  width: 0.75rem;
3683
2891
  height: 0.75rem;
3684
2892
  }
@@ -3687,7 +2895,7 @@ html,
3687
2895
  height: 0.375rem;
3688
2896
  }
3689
2897
  .badge__shared-badge___2QYc_.badge__--by-me___3zfDg {
3690
- background-color: var(--emerald);
2898
+ background-color: #35ce68;
3691
2899
  }
3692
2900
  .badge__shared-badge___2QYc_.badge__--with-me___30u7z {
3693
2901
  background-color: #9169f2;