-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c1876da
commit 1c68a95
Showing
14 changed files
with
1,125 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Launch Preset for Rocket | ||
|
||
For docs please see our homepage [https://rocket.modern-web.dev/docs/presets/launch/](https://rocket.modern-web.dev/docs/presets/launch/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,57 @@ | ||
# Launch Preset for Rocket | ||
|
||
For docs please see our homepage [https://rocket.modern-web.dev/docs/presets/launch/](https://rocket.modern-web.dev/docs/presets/launch/). | ||
|
||
|
||
## `inline-notification/index.js`: | ||
|
||
### class: `InlineNotification`, `inline-notification` | ||
|
||
#### Superclass | ||
|
||
| Name | Module | Package | | ||
| ---------- | ------ | ----------- | | ||
| LitElement | | lit-element | | ||
|
||
#### Fields | ||
|
||
| Name | Privacy | Type | Default | Description | Inherited From | | ||
| ----- | ------- | ---------------------------- | ------- | ----------- | -------------- | | ||
| title | public | `string` | `''` | | | | ||
| type | public | `'tip'\|'warning'\|'danger'` | `'tip'` | | | | ||
|
||
#### Attributes | ||
|
||
| Name | Field | Inherited From | | ||
| ----- | ----- | -------------- | | ||
| type | type | | | ||
| title | title | | | ||
|
||
#### CSS Properties | ||
|
||
| Name | Description | | ||
| ---------------------------------------------- | ----------- | | ||
| --inline-notification-tip-background-color | | | ||
| --inline-notification-tip-border-color | | | ||
| --inline-notification-warning-background-color | | | ||
| --inline-notification-warning-border-color | | | ||
| --inline-notification-danger-background-color | | | ||
| --inline-notification-danger-border-color | | | ||
| --inline-notification-warning-heading-color | | | ||
| --inline-notification-danger-heading-color | | | ||
|
||
<hr/> | ||
|
||
### Exports | ||
|
||
| Kind | Name | Declaration | Module | Package | | ||
| ---- | ------------------ | ------------------ | ---------------------------- | ------- | | ||
| js | InlineNotification | InlineNotification | inline-notification/index.js | | | ||
|
||
## `inline-notification/inline-notification.js`: | ||
|
||
### Exports | ||
|
||
| Kind | Name | Declaration | Module | Package | | ||
| ------------------------- | ------------------- | ------------------ | ----------------------------- | ------- | | ||
| custom-element-definition | inline-notification | InlineNotification | /inline-notification/index.js | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { readmePlugin } from 'cem-plugin-readme'; | ||
import { fileURLToPath } from 'url'; | ||
import { dirname } from 'path'; | ||
|
||
export default { | ||
globs: ['inline-notification/*.js'], | ||
plugins: [ | ||
readmePlugin({ | ||
from: dirname(fileURLToPath(import.meta.url)), | ||
header: 'README.head.md', | ||
}), | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
{ | ||
"schemaVersion": "1.0.0", | ||
"readme": "", | ||
"modules": [ | ||
{ | ||
"kind": "javascript-module", | ||
"path": "inline-notification/index.js", | ||
"declarations": [ | ||
{ | ||
"kind": "class", | ||
"description": "", | ||
"name": "InlineNotification", | ||
"cssProperties": [ | ||
{ | ||
"name": "--inline-notification-tip-background-color", | ||
"default": "rgba(221, 221, 221, 0.3)" | ||
}, | ||
{ | ||
"name": "--inline-notification-tip-border-color", | ||
"default": "#42b983" | ||
}, | ||
{ | ||
"name": "--inline-notification-warning-background-color", | ||
"default": "rgba(255, 229, 100, 0.2)" | ||
}, | ||
{ | ||
"name": "--inline-notification-warning-border-color", | ||
"default": "#e7c000" | ||
}, | ||
{ | ||
"name": "--inline-notification-danger-background-color", | ||
"default": "rgba(192, 0, 0, 0.1)" | ||
}, | ||
{ | ||
"name": "--inline-notification-danger-border-color", | ||
"default": "#c00" | ||
}, | ||
{ | ||
"name": "--inline-notification-warning-heading-color", | ||
"default": "#b29400" | ||
}, | ||
{ | ||
"name": "--inline-notification-danger-heading-color", | ||
"default": "#900" | ||
} | ||
], | ||
"cssParts": [ | ||
{ | ||
"description": "the title heading", | ||
"name": "title" | ||
} | ||
], | ||
"members": [ | ||
{ | ||
"kind": "field", | ||
"name": "title", | ||
"type": { | ||
"text": "string" | ||
}, | ||
"default": "''", | ||
"privacy": "public", | ||
"attribute": "title" | ||
}, | ||
{ | ||
"kind": "field", | ||
"name": "type", | ||
"type": { | ||
"text": "'tip'|'warning'|'danger'" | ||
}, | ||
"default": "'tip'", | ||
"privacy": "public", | ||
"attribute": "type", | ||
"reflects": true | ||
} | ||
], | ||
"attributes": [ | ||
{ | ||
"name": "type", | ||
"fieldName": "type" | ||
}, | ||
{ | ||
"name": "title", | ||
"fieldName": "title" | ||
} | ||
], | ||
"superclass": { | ||
"name": "LitElement", | ||
"package": "lit-element" | ||
}, | ||
"tagName": "inline-notification", | ||
"customElement": true | ||
} | ||
], | ||
"exports": [ | ||
{ | ||
"kind": "js", | ||
"name": "InlineNotification", | ||
"declaration": { | ||
"name": "InlineNotification", | ||
"module": "inline-notification/index.js" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"kind": "javascript-module", | ||
"path": "inline-notification/inline-notification.js", | ||
"declarations": [], | ||
"exports": [ | ||
{ | ||
"kind": "custom-element-definition", | ||
"name": "inline-notification", | ||
"declaration": { | ||
"name": "InlineNotification", | ||
"module": "/inline-notification/index.js" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Rocket Search | ||
|
||
Add a search for all your static content. | ||
|
||
For docs please see our homepage [https://rocket.modern-web.dev/docs/presets/search/](https://rocket.modern-web.dev/docs/presets/search/). |
Oops, something went wrong.