Commit fa0e2d2d authored by Matthieu Fesselier's avatar Matthieu Fesselier

minor: use core@beta

parent 212806b3
......@@ -2,9 +2,9 @@ import SolidJobBoard from './solid-job-board.js';
import SolidJobCreate from './solid-job-create.js';
import SolidJobEdit from './solid-job-edit.js';
import ComponentPath from './path.js';
import { Helpers } from "https://unpkg.com/@startinblox/core@0.10";
import { importCSS } from "https://unpkg.com/@startinblox/core@beta/dist/libs/helpers.js";
Helpers.importCSS(ComponentPath+'/dist/index.css');
importCSS(ComponentPath+'/dist/index.css');
export {
SolidJobBoard,
......
/* globals MutationObserver */
import { SolidTemplateElement } from "https://unpkg.com/@startinblox/core@0.10";
import SolidTemplateElement from 'https://unpkg.com/@startinblox/core@beta/dist/solid-template-element.js';
import ComponentPath from './path.js';
export default class SolidJobBoard extends SolidTemplateElement {
......@@ -115,7 +115,7 @@ export default class SolidJobBoard extends SolidTemplateElement {
widget-author="author-contact"
class-author="author-contact-display"
widget-creationDate="solid-display-date-time"
widget-creationDate="solid-display-datetime"
label-edit="Editer"
widget-edit="edit-button"
......
import { SolidTemplateElement } from "https://unpkg.com/@startinblox/core@0.10";
import SolidTemplateElement from 'https://unpkg.com/@startinblox/core@beta/dist/solid-template-element.js';
export default class SolidJobCreate extends SolidTemplateElement {
constructor() {
......@@ -33,19 +33,18 @@ export default class SolidJobCreate extends SolidTemplateElement {
fields="closingDate, title, description, skills"
label-closingDate="L'OFFRE SERA VISIBLE JUSQU'AU*"
widget-closingDate="solid-form-date"
widget-closingDate="solid-form-date-label"
class-closingDate="form-label is-dark display-closingDate"
label-title="TITRE*"
class-title="field form-label is-light is-expanded display-title"
label-description="DESCRIPTIF*"
widget-description="solid-form-textarea"
widget-description="solid-form-textarea-label"
class-description="field form-label is-light is-expanded display-description"
label-skills="COMPÉTENCES REQUISES*"
multiple-skills="solid-multiple-select"
widget-skills="solid-form-auto-completion"
multiple-skills="solid-multipleselect-label-autocompletion"
class-skills="form-label is-dark select-skills display-skills"
submit-button='PUBLIER MON OFFRE'
......
import { SolidTemplateElement } from "https://unpkg.com/@startinblox/core@0.10";
import SolidTemplateElement from 'https://unpkg.com/@startinblox/core@beta/dist/solid-template-element.js';
export default class SolidJobEdit extends SolidTemplateElement {
constructor() {
......@@ -31,19 +31,18 @@ export default class SolidJobEdit extends SolidTemplateElement {
fields="closingDate, title, description, skills"
label-closingDate="L'OFFRE SERA VISIBLE JUSQU'AU*"
widget-closingDate="solid-form-date"
widget-closingDate="solid-form-date-label"
class-closingDate="form-label is-dark display-closingDate"
label-title="TITRE*"
class-title="field form-label is-light is-expanded display-title"
label-description="DESCRIPTIF*"
widget-description="solid-form-textarea"
widget-description="solid-form-textarea-label"
class-description="field form-label is-light is-expanded display-description"
label-skills="COMPÉTENCES REQUISES*"
multiple-skills="solid-multiple-select"
widget-skills="solid-form-auto-completion"
multiple-skills="solid-multipleselect-label-autocompletion"
class-skills="form-label is-dark select-skills display-skills"
submit-button="ENREGISTRER MON OFFRE"
......
......@@ -114,7 +114,7 @@ Style for form
margin: 1.5rem 0;
}
#job-offers-create .job-create div.job-form solid-form form solid-multiple-select[name="skills"],#job-offers-edit .job-edit div.job-form solid-form form solid-multiple-select[name="skills"]{
#job-offers-create .job-create div.job-form solid-form form solid-form-multipleselect-label-autocompletion[name="skills"],#job-offers-edit .job-edit div.job-form solid-form form solid-form-multipleselect-label-autocompletion[name="skills"]{
border-bottom: 2px solid var(--color-job-board-form-bottom-line-light);
padding-bottom: 4rem;
}
......
......@@ -301,7 +301,7 @@ solid-job-board {
-webkit-mask-size: cover;
width: 22px;
}
solid-form-date input[type="date"] {
solid-form-date-label input[type="date"] {
background-image: none;
font-size: inherit;
max-width: 100%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment