Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,5 @@ __tests__/
/examples/
/Dockerfile
/docker-compose.yml

/storybook-static/
5 changes: 0 additions & 5 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import type { Preview } from '@storybook/react'

import '@fontsource/roboto/300.css'
import '@fontsource/roboto/400.css'
import '@fontsource/roboto/500.css'
import '@fontsource/roboto/700.css'
import 'material-symbols'
import '../src/styles.css'

const preview: Preview = {
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.7] - 2024-04-01

### Fixed
- Fixed the @fontsource/roboto css import issue in vite bundler.

## [1.0.6] - 2024-04-01

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-material-web",
"version": "1.0.6",
"version": "1.0.7",
"description": "A React Material components using material web and lit/react",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/styles.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@import 'material-symbols';
@import '~@fontsource/roboto';
@import '@fontsource/roboto';

label {
display: inline-flex;
place-items: center;
gap: 8px;
font-family: Roboto, system-ui;
font-family: "Roboto", system-ui;
color: var(--md-sys-color-on-background, #000);
}

Expand Down