Skip to content

Commit 140dc85

Browse files
authored
Merge pull request #17 from create-new-ui/feature
Clean up deprecated pseudo-element selectors
2 parents c0e70c7 + 069ed87 commit 140dc85

File tree

10 files changed

+10
-36
lines changed

10 files changed

+10
-36
lines changed

.stylelintrc.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,6 @@
33
"rules": {
44
"selector-class-pattern": null,
55
"number-max-precision": 10,
6-
"selector-pseudo-element-no-unknown": [
7-
true,
8-
{
9-
"ignorePseudoElements": ["input-placeholder"]
10-
}
11-
],
12-
"selector-pseudo-class-no-unknown": [
13-
true,
14-
{
15-
"ignorePseudoClasses": ["input-placeholder"]
16-
}
17-
],
186
"declaration-block-single-line-max-declarations": null
197
}
208
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#### What is New UI?
44

5-
New UI is a modern, semantic UI framework for building beautiful, accessible websites and apps. It gives you all the core design foundations you need—colors, typography, spacing and sizing, reset, grid and layouts, and layering and elevations. It's designed to grow with you, from your first launch to millions of users. Thoughtfully made for makers, small teams, and anyone who cares about great design.
5+
New UI is a modern, semantic UI framework for building beautiful, accessible websites and apps. It gives you all the core design foundations you need—colors, typography, spacing and sizing, reset, grid and layouts, and layering and elevations. It's designed to grow with you, from your first launch to millions of users. Thoughtfully designed for makers and teams who value scalability and function.
66

77
#### Install
88

@@ -12,7 +12,7 @@ To set up the project, open your terminal and run the following command:
1212
npm i -D @new-ui/foundations
1313
```
1414

15-
<strong>Note:</strong> This command installs all New UI foundation packages, which include reset, colors, effects, spacings, and typography. If you need to install only specific packages, refer to the foundations documentation for instructions.
15+
<strong>Note:</strong> This command installs all New UI foundation packages, which include reset, colors, effects, spacings, and typography. If you need to install only specific packages, refer to the New UI docs for instructions.
1616

1717
#### Import
1818

bun.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"": {
55
"name": "@new-ui/foundations",
66
"dependencies": {
7-
"@new-ui/colors": "^2.2.2",
7+
"@new-ui/colors": "^2.2.3",
88
"@new-ui/effects": "^0.1.9",
99
"@new-ui/reset": "^0.1.1",
1010
"@new-ui/spacings": "^0.1.8",
@@ -21,7 +21,7 @@
2121
},
2222
"packages/colors": {
2323
"name": "@new-ui/colors",
24-
"version": "2.2.2",
24+
"version": "2.2.3",
2525
"devDependencies": {
2626
"@parcel/transformer-sass": "^2.16.3",
2727
"autoprefixer": "^10.4.23",

dist/index.css

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@new-ui/foundations",
3-
"version": "0.3.3",
3+
"version": "0.3.4",
44
"description": "New UI foundations",
55
"source": "src/index.scss",
66
"main": "dist/index.css",
@@ -57,7 +57,7 @@
5757
"stylelint-config-standard-scss": "^16.0.0"
5858
},
5959
"dependencies": {
60-
"@new-ui/colors": "^2.2.2",
60+
"@new-ui/colors": "^2.2.3",
6161
"@new-ui/effects": "^0.1.9",
6262
"@new-ui/reset": "^0.1.1",
6363
"@new-ui/spacings": "^0.1.8",

packages/colors/dist/index.css

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/colors/dist/index.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/colors/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@new-ui/colors",
3-
"version": "2.2.2",
3+
"version": "2.2.3",
44
"description": "New UI colors",
55
"source": "src/index.scss",
66
"main": "dist/index.css",

packages/colors/src/_utilities.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,7 @@
154154
color: var(--content-secondary-alt);
155155
}
156156

157-
.nu-u-text--placeholder::placeholder,
158-
.nu-u-text--placeholder::input-placeholder,
159-
.nu-u-text--placeholder:input-placeholder {
157+
.nu-u-text--placeholder::placeholder {
160158
color: var(--content-placeholder);
161159
}
162160

0 commit comments

Comments
 (0)