From 32fbacc8c579dd10edfff7f5d8749729121f0679 Mon Sep 17 00:00:00 2001 From: Bryan Jonker Date: Tue, 22 Oct 2024 12:02:28 -0500 Subject: [PATCH] Update to production --- README.md | 4 +- builder/ilw-page.json | 4 +- builder/versions/ilw-page.1.0.json | 75 ++++++++++++++++++++++++++++++ package-lock.json | 4 +- package.json | 2 +- 5 files changed, 82 insertions(+), 7 deletions(-) create mode 100644 builder/versions/ilw-page.1.0.json diff --git a/README.md b/README.md index 0e8ecfb..e5ec701 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,10 @@ Attributes include: Classes include * ilw-font - boolean, if the page uses the Illinois default fonts - * ilw-illinois - boolean, if the page uses the Illinois default fonts and colors. + * ilw-format - boolean, if the page uses the Illinois default fonts and colors. * ilw-margin - boolean, if the page uses the Illinois default margins. Note that this will prevent horizontal scrolling on the page. -`ilw-font` and `ilw-illinois` will change: +`ilw-font` and `ilw-format` will change: * Headings * Lists diff --git a/builder/ilw-page.json b/builder/ilw-page.json index a7b7cc5..e2e325f 100644 --- a/builder/ilw-page.json +++ b/builder/ilw-page.json @@ -6,7 +6,7 @@ "element-name": "ilw-page", "description": "The Page component, containing styles and margins for other components.", "purpose": "Use a standard layout for a page.", - "toolkit-version": "", - "production-version": "", + "toolkit-version": "1.0", + "production-version": "1.0", "development-version": "1.0-beta" } diff --git a/builder/versions/ilw-page.1.0.json b/builder/versions/ilw-page.1.0.json new file mode 100644 index 0000000..e0589f8 --- /dev/null +++ b/builder/versions/ilw-page.1.0.json @@ -0,0 +1,75 @@ +{ + "title": "Page", + "tag": "ilw-page", + "github": "https://github.com/web-illinois/ilw-page/", + "type": "web component", + "element-name": "ilw-page", + "description": "The Page component, containing styles and margins for other components.", + "builder-version": "1.0", + "version": "1.0.0", + "date": "10/22/2024", + "css": "https://cdn.toolkit.illinois.edu/ilw-page/1.0.0/ilw-page.css", + "js": "https://cdn.toolkit.illinois.edu/ilw-page/1.0.0/ilw-page.js", + "production": true, + "notes": "", + "parent-style": "", + "samples": [ + { + "name": "default", + "description": "Default information", + "text": "

Header

Main Section.

" + } + ], + "attributes-fixed": [], + "attributes-text": [], + "attributes": [ + { + "name": "expanded", + "description": "Expanded top/bottom margins on the main item", + "depreciated": false, + "values": [ + "", + "true" + ] + } + ], + "classes-fixed": [], + "classes": [ + { + "name": "styling", + "description": "Whether or not to apply global styling. Preferred option is to not use styling, followed by ilw-font, followed by ilw-format", + "depreciated": false, + "values": [ + "", + "ilw-font", + "ilw-format" + ] + }, + { + "name": "margins", + "description": "Whether or not to use the default margins. Preferred option is to not use margins, followed by ilw-margin.", + "depreciated": false, + "values": [ + "", + "ilw-margin" + ] + } + ], + "css-variables": [ + { + "name": "--ilw-page--main-margin-top", + "depreciated": false, + "description": "If expanded attribute is used, the top margin of the main element will be this size" + }, + { + "name": "--ilw-page--main-margin-bottom", + "depreciated": false, + "description": "If expanded attribute is used, the bottom margin of the main element will be this size" + }, + { + "name": "--ilw-page--margin", + "depreciated": false, + "description": "Left/right margin of the main element. The ilw-margin class needs to be set if you are using this." + } + ] +} diff --git a/package-lock.json b/package-lock.json index 5f048ed..20a538f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@illinois-toolkit/ilw-page", - "version": "1.0.0-beta", + "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@illinois-toolkit/ilw-page", - "version": "1.0.0-beta", + "version": "1.0.0", "license": "MIT", "dependencies": { "lit": "3.1.3" diff --git a/package.json b/package.json index ae02076..630a6aa 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "repository": "github:web-illinois/ilw-page", "private": false, "license": "MIT", - "version": "1.0.1-beta", + "version": "1.0.0", "type": "module", "files": [ "src/**",