@sankhyalabs/ezui 1.1.4 → 1.1.8
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/README.md +72 -72
- package/dist/{ezui/DataUnit-285bec19.js → cjs/DataUnit-28b290cb.js} +382 -369
- package/dist/{ezui/index-919090de.js → cjs/RequestMetadata-2cd01e8a.js} +4 -383
- package/dist/cjs/ez-action-chip.cjs.entry.js +52 -0
- package/dist/cjs/ez-button_14.cjs.entry.js +3341 -0
- package/dist/cjs/ez-label-chip.cjs.entry.js +131 -0
- package/dist/cjs/ez-modal.cjs.entry.js +115 -0
- package/dist/cjs/ez-number-input.cjs.entry.js +248 -0
- package/dist/cjs/ez-time-input.cjs.entry.js +180 -0
- package/dist/cjs/ezui.cjs.js +19 -0
- package/dist/cjs/form-metadata.cjs.entry.js +74 -0
- package/dist/cjs/index-9403fe8f.js +1322 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/collection/collection-manifest.json +31 -0
- package/dist/collection/components/ez-action-chip/ez-action-chip.css +82 -0
- package/dist/collection/components/ez-action-chip/ez-action-chip.js +109 -0
- package/dist/collection/components/ez-button/ez-button.css +94 -0
- package/dist/collection/components/ez-button/ez-button.js +125 -0
- package/dist/collection/components/ez-calendar/ez-calendar.css +210 -0
- package/dist/collection/components/ez-calendar/ez-calendar.js +215 -0
- package/dist/collection/components/ez-check/ez-check.css +266 -0
- package/dist/collection/components/ez-check/ez-check.js +168 -0
- package/dist/collection/components/ez-collapsable-box/ez-collapsable-box.css +68 -0
- package/dist/collection/components/ez-collapsable-box/ez-collapsable-box.js +108 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box-interfaces.js +2 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.css +167 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +363 -0
- package/dist/collection/components/ez-date-input/ez-date-input.css +39 -0
- package/dist/collection/components/ez-date-input/ez-date-input.js +172 -0
- package/dist/collection/components/ez-form/ez-form.css +19 -0
- package/dist/collection/components/ez-form/ez-form.js +368 -0
- package/dist/collection/components/ez-form/store/Form.actions.js +132 -0
- package/dist/collection/components/ez-form/store/Form.reducer.js +194 -0
- package/dist/collection/components/ez-form/store/Form.selectors.js +44 -0
- package/dist/collection/components/ez-form/subcomponents/DataUnit.js +207 -0
- package/dist/collection/components/ez-form/subcomponents/FormMetadata.js +16 -0
- package/dist/collection/components/ez-form/subcomponents/css/place-holder.css +24 -0
- package/dist/collection/components/ez-form/subcomponents/form-metadata.js +173 -0
- package/dist/collection/components/ez-form/subcomponents/place-holder.js +14 -0
- package/dist/collection/components/ez-form/subcomponents/structure/Field.js +71 -0
- package/dist/collection/components/ez-form/subcomponents/structure/FieldSet.js +27 -0
- package/dist/collection/components/ez-form/subcomponents/structure/FormSheet.js +40 -0
- package/dist/collection/components/ez-form/subcomponents/structure/NavigationBar.js +27 -0
- package/dist/collection/components/ez-icon/ez-icon.css +37 -0
- package/dist/collection/components/ez-icon/ez-icon.js +56 -0
- package/dist/collection/components/ez-label-chip/ez-label-chip.css +117 -0
- package/dist/collection/components/ez-label-chip/ez-label-chip.js +276 -0
- package/dist/collection/components/ez-modal/ez-modal.css +87 -0
- package/dist/collection/components/ez-modal/ez-modal.js +224 -0
- package/dist/collection/components/ez-number-input/ez-number-input.css +144 -0
- package/dist/collection/components/ez-number-input/ez-number-input.js +465 -0
- package/dist/collection/components/ez-popover/ez-popover.css +39 -0
- package/dist/collection/components/ez-popover/ez-popover.js +323 -0
- package/dist/collection/components/ez-search/ez-search.css +296 -0
- package/dist/{ezui/ez-search.entry.js → collection/components/ez-search/ez-search.js} +527 -334
- package/dist/collection/components/ez-tabselector/ez-tabselector.css +126 -0
- package/dist/{ezui/ez-tabselector.entry.js → collection/components/ez-tabselector/ez-tabselector.js} +283 -209
- package/dist/collection/components/ez-text-area/ez-text-area.css +140 -0
- package/dist/collection/components/ez-text-area/ez-text-area.js +267 -0
- package/dist/collection/components/ez-text-input/ez-text-input.css +170 -0
- package/dist/collection/components/ez-text-input/ez-text-input.js +395 -0
- package/dist/collection/components/ez-time-input/ez-time-input.css +155 -0
- package/dist/collection/components/ez-time-input/ez-time-input.js +326 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/servidor.js +101 -0
- package/dist/collection/utils/FloatingManager.js +16 -0
- package/dist/collection/utils/utils.js +6 -0
- package/dist/custom-elements/index.js +5071 -0
- package/dist/esm/DataUnit-69e518fa.js +378 -0
- package/dist/esm/RequestMetadata-c265c9d5.js +527 -0
- package/dist/{ezui → esm}/ez-action-chip.entry.js +42 -42
- package/dist/esm/ez-button_14.entry.js +3324 -0
- package/dist/{ezui → esm}/ez-label-chip.entry.js +121 -121
- package/dist/{ezui → esm}/ez-modal.entry.js +105 -96
- package/dist/{ezui → esm}/ez-number-input.entry.js +238 -238
- package/dist/{ezui → esm}/ez-time-input.entry.js +170 -170
- package/dist/esm/ezui.js +17 -0
- package/dist/{ezui → esm}/form-metadata.entry.js +66 -66
- package/dist/esm/index-95bb3fd9.js +1293 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/ezui/ezui.esm.js +1 -122
- package/dist/ezui/index.esm.js +0 -1
- package/dist/ezui/p-10ef58b3.js +1 -0
- package/dist/ezui/p-185c57f4.js +1 -0
- package/dist/ezui/p-22b82efb.entry.js +1 -0
- package/dist/ezui/p-77fdb4fd.entry.js +1 -0
- package/dist/ezui/p-9dfccb16.js +1 -0
- package/dist/ezui/p-b0974f4f.entry.js +1 -0
- package/dist/ezui/p-db11c600.entry.js +1 -0
- package/dist/ezui/p-dd4331b7.entry.js +1 -0
- package/dist/ezui/p-f6fd31ab.entry.js +1 -0
- package/dist/ezui/p-fa260f22.entry.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/ez-action-chip/ez-action-chip.d.ts +16 -16
- package/dist/types/components/ez-button/ez-button.d.ts +20 -20
- package/dist/types/components/ez-calendar/ez-calendar.d.ts +42 -42
- package/dist/types/components/ez-check/ez-check.d.ts +32 -32
- package/dist/types/components/ez-collapsable-box/ez-collapsable-box.d.ts +18 -18
- package/dist/types/components/ez-combo-box/ez-combo-box-interfaces.d.ts +4 -4
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +68 -68
- package/dist/types/components/ez-date-input/ez-date-input.d.ts +31 -31
- package/dist/types/components/ez-form/ez-form.d.ts +31 -27
- package/dist/types/components/ez-form/store/Form.actions.d.ts +111 -104
- package/dist/types/components/ez-form/store/Form.reducer.d.ts +20 -11
- package/dist/types/components/ez-form/store/Form.selectors.d.ts +14 -13
- package/dist/types/components/ez-form/subcomponents/DataUnit.d.ts +55 -48
- package/dist/types/components/ez-form/subcomponents/FormMetadata.d.ts +41 -41
- package/dist/types/components/ez-form/subcomponents/form-metadata.d.ts +15 -15
- package/dist/types/components/ez-form/subcomponents/place-holder.d.ts +3 -3
- package/dist/types/components/ez-form/subcomponents/structure/Field.d.ts +10 -10
- package/dist/types/components/ez-form/subcomponents/structure/FieldSet.d.ts +12 -12
- package/dist/types/components/ez-form/subcomponents/structure/FormSheet.d.ts +13 -13
- package/dist/types/components/ez-form/subcomponents/structure/NavigationBar.d.ts +17 -7
- package/dist/types/components/ez-icon/ez-icon.d.ts +5 -5
- package/dist/types/components/ez-label-chip/ez-label-chip.d.ts +40 -40
- package/dist/types/components/ez-modal/ez-modal.d.ts +32 -26
- package/dist/types/components/ez-number-input/ez-number-input.d.ts +73 -73
- package/dist/types/components/ez-popover/ez-popover.d.ts +52 -52
- package/dist/types/components/ez-search/ez-search.d.ts +95 -95
- package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +31 -31
- package/dist/types/components/ez-text-area/ez-text-area.d.ts +49 -49
- package/dist/types/components/ez-text-input/ez-text-input.d.ts +64 -64
- package/dist/types/components/ez-time-input/ez-time-input.d.ts +53 -53
- package/dist/types/components.d.ts +8 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +2 -2
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +13 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +114 -114
- package/react/components.d.ts +22 -0
- package/react/components.js +25 -0
- package/react/components.js.map +1 -0
- package/react/react-component-lib/createComponent.d.ts +10 -0
- package/react/react-component-lib/createComponent.js +59 -0
- package/react/react-component-lib/createComponent.js.map +1 -0
- package/react/react-component-lib/createOverlayComponent.d.ts +20 -0
- package/react/react-component-lib/createOverlayComponent.js +89 -0
- package/react/react-component-lib/createOverlayComponent.js.map +1 -0
- package/react/react-component-lib/index.d.ts +2 -0
- package/react/react-component-lib/index.js +3 -0
- package/react/react-component-lib/index.js.map +1 -0
- package/react/react-component-lib/interfaces.d.ts +29 -0
- package/react/react-component-lib/interfaces.js +1 -0
- package/react/react-component-lib/interfaces.js.map +1 -0
- package/react/react-component-lib/utils/attachProps.d.ts +12 -0
- package/react/react-component-lib/utils/attachProps.js +96 -0
- package/react/react-component-lib/utils/attachProps.js.map +1 -0
- package/react/react-component-lib/utils/case.d.ts +2 -0
- package/react/react-component-lib/utils/case.js +7 -0
- package/react/react-component-lib/utils/case.js.map +1 -0
- package/react/react-component-lib/utils/dev.d.ts +2 -0
- package/react/react-component-lib/utils/dev.js +13 -0
- package/react/react-component-lib/utils/dev.js.map +1 -0
- package/react/react-component-lib/utils/index.d.ts +7 -0
- package/react/react-component-lib/utils/index.js +21 -0
- package/react/react-component-lib/utils/index.js.map +1 -0
- package/dist/ezui/app-globals-0f993ce5.js +0 -3
- package/dist/ezui/css-shim-003e9264.js +0 -4
- package/dist/ezui/dom-1b195079.js +0 -73
- package/dist/ezui/ez-button.entry.js +0 -47
- package/dist/ezui/ez-calendar.entry.js +0 -102
- package/dist/ezui/ez-check.entry.js +0 -62
- package/dist/ezui/ez-collapsable-box.entry.js +0 -32
- package/dist/ezui/ez-combo-box.entry.js +0 -181
- package/dist/ezui/ez-date-input.entry.js +0 -77
- package/dist/ezui/ez-form.entry.js +0 -1907
- package/dist/ezui/ez-icon.entry.js +0 -17
- package/dist/ezui/ez-popover.entry.js +0 -112
- package/dist/ezui/ez-text-area.entry.js +0 -105
- package/dist/ezui/ez-text-input.entry.js +0 -202
- package/dist/ezui/index-39044be2.js +0 -2832
- package/dist/ezui/place-holder.entry.js +0 -15
- package/dist/ezui/shadow-css-c1ad5fdc.js +0 -383
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-9403fe8f.js');
|
|
6
|
+
|
|
7
|
+
/*
|
|
8
|
+
Stencil Client Patch Esm v2.6.0 | MIT Licensed | https://stenciljs.com
|
|
9
|
+
*/
|
|
10
|
+
const patchEsm = () => {
|
|
11
|
+
return index.promiseResolve();
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const defineCustomElements = (win, options) => {
|
|
15
|
+
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
|
+
return patchEsm().then(() => {
|
|
17
|
+
return index.bootstrapLazy([["ez-label-chip.cjs",[[1,"ez-label-chip",{"label":[513],"enabled":[516],"removable":[516],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["ez-time-input.cjs",[[1,"ez-time-input",{"label":[513],"viewValue":[1537,"view-value"],"value":[1026],"enabled":[516],"errormessage":[1537],"showSeconds":[516,"show-seconds"],"setFocus":[64],"setBlur":[64]}]]],["ez-action-chip.cjs",[[1,"ez-action-chip",{"label":[513],"enabled":[516]}]]],["ez-modal.cjs",[[1,"ez-modal",{"modalsize":[1537],"align":[1537],"oppened":[1540],"closeesc":[1540],"closeoutsideclick":[1540]}]]],["ez-number-input.cjs",[[1,"ez-number-input",{"strvalue":[1025],"value":[1026],"label":[513],"enabled":[516],"errormessage":[1537],"precision":[1538],"prettyprecision":[1538],"textleft":[516],"formatnumber":[513],"setFocus":[64],"setBlur":[64],"handleFocusout":[64]}]]],["form-metadata.cjs",[[1,"form-metadata",{"name":[1],"label":[1],"dataunit":[1025],"many":[4],"autoload":[4],"metadata":[1040]}]]],["ez-button_14.cjs",[[0,"ez-form",{"metadataexecutor":[1],"loadexecutor":[1],"saveexecutor":[1],"removeexecutor":[1],"fieldsearchexecutor":[1],"metadata":[1040],"slavemode":[4],"validate":[64],"getChanges":[64]}],[1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"showvalue":[516],"options":[1040],"errormessage":[1537],"_inputLabelValue":[32],"_criteria":[32],"_preSelection":[32],"_visibleOptions":[32],"setFocus":[64],"setBlur":[64]}],[1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errormessage":[1537]}],[1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"qtdHotItems":[514,"qtd-hot-items"],"showvalue":[516],"errormessage":[1537],"loadexecutor":[1],"hotsearchid":[1],"_preSelection":[32],"_visibleOptions":[32],"onInputTeste":[64]}],[1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513]}],[1,"ez-check",{"value":[1540],"enabled":[516],"mode":[513],"getMode":[64],"setFocus":[64]}],[1,"ez-collapsable-box",{"value":[1540],"label":[513],"showHide":[64]}],[1,"ez-tabselector",{"selectedindex":[1537],"selectedtab":[1537],"tabs":[1]}],[1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errormessage":[1537],"rows":[1538],"setFocus":[64],"setBlur":[64]}],[1,"place-holder"],[1,"ez-calendar",{"value":[1040],"floating":[516],"show":[64],"hide":[64]}],[1,"ez-popover",{"autoclose":[516],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxwidth":[513],"isOpened":[1540,"is-opened"],"updatePosition":[64],"show":[64],"hide":[64]}],[1,"ez-icon",{"size":[513],"href":[513]}],[1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errormessage":[1537],"onlynumber":[516],"mask":[1],"restrict":[1],"setFocus":[64],"setBlur":[64]}]]]], options);
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
exports.defineCustomElements = defineCustomElements;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"entries": [
|
|
3
|
+
"./components/ez-search/ez-search.js",
|
|
4
|
+
"./components/ez-action-chip/ez-action-chip.js",
|
|
5
|
+
"./components/ez-button/ez-button.js",
|
|
6
|
+
"./components/ez-calendar/ez-calendar.js",
|
|
7
|
+
"./components/ez-check/ez-check.js",
|
|
8
|
+
"./components/ez-collapsable-box/ez-collapsable-box.js",
|
|
9
|
+
"./components/ez-combo-box/ez-combo-box.js",
|
|
10
|
+
"./components/ez-date-input/ez-date-input.js",
|
|
11
|
+
"./components/ez-form/ez-form.js",
|
|
12
|
+
"./components/ez-form/subcomponents/form-metadata.js",
|
|
13
|
+
"./components/ez-form/subcomponents/place-holder.js",
|
|
14
|
+
"./components/ez-icon/ez-icon.js",
|
|
15
|
+
"./components/ez-label-chip/ez-label-chip.js",
|
|
16
|
+
"./components/ez-modal/ez-modal.js",
|
|
17
|
+
"./components/ez-number-input/ez-number-input.js",
|
|
18
|
+
"./components/ez-popover/ez-popover.js",
|
|
19
|
+
"./components/ez-tabselector/ez-tabselector.js",
|
|
20
|
+
"./components/ez-text-area/ez-text-area.js",
|
|
21
|
+
"./components/ez-text-input/ez-text-input.js",
|
|
22
|
+
"./components/ez-time-input/ez-time-input.js"
|
|
23
|
+
],
|
|
24
|
+
"compiler": {
|
|
25
|
+
"name": "@stencil/core",
|
|
26
|
+
"version": "2.6.0",
|
|
27
|
+
"typescriptVersion": "4.2.3"
|
|
28
|
+
},
|
|
29
|
+
"collections": [],
|
|
30
|
+
"bundles": []
|
|
31
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
/* dimensions */
|
|
3
|
+
--ac--height: 36px;
|
|
4
|
+
--ac--width: 100%;
|
|
5
|
+
--ac__icon--width: 48px;
|
|
6
|
+
/* general */
|
|
7
|
+
--ac--border-radius: var(--border--radius-large, 24px);
|
|
8
|
+
--ac--font-size: var(--text--medium, 14px);
|
|
9
|
+
--ac--font-family: var(--font-pattern, Arial);
|
|
10
|
+
--ac--font-weight: var(--text-weight--large, 500);
|
|
11
|
+
--ac--space--medium: var(--space--medium, 6px);
|
|
12
|
+
--ac__border: 1px solid;
|
|
13
|
+
--ac__border-color-strokes: var(--color--strokes, #DCE0E8);
|
|
14
|
+
/* label */
|
|
15
|
+
--ac__label--title--primary: var(--title--primary, #919191);
|
|
16
|
+
--ac__label--color-primary: var(--color--primary, #008561);
|
|
17
|
+
--ac__label-color--disable-secondary: var(--color--disable-secondary, #F2F5F8);
|
|
18
|
+
--ac__label--background-color: #0085610F;
|
|
19
|
+
--ac__label__default--background-color--hover: var(--color--primary-200, #f2faf8);
|
|
20
|
+
--ac__label__default--border-color--hover: var(--color--primary-600, #007a5a);
|
|
21
|
+
--ac__label--text--disabled: var(--text--disable, #AFB6C0);
|
|
22
|
+
--ac__label--text--primary: var(--text--primary, #626e82);
|
|
23
|
+
/* message box */
|
|
24
|
+
--ac__message_box--font-size: var(--text--small, 12px);
|
|
25
|
+
--ac__message_box--info--color: var(--color--success, #22085d);
|
|
26
|
+
--ac__message_box--error--color: var(--color--error, #FF0000);
|
|
27
|
+
/***************
|
|
28
|
+
host style
|
|
29
|
+
***************/
|
|
30
|
+
/*public*/
|
|
31
|
+
width: 100%;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.padding-right--small {
|
|
35
|
+
padding-right: var(--ac--space--medium);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.padding-left--small {
|
|
39
|
+
padding-left: var(--ac--space--medium);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.label__container {
|
|
43
|
+
/*private*/
|
|
44
|
+
width: fit-content;
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-wrap: wrap;
|
|
47
|
+
position: relative;
|
|
48
|
+
align-items: center;
|
|
49
|
+
align-self: center;
|
|
50
|
+
color: var(--ac__label--title--primary);
|
|
51
|
+
fill: var(--ac__label--title--primary);
|
|
52
|
+
border: var(--ac__border);
|
|
53
|
+
border-radius: var(--ac--border-radius);
|
|
54
|
+
border-color: var( --ac__border-color-strokes);
|
|
55
|
+
padding-right: var(--space--large, 12px);
|
|
56
|
+
padding-left: var(--space--large, 12px);
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.label__container:hover {
|
|
61
|
+
border-color: var(--ac__label__default--border-color--hover);
|
|
62
|
+
background-color: var(--ac__label__default--background-color--hover);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.label__container--active:hover {
|
|
66
|
+
border-color: var(--ac__label__active--background-color--hover);
|
|
67
|
+
background-color: var(--ac__label__active--background-color--hover);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
label {
|
|
71
|
+
/*private*/
|
|
72
|
+
display: flex;
|
|
73
|
+
align-items: center;
|
|
74
|
+
width: calc(100% - var(--ac__icon--width));
|
|
75
|
+
width: fit-content;
|
|
76
|
+
font-weight: var(--text-weight--large, 600);
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
/*public*/
|
|
79
|
+
height: var(--ac--height);
|
|
80
|
+
font-family: var(--ac--font-family);
|
|
81
|
+
font-size: var(--ac--font-size);
|
|
82
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Component, Prop, h, Event } from '@stencil/core';
|
|
2
|
+
export class EzLabelChip {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Deixa o componente disponível ou não para seleção.
|
|
6
|
+
*/
|
|
7
|
+
this.enabled = true;
|
|
8
|
+
}
|
|
9
|
+
//---------------------------------------------
|
|
10
|
+
// Event handlers
|
|
11
|
+
//---------------------------------------------
|
|
12
|
+
handleSlotChange(ev) {
|
|
13
|
+
const slot = ev.target;
|
|
14
|
+
const content = slot.assignedElements()[0];
|
|
15
|
+
if (content) {
|
|
16
|
+
content.style.position = "absolute";
|
|
17
|
+
content.style.display = "flex";
|
|
18
|
+
content.style.alignItems = "center";
|
|
19
|
+
content.style.justifyContent = "center";
|
|
20
|
+
content.style.overflow = "hidden";
|
|
21
|
+
content.style.top = "0px";
|
|
22
|
+
content.style.width = "var(--ac__icon--width)";
|
|
23
|
+
content.style.height = "var(--ac--height)";
|
|
24
|
+
if (slot.name == "leftIcon") {
|
|
25
|
+
content.style.left = "0px";
|
|
26
|
+
this._labelElem.classList.add('padding-left--small');
|
|
27
|
+
}
|
|
28
|
+
else if (slot.name == "rightIcon") {
|
|
29
|
+
content.style.right = "0px";
|
|
30
|
+
this._labelElem.classList.add('padding-right--small');
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
//---------------------------------------------
|
|
35
|
+
// Lifecycle web component
|
|
36
|
+
//---------------------------------------------
|
|
37
|
+
render() {
|
|
38
|
+
return (h("div", { onClick: () => this.actionClick.emit(), class: "label__container" },
|
|
39
|
+
h("slot", { name: "leftIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }),
|
|
40
|
+
h("label", { ref: (el) => this._labelElem = el }, this.label),
|
|
41
|
+
h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } })));
|
|
42
|
+
}
|
|
43
|
+
static get is() { return "ez-action-chip"; }
|
|
44
|
+
static get encapsulation() { return "shadow"; }
|
|
45
|
+
static get originalStyleUrls() { return {
|
|
46
|
+
"$": ["ez-action-chip.css"]
|
|
47
|
+
}; }
|
|
48
|
+
static get styleUrls() { return {
|
|
49
|
+
"$": ["ez-action-chip.css"]
|
|
50
|
+
}; }
|
|
51
|
+
static get properties() { return {
|
|
52
|
+
"label": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"mutable": false,
|
|
55
|
+
"complexType": {
|
|
56
|
+
"original": "string",
|
|
57
|
+
"resolved": "string",
|
|
58
|
+
"references": {}
|
|
59
|
+
},
|
|
60
|
+
"required": false,
|
|
61
|
+
"optional": false,
|
|
62
|
+
"docs": {
|
|
63
|
+
"tags": [],
|
|
64
|
+
"text": "Label \u00E9 o t\u00EDtulo exibido no componente."
|
|
65
|
+
},
|
|
66
|
+
"attribute": "label",
|
|
67
|
+
"reflect": true
|
|
68
|
+
},
|
|
69
|
+
"enabled": {
|
|
70
|
+
"type": "boolean",
|
|
71
|
+
"mutable": false,
|
|
72
|
+
"complexType": {
|
|
73
|
+
"original": "boolean",
|
|
74
|
+
"resolved": "boolean",
|
|
75
|
+
"references": {}
|
|
76
|
+
},
|
|
77
|
+
"required": false,
|
|
78
|
+
"optional": false,
|
|
79
|
+
"docs": {
|
|
80
|
+
"tags": [],
|
|
81
|
+
"text": "Deixa o componente dispon\u00EDvel ou n\u00E3o para sele\u00E7\u00E3o."
|
|
82
|
+
},
|
|
83
|
+
"attribute": "enabled",
|
|
84
|
+
"reflect": true,
|
|
85
|
+
"defaultValue": "true"
|
|
86
|
+
}
|
|
87
|
+
}; }
|
|
88
|
+
static get events() { return [{
|
|
89
|
+
"method": "actionClick",
|
|
90
|
+
"name": "actionClick",
|
|
91
|
+
"bubbles": true,
|
|
92
|
+
"cancelable": true,
|
|
93
|
+
"composed": true,
|
|
94
|
+
"docs": {
|
|
95
|
+
"tags": [],
|
|
96
|
+
"text": ""
|
|
97
|
+
},
|
|
98
|
+
"complexType": {
|
|
99
|
+
"original": "ClickOptions",
|
|
100
|
+
"resolved": "ClickOptions",
|
|
101
|
+
"references": {
|
|
102
|
+
"ClickOptions": {
|
|
103
|
+
"location": "import",
|
|
104
|
+
"path": "puppeteer"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}]; }
|
|
109
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
|
|
3
|
+
/* dimensions */
|
|
4
|
+
--bt--min-width: 100px;
|
|
5
|
+
|
|
6
|
+
/* dimensions */
|
|
7
|
+
--bt--height: 42px;
|
|
8
|
+
--bt__icon--width: 18px;
|
|
9
|
+
--bt__inline__icon--padding: 12px;
|
|
10
|
+
|
|
11
|
+
--bt--padding-top: var(--space--medium, 12px);
|
|
12
|
+
--bt--padding-bottom: var(--space--medium, 12px);
|
|
13
|
+
--bt--padding-right: var(--space--large, 24px);
|
|
14
|
+
--bt--padding-left: var(--space--large, 24px);
|
|
15
|
+
|
|
16
|
+
/* general */
|
|
17
|
+
--bt--color: var(--text--inverted, #FFF);
|
|
18
|
+
--bt--font-size: var(--text--medium, 14px);
|
|
19
|
+
--bt--font-family: var(--font-pattern, Arial);
|
|
20
|
+
--bt--font-weight: var(--text-weight--large);
|
|
21
|
+
--bt--background-color: var(--color--primary, #c0c0c0);
|
|
22
|
+
--bt--border-radius: var(--border--radius-large, 12px);
|
|
23
|
+
--bt--border: none;
|
|
24
|
+
|
|
25
|
+
--bt--hover--background-color: var(--color--primary-700, var(--bt--background-color));
|
|
26
|
+
|
|
27
|
+
--bt--disabled--color: var(--color--disable-primary, var(--bt--color));
|
|
28
|
+
--bt--disabled--background-color: var(--color--disabled, var(--bt--background-color));
|
|
29
|
+
|
|
30
|
+
--bt--focus--border: var(--bt--border);
|
|
31
|
+
--bt--focus--box-shadow: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
button {
|
|
35
|
+
/*private*/
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
margin: 0;
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
transition: background-color 0.2s linear;
|
|
42
|
+
|
|
43
|
+
/*public*/
|
|
44
|
+
min-width: var(--bt--min-width);
|
|
45
|
+
height: var(--bt--height);
|
|
46
|
+
font-family: var(--bt--font-family);
|
|
47
|
+
font-size: var(--bt--font-size);
|
|
48
|
+
font-weight: var(--bt--font-weight);
|
|
49
|
+
padding: var(--bt--padding-top) var(--bt--padding-right) var(--bt--padding-bottom) var(--bt--padding-left);
|
|
50
|
+
border-radius: var(--bt--border-radius);
|
|
51
|
+
|
|
52
|
+
background-color: var(--bt--background-color);
|
|
53
|
+
color: var(--bt--color);
|
|
54
|
+
fill: var(--bt--color);
|
|
55
|
+
border: var(--bt--border);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
button:hover{
|
|
59
|
+
background-color: var(--bt--hover--background-color);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
button:focus{
|
|
63
|
+
/*FIXME: Estranho o botão não dar nenhuma indicação de que recebeu foco*/
|
|
64
|
+
outline: none;
|
|
65
|
+
border: var(--bt--focus--border);
|
|
66
|
+
box-shadow: var(--bt--focus--box-shadow);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
button:disabled{
|
|
70
|
+
background-color: var(--bt--disabled--background-color);
|
|
71
|
+
color: var(--bt--disabled--color);
|
|
72
|
+
fill: var(--bt--disabled--color);
|
|
73
|
+
border: none;
|
|
74
|
+
cursor: no-drop;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
button.icon{
|
|
78
|
+
width: 42px;
|
|
79
|
+
min-width: 42px;
|
|
80
|
+
height: 42px;
|
|
81
|
+
padding: 0px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
a {
|
|
85
|
+
/*private*/
|
|
86
|
+
font-family: var(--bt--font-family);
|
|
87
|
+
font-size: var(--bt--font-size);
|
|
88
|
+
font-weight: var(--bt--font-weight);
|
|
89
|
+
cursor: pointer;
|
|
90
|
+
display: flex;
|
|
91
|
+
align-items: center;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
}
|
|
94
|
+
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { Component, h, Prop } from '@stencil/core';
|
|
2
|
+
export class EzButton {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Deixa o botão disponível ou não para interação com o usuário.
|
|
6
|
+
*/
|
|
7
|
+
this.enabled = true;
|
|
8
|
+
/**
|
|
9
|
+
* Define o modo de uso do botão; opções: icon, link e regular
|
|
10
|
+
*/
|
|
11
|
+
this.mode = "regular";
|
|
12
|
+
}
|
|
13
|
+
handleSlotChange(ev) {
|
|
14
|
+
const slot = ev.target;
|
|
15
|
+
const content = slot.assignedElements()[0];
|
|
16
|
+
if (this.mode == "link") {
|
|
17
|
+
content.style.display = "inline";
|
|
18
|
+
if (slot.name == "leftIcon") {
|
|
19
|
+
content.style.paddingRight = "var(--bt__inline__icon--padding)";
|
|
20
|
+
}
|
|
21
|
+
else if (slot.name == "rightIcon") {
|
|
22
|
+
content.style.paddingLeft = "var(--bt__inline__icon--padding)";
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
render() {
|
|
27
|
+
if (this.mode == "icon") {
|
|
28
|
+
return (h("button", { class: "icon", type: "button", disabled: !this.enabled },
|
|
29
|
+
h("ez-icon", { class: "icon", href: this.image, size: "large", onClick: evt => { if (!this.enabled)
|
|
30
|
+
evt.stopPropagation(); } })));
|
|
31
|
+
}
|
|
32
|
+
else if (this.mode == "link") {
|
|
33
|
+
return (h("a", null,
|
|
34
|
+
h("slot", { name: "leftIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }),
|
|
35
|
+
this.label,
|
|
36
|
+
h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } })));
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
return (h("button", { type: "button", disabled: !this.enabled },
|
|
40
|
+
h("slot", { name: "leftIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }),
|
|
41
|
+
this.label,
|
|
42
|
+
h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } })));
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
static get is() { return "ez-button"; }
|
|
46
|
+
static get encapsulation() { return "shadow"; }
|
|
47
|
+
static get originalStyleUrls() { return {
|
|
48
|
+
"$": ["ez-button.css"]
|
|
49
|
+
}; }
|
|
50
|
+
static get styleUrls() { return {
|
|
51
|
+
"$": ["ez-button.css"]
|
|
52
|
+
}; }
|
|
53
|
+
static get properties() { return {
|
|
54
|
+
"label": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"mutable": false,
|
|
57
|
+
"complexType": {
|
|
58
|
+
"original": "string",
|
|
59
|
+
"resolved": "string",
|
|
60
|
+
"references": {}
|
|
61
|
+
},
|
|
62
|
+
"required": false,
|
|
63
|
+
"optional": false,
|
|
64
|
+
"docs": {
|
|
65
|
+
"tags": [],
|
|
66
|
+
"text": "Texto indicativo da a\u00E7\u00E3o do bot\u00E3o."
|
|
67
|
+
},
|
|
68
|
+
"attribute": "label",
|
|
69
|
+
"reflect": true
|
|
70
|
+
},
|
|
71
|
+
"enabled": {
|
|
72
|
+
"type": "boolean",
|
|
73
|
+
"mutable": false,
|
|
74
|
+
"complexType": {
|
|
75
|
+
"original": "boolean",
|
|
76
|
+
"resolved": "boolean",
|
|
77
|
+
"references": {}
|
|
78
|
+
},
|
|
79
|
+
"required": false,
|
|
80
|
+
"optional": false,
|
|
81
|
+
"docs": {
|
|
82
|
+
"tags": [],
|
|
83
|
+
"text": "Deixa o bot\u00E3o dispon\u00EDvel ou n\u00E3o para intera\u00E7\u00E3o com o usu\u00E1rio."
|
|
84
|
+
},
|
|
85
|
+
"attribute": "enabled",
|
|
86
|
+
"reflect": true,
|
|
87
|
+
"defaultValue": "true"
|
|
88
|
+
},
|
|
89
|
+
"mode": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"mutable": false,
|
|
92
|
+
"complexType": {
|
|
93
|
+
"original": "string",
|
|
94
|
+
"resolved": "string",
|
|
95
|
+
"references": {}
|
|
96
|
+
},
|
|
97
|
+
"required": false,
|
|
98
|
+
"optional": false,
|
|
99
|
+
"docs": {
|
|
100
|
+
"tags": [],
|
|
101
|
+
"text": "Define o modo de uso do bot\u00E3o; op\u00E7\u00F5es: icon, link e regular"
|
|
102
|
+
},
|
|
103
|
+
"attribute": "mode",
|
|
104
|
+
"reflect": true,
|
|
105
|
+
"defaultValue": "\"regular\""
|
|
106
|
+
},
|
|
107
|
+
"image": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"mutable": false,
|
|
110
|
+
"complexType": {
|
|
111
|
+
"original": "string",
|
|
112
|
+
"resolved": "string",
|
|
113
|
+
"references": {}
|
|
114
|
+
},
|
|
115
|
+
"required": false,
|
|
116
|
+
"optional": false,
|
|
117
|
+
"docs": {
|
|
118
|
+
"tags": [],
|
|
119
|
+
"text": "Define o icone svg que ser\u00E1 utilizado no bot\u00E3o, est\u00E1 propriedade s\u00F3 \u00E9 utilizada caso o componente esteja no modo 'icon'"
|
|
120
|
+
},
|
|
121
|
+
"attribute": "image",
|
|
122
|
+
"reflect": true
|
|
123
|
+
}
|
|
124
|
+
}; }
|
|
125
|
+
}
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
--cal--font-family: var(--font-pattern, Arial);
|
|
3
|
+
--cal--color: var(--title--primary, #626e82);
|
|
4
|
+
--cal--text-shadow: var(--text-shadow, 0 0 0 #353535,0 0 1px transparent);
|
|
5
|
+
|
|
6
|
+
/* cal__body */
|
|
7
|
+
--cal__body--background-color: var(--background--xlight, #FFF);
|
|
8
|
+
--cal__body--padding: var(--space--medium, 12px);
|
|
9
|
+
--cal__body--border-radius: var(--border--radius-medium, 12px);
|
|
10
|
+
--cal__body--shadow: var(--shadow, 0px 0px 16px 0px #000);
|
|
11
|
+
|
|
12
|
+
/* cal__header */
|
|
13
|
+
--cal__header-line--stroke: 2px;
|
|
14
|
+
--cal__header-line--color: var(--color--strokes, #C0C0C0);
|
|
15
|
+
|
|
16
|
+
/* nav buttons */
|
|
17
|
+
--cal__nav-btn--fill: var(--text--primary, #008561);
|
|
18
|
+
--cal__nav-btn--over--fill: var(--color--primary, #350404);
|
|
19
|
+
--cal__nav-btn--width: 10px;
|
|
20
|
+
--cal__nav-btn--height: 16px;
|
|
21
|
+
--cal__nav-btn--previous-path: path("M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z");
|
|
22
|
+
--cal__nav-btn--next-path: path("M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z");
|
|
23
|
+
|
|
24
|
+
/* cell */
|
|
25
|
+
--cal__cell--margin: 0px var(--space--small, 12px);
|
|
26
|
+
--cal__cell--width: var(--space--large, 24px);
|
|
27
|
+
--cal__cell--padding: var(--space--extra-small, 3px) 0px;
|
|
28
|
+
--cal__cell--border-radius: var(--border--radius-small, 6px);
|
|
29
|
+
--cal__cell--over--background-color: var(--color--strokes, #C0C0C0);
|
|
30
|
+
--cal__cell--outset--color: var(--color--strokes, #C0C0C0);
|
|
31
|
+
--cal__cell--selected--background-color: var(--color--primary, #008561);
|
|
32
|
+
--cal__cell--selected--color: var(--color--inverted, #FFF);
|
|
33
|
+
|
|
34
|
+
/* btn today */
|
|
35
|
+
--cal__btn-today--color: var(--color--primary);
|
|
36
|
+
--cal__btn-today--hover--background-color: var(--color--strokes, #C0C0C0);
|
|
37
|
+
--cal__btn-today--border-radius: var(--border--radius-small, 6px);
|
|
38
|
+
|
|
39
|
+
/***************
|
|
40
|
+
host style
|
|
41
|
+
***************/
|
|
42
|
+
/*private*/
|
|
43
|
+
position: relative;
|
|
44
|
+
display: flex;
|
|
45
|
+
user-select: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.calendar{
|
|
49
|
+
/*private*/
|
|
50
|
+
z-index: var(--more-visible, 2);
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-direction: column;
|
|
53
|
+
|
|
54
|
+
/*public*/
|
|
55
|
+
background-color: var(--cal__body--background-color);
|
|
56
|
+
padding: var(--cal__body--padding);
|
|
57
|
+
border-radius: var(--cal__body--border-radius);
|
|
58
|
+
box-shadow: var(--cal__body--shadow);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.calendar__header{
|
|
62
|
+
/*private*/
|
|
63
|
+
display: flex;
|
|
64
|
+
justify-content: space-between;
|
|
65
|
+
padding-bottom: var(--space--medium, 12px);
|
|
66
|
+
margin: var(--space--small, 6px) var(--space--, 12px);
|
|
67
|
+
|
|
68
|
+
/*public*/
|
|
69
|
+
font-family: var(--cal--font-family);
|
|
70
|
+
color: var(--cal--color);
|
|
71
|
+
text-shadow: var(--cal--text-shadow);
|
|
72
|
+
border-bottom: solid var(--cal__header-line--stroke) var(--cal__header-line--color);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.calendar__btn-next, .calendar__btn-previous{
|
|
76
|
+
/*private*/
|
|
77
|
+
outline: none;
|
|
78
|
+
border: none;
|
|
79
|
+
background-color: unset;
|
|
80
|
+
cursor: pointer;
|
|
81
|
+
padding: 0px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.calendar__btn-next::after, .calendar__btn-previous::after{
|
|
85
|
+
/*private*/
|
|
86
|
+
content: '';
|
|
87
|
+
display: flex;
|
|
88
|
+
|
|
89
|
+
/*public*/
|
|
90
|
+
background-color: var(--cal__nav-btn--fill);/*parece estranho, mas o bg funciona como fill pq aplicaremos clip-path.*/
|
|
91
|
+
width: var(--cal__nav-btn--width);
|
|
92
|
+
height: var(--cal__nav-btn--height);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.calendar__btn-previous::after{
|
|
96
|
+
/*public*/
|
|
97
|
+
clip-path: var(--cal__nav-btn--previous-path);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.calendar__btn-next::after{
|
|
101
|
+
/*public*/
|
|
102
|
+
clip-path: var(--cal__nav-btn--next-path);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.calendar__btn-next:hover::after, .calendar__btn-previous:hover::after{
|
|
106
|
+
/*public*/
|
|
107
|
+
background-color: var(--cal__nav-btn--over--fill);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.calendar__lbl-month{
|
|
111
|
+
/*private*/
|
|
112
|
+
font-weight: var(--text-weight--large, 600);
|
|
113
|
+
font-size: var(--title--medium, 16px);
|
|
114
|
+
|
|
115
|
+
/*public*/
|
|
116
|
+
font-family: var(--cal--font-family);
|
|
117
|
+
color: var(--cal--color);
|
|
118
|
+
text-shadow: var(--cal--text-shadow);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.calendar__line{
|
|
122
|
+
/*private*/
|
|
123
|
+
display: flex;
|
|
124
|
+
padding: 0px;
|
|
125
|
+
margin: 0px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.calendar__cell{
|
|
129
|
+
/*private*/
|
|
130
|
+
display: flex;
|
|
131
|
+
justify-content: center;
|
|
132
|
+
align-content: center;
|
|
133
|
+
cursor: pointer;
|
|
134
|
+
font-size: var(--text--small, 12px);
|
|
135
|
+
|
|
136
|
+
/*public*/
|
|
137
|
+
font-family: var(--cal--font-family);
|
|
138
|
+
color: var(--cal--color);
|
|
139
|
+
text-shadow: var(--cal--text-shadow);
|
|
140
|
+
padding: var(--cal__cell--padding);
|
|
141
|
+
margin: var(--cal__cell--margin);
|
|
142
|
+
min-width: var(--cal__cell--width);
|
|
143
|
+
border-radius: var(--cal__cell--border-radius);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
.calendar__cell:hover{
|
|
148
|
+
/*public*/
|
|
149
|
+
background-color: var(--cal__cell--over--background-color);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.calendar__cell--secondary{
|
|
153
|
+
/*public*/
|
|
154
|
+
color: var(--cal__cell--outset--color);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.calendar__cell--unselectable:hover{
|
|
158
|
+
/*private*/
|
|
159
|
+
background-color: unset;
|
|
160
|
+
border-radius: unset;
|
|
161
|
+
cursor: unset;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.calendar__cell--unselectable{
|
|
165
|
+
/*private*/
|
|
166
|
+
font-weight: var(--text-weight--large, 600);
|
|
167
|
+
|
|
168
|
+
/*public*/
|
|
169
|
+
font-family: var(--cal--font-family);
|
|
170
|
+
color: var(--cal--color);
|
|
171
|
+
text-shadow: var(--cal--text-shadow);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.calendar__cell--selected, .calendar__cell--selected:hover{
|
|
175
|
+
/*public*/
|
|
176
|
+
background-color: var(--cal__cell--selected--background-color);
|
|
177
|
+
color: var(--cal__cell--selected--color);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.calendar__body {
|
|
181
|
+
/*private*/
|
|
182
|
+
padding: var(--space--small, 6px) 0px;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.calendar__footer{
|
|
186
|
+
/*private*/
|
|
187
|
+
display: flex;
|
|
188
|
+
flex-direction: column;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.calendar__btn-today{
|
|
192
|
+
/*private*/
|
|
193
|
+
border: none;
|
|
194
|
+
background-color: unset;
|
|
195
|
+
cursor: pointer;
|
|
196
|
+
font-weight: var(--text-weight--large, 600);
|
|
197
|
+
font-size: var(--title--small);
|
|
198
|
+
padding: var(--space--extra-small, 6px);
|
|
199
|
+
|
|
200
|
+
/*public*/
|
|
201
|
+
font-family: var(--cal--font-family);
|
|
202
|
+
text-shadow: var(--cal--text-shadow);
|
|
203
|
+
color: var(--cal__btn-today--color);
|
|
204
|
+
border-radius: var(--cal__btn-today--border-radius);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.calendar__btn-today:hover{
|
|
208
|
+
/*public*/
|
|
209
|
+
background-color: var(--cal__btn-today--hover--background-color);
|
|
210
|
+
}
|