@cotype/ui
Advanced tools
Comparing version 1.0.0-feature-initial.2e83521 to 1.0.0-feature-initial.3c50170
@@ -1,3 +0,3 @@ | ||
import { createGlobalStyle } from 'styled-components'; | ||
export const BaseStyle = createGlobalStyle ` | ||
import { createGlobalStyle, css } from 'styled-components/macro'; | ||
export const baseStyleCss = css ` | ||
body, | ||
@@ -12,4 +12,4 @@ html, | ||
html { | ||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, | ||
Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | ||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, | ||
Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; | ||
font-size: 14.4px; | ||
@@ -78,2 +78,5 @@ font-weight: 400; | ||
`; | ||
export const BaseStyle = createGlobalStyle ` | ||
${baseStyleCss} | ||
`; | ||
//# sourceMappingURL=index.js.map |
export * from './BaseStyle'; | ||
export * from './Test'; | ||
export * from './SimpleElements'; | ||
export * from './Button'; | ||
export * from './Icon'; | ||
export * from './StatusLight'; | ||
export * from './ToggleSwitch'; | ||
export * from './ImageCircle'; | ||
export * from './PopoverMenu'; | ||
export * from './ProgressCircle'; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@cotype/ui", | ||
"version": "1.0.0-feature-initial.2e83521", | ||
"version": "1.0.0-feature-initial.3c50170", | ||
"description": "UI Components for cotype Admin UI", | ||
"main": "lib/", | ||
"main": "lib/index.js", | ||
"typings": "lib/index.d.ts", | ||
"sideEffects": false, | ||
"scripts": { | ||
@@ -11,3 +13,4 @@ "build": "rm -rf lib/ && tsc", | ||
"lint-fix": "eslint . --ext .ts,.tsx --fix", | ||
"storybook": "start-storybook -p 6006 -s public" | ||
"storybook": "start-storybook -p 6006 -s storybookPublic", | ||
"build-storybook": "rm -rf docs && rm -rf storybook-static && build-storybook -s storybookPublic && mv storybook-static docs" | ||
}, | ||
@@ -20,7 +23,12 @@ "license": "SEE LICENSE IN LICENSE.md", | ||
"dependencies": { | ||
"color-hash": "^1.0.3", | ||
"decorate-gh-pr": "^1.3.1", | ||
"react": "^16.13.1", | ||
"react-dom": "^16.13.1", | ||
"styled-components": "^5.1.0" | ||
"react-circular-progressbar": "^2.0.3", | ||
"react-tiny-popover": "^4.1.0" | ||
}, | ||
"perDependencies": { | ||
"react": ">=16", | ||
"react-dom": ">=16", | ||
"styled-components": ">=5" | ||
}, | ||
"devDependencies": { | ||
@@ -36,2 +44,3 @@ "@babel/preset-env": "^7.12.16", | ||
"@storybook/react": "^6.1.18", | ||
"@types/color-hash": "^1.0.0", | ||
"@types/styled-components": "^5.1.0", | ||
@@ -42,6 +51,14 @@ "babel-plugin-styled-components": "^1.12.0", | ||
"prettier": "^2.2.1", | ||
"react": "^16.14.0", | ||
"react-dom": "^16.14.0", | ||
"semantic-release": "^17.3.9", | ||
"semantish-prerelease": "^3.1.1", | ||
"styled-components": "^5.2.1", | ||
"typescript": "^4.1.5" | ||
}, | ||
"babelMacros": { | ||
"styledComponents": { | ||
"pure": true | ||
} | ||
} | ||
} |
@@ -26,2 +26,4 @@ <h2 align="center"> | ||
Component Overview: https://cotype.github.io/ui | ||
--- | ||
@@ -42,4 +44,3 @@ | ||
```ts | ||
// server.ts | ||
import { init, Opts /* ... */ } from "@cotype/ui"; | ||
import { Button, buttonClass, ... } from "@cotype/ui"; | ||
@@ -55,4 +56,1 @@ ``` | ||
to the [contribution guidelines](https://github.com/cotype/core/blob/master/CONTRIBUTING.md) | ||
@@ -10,3 +10,3 @@ module.exports = { | ||
comment: | ||
"<hr /><p><em><date>[<% print(date.toISOString()) %>]</date></em> Pre-released:<br /><code>@cotype/ui@<%= version %></code></p>" | ||
"<hr /><p><em><date>[<% print(date.toISOString()) %>]</date></em> Pre-released: <pre><%= version %></pre><br /><code>npm i @cotype/ui@<%= version %></code></p>" | ||
} | ||
@@ -13,0 +13,0 @@ ], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances 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
5688835
52
10625
21
3
54
2
+ Addedcolor-hash@^1.0.3
+ Addedreact-tiny-popover@^4.1.0
+ Addedcolor-hash@1.1.1(transitive)
+ Addedreact@18.3.1(transitive)
+ Addedreact-circular-progressbar@2.1.0(transitive)
+ Addedreact-tiny-popover@4.1.0(transitive)
- Removedreact@^16.13.1
- Removedreact-dom@^16.13.1
- Removedstyled-components@^5.1.0
- Removed@ampproject/remapping@2.3.0(transitive)
- Removed@babel/code-frame@7.26.2(transitive)
- Removed@babel/compat-data@7.26.3(transitive)
- Removed@babel/core@7.26.0(transitive)
- Removed@babel/generator@7.26.3(transitive)
- Removed@babel/helper-annotate-as-pure@7.25.9(transitive)
- Removed@babel/helper-compilation-targets@7.25.9(transitive)
- Removed@babel/helper-module-imports@7.25.9(transitive)
- Removed@babel/helper-module-transforms@7.26.0(transitive)
- Removed@babel/helper-plugin-utils@7.25.9(transitive)
- Removed@babel/helper-string-parser@7.25.9(transitive)
- Removed@babel/helper-validator-identifier@7.25.9(transitive)
- Removed@babel/helper-validator-option@7.25.9(transitive)
- Removed@babel/helpers@7.26.0(transitive)
- Removed@babel/parser@7.26.3(transitive)
- Removed@babel/plugin-syntax-jsx@7.25.9(transitive)
- Removed@babel/template@7.25.9(transitive)
- Removed@babel/traverse@7.26.4(transitive)
- Removed@babel/types@7.26.3(transitive)
- Removed@emotion/is-prop-valid@1.3.1(transitive)
- Removed@emotion/memoize@0.9.0(transitive)
- Removed@emotion/stylis@0.8.5(transitive)
- Removed@emotion/unitless@0.7.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)
- Removedbabel-plugin-styled-components@2.1.4(transitive)
- Removedbrowserslist@4.24.3(transitive)
- Removedcamelize@1.0.1(transitive)
- Removedcaniuse-lite@1.0.30001690(transitive)
- Removedconvert-source-map@2.0.0(transitive)
- Removedcss-color-keywords@1.0.0(transitive)
- Removedcss-to-react-native@3.2.0(transitive)
- Removeddebug@4.4.0(transitive)
- Removedelectron-to-chromium@1.5.76(transitive)
- Removedescalade@3.2.0(transitive)
- Removedgensync@1.0.0-beta.2(transitive)
- Removedglobals@11.12.0(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedhoist-non-react-statics@3.3.2(transitive)
- Removedjsesc@3.1.0(transitive)
- Removedjson5@2.2.3(transitive)
- Removedlodash@4.17.21(transitive)
- Removedlru-cache@5.1.1(transitive)
- Removedms@2.1.3(transitive)
- Removednode-releases@2.0.19(transitive)
- Removedpicocolors@1.1.1(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedpostcss-value-parser@4.2.0(transitive)
- Removedsemver@6.3.1(transitive)
- Removedshallowequal@1.1.0(transitive)
- Removedstyled-components@5.3.11(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removedupdate-browserslist-db@1.1.1(transitive)
- Removedyallist@3.1.1(transitive)