Skip to content

Commit c8e9fd1

Browse files
committed
update @material-tailwind/react
1 parent cfb72c5 commit c8e9fd1

File tree

12 files changed

+77
-5
lines changed

12 files changed

+77
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<img src="https://img.shields.io/npm/dt/@material-tailwind/react.svg" alt="Total Downloads">
1212
</a>
1313
<a href="https://github.com/creativetimofficial/material-tailwind/releases">
14-
<img src="https://img.shields.io/badge/version-2.1.9-blue.svg" alt="Version" />
14+
<img src="https://img.shields.io/badge/version-2.1.10-blue.svg" alt="Version" />
1515
</a>
1616
</p>
1717
<p align="center">

docs-content/react/releases.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
export const releases = [
2+
{
3+
version: "2.1.10",
4+
date: "September 3, 2024",
5+
name: "@material-tailwind/react",
6+
description: "Material Tailwind v2.1.10",
7+
content: [
8+
{
9+
title: "patch changes",
10+
data: [
11+
"Update the input design for black and white colors.",
12+
"Add black and white colors support for textarea component.",
13+
],
14+
},
15+
],
16+
},
217
{
318
version: "2.1.9",
419
date: "February 8, 2024",

documentation/react/release-notes.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Release Notes - Material Tailwind
33
description: Tailwind CSS is a highly customizable, low-level CSS framework that gives you all of the building blocks you need to build bespoke designs without any annoying opinionated styles you have to fight to override.
44
navigation: [
5+
"v2.1.10",
56
"v2.1.9",
67
"v2.1.8",
78
"v2.1.7",

packages/material-tailwind-react/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<img src="https://img.shields.io/npm/dt/@material-tailwind/react.svg" alt="Total Downloads">
99
</a>
1010
<a href="https://github.com/creativetimofficial/material-tailwind/releases">
11-
<img src="https://img.shields.io/badge/version-2.1.9-blue.svg" alt="Version" />
11+
<img src="https://img.shields.io/badge/version-2.1.10-blue.svg" alt="Version" />
1212
</a>
1313
<a href="https://www.material-tailwind.com/docs/react/license">
1414
<img src="https://img.shields.io/badge/license-MIT-blue" alt="Licenese">

packages/material-tailwind-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@material-tailwind/react",
33
"homepage": "https://material-tailwind.com",
4-
"version": "2.1.9",
4+
"version": "2.1.10",
55
"description": "@material-tailwind/react is an easy-to-use components library for ReactJS & Tailwind CSS inspired by Material Design.",
66
"repository": "https://github.com/creativetimofficial/material-tailwind",
77
"license": "MIT",

packages/material-tailwind-react/src/theme/components/input/inputStatic/inputStaticLabelColors.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
const inputStaticLabelColors: object = {
22
black: {
3-
color: "!text-black peer-focus:black",
3+
color: "!text-black peer-focus:!text-black",
44
after: "after:border-black peer-focus:after:border-black",
55
},
66
white: {
7-
color: "!text-white peer-focus:white",
7+
color: "!text-white peer-focus:!text-white",
88
after: "after:border-white peer-focus:after:border-white",
99
},
1010
"blue-gray": {

packages/material-tailwind-react/src/theme/components/textarea/textareaOutlined/textareaOutlinedColors.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
const textareaOutlinedColors: object = {
2+
black: {
3+
color: "!text-black",
4+
borderColor: "!border-black",
5+
borderColorFocused: "focus:!border-black",
6+
},
7+
white: {
8+
color: "!text-white",
9+
borderColor: "!border-white",
10+
borderColorFocused: "focus:!border-white",
11+
},
212
"blue-gray": {
313
borderColor: "border-blue-gray-200",
414
borderColorFocused: "focus:border-blue-gray-500",

packages/material-tailwind-react/src/theme/components/textarea/textareaOutlined/textareaOutlinedLabelColors.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
const textareaOutlinedLabelColors: object = {
2+
black: {
3+
color: "!text-black peer-focus:!text-black",
4+
before: "before:!border-black peer-focus:before:!border-black",
5+
after: "after:!border-black peer-focus:after:!border-black",
6+
},
7+
white: {
8+
color: "!text-white peer-focus:!text-white",
9+
before: "before:!border-white peer-focus:before:!border-white",
10+
after: "after:!border-white peer-focus:after:!border-white",
11+
},
212
"blue-gray": {
313
color: "text-blue-gray-400 peer-focus:text-blue-gray-500",
414
before: "before:border-blue-gray-200 peer-focus:before:!border-blue-gray-500",

packages/material-tailwind-react/src/theme/components/textarea/textareaStandard/textareaStandardColors.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
const textareaStandardColors: object = {
2+
black: {
3+
color: "!text-black",
4+
borderColor: "!border-black",
5+
borderColorFocused: "focus:!border-black",
6+
},
7+
white: {
8+
color: "!text-white",
9+
borderColor: "!border-white",
10+
borderColorFocused: "focus:!border-white",
11+
},
212
"blue-gray": {
313
borderColor: "border-blue-gray-200",
414
borderColorFocused: "focus:border-blue-gray-500",

packages/material-tailwind-react/src/theme/components/textarea/textareaStandard/textareaStandardLabelColors.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
const textareaStandardLabelColors: object = {
2+
black: {
3+
color: "!text-black peer-focus:!text-black",
4+
after: "after:!border-black peer-focus:after:!border-black",
5+
},
6+
white: {
7+
color: "!text-white peer-focus:!text-white",
8+
after: "after:!border-white peer-focus:after:!border-white",
9+
},
210
"blue-gray": {
311
color: "text-blue-gray-500 peer-focus:text-blue-gray-500",
412
after: "after:border-blue-gray-500 peer-focus:after:!border-blue-gray-500",

0 commit comments

Comments
 (0)