Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.2.0 #23

Open
wants to merge 36 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
87b7203
fix(dropdown): improve text and make action button more visible
wuda-io Sep 26, 2024
e0a57ec
fix: make action buttons more visible
wuda-io Sep 26, 2024
e35dc69
ci: use npm instead of pnpm
wuda-io Oct 21, 2024
ed4554f
ci: improve workflow
wuda-io Oct 21, 2024
ab9bf01
ci: use pnpm because of workspace in package.json
wuda-io Oct 21, 2024
3d9e3d9
ci: remove unused code
wuda-io Oct 21, 2024
7e2f8fd
doc: document new options for M.AutoInit
linkdd Nov 6, 2024
8b0da7b
Merge pull request #16 from linkdd/patch-1
wuda-io Nov 13, 2024
b95630d
refactor: group source files in a folder
Nov 13, 2024
27521f0
Merge pull request #17 from materializecss/refactor-filestructure
wuda-io Nov 13, 2024
3147f4d
fix: vite build process
wuda-io Nov 13, 2024
74bef8e
fix: templates and update dependencies
wuda-io Nov 13, 2024
cf8d162
fix: pull updates from dev
wuda-io Nov 18, 2024
14904d4
fix: add snippet which considers css setting too
wuda-io Nov 22, 2024
8cbb164
feat: tabs with icons
danice Nov 23, 2024
0085177
ci: prepare versioning of docs
wuda-io Nov 25, 2024
8946e22
Merge branch 'v2-dev' of https://github.com/danice/materialize-docs i…
wuda-io Nov 25, 2024
28ad2f8
Merge branch 'danice-v2-dev' into v2-dev
wuda-io Nov 25, 2024
e627bf7
chore: update dependencies
wuda-io Nov 26, 2024
6f4f161
chore: update dependencies
wuda-io Nov 28, 2024
cc0c6e9
docs: modal with dialog
wuda-io Dec 16, 2024
196c5c5
docs: change all var to const
wuda-io Dec 16, 2024
a49c61f
docs: change all var to const
wuda-io Dec 16, 2024
747143f
docs(chips): add docs
wuda-io Dec 16, 2024
34cfe4a
docs(Cards): update docs
gselderslaghs Dec 16, 2024
ef83233
docs(Modal): update docs
wuda-io Dec 17, 2024
e534855
chore: merge docs
wuda-io Dec 23, 2024
2e2bef8
Merge pull request #22 from gselderslaghs/v2-dev
wuda-io Dec 23, 2024
47aef4f
docs(pickers): update Api for date and timepicker
wuda-io Dec 23, 2024
1cc01a4
docs: split pickers into date and time pages
wuda-io Dec 23, 2024
7665357
Merge branch 'v2-dev' of https://github.com/materializecss/materializ…
wuda-io Dec 23, 2024
92c5ff5
docs: clean
wuda-io Dec 23, 2024
8949ce5
docs(modal): use popover instead of dialog
wuda-io Dec 23, 2024
99f8d4f
chore: update submodule
wuda-io Dec 23, 2024
1b4ff78
chore: update dependencies
wuda-io Dec 23, 2024
0b90d83
chore: release 2.0.0
wuda-io Dec 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 4 additions & 14 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,22 @@ name: Deploy
on:
push:
branches:
- v2-dev
# - v2-dev
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- args: [--global, prettier, typescript]

- name: Build
run: |
git submodule init
git submodule update
pnpm install
pnpm build
npm install -g pnpm
pnpm i
pnpm run build

- name: Upload production-ready build files
uses: actions/upload-artifact@v3
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ pnpm preview
### New Release (for Maintainers)

- Execute the release process in the core package incl. releasing on npm
- Update versions in **getting-started.html**, **partials/navbar.html**
- Run docs locally and check manually
- Make commit to dev (message: "chore: release 2.X.X")
- Make PR in GitHub from dev -> main
- Merge the PR
- Party and spread the news via social media channels 🎉
- Switch to branch **v2-dev** and also pull newest package in [packages/materialize]()
- Update version string in **package.json**, **src/getting-started.html**, **partials/navbar.html**
- Run docs locally and check manually with `pnpm dev`
- Make commit to v2-dev (message: "chore: release 2.X.X")
- Make PR from v2-dev -> main
- Merge the PR (The deploy step to gh-pages should be executed)
- Spread news via social media channels
66 changes: 43 additions & 23 deletions config.materialize.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ export const config = {
id: "index",
url: "index.html",
name: "Documentation",
description:
"Materialize is a modern responsive CSS framework based on Material Design by Google.",
description: "Materialize is a modern responsive CSS framework based on Material Design by Google.",
},
{
id: "about",
Expand All @@ -17,18 +16,31 @@ export const config = {
id: "gettingstarted",
url: "getting-started.html",
name: "Getting started",
description:
"Learn how to easily start using Materialize and integrate it into your project.",
description: "Learn how to easily start using Materialize and integrate it into your project.",
},
{
id: "color",
url: "color.html",
name: "Color",
description: "Materialize offers a lot of colors which can be used in your next project.",
},
{
id: "grid",
url: "grid.html",
name: "Grid",
description: "Use Materializes powerful grid system which uses CSS Grid to make formatting your web project easier and more comfortable.",
},
{
id: "helpers",
url: "helpers.html",
name: "Helpers",
description: "Get an overview of all helper classes for visibility and common css properties.",
},
{ id: "color", url: "color.html", name: "Color" },
{ id: "grid", url: "grid.html", name: "Grid" },
{ id: "helpers", url: "helpers.html", name: "Helpers" },
{
id: "mediacss",
url: "media-css.html",
name: "Media Styles",
description:
"Responsive images and videos ready to be seen on many devices.",
description: "Responsive images and videos ready to be seen on many devices.",
},
{ id: "pulse", url: "pulse.html", name: "Pulse" },
{ id: "sass", url: "sass.html", name: "Sass" },
Expand Down Expand Up @@ -66,8 +78,7 @@ export const config = {
id: "media",
url: "media.html",
name: "Media",
description:
"Use Box and Slider to present your media content in a cool way.",
description: "Use Box and Slider to present your media content in a cool way.",
},
{ id: "modals", url: "modals.html", name: "Modals" },
{ id: "parallax", url: "parallax.html", name: "Parallax" },
Expand All @@ -80,7 +91,24 @@ export const config = {
{ id: "autocomplete", url: "autocomplete.html", name: "Autocomplete" },
{ id: "checkboxes", url: "checkboxes.html", name: "Checkboxes" },
{ id: "chips", url: "chips.html", name: "Chips" },
{ id: "pickers", url: "pickers.html", name: "Pickers" },
{
id: "pickers",
url: "pickers.html",
name: "Pickers",
description: "Controlling inputs in a more easy way and send date and time along with your form.",
},
{
id: "datepicker",
url: "datepicker.html",
name: "Date Picker",
description: "Select single or multiple dates, ranges and more.",
},
{
id: "timepicker",
url: "timepicker.html",
name: "Time Picker",
description: "Select a single time with the support of the awesome Timepicker.",
},
{ id: "radiobuttons", url: "radio-buttons.html", name: "Radio Buttons" },
{ id: "range", url: "range.html", name: "Range" },
{ id: "select", url: "select.html", name: "Select" },
Expand Down Expand Up @@ -141,22 +169,14 @@ export const config = {
{ id: "tabs" },
{ id: "toasts" },
{ id: "tooltips" },
{ id: "datepicker" },
{ id: "timepicker" },
],
},
{
name: "Forms",
icon: "text_fields",
items: [
{ id: "autocomplete" },
{ id: "checkboxes" },
{ id: "chips" },
{ id: "pickers" },
{ id: "radiobuttons" },
{ id: "range" },
{ id: "select" },
{ id: "switches" },
{ id: "textinputs" },
],
items: [{ id: "autocomplete" }, { id: "checkboxes" }, { id: "chips" }, { id: "radiobuttons" }, { id: "range" }, { id: "select" }, { id: "switches" }, { id: "textinputs" }],
},
{ id: "mobile", icon: "mobile_friendly" },
],
Expand Down
64 changes: 0 additions & 64 deletions demo-page.html

This file was deleted.

37 changes: 0 additions & 37 deletions fab-toolbar-demo.html

This file was deleted.

50 changes: 0 additions & 50 deletions fullscreen-slider-demo.html

This file was deleted.

17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,21 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build": "tsc && vite build && cp -r dist/version/latest/* dist && mv dist/version/latest dist/version/v2.2.0",
"preview": "vite preview"
},
"dependencies": {
"@material/material-color-utilities": "^0.2.7",
"@materializecss/materialize": "workspace:*",
"glob": "^10.3.3",
"highlight.js": "^11.9.0",
"material-icons": "^1.13.8",
"glob": "^10.4.5",
"highlight.js": "^11.10.0",
"material-icons": "^1.13.12",
"vite-plugin-handlebars": "^1.6.0"
},
"devDependencies": {
"sass": "^1.35.2",
"typescript": "^5.0.2",
"vite": "^4.4.5"
}
"sass": "^1.80.1",
"typescript": "^5.6.3",
"vite": "^4.5.5"
},
"packageManager": "[email protected]+sha512.22721b3a11f81661ae1ec68ce1a7b879425a1ca5b991c975b074ac220b187ce56c708fe5db69f4c962c989452eee76c82877f4ee80f474cebd61ee13461b6228"
}
2 changes: 1 addition & 1 deletion packages/materialize
Submodule materialize updated 53 files
+0 −26 .eslintrc
+1 −1 .github/workflows/nightly.yml
+1 −0 .gitignore
+1 −1 .prettierrc
+5 −5 FOR_MAINTAINERS.md
+7 −14 README.md
+2 −2 ci/compress.js
+0 −8,711 dist/css/materialize.css
+0 −8 dist/css/materialize.min.css
+0 −1 dist/css/materialize.min.css.map
+0 −7,593 dist/js/materialize.cjs.js
+0 −2,333 dist/js/materialize.d.ts
+0 −7,598 dist/js/materialize.js
+0 −6 dist/js/materialize.min.js
+0 −7,563 dist/js/materialize.mjs
+24 −0 eslint.config.mjs
+0 −41 index.html
+0 −6 index.js
+0 −29 index.mjs
+1,357 −284 package-lock.json
+8 −6 package.json
+0 −1 rollup.config.ts
+5 −0 sass/components/_badges.scss
+44 −12 sass/components/_buttons.scss
+18 −6 sass/components/_cards.scss
+9 −3 sass/components/_chips.scss
+12 −6 sass/components/_collapsible.scss
+6 −0 sass/components/_datepicker.scss
+32 −65 sass/components/_modal.scss
+31 −5 sass/components/_tabs.scss
+95 −23 sass/components/_timepicker.scss
+53 −23 sass/components/forms/_input-fields.scss
+14 −2 spec/helpers/helper.js
+18 −0 spec/tests/carousel/carouselSpec.js
+37 −14 spec/tests/chips/chipsSpec.js
+85 −35 spec/tests/datepicker/datepickerSpec.js
+47 −120 spec/tests/modal/modalSpec.js
+351 −0 spec/tests/scrollspy/scrollspySpec.js
+99 −0 spec/tests/taptarget/taptargetSpec.js
+167 −42 src/cards.ts
+13 −0 src/carousel.ts
+33 −19 src/chips.ts
+462 −224 src/datepicker.ts
+6 −1 src/dropdown.ts
+42 −2 src/forms.ts
+66 −42 src/index.ts
+17 −4 src/materialbox.ts
+40 −294 src/modal.ts
+82 −4 src/scrollspy.ts
+27 −3 src/sidenav.ts
+10 −2 src/tabs.ts
+55 −25 src/tapTarget.ts
+132 −159 src/timepicker.ts
Loading