Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@smui/image-list

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smui/image-list - npm Package Compare versions

Comparing version 4.2.0 to 5.0.0-beta.0

ambient.d.ts

5

bare.js

@@ -1,2 +0,3 @@

export * from './index.js';
export { default } from './index.js';
export * from './index';
export { default } from './index';
//# sourceMappingURL=bare.js.map

@@ -6,2 +6,27 @@ # Change Log

# [5.0.0-beta.0](https://github.com/hperrin/svelte-material-ui/compare/v4.2.0...v5.0.0-beta.0) (2021-09-14)
### Bug Fixes
* some more type errors ([f4b8568](https://github.com/hperrin/svelte-material-ui/commit/f4b85687869c378f0df8b11a061c0b4cdf684d61))
### Features
* add prop types for HTML props for components ([f5c6e53](https://github.com/hperrin/svelte-material-ui/commit/f5c6e53390b4cbb2da04f543ef877cf03133fc80))
* got sveltekit working local in dev ([024b19a](https://github.com/hperrin/svelte-material-ui/commit/024b19aed05718b76b027dd2e908f4734d17c060))
* implement js builds of all ts files ([085b829](https://github.com/hperrin/svelte-material-ui/commit/085b82932f75a5c62bb4d5f709a19a8b3cbd12a4))
* migrate common and button to typescript ([cf9c6af](https://github.com/hperrin/svelte-material-ui/commit/cf9c6af17c59afc433c58245cc9444aece2195cc))
* migrate image list to typescript ([e9a8a32](https://github.com/hperrin/svelte-material-ui/commit/e9a8a3241bf9bf6046009c8fd50df34b71f4550a))
### BREAKING CHANGES
* Had to rename export "default" from Button to "defaultAction".
# [4.2.0](https://github.com/hperrin/svelte-material-ui/compare/v4.1.0...v4.2.0) (2021-05-05)

@@ -8,0 +33,0 @@

10

Image.js

@@ -1,7 +0,7 @@

import { classAdderBuilder } from '@smui/common/internal.js';
import Img from '@smui/common/Img.svelte';
import { classAdderBuilder } from '@smui/common/internal';
import { Img } from '@smui/common/elements';
export default classAdderBuilder({
class: 'mdc-image-list__image',
component: Img,
class: 'mdc-image-list__image',
component: Img,
});
//# sourceMappingURL=Image.js.map

@@ -1,7 +0,7 @@

import { classAdderBuilder } from '@smui/common/internal.js';
import Div from '@smui/common/Div.svelte';
import { classAdderBuilder } from '@smui/common/internal';
import { Div } from '@smui/common/elements';
export default classAdderBuilder({
class: 'mdc-image-list__image-aspect-container',
component: Div,
class: 'mdc-image-list__image-aspect-container',
component: Div,
});
//# sourceMappingURL=ImageAspectContainer.js.map
import ImageList from './ImageList.svelte';
import Item from './Item.js';
import ImageAspectContainer from './ImageAspectContainer.js';
import Image from './Image.js';
import Supporting from './Supporting.js';
import Label from '@smui/common/CommonLabel.svelte';
export * from './ImageList.types';
import Item from './Item';
import ImageAspectContainer from './ImageAspectContainer';
import Image from './Image';
import Supporting from './Supporting';
import { Label } from '@smui/common';
export default ImageList;
export { Item, ImageAspectContainer, Image, Supporting, Label };
//# sourceMappingURL=index.js.map

@@ -1,7 +0,7 @@

import { classAdderBuilder } from '@smui/common/internal.js';
import Li from '@smui/common/Li.svelte';
import { classAdderBuilder } from '@smui/common/internal';
import { Li } from '@smui/common/elements';
export default classAdderBuilder({
class: 'mdc-image-list__item',
component: Li,
class: 'mdc-image-list__item',
component: Li,
});
//# sourceMappingURL=Item.js.map
{
"name": "@smui/image-list",
"version": "4.2.0",
"version": "5.0.0-beta.0",
"description": "Svelte Material UI - Image List",
"type": "module",
"module": "index.js",
"types": "index.d.ts",
"keywords": [

@@ -17,3 +18,6 @@ "svelte",

"scripts": {
"prepare": "sass --no-source-map -I node_modules _style.scss bare.css",
"build": "npm run build:js && npm run build:sass",
"build:js": "tsc",
"build:sass": "sass --no-source-map -I node_modules -I ../../node_modules _style.scss bare.css",
"prepare": "npm run build",
"test": "echo \"Error: no test specified\" && exit 1"

@@ -35,8 +39,11 @@ },

"@material/image-list": "^11.0.0",
"@smui/common": "^4.2.0"
"@smui/common": "^5.0.0-beta.0"
},
"devDependencies": {
"sass": "^1.32.8"
"@tsconfig/svelte": "^2.0.1",
"sass": "^1.32.11",
"tslib": "^2.3.1",
"typescript": "^4.4.2"
},
"gitHead": "19ae8e223386d3c60daa642d631632c9e089155b"
"gitHead": "64f517242b78ff75df7865fc80f16d1a5c39bcaf"
}

@@ -11,58 +11,6 @@ # Svelte Material UI - Image List

# Demo
# Examples and Usage Information
[See it in action.](https://sveltematerialui.com/demo/image-list)
https://sveltematerialui.com/demo/image-list
[See the demo code.](/site/src/routes/demo/image-list/)
# Whoa There, These Docs are Outdated
The latest SMUI v3 had a lot of changes, and these docs haven't been caught up yet. You should check out the demo page's code to see the latest usage.
# Basic Usage
```svelte
<ImageList class="my-image-list">
{#each $images as image}
<Item>
<ImageAspectContainer>
<Image src={image.src} alt={image.title} />
</ImageAspectContainer>
<Supporting>
<Label>{image.description}</Label>
</Supporting>
</Item>
{/each}
</ImageList>
<script>
import ImageList, {
Item,
ImageAspectContainer,
Image,
Supporting,
Label,
} from '@smui/image-list';
import { images } from './store.js';
</script>
```
```scss
// style.scss
.my-image-list {
@include mdc-image-list-standard-columns(5);
max-width: 680px;
}
@media (max-width: 599px) {
.my-image-list {
@include mdc-image-list-standard-columns(3);
}
}
```
# Exports
todo...
# More Information

@@ -69,0 +17,0 @@

import './_index.scss';
export * from './index.js';
export { default } from './index.js';
export * from './index';
export { default } from './index';
//# sourceMappingURL=styled.js.map

@@ -1,7 +0,7 @@

import { classAdderBuilder } from '@smui/common/internal.js';
import Div from '@smui/common/Div.svelte';
import { classAdderBuilder } from '@smui/common/internal';
import { Div } from '@smui/common/elements';
export default classAdderBuilder({
class: 'mdc-image-list__supporting',
component: Div,
class: 'mdc-image-list__supporting',
component: Div,
});
//# sourceMappingURL=Supporting.js.map

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc