@performant-software/semantic-components 0.5.17-beta.1 → 0.5.17-beta.2

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/build/main.css CHANGED
@@ -230,6 +230,124 @@
230
230
  right: 1px;
231
231
  }
232
232
 
233
+ .react-calendar {
234
+ width: 350px;
235
+ max-width: 100%;
236
+ background: white;
237
+ border: 1px solid #a0a096;
238
+ font-family: Arial, Helvetica, sans-serif;
239
+ line-height: 1.125em;
240
+ }
241
+ .react-calendar--doubleView {
242
+ width: 700px;
243
+ }
244
+ .react-calendar--doubleView .react-calendar__viewContainer {
245
+ display: flex;
246
+ margin: -0.5em;
247
+ }
248
+ .react-calendar--doubleView .react-calendar__viewContainer > * {
249
+ width: 50%;
250
+ margin: 0.5em;
251
+ }
252
+ .react-calendar,
253
+ .react-calendar *,
254
+ .react-calendar *:before,
255
+ .react-calendar *:after {
256
+ -moz-box-sizing: border-box;
257
+ -webkit-box-sizing: border-box;
258
+ box-sizing: border-box;
259
+ }
260
+ .react-calendar button {
261
+ margin: 0;
262
+ border: 0;
263
+ outline: none;
264
+ }
265
+ .react-calendar button:enabled:hover {
266
+ cursor: pointer;
267
+ }
268
+ .react-calendar__navigation {
269
+ display: flex;
270
+ height: 44px;
271
+ margin-bottom: 1em;
272
+ }
273
+ .react-calendar__navigation button {
274
+ min-width: 44px;
275
+ background: none;
276
+ }
277
+ .react-calendar__navigation button:disabled {
278
+ background-color: #f0f0f0;
279
+ }
280
+ .react-calendar__navigation button:enabled:hover,
281
+ .react-calendar__navigation button:enabled:focus {
282
+ background-color: #e6e6e6;
283
+ }
284
+ .react-calendar__month-view__weekdays {
285
+ text-align: center;
286
+ text-transform: uppercase;
287
+ font-weight: bold;
288
+ font-size: 0.75em;
289
+ }
290
+ .react-calendar__month-view__weekdays__weekday {
291
+ padding: 0.5em;
292
+ }
293
+ .react-calendar__month-view__weekNumbers .react-calendar__tile {
294
+ display: flex;
295
+ align-items: center;
296
+ justify-content: center;
297
+ font-size: 0.75em;
298
+ font-weight: bold;
299
+ }
300
+ .react-calendar__month-view__days__day--weekend {
301
+ color: #d10000;
302
+ }
303
+ .react-calendar__month-view__days__day--neighboringMonth {
304
+ color: #757575;
305
+ }
306
+ .react-calendar__year-view .react-calendar__tile,
307
+ .react-calendar__decade-view .react-calendar__tile,
308
+ .react-calendar__century-view .react-calendar__tile {
309
+ padding: 2em 0.5em;
310
+ }
311
+ .react-calendar__tile {
312
+ max-width: 100%;
313
+ padding: 10px 6.6667px;
314
+ background: none;
315
+ text-align: center;
316
+ line-height: 16px;
317
+ }
318
+ .react-calendar__tile:disabled {
319
+ background-color: #f0f0f0;
320
+ }
321
+ .react-calendar__tile:enabled:hover,
322
+ .react-calendar__tile:enabled:focus {
323
+ background-color: #e6e6e6;
324
+ }
325
+ .react-calendar__tile--now {
326
+ background: #ffff76;
327
+ }
328
+ .react-calendar__tile--now:enabled:hover,
329
+ .react-calendar__tile--now:enabled:focus {
330
+ background: #ffffa9;
331
+ }
332
+ .react-calendar__tile--hasActive {
333
+ background: #76baff;
334
+ }
335
+ .react-calendar__tile--hasActive:enabled:hover,
336
+ .react-calendar__tile--hasActive:enabled:focus {
337
+ background: #a9d4ff;
338
+ }
339
+ .react-calendar__tile--active {
340
+ background: #006edc;
341
+ color: white;
342
+ }
343
+ .react-calendar__tile--active:enabled:hover,
344
+ .react-calendar__tile--active:enabled:focus {
345
+ background: #1087ff;
346
+ }
347
+ .react-calendar--selectRange .react-calendar__tile--hover {
348
+ background-color: #e6e6e6;
349
+ }
350
+
233
351
  div.react-calendar {
234
352
  margin-top: 3em;
235
353
  background: #fff;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@performant-software/semantic-components",
3
- "version": "0.5.17-beta.1",
3
+ "version": "0.5.17-beta.2",
4
4
  "description": "A package of shared components based on the Semantic UI Framework.",
5
5
  "license": "MIT",
6
6
  "main": "./build/index.js",
@@ -12,7 +12,7 @@
12
12
  "build": "webpack --mode production && flow-copy-source -v src types"
13
13
  },
14
14
  "dependencies": {
15
- "@performant-software/shared-components": "^0.5.17-beta.1",
15
+ "@performant-software/shared-components": "^0.5.17-beta.2",
16
16
  "@react-google-maps/api": "^2.8.1",
17
17
  "axios": "^0.26.1",
18
18
  "i18next": "^19.4.4",
@@ -33,7 +33,7 @@
33
33
  "react-dom": ">= 16.13.1 < 18.0.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@performant-software/webpack-config": "^0.5.17-beta.1",
36
+ "@performant-software/webpack-config": "^0.5.17-beta.2",
37
37
  "flow-copy-source": "^2.0.9",
38
38
  "less": "^4.1.2",
39
39
  "less-loader": "^11.0.0",
@@ -1,3 +1,5 @@
1
+ @import 'react-calendar/dist/Calendar.css';
2
+
1
3
  div.react-calendar {
2
4
  margin-top: 3em;
3
5
  background: #fff;
package/webpack.config.js CHANGED
@@ -6,7 +6,11 @@ module.exports = configure(__dirname, {
6
6
  alias: {
7
7
  '../../theme.config$': path.join(__dirname, '/src/css/theme.config'),
8
8
  '../src/css/site': path.join(__dirname, '/src/css/site'),
9
- '../src/css/themes': path.join(__dirname, '/src/css/themes')
9
+ '../src/css/themes': path.join(__dirname, '/src/css/themes'),
10
+ './react-calendar/dist/Calendar.css$': path.resolve(
11
+ __dirname,
12
+ '../../node_modules/react-calendar/dist/Calendar.css'
13
+ )
10
14
  }
11
15
  },
12
16
  optimization: {