ywana-core8 0.0.909 → 0.0.910

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.909",
3
+ "version": "0.0.910",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -23,12 +23,10 @@
23
23
 
24
24
  .calendar>nav>button {
25
25
  margin-left: 1px;
26
+ border-radius: 3px;
26
27
  }
27
28
 
28
29
  .calendar>header {
29
- border: solid 1px var(--divider-color);
30
- border-top: 0px;
31
- border-width: 1px 1px 0 0px;
32
30
  display: grid;
33
31
  grid-template-columns: repeat(7, 1fr);
34
32
  font-size: .8rem;
@@ -58,7 +56,7 @@
58
56
  border-width: 0 0 1px 1px;
59
57
  padding: .5rem;
60
58
  text-align: right;
61
- min-height: 5rem;
59
+ min-height: 6rem;
62
60
  min-width: 5rem;
63
61
  font-weight: 400;
64
62
  }
@@ -1,5 +1,5 @@
1
1
  import React, { useState, useEffect } from 'react'
2
- import { Button } from '../../html'
2
+ import { Button, Text } from '../../html'
3
3
  import Moment from 'moment'
4
4
  import { extendMoment } from 'moment-range';
5
5
  import 'moment/locale/es'
@@ -72,19 +72,19 @@ export const Calendar = (props) => {
72
72
  return (
73
73
  <div className="calendar">
74
74
  <nav>
75
- <label> {monthName} {year}</label>
76
- <Button icon="chevron_left" raised action={prev} />
77
- <Button label="Hoy" outlined action={today} />
78
- <Button icon="chevron_right" raised action={next} />
75
+ <label> <Text>{monthName}</Text> {year}</label>
76
+ <Button icon="chevron_left" action={prev} />
77
+ <Button label="Today" outlined action={today} />
78
+ <Button icon="chevron_right" action={next} />
79
79
  </nav>
80
80
  <header>
81
- <div className='week-day-cell'>Lun</div>
82
- <div className='week-day-cell'>Mar</div>
83
- <div className='week-day-cell'>Mié</div>
84
- <div className='week-day-cell'>Jue</div>
85
- <div className='week-day-cell'>Vie</div>
86
- <div className='week-day-cell'>Sab</div>
87
- <div className='week-day-cell'>Dom</div>
81
+ <div className='week-day-cell'><Text>Mon</Text></div>
82
+ <div className='week-day-cell'><Text>Tue</Text></div>
83
+ <div className='week-day-cell'><Text>Wed</Text></div>
84
+ <div className='week-day-cell'><Text>Thu</Text></div>
85
+ <div className='week-day-cell'><Text>Fri</Text></div>
86
+ <div className='week-day-cell'><Text>Sat</Text></div>
87
+ <div className='week-day-cell'><Text>Sun</Text></div>
88
88
  </header>
89
89
  <main>
90
90
  {cells.map(cell => <DayCell key={cell.day} cell={cell} >{children}</DayCell>)}