Skip to content

Commit

Permalink
847 - build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
prashanthr6383 committed Oct 3, 2024
1 parent 903879a commit cfe53c5
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions stencil-workspace/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,9 @@ export namespace Components {
* (optional) The dropzone's description text.
*/
"description": string;
/**
* (optional) disables the dropzone
*/
"disabled": boolean;
/**
* (optional) The dropzone's height.
Expand Down Expand Up @@ -3597,6 +3600,9 @@ declare namespace LocalJSX {
* (optional) The dropzone's description text.
*/
"description"?: string;
/**
* (optional) disables the dropzone
*/
"disabled"?: boolean;
/**
* (optional) The dropzone's height.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@

.browse {
color: $modus-file-upload-dropzone-browse-color;
// text-decoration: underline;

&:hover {
cursor: pointer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export class ModusFileDropzone {
/** (optional) Whether multiple files can be uploaded. */
@Prop() multiple = true;

/** (optional) disables the dropzone*/
@Prop({ reflect: true }) disabled: boolean;

/** An event that fires when files have been added or removed, regardless of whether they're valid. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ $modus-file-upload-dropzone-error-color: var(--modus-file-upload-dropzone-error-
$modus-file-upload-dropzone-disabled-bg: var(--modus-file-upload-dropzone-disabled-bg, #f1f1f6) !default;
$modus-file-upload-dropzone-disabled-border-color: var(--modus-file-upload-dropzone-disabled-border-color, #6a6e79) !default;
$modus-file-upload-dropzone-disabled-color: var(--modus-file-upload-dropzone-disabled-color, #6a6e79) !default;
$modus-file-upload-dropzone-disabled-svg-color: var(--modus-file-upload-dropzone-disabled--svg-color, #b7b9c3) !default;
$modus-file-upload-dropzone-disabled-svg-color: var(--modus-file-upload-dropzone-disabled-svg-color, #b7b9c3) !default;
10 changes: 5 additions & 5 deletions stencil-workspace/src/global/themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,11 @@
--modus-file-upload-dropzone-error-border-color: var(--modus-red-dark);
--modus-file-upload-dropzone-error-color: var(--modus-red-dark);

//disabled
$modus-file-upload-dropzone-disabled-bg: #f1f1f666;
$modus-file-upload-dropzone-disabled-border-color: var(--modus-gray-6);
$modus-file-upload-dropzone-disabled-color: var(--modus-gray-6);
$modus-file-upload-dropzone-disabled--svg-color: var(--modus-gray-2);
// disabled
--modus-file-upload-dropzone-disabled-bg: #f1f1f666;
--modus-file-upload-dropzone-disabled-border-color: var(--modus-gray-6);
--modus-file-upload-dropzone-disabled-color: var(--modus-gray-6);
--modus-file-upload-dropzone-disabled-svg-color: var(--modus-gray-2);

// Message
// Type - Info
Expand Down

0 comments on commit cfe53c5

Please sign in to comment.