@smui/textfield
Advanced tools
Comparing version 4.2.0 to 5.0.0-beta.0
@@ -1,2 +0,3 @@ | ||
export * from './index.js'; | ||
export { default } from './index.js'; | ||
export * from './index'; | ||
export { default } from './index'; | ||
//# sourceMappingURL=bare.js.map |
@@ -6,2 +6,34 @@ # Change Log | ||
# [5.0.0-beta.0](https://github.com/hperrin/svelte-material-ui/compare/v4.2.0...v5.0.0-beta.0) (2021-09-14) | ||
### Bug Fixes | ||
* make non-index import paths explicit ([2821cb0](https://github.com/hperrin/svelte-material-ui/commit/2821cb02391b332692489022b788c265ce29c1bb)) | ||
* some more type errors ([f4b8568](https://github.com/hperrin/svelte-material-ui/commit/f4b85687869c378f0df8b11a061c0b4cdf684d61)) | ||
* textfield had some issues ([fce60e1](https://github.com/hperrin/svelte-material-ui/commit/fce60e1fc79b788331b4835a8e65e8aa09848e72)) | ||
### Features | ||
* add input props and element props to textfield type ([c929bb8](https://github.com/hperrin/svelte-material-ui/commit/c929bb8698af6b75e36a33b8525ea744c592b39a)) | ||
* add prop types for HTML props for components ([f5c6e53](https://github.com/hperrin/svelte-material-ui/commit/f5c6e53390b4cbb2da04f543ef877cf03133fc80)) | ||
* got sveltekit working local in dev ([024b19a](https://github.com/hperrin/svelte-material-ui/commit/024b19aed05718b76b027dd2e908f4734d17c060)) | ||
* implement js builds of all ts files ([085b829](https://github.com/hperrin/svelte-material-ui/commit/085b82932f75a5c62bb4d5f709a19a8b3cbd12a4)) | ||
* migrate card to typescript ([c1a9ef2](https://github.com/hperrin/svelte-material-ui/commit/c1a9ef2477f4e26b863f0cadb33f548a7b35bf8b)) | ||
* migrate chips to typescript ([075f48a](https://github.com/hperrin/svelte-material-ui/commit/075f48af5e16ee34c38307eb15664e1389596736)) | ||
* migrate common and button to typescript ([cf9c6af](https://github.com/hperrin/svelte-material-ui/commit/cf9c6af17c59afc433c58245cc9444aece2195cc)) | ||
* migrate select to typescript ([c555fa1](https://github.com/hperrin/svelte-material-ui/commit/c555fa107ac2bc0d9cb8e6547da77ddbb58e2f3b)) | ||
* migrate textfield to typescript ([0010211](https://github.com/hperrin/svelte-material-ui/commit/00102118220c8329aa7fbd3b524f1d95e8cebf02)) | ||
### BREAKING CHANGES | ||
* Renamed SMUI events from like SMUI:component:event to like SMUIComponent:event. | ||
* Had to rename export "default" from Button to "defaultAction". | ||
# [4.2.0](https://github.com/hperrin/svelte-material-ui/compare/v4.1.0...v4.2.0) (2021-05-05) | ||
@@ -8,0 +40,0 @@ |
@@ -1,2 +0,3 @@ | ||
export * from './index.js'; | ||
export { default } from './index.js'; | ||
export * from './index'; | ||
export { default } from './index'; | ||
//# sourceMappingURL=bare.js.map |
import CharacterCounter from './CharacterCounter.svelte'; | ||
export * from './CharacterCounter.types'; | ||
export default CharacterCounter; | ||
//# sourceMappingURL=index.js.map |
@@ -5,16 +5,6 @@ # Svelte Material UI - Text Field Character Counter | ||
# Demo | ||
# Examples and Usage Information | ||
[See it in action.](https://sveltematerialui.com/demo/textfield) | ||
https://sveltematerialui.com/demo/textfield | ||
[See the demo code.](/site/src/routes/demo/textfield/) | ||
# Basic Usage | ||
todo... | ||
# Exports | ||
todo... | ||
# More Information | ||
@@ -21,0 +11,0 @@ |
import './_index.scss'; | ||
export * from './index.js'; | ||
export { default } from './index.js'; | ||
export * from './index'; | ||
export { default } from './index'; | ||
//# sourceMappingURL=styled.js.map |
@@ -1,2 +0,3 @@ | ||
export * from './index.js'; | ||
export { default } from './index.js'; | ||
export * from './index'; | ||
export { default } from './index'; | ||
//# sourceMappingURL=bare.js.map |
import HelperText from './HelperText.svelte'; | ||
export * from './HelperText.types'; | ||
export default HelperText; | ||
//# sourceMappingURL=index.js.map |
@@ -5,16 +5,6 @@ # Svelte Material UI - Text Field Helper Text | ||
# Demo | ||
# Examples and Usage Information | ||
[See it in action.](https://sveltematerialui.com/demo/textfield) | ||
https://sveltematerialui.com/demo/textfield | ||
[See the demo code.](/site/src/routes/demo/textfield/) | ||
# Basic Usage | ||
todo... | ||
# Exports | ||
todo... | ||
# More Information | ||
@@ -21,0 +11,0 @@ |
import './_index.scss'; | ||
export * from './index.js'; | ||
export { default } from './index.js'; | ||
export * from './index'; | ||
export { default } from './index'; | ||
//# sourceMappingURL=styled.js.map |
@@ -1,7 +0,7 @@ | ||
import { classAdderBuilder } from '@smui/common/internal.js'; | ||
import Div from '@smui/common/Div.svelte'; | ||
import { classAdderBuilder } from '@smui/common/internal'; | ||
import { Div } from '@smui/common/elements'; | ||
export default classAdderBuilder({ | ||
class: 'mdc-text-field-helper-line', | ||
component: Div, | ||
class: 'mdc-text-field-helper-line', | ||
component: Div, | ||
}); | ||
//# sourceMappingURL=HelperLine.js.map |
@@ -1,2 +0,3 @@ | ||
export * from './index.js'; | ||
export { default } from './index.js'; | ||
export * from './index'; | ||
export { default } from './index'; | ||
//# sourceMappingURL=bare.js.map |
import Icon from './Icon.svelte'; | ||
export * from './Icon.types'; | ||
export default Icon; | ||
//# sourceMappingURL=index.js.map |
@@ -5,16 +5,6 @@ # Svelte Material UI - Text Field Icon | ||
# Demo | ||
# Examples and Usage Information | ||
[See it in action.](https://sveltematerialui.com/demo/textfield) | ||
https://sveltematerialui.com/demo/textfield | ||
[See the demo code.](/site/src/routes/demo/textfield/) | ||
# Basic Usage | ||
todo... | ||
# Exports | ||
todo... | ||
# More Information | ||
@@ -21,0 +11,0 @@ |
import './_index.scss'; | ||
export * from './index.js'; | ||
export { default } from './index.js'; | ||
export * from './index'; | ||
export { default } from './index'; | ||
//# sourceMappingURL=styled.js.map |
19
index.js
import Textfield from './Textfield.svelte'; | ||
import Prefix from './Prefix.js'; | ||
import Suffix from './Suffix.js'; | ||
import HelperLine from './HelperLine.js'; | ||
import Input from './Input.svelte'; | ||
import Textarea from './Textarea.svelte'; | ||
export * from './Textfield.types'; | ||
import Prefix from './Prefix'; | ||
import Suffix from './Suffix'; | ||
import HelperLine from './HelperLine'; | ||
import InputComponent from './Input.svelte'; | ||
export * from './Input.types'; | ||
const Input = InputComponent; | ||
import TextareaComponent from './Textarea.svelte'; | ||
export * from './Textarea.types'; | ||
const Textarea = TextareaComponent; | ||
export default Textfield; | ||
export { Prefix, Suffix, HelperLine, Input, Textarea }; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@smui/textfield", | ||
"version": "4.2.0", | ||
"version": "5.0.0-beta.0", | ||
"description": "Svelte Material UI - Text Field", | ||
"type": "module", | ||
"module": "index.js", | ||
"types": "index.d.ts", | ||
"keywords": [ | ||
@@ -17,3 +18,6 @@ "svelte", | ||
"scripts": { | ||
"prepare": "sass --no-source-map -I node_modules _style.scss bare.css && sass --no-source-map -I node_modules character-counter/_style.scss character-counter/bare.css && sass --no-source-map -I node_modules helper-text/_style.scss helper-text/bare.css && sass --no-source-map -I node_modules icon/_style.scss icon/bare.css", | ||
"build": "npm run build:js && npm run build:sass", | ||
"build:js": "tsc", | ||
"build:sass": "sass --no-source-map -I node_modules -I ../../node_modules _style.scss bare.css && sass --no-source-map -I node_modules -I ../../node_modules character-counter/_style.scss character-counter/bare.css && sass --no-source-map -I node_modules -I ../../node_modules helper-text/_style.scss helper-text/bare.css && sass --no-source-map -I node_modules -I ../../node_modules icon/_style.scss icon/bare.css", | ||
"prepare": "npm run build", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
@@ -39,12 +43,15 @@ }, | ||
"@material/textfield": "^11.0.0", | ||
"@smui/common": "^4.2.0", | ||
"@smui/floating-label": "^4.2.0", | ||
"@smui/line-ripple": "^4.2.0", | ||
"@smui/notched-outline": "^4.2.0", | ||
"@smui/ripple": "^4.2.0" | ||
"@smui/common": "^5.0.0-beta.0", | ||
"@smui/floating-label": "^5.0.0-beta.0", | ||
"@smui/line-ripple": "^5.0.0-beta.0", | ||
"@smui/notched-outline": "^5.0.0-beta.0", | ||
"@smui/ripple": "^5.0.0-beta.0" | ||
}, | ||
"devDependencies": { | ||
"sass": "^1.32.8" | ||
"@tsconfig/svelte": "^2.0.1", | ||
"sass": "^1.32.11", | ||
"tslib": "^2.3.1", | ||
"typescript": "^4.4.2" | ||
}, | ||
"gitHead": "19ae8e223386d3c60daa642d631632c9e089155b" | ||
"gitHead": "64f517242b78ff75df7865fc80f16d1a5c39bcaf" | ||
} |
@@ -1,7 +0,7 @@ | ||
import { classAdderBuilder } from '@smui/common/internal.js'; | ||
import Span from '@smui/common/Span.svelte'; | ||
import { classAdderBuilder } from '@smui/common/internal'; | ||
import { Span } from '@smui/common/elements'; | ||
export default classAdderBuilder({ | ||
class: 'mdc-text-field__affix mdc-text-field__affix--prefix', | ||
component: Span, | ||
class: 'mdc-text-field__affix mdc-text-field__affix--prefix', | ||
component: Span, | ||
}); | ||
//# sourceMappingURL=Prefix.js.map |
@@ -11,39 +11,6 @@ # Svelte Material UI - Text Field | ||
# Demo | ||
# Examples and Usage Information | ||
[See it in action.](https://sveltematerialui.com/demo/textfield) | ||
https://sveltematerialui.com/demo/textfield | ||
[See the demo code.](/site/src/routes/demo/textfield/) | ||
# Whoa There, These Docs are Outdated | ||
The latest SMUI v3 had a lot of changes, and these docs haven't been caught up yet. You should check out the demo page's code to see the latest usage. | ||
# Basic Usage | ||
```svelte | ||
<Textfield bind:value={name} label="Name" /> | ||
<br /> | ||
<Textfield | ||
type="email" | ||
bind:value={email} | ||
label="Email" | ||
input$autocomplete="email" | ||
/> | ||
<br /> | ||
<Textfield textarea bind:value={comment} label="Comment" /> | ||
<script> | ||
import Textfield from '@smui/textfield'; | ||
export let name = ''; | ||
export let email = ''; | ||
export let comment = ''; | ||
</script> | ||
``` | ||
# Exports | ||
todo... | ||
# More Information | ||
@@ -50,0 +17,0 @@ |
import './_index.scss'; | ||
export * from './index.js'; | ||
export { default } from './index.js'; | ||
export * from './index'; | ||
export { default } from './index'; | ||
//# sourceMappingURL=styled.js.map |
@@ -1,7 +0,7 @@ | ||
import { classAdderBuilder } from '@smui/common/internal.js'; | ||
import Span from '@smui/common/Span.svelte'; | ||
import { classAdderBuilder } from '@smui/common/internal'; | ||
import { Span } from '@smui/common/elements'; | ||
export default classAdderBuilder({ | ||
class: 'mdc-text-field__affix mdc-text-field__affix--suffix', | ||
component: Span, | ||
class: 'mdc-text-field__affix mdc-text-field__affix--suffix', | ||
component: Span, | ||
}); | ||
//# sourceMappingURL=Suffix.js.map |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
147495
113
2202
4
3
20
+ Added@smui/common@5.0.1(transitive)
+ Added@smui/floating-label@5.0.1(transitive)
+ Added@smui/line-ripple@5.0.1(transitive)
+ Added@smui/notched-outline@5.0.1(transitive)
+ Added@smui/ripple@5.0.1(transitive)
+ Added@tsconfig/svelte@2.0.1(transitive)
+ Addedanymatch@3.1.3(transitive)
+ Addedbinary-extensions@2.3.0(transitive)
+ Addedbraces@3.0.3(transitive)
+ Addedchokidar@3.6.0(transitive)
+ Addeddedent-js@1.0.1(transitive)
+ Addedfill-range@7.1.1(transitive)
+ Addedfsevents@2.3.3(transitive)
+ Addedglob-parent@5.1.2(transitive)
+ Addedis-binary-path@2.1.0(transitive)
+ Addedis-extglob@2.1.1(transitive)
+ Addedis-glob@4.0.3(transitive)
+ Addedis-number@7.0.0(transitive)
+ Addedlower-case@2.0.2(transitive)
+ Addedno-case@3.0.4(transitive)
+ Addednormalize-path@3.0.0(transitive)
+ Addedpascal-case@3.1.2(transitive)
+ Addedpicomatch@2.3.1(transitive)
+ Addedreaddirp@3.6.0(transitive)
+ Addedsass@1.39.2(transitive)
+ Addedsvelte2tsx@0.4.14(transitive)
+ Addedto-regex-range@5.0.1(transitive)
+ Addedtypescript@4.9.5(transitive)
- Removed@smui/common@4.2.0(transitive)
- Removed@smui/floating-label@4.2.0(transitive)
- Removed@smui/line-ripple@4.2.0(transitive)
- Removed@smui/notched-outline@4.2.0(transitive)
- Removed@smui/ripple@4.2.0(transitive)
Updated@smui/common@^5.0.0-beta.0
Updated@smui/ripple@^5.0.0-beta.0