@remirror/ui
Advanced tools
Comparing version 0.7.6 to 1.0.0-next.0
# @remirror/ui | ||
## 1.0.0-next.0 | ||
> 2020-07-05 | ||
### Major Changes | ||
- b3153b4c: Deprecate unused packages in the latest version. | ||
## 0.7.6 | ||
@@ -4,0 +12,0 @@ |
{ | ||
"name": "@remirror/ui", | ||
"description": "ui utilities for remirror", | ||
"version": "1.0.0-next.0", | ||
"description": "DEPRECATED - ui utilities for remirror", | ||
"homepage": "https://github.com/remirror/remirror/tree/next/@remirror/ui", | ||
"repository": "https://github.com/remirror/remirror/tree/master/support/deprecated/ui", | ||
"license": "MIT", | ||
"author": "Ifiok Jr. <ifiokotung@gmail.com>", | ||
"homepage": "https://github.com/remirror/remirror/tree/master/@remirror/ui", | ||
"repository": "https://github.com/remirror/remirror/tree/master/@remirror/ui", | ||
"version": "0.7.6", | ||
"main": "lib/index.js", | ||
"module": "lib/dist/ui.esm.js", | ||
"files": [ | ||
"lib", | ||
"src" | ||
"contributors": [ | ||
"Ifiok Jr. <ifiokotung@gmail.com>" | ||
], | ||
"sideEffects": false, | ||
"types": "lib/index.d.ts", | ||
"dependencies": { | ||
"@babel/runtime": "^7", | ||
"@remirror/core-constants": "^0.7.4", | ||
"@remirror/core-helpers": "^0.7.6", | ||
"@remirror/core-types": "^0.9.0", | ||
"@styled-system/css": "^5.0.23", | ||
"@types/styled-system__css": "^5.0.4", | ||
"csstype": "^2.6.7", | ||
"emotion-theming": "^10.0.19" | ||
}, | ||
"peerDependencies": { | ||
"@emotion/core": "^10", | ||
"@types/react": "^16.8.0", | ||
"react": "^16.8.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"cjs": "lib/dist/ui.cjs.js", | ||
"meta": { | ||
"sizeLimit": "20 KB" | ||
} | ||
} |
# @remirror/ui | ||
[![npm bundle size (scoped)](https://img.shields.io/bundlephobia/minzip/@remirror/ui.svg?)](https://bundlephobia.com/result?p=@remirror/ui) | ||
[![npm](https://img.shields.io/npm/dm/@remirror/ui.svg?&logo=npm)](https://www.npmjs.com/package/@remirror/ui) | ||
This library is the base for all the UI (user interface) components and styles within Remirror. It uses | ||
`@emotion/core` and `@styled-system/css`, but was inspired by `theme-ui`. | ||
## Installation | ||
```bash | ||
yarn add @remirror/ui @remirror/core @remirror/react | ||
``` | ||
## Usage | ||
Firstly, create the theme or use a custom theme preset. | ||
### `sx` | ||
The `sx` utility comes from the [`@styled-system/css`][styled-system/css] package and is intended for use with | ||
the Emotion `css` prop. It will attempt to use values from the `theme` object for many common CSS properties, | ||
and will fall back to raw values when there is no corresponding theme value. | ||
To see a list of supported CSS properties, see the | ||
[Styled System CSS docs](https://styled-system.com/css/#theme-keys). | ||
```js | ||
sx(styleObject)(theme); | ||
``` | ||
**Usage:** | ||
```jsx | ||
/** @jsx jsx */ | ||
import { jsx } from '@emotion/core'; | ||
<div css={sx(styles)} />; | ||
``` | ||
| Argument | Type | Description | | ||
| ------------- | ------ | ---------------------------------------------------------------------------------------------------- | | ||
| `styleObject` | Object | a theme-aware style object with support for responsive array values and Styled System prop shortcuts | | ||
| `theme` | Object | the Emotion theming context object | | ||
Deprecated. Remirror is not a UI library. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
1361
3
0
4
2
- Removed@babel/runtime@^7
- Removed@remirror/core-constants@^0.7.4
- Removed@remirror/core-helpers@^0.7.6
- Removed@remirror/core-types@^0.9.0
- Removed@styled-system/css@^5.0.23
- Removed@types/styled-system__css@^5.0.4
- Removedcsstype@^2.6.7
- Removedemotion-theming@^10.0.19
- Removed@babel/code-frame@7.26.2(transitive)
- Removed@babel/generator@7.26.3(transitive)
- Removed@babel/helper-module-imports@7.25.9(transitive)
- Removed@babel/helper-string-parser@7.25.9(transitive)
- Removed@babel/helper-validator-identifier@7.25.9(transitive)
- Removed@babel/parser@7.26.3(transitive)
- Removed@babel/runtime@7.26.0(transitive)
- Removed@babel/template@7.25.9(transitive)
- Removed@babel/traverse@7.26.4(transitive)
- Removed@babel/types@7.26.3(transitive)
- Removed@emotion/cache@10.0.29(transitive)
- Removed@emotion/core@10.3.1(transitive)
- Removed@emotion/css@10.0.27(transitive)
- Removed@emotion/hash@0.8.0(transitive)
- Removed@emotion/memoize@0.7.4(transitive)
- Removed@emotion/serialize@0.11.16(transitive)
- Removed@emotion/sheet@0.9.4(transitive)
- Removed@emotion/stylis@0.8.5(transitive)
- Removed@emotion/unitless@0.7.5(transitive)
- Removed@emotion/utils@0.11.3(transitive)
- Removed@emotion/weak-memoize@0.2.5(transitive)
- Removed@jridgewell/gen-mapping@0.3.8(transitive)
- Removed@jridgewell/resolve-uri@3.1.2(transitive)
- Removed@jridgewell/set-array@1.2.1(transitive)
- Removed@jridgewell/sourcemap-codec@1.5.0(transitive)
- Removed@jridgewell/trace-mapping@0.3.25(transitive)
- Removed@remirror/core-constants@0.7.4(transitive)
- Removed@remirror/core-helpers@0.7.6(transitive)
- Removed@remirror/core-types@0.9.0(transitive)
- Removed@remirror/react-portals@0.7.4(transitive)
- Removed@styled-system/css@5.1.5(transitive)
- Removed@types/nanoevents@1.0.0(transitive)
- Removed@types/nanoid@2.1.0(transitive)
- Removed@types/node@22.10.2(transitive)
- Removed@types/object.omit@3.0.3(transitive)
- Removed@types/object.pick@1.3.4(transitive)
- Removed@types/parse-json@4.0.2(transitive)
- Removed@types/prop-types@15.7.14(transitive)
- Removed@types/prosemirror-commands@1.3.0(transitive)
- Removed@types/prosemirror-inputrules@1.2.0(transitive)
- Removed@types/prosemirror-keymap@1.2.0(transitive)
- Removed@types/prosemirror-model@1.17.0(transitive)
- Removed@types/prosemirror-schema-list@1.2.0(transitive)
- Removed@types/prosemirror-state@1.4.0(transitive)
- Removed@types/prosemirror-transform@1.5.0(transitive)
- Removed@types/prosemirror-view@1.24.0(transitive)
- Removed@types/react@16.14.62(transitive)
- Removed@types/react-dom@16.9.25(transitive)
- Removed@types/scheduler@0.16.8(transitive)
- Removed@types/styled-system__css@5.0.21(transitive)
- Removed@types/throttle-debounce@2.1.0(transitive)
- Removedbabel-plugin-emotion@10.2.2(transitive)
- Removedbabel-plugin-macros@2.8.0(transitive)
- Removedbabel-plugin-syntax-jsx@6.18.0(transitive)
- Removedcallsites@3.1.0(transitive)
- Removedconvert-source-map@1.9.0(transitive)
- Removedcosmiconfig@6.0.0(transitive)
- Removedcsstype@2.6.213.1.3(transitive)
- Removeddebug@4.4.0(transitive)
- Removeddeepmerge@4.3.1(transitive)
- Removedemotion-theming@10.3.0(transitive)
- Removederror-ex@1.3.2(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedfast-deep-equal@2.0.1(transitive)
- Removedfast-memoize@2.5.2(transitive)
- Removedfind-root@1.1.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedglobals@11.12.0(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhoist-non-react-statics@3.3.2(transitive)
- Removedimport-fresh@3.3.0(transitive)
- Removedis-arrayish@0.2.1(transitive)
- Removedis-core-module@2.16.1(transitive)
- Removedis-extendable@1.0.1(transitive)
- Removedis-plain-object@2.0.4(transitive)
- Removedisobject@3.0.1(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedjsesc@3.1.0(transitive)
- Removedjson-parse-even-better-errors@2.3.1(transitive)
- Removedlines-and-columns@1.2.4(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedms@2.1.3(transitive)
- Removednanoevents@2.0.0(transitive)
- Removednanoid@2.1.11(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedobject.omit@3.0.0(transitive)
- Removedobject.pick@1.3.0(transitive)
- Removedorderedmap@2.1.1(transitive)
- Removedparent-module@1.0.1(transitive)
- Removedparse-json@5.2.0(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedpath-type@4.0.0(transitive)
- Removedpicocolors@1.1.1(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedprosemirror-commands@1.6.2(transitive)
- Removedprosemirror-inputrules@1.4.0(transitive)
- Removedprosemirror-keymap@1.2.2(transitive)
- Removedprosemirror-model@1.24.1(transitive)
- Removedprosemirror-schema-list@1.5.0(transitive)
- Removedprosemirror-state@1.4.3(transitive)
- Removedprosemirror-transform@1.10.2(transitive)
- Removedprosemirror-view@1.37.1(transitive)
- Removedreact@16.14.0(transitive)
- Removedreact-dom@16.14.0(transitive)
- Removedreact-is@16.13.1(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
- Removedresolve@1.22.10(transitive)
- Removedresolve-from@4.0.0(transitive)
- Removedscheduler@0.19.1(transitive)
- Removedsource-map@0.5.7(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedthrottle-debounce@2.3.0(transitive)
- Removedtype-fest@0.11.0(transitive)
- Removedundici-types@6.20.0(transitive)
- Removedw3c-keyname@2.2.8(transitive)
- Removedyaml@1.10.2(transitive)