Skip to content

Commit

Permalink
Updated the components library.
Browse files Browse the repository at this point in the history
  • Loading branch information
gunjandatta committed May 14, 2021
1 parent d3b6c17 commit a10021d
Show file tree
Hide file tree
Showing 56 changed files with 6,778 additions and 2,930 deletions.
90 changes: 90 additions & 0 deletions @types/gd-bs/icons.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,10 @@ export const IconTypes: {
BagX: number;
// bag.svg
Bag: number;
// bank.svg
Bank: number;
// bank2.svg
Bank2: number;
// bar-chart-fill.svg
BarChartFill: number;
// bar-chart-line-fill.svg
Expand Down Expand Up @@ -304,6 +308,10 @@ export const IconTypes: {
Battery: number;
// bell-fill.svg
BellFill: number;
// bell-slash-fill.svg
BellSlashFill: number;
// bell-slash.svg
BellSlash: number;
// bell.svg
Bell: number;
// bezier.svg
Expand Down Expand Up @@ -680,6 +688,8 @@ export const IconTypes: {
Cart3: number;
// cart4.svg
Cart4: number;
// cash-coin.svg
CashCoin: number;
// cash-stack.svg
CashStack: number;
// cash.svg
Expand Down Expand Up @@ -756,6 +766,8 @@ export const IconTypes: {
CheckCircleFill: number;
// check-circle.svg
CheckCircle: number;
// check-lg.svg
CheckLg: number;
// check-square-fill.svg
CheckSquareFill: number;
// check-square.svg
Expand Down Expand Up @@ -942,6 +954,8 @@ export const IconTypes: {
CodeSquare: number;
// code.svg
Code: number;
// coin.svg
Coin: number;
// collection-fill.svg
CollectionFill: number;
// collection-play-fill.svg
Expand Down Expand Up @@ -990,6 +1004,18 @@ export const IconTypes: {
CupStraw: number;
// cup.svg
Cup: number;
// currency-bitcoin.svg
CurrencyBitcoin: number;
// currency-dollar.svg
CurrencyDollar: number;
// currency-euro.svg
CurrencyEuro: number;
// currency-exchange.svg
CurrencyExchange: number;
// currency-pound.svg
CurrencyPound: number;
// currency-yen.svg
CurrencyYen: number;
// cursor-fill.svg
CursorFill: number;
// cursor-text.svg
Expand All @@ -1002,6 +1028,8 @@ export const IconTypes: {
DashCircleFill: number;
// dash-circle.svg
DashCircle: number;
// dash-lg.svg
DashLg: number;
// dash-square-dotted.svg
DashSquareDotted: number;
// dash-square-fill.svg
Expand Down Expand Up @@ -1160,6 +1188,8 @@ export const IconTypes: {
ExclamationDiamondFill: number;
// exclamation-diamond.svg
ExclamationDiamond: number;
// exclamation-lg.svg
ExclamationLg: number;
// exclamation-octagon-fill.svg
ExclamationOctagonFill: number;
// exclamation-octagon.svg
Expand Down Expand Up @@ -1292,6 +1322,10 @@ export const IconTypes: {
FileEarmarkMusicFill: number;
// file-earmark-music.svg
FileEarmarkMusic: number;
// file-earmark-pdf-fill.svg
FileEarmarkPdfFill: number;
// file-earmark-pdf.svg
FileEarmarkPdf: number;
// file-earmark-person-fill.svg
FileEarmarkPersonFill: number;
// file-earmark-person.svg
Expand Down Expand Up @@ -1384,6 +1418,10 @@ export const IconTypes: {
FileMusicFill: number;
// file-music.svg
FileMusic: number;
// file-pdf-fill.svg
FilePdfFill: number;
// file-pdf.svg
FilePdf: number;
// file-person-fill.svg
FilePersonFill: number;
// file-person.svg
Expand Down Expand Up @@ -1514,6 +1552,14 @@ export const IconTypes: {
Gear: number;
// gem.svg
Gem: number;
// gender-ambiguous.svg
GenderAmbiguous: number;
// gender-female.svg
GenderFemale: number;
// gender-male.svg
GenderMale: number;
// gender-trans.svg
GenderTrans: number;
// geo-alt-fill.svg
GeoAltFill: number;
// geo-alt.svg
Expand Down Expand Up @@ -1604,6 +1650,8 @@ export const IconTypes: {
Hdd: number;
// headphones.svg
Headphones: number;
// headset-vr.svg
HeadsetVr: number;
// headset.svg
Headset: number;
// heart-fill.svg
Expand Down Expand Up @@ -1664,6 +1712,8 @@ export const IconTypes: {
InfoCircleFill: number;
// info-circle.svg
InfoCircle: number;
// info-lg.svg
InfoLg: number;
// info-square-fill.svg
InfoSquareFill: number;
// info-square.svg
Expand Down Expand Up @@ -1826,6 +1876,8 @@ export const IconTypes: {
Markdown: number;
// mask.svg
Mask: number;
// mastodon.svg
Mastodon: number;
// megaphone-fill.svg
MegaphoneFill: number;
// megaphone.svg
Expand All @@ -1846,6 +1898,8 @@ export const IconTypes: {
MenuDown: number;
// menu-up.svg
MenuUp: number;
// messenger.svg
Messenger: number;
// mic-fill.svg
MicFill: number;
// mic-mute-fill.svg
Expand Down Expand Up @@ -2032,12 +2086,20 @@ export const IconTypes: {
PieChartFill: number;
// pie-chart.svg
PieChart: number;
// piggy-bank-fill.svg
PiggyBankFill: number;
// piggy-bank.svg
PiggyBank: number;
// pin-angle-fill.svg
PinAngleFill: number;
// pin-angle.svg
PinAngle: number;
// pin-fill.svg
PinFill: number;
// pin-map-fill.svg
PinMapFill: number;
// pin-map.svg
PinMap: number;
// pin.svg
Pin: number;
// pip-fill.svg
Expand Down Expand Up @@ -2066,6 +2128,8 @@ export const IconTypes: {
PlusCircleFill: number;
// plus-circle.svg
PlusCircle: number;
// plus-lg.svg
PlusLg: number;
// plus-square-dotted.svg
PlusSquareDotted: number;
// plus-square-fill.svg
Expand All @@ -2092,6 +2156,8 @@ export const IconTypes: {
QuestionDiamondFill: number;
// question-diamond.svg
QuestionDiamond: number;
// question-lg.svg
QuestionLg: number;
// question-octagon-fill.svg
QuestionOctagonFill: number;
// question-octagon.svg
Expand Down Expand Up @@ -2134,6 +2200,10 @@ export const IconTypes: {
Record2Fill: number;
// record2.svg
Record2: number;
// recycle.svg
Recycle: number;
// reddit.svg
Reddit: number;
// reply-all-fill.svg
ReplyAllFill: number;
// reply-all.svg
Expand All @@ -2148,6 +2218,14 @@ export const IconTypes: {
Rss: number;
// rulers.svg
Rulers: number;
// safe-fill.svg
SafeFill: number;
// safe.svg
Safe: number;
// safe2-fill.svg
Safe2Fill: number;
// safe2.svg
Safe2: number;
// save-fill.svg
SaveFill: number;
// save.svg
Expand All @@ -2160,6 +2238,10 @@ export const IconTypes: {
Scissors: number;
// screwdriver.svg
Screwdriver: number;
// sd-card-fill.svg
SdCardFill: number;
// sd-card.svg
SdCard: number;
// search.svg
Search: number;
// segmented-nav.svg
Expand Down Expand Up @@ -2278,12 +2360,16 @@ export const IconTypes: {
SkipStartFill: number;
// skip-start.svg
SkipStart: number;
// skype.svg
Skype: number;
// slack.svg
Slack: number;
// slash-circle-fill.svg
SlashCircleFill: number;
// slash-circle.svg
SlashCircle: number;
// slash-lg.svg
SlashLg: number;
// slash-square-fill.svg
SlashSquareFill: number;
// slash-square.svg
Expand Down Expand Up @@ -2518,6 +2604,8 @@ export const IconTypes: {
Tools: number;
// tornado.svg
Tornado: number;
// translate.svg
Translate: number;
// trash-fill.svg
TrashFill: number;
// trash.svg
Expand Down Expand Up @@ -2664,6 +2752,8 @@ export const IconTypes: {
XDiamondFill: number;
// x-diamond.svg
XDiamond: number;
// x-lg.svg
XLg: number;
// x-octagon-fill.svg
XOctagonFill: number;
// x-octagon.svg
Expand Down
1,011 changes: 753 additions & 258 deletions dist/gd-sprest-bs-icons.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/gd-sprest-bs-icons.min.js

Large diffs are not rendered by default.

510 changes: 255 additions & 255 deletions dist/gd-sprest-bs.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/gd-sprest-bs.min.js

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"name": "gd-sprest-bs",
"version": "7.5.1",
"version": "7.5.2",
"description": "SharePoint JavaScript, TypeScript and Web Components designed using the Bootstrap framework.",
"main": "build/index.js",
"typings": "@types/index.d.ts",
"scripts": {
"all": "npm run clean && npm run build && npm run prod && npm run typings",
"build": "tsc && npm run build-sass && webpack --mode=development && npm run build-icons",
"build": "tsc && npm run build-sass && webpack --mode=development && npm run build-icons && npm run post-build",
"build-icons": "webpack --config webpack.icons.js --mode=development",
"build-sass": "webpack --config webpack.sass.js --mode=production",
"clean": "node clean.js",
"post-build": "node ./post-build.js",
"clean": "node ./clean.js",
"prod": "webpack --mode=production && npm run prod-icons",
"prod-icons": "webpack --config webpack.icons.js --mode=production",
"typings": "dts-bundle --configJson dts-bundle.json"
Expand All @@ -32,18 +33,18 @@
"homepage": "https://dattabase.com/extras/bs",
"dependencies": {
"flatpickr": "^4.6.9",
"gd-bs": "4.4.2",
"gd-bs": "4.4.3",
"gd-sprest": "^6.4.7",
"gd-sprest-def": "^1.0.2"
},
"devDependencies": {
"@babel/core": "^7.14.0",
"@babel/preset-env": "^7.14.1",
"@babel/core": "^7.14.2",
"@babel/preset-env": "^7.14.2",
"babel-loader": "^8.2.2",
"css-loader": "^5.2.4",
"dts-bundle": "^0.7.3",
"node-sass": "^6.0.0",
"sass-loader": "^11.1.0",
"sass-loader": "^11.1.1",
"style-loader": "^2.0.0",
"webpack": "^5.37.0",
"webpack-cli": "^4.7.0"
Expand Down
7 changes: 7 additions & 0 deletions post-build.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
var fs = require('fs');

// Copy the popper library
fs.copyFileSync("src/icons/svgs/index.d.ts", "build/icons/svgs/index.d.ts");

// Log
console.log("Successfully copied the icons definition");
Loading

0 comments on commit a10021d

Please sign in to comment.