Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
1311e43
Initial changes for adding close button on banner and new cookie image.
adsathye Sep 1, 2022
ef83ba3
Updated the colors for the button border, button text, close button i…
adsathye Sep 1, 2022
1a179d5
Changes for the floating css changes and theme.
adsathye Sep 6, 2022
faf276c
Updated the version to 2.3.0-beta.0 and added the close button label …
adsathye Sep 7, 2022
29cfd29
Update publish-workflow.yaml
adsathye Sep 7, 2022
7143e4a
Update package.json
adsathye Sep 12, 2022
3747e4c
Update package-lock.json
adsathye Sep 12, 2022
3a67d4d
Update publish-workflow.yaml
adsathye Sep 12, 2022
97d0088
Fixed the issue where cookie icon will not show in correct color when…
adsathye Sep 13, 2022
8a4805b
Merge branch 'consent-banner-v3' of https://github.com/microsoft/cons…
adsathye Sep 13, 2022
624c7b9
Incremented the package version
adsathye Sep 13, 2022
ead2e58
Added implementation to ensure banner does not hide any content when …
adsathye Oct 27, 2022
12cdcc3
Move banner when the scroll bar is not visible but content is hidden …
adsathye Oct 27, 2022
3ef4fcd
Incremented version
adsathye Oct 27, 2022
0e998b2
Fixed accessibility related issues - added scroll capability to the b…
adsathye Dec 22, 2022
1b1aaf4
Updated for zoom levels
adsathye Dec 22, 2022
4e62904
Reverted
adsathye Dec 22, 2022
4a3c634
Added fix for preference dialog list description and radio button whe…
adsathye Dec 22, 2022
d7632c9
Incremented beta version
adsathye Dec 22, 2022
f1eb5c6
Updated the code where if scrolled to bottom of the page and banner o…
adsathye Jun 28, 2023
08f5d28
Updated height to null
adsathye Jun 28, 2023
db38007
Fixed the footer overlap issue by setting the html and body height to…
adsathye Jun 29, 2023
1a0abf2
Removed the description that was shown as duplicate for the radio but…
adsathye Jul 13, 2023
686ea7e
Bumped the beta version
adsathye Jul 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/publish-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm publish
- run: npm publish --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_NEW }}
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ let textResources: ITextResources = {
acceptLabel: "Accept",
rejectLabel: "Reject",
saveLabel: "Save changes",
resetLabel: "Reset all"
resetLabel: "Reset all",
bannerCloseLabel: "Close banner"
};

let callBack = function(obj: any) { console.log(obj); };
Expand Down Expand Up @@ -287,6 +288,7 @@ interface ITextResources {
rejectLabel?: string;
saveLabel?: string;
resetLabel?: string;
bannerCloseLabel?: string;
}

interface ICookieCategoriesPreferences {
Expand Down Expand Up @@ -323,6 +325,8 @@ interface ITheme {
"secondary-button-color": string;
"secondary-button-disabled-color": string;
"secondary-button-border": string;
"banner-close-button-color": string;
}

// All optional properties
"background-color-between-page-and-dialog"?: string;
Expand All @@ -346,7 +350,6 @@ interface ITheme {
"radio-button-hover-background-color"?: string;
"radio-button-disabled-color"?: string;
"radio-button-disabled-border-color"?: string;
}
```

### Provided methods
Expand Down
105 changes: 103 additions & 2 deletions dist/index.html

Large diffs are not rendered by default.

23 changes: 21 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "consent-banner",
"version": "2.2.0",
"version": "2.3.0-beta.8",
"description": "The library which will generate a banner at the specified position for asking the cookie preferences.",
"main": "dist/consent-banner.js",
"types": "dist/consent-banner.d.ts",
Expand Down
Loading