@sankhyalabs/sankhyablocks 1.1.27 → 1.3.0
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/LICENSE +21 -21
- package/README.md +75 -75
- package/dist/cjs/index-4720dab8.js +735 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/sankhyablocks.cjs.js +3 -3
- package/dist/cjs/snk-application.cjs.entry.js +954 -656
- package/dist/collection/collection-manifest.json +6 -35
- package/dist/collection/components/snk-application/snk-application.css +5 -5
- package/dist/collection/components/snk-application/snk-application.js +492 -495
- package/dist/collection/index.js +1 -1
- package/dist/collection/lib/http/data-fetcher/DataFetcher.js +158 -158
- package/dist/collection/lib/http/data-fetcher/fetchers/application-config-fetcher.js +23 -23
- package/dist/collection/lib/http/data-fetcher/fetchers/dataunit-fetcher.js +188 -188
- package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js +25 -25
- package/dist/collection/lib/http/data-fetcher/fetchers/grid-config-fetcher.js +2 -2
- package/dist/collection/lib/http/data-fetcher/fetchers/parameters-fecher.js +59 -59
- package/dist/collection/lib/http/data-fetcher/fetchers/resource-fetcher.js +30 -30
- package/dist/collection/lib/http/data-fetcher/state/LoadStateManager.js +66 -66
- package/dist/collection/lib/utils/pesquisa.js +16 -16
- package/dist/collection/lib/utils/urlutils.js +23 -23
- package/dist/collection/lib/workspace/workspace.js +7 -7
- package/dist/components/snk-application.js +945 -647
- package/dist/esm/index-72d4e2e0.js +709 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/sankhyablocks.js +3 -3
- package/dist/esm/snk-application.entry.js +916 -618
- package/dist/sankhyablocks/p-5d8ddbda.entry.js +57 -0
- package/dist/sankhyablocks/p-a33afc3b.js +2 -0
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-application/snk-application.d.ts +44 -44
- package/dist/types/components.d.ts +6 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/lib/http/data-fetcher/DataFetcher.d.ts +15 -15
- package/dist/types/lib/http/data-fetcher/fetchers/application-config-fetcher.d.ts +6 -6
- package/dist/types/lib/http/data-fetcher/fetchers/dataunit-fetcher.d.ts +12 -12
- package/dist/types/lib/http/data-fetcher/fetchers/form-config-fetcher.d.ts +5 -5
- package/dist/types/lib/http/data-fetcher/fetchers/grid-config-fetcher.d.ts +2 -2
- package/dist/types/lib/http/data-fetcher/fetchers/parameters-fecher.d.ts +13 -13
- package/dist/types/lib/http/data-fetcher/fetchers/resource-fetcher.d.ts +6 -6
- package/dist/types/lib/http/data-fetcher/state/LoadStateManager.d.ts +23 -23
- package/dist/types/lib/utils/pesquisa.d.ts +2 -2
- package/dist/types/lib/utils/urlutils.d.ts +4 -4
- package/dist/types/lib/workspace/workspace.d.ts +4 -4
- package/package.json +63 -52
- package/react/.keepfolder +1 -0
- package/react/components.d.ts +3 -32
- package/react/components.js +5 -34
- package/react/components.js.map +1 -1
- package/react/react-component-lib/createComponent.d.ts +10 -10
- package/react/react-component-lib/createComponent.js +58 -74
- package/react/react-component-lib/createComponent.js.map +1 -1
- package/react/react-component-lib/createOverlayComponent.d.ts +20 -21
- package/react/react-component-lib/createOverlayComponent.js +88 -108
- package/react/react-component-lib/createOverlayComponent.js.map +1 -1
- package/react/react-component-lib/index.d.ts +2 -2
- package/react/react-component-lib/index.js +2 -2
- package/react/react-component-lib/interfaces.d.ts +29 -29
- package/react/react-component-lib/utils/attachProps.d.ts +12 -12
- package/react/react-component-lib/utils/attachProps.js +95 -97
- package/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/react/react-component-lib/utils/case.d.ts +2 -2
- package/react/react-component-lib/utils/case.js +6 -6
- package/react/react-component-lib/utils/dev.d.ts +2 -2
- package/react/react-component-lib/utils/dev.js +12 -12
- package/react/react-component-lib/utils/index.d.ts +7 -10
- package/react/react-component-lib/utils/index.js +20 -33
- package/react/react-component-lib/utils/index.js.map +1 -1
- package/dist/cjs/ApplicationUtils-05b74ee9.js +0 -39
- package/dist/cjs/AssetsUtils-bd004f63.js +0 -24
- package/dist/cjs/CSSVarsUtils-75ca9c64.js +0 -19
- package/dist/cjs/_commonjsHelpers-537d719a.js +0 -20
- package/dist/cjs/ez-action-chip.cjs.entry.js +0 -27
- package/dist/cjs/ez-application.cjs.entry.js +0 -26
- package/dist/cjs/ez-button_4.cjs.entry.js +0 -660
- package/dist/cjs/ez-calendar.cjs.entry.js +0 -223
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +0 -47
- package/dist/cjs/ez-combo-box.cjs.entry.js +0 -278
- package/dist/cjs/ez-date-input.cjs.entry.js +0 -102
- package/dist/cjs/ez-date-time-input.cjs.entry.js +0 -145
- package/dist/cjs/ez-dialog.cjs.entry.js +0 -89
- package/dist/cjs/ez-form.cjs.entry.js +0 -785
- package/dist/cjs/ez-grid.cjs.entry.js +0 -110485
- package/dist/cjs/ez-icon.cjs.entry.js +0 -41
- package/dist/cjs/ez-label-chip.cjs.entry.js +0 -104
- package/dist/cjs/ez-modal_2.cjs.entry.js +0 -316
- package/dist/cjs/ez-number-input.cjs.entry.js +0 -86
- package/dist/cjs/ez-popover.cjs.entry.js +0 -120
- package/dist/cjs/ez-popup.cjs.entry.js +0 -48
- package/dist/cjs/ez-search.cjs.entry.js +0 -64
- package/dist/cjs/ez-tabselector.cjs.entry.js +0 -198
- package/dist/cjs/ez-text-area.cjs.entry.js +0 -114
- package/dist/cjs/ez-text-input.cjs.entry.js +0 -201
- package/dist/cjs/ez-time-input.cjs.entry.js +0 -118
- package/dist/cjs/ez-toast.cjs.entry.js +0 -44
- package/dist/cjs/ez-upload.cjs.entry.js +0 -356
- package/dist/cjs/index-6ac5268e.js +0 -1769
- package/dist/cjs/test-du.cjs.entry.js +0 -76
- package/dist/components/ApplicationUtils.js +0 -37
- package/dist/components/AssetsUtils.js +0 -22
- package/dist/components/CSSVarsUtils.js +0 -17
- package/dist/components/_commonjsHelpers.js +0 -17
- package/dist/components/ez-action-chip.js +0 -44
- package/dist/components/ez-application.js +0 -39
- package/dist/components/ez-button.js +0 -6
- package/dist/components/ez-button2.js +0 -105
- package/dist/components/ez-calendar.js +0 -6
- package/dist/components/ez-calendar2.js +0 -242
- package/dist/components/ez-check.js +0 -6
- package/dist/components/ez-check2.js +0 -94
- package/dist/components/ez-collapsible-box.js +0 -67
- package/dist/components/ez-combo-box.js +0 -6
- package/dist/components/ez-combo-box2.js +0 -311
- package/dist/components/ez-date-input.js +0 -135
- package/dist/components/ez-date-time-input.js +0 -179
- package/dist/components/ez-dialog.js +0 -124
- package/dist/components/ez-form.js +0 -6
- package/dist/components/ez-form2.js +0 -807
- package/dist/components/ez-grid.js +0 -110576
- package/dist/components/ez-icon.js +0 -6
- package/dist/components/ez-icon2.js +0 -56
- package/dist/components/ez-label-chip.js +0 -125
- package/dist/components/ez-list.js +0 -6
- package/dist/components/ez-list2.js +0 -523
- package/dist/components/ez-modal.js +0 -6
- package/dist/components/ez-modal2.js +0 -82
- package/dist/components/ez-number-input.js +0 -115
- package/dist/components/ez-popover.js +0 -145
- package/dist/components/ez-popup.js +0 -67
- package/dist/components/ez-search.js +0 -100
- package/dist/components/ez-tabselector.js +0 -6
- package/dist/components/ez-tabselector2.js +0 -213
- package/dist/components/ez-text-area.js +0 -137
- package/dist/components/ez-text-input.js +0 -6
- package/dist/components/ez-text-input2.js +0 -223
- package/dist/components/ez-time-input.js +0 -153
- package/dist/components/ez-toast.js +0 -64
- package/dist/components/ez-upload.js +0 -382
- package/dist/components/grid-config.js +0 -6
- package/dist/components/grid-config2.js +0 -318
- package/dist/components/select-box.js +0 -6
- package/dist/components/select-box2.js +0 -47
- package/dist/components/test-du.js +0 -101
- package/dist/esm/ApplicationUtils-e0b6d857.js +0 -37
- package/dist/esm/AssetsUtils-98074c9c.js +0 -22
- package/dist/esm/CSSVarsUtils-0787c3f3.js +0 -17
- package/dist/esm/_commonjsHelpers-9943807e.js +0 -17
- package/dist/esm/ez-action-chip.entry.js +0 -23
- package/dist/esm/ez-application.entry.js +0 -22
- package/dist/esm/ez-button_4.entry.js +0 -653
- package/dist/esm/ez-calendar.entry.js +0 -219
- package/dist/esm/ez-collapsible-box.entry.js +0 -43
- package/dist/esm/ez-combo-box.entry.js +0 -274
- package/dist/esm/ez-date-input.entry.js +0 -98
- package/dist/esm/ez-date-time-input.entry.js +0 -141
- package/dist/esm/ez-dialog.entry.js +0 -85
- package/dist/esm/ez-form.entry.js +0 -781
- package/dist/esm/ez-grid.entry.js +0 -110481
- package/dist/esm/ez-icon.entry.js +0 -37
- package/dist/esm/ez-label-chip.entry.js +0 -100
- package/dist/esm/ez-modal_2.entry.js +0 -311
- package/dist/esm/ez-number-input.entry.js +0 -82
- package/dist/esm/ez-popover.entry.js +0 -116
- package/dist/esm/ez-popup.entry.js +0 -44
- package/dist/esm/ez-search.entry.js +0 -60
- package/dist/esm/ez-tabselector.entry.js +0 -194
- package/dist/esm/ez-text-area.entry.js +0 -110
- package/dist/esm/ez-text-input.entry.js +0 -197
- package/dist/esm/ez-time-input.entry.js +0 -114
- package/dist/esm/ez-toast.entry.js +0 -40
- package/dist/esm/ez-upload.entry.js +0 -352
- package/dist/esm/index-df166135.js +0 -1738
- package/dist/esm/test-du.entry.js +0 -72
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-action-chip/ez-action-chip.css +0 -67
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-application/ez-application.css +0 -3
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-button/ez-button.css +0 -180
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-calendar/ez-calendar.css +0 -319
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-check/ez-check.css +0 -327
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +0 -162
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-combo-box/ez-combo-box.css +0 -217
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-date-input/ez-date-input.css +0 -49
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-date-time-input/ez-date-time-input.css +0 -44
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-dialog/ez-dialog.css +0 -527
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-form/ez-form.css +0 -5
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-grid/ez-grid.css +0 -31
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-grid/subcomponents/gridconfig/grid-config.css +0 -129
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-grid/subcomponents/select-box/select-box.css +0 -10
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-icon/ez-icon.css +0 -176
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-label-chip/ez-label-chip.css +0 -139
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-list/ez-list.css +0 -335
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-modal/ez-modal.css +0 -358
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-number-input/ez-number-input.css +0 -4
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-popover/ez-popover.css +0 -44
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-popup/ez-popup.css +0 -405
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-search/ez-search.css +0 -3
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-tabselector/ez-tabselector.css +0 -138
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-text-area/ez-text-area.css +0 -165
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-text-input/ez-text-input.css +0 -196
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-time-input/ez-time-input.css +0 -10
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-toast/ez-toast.css +0 -127
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-upload/ez-upload.css +0 -568
- package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/test-du/test-du.css +0 -3
- package/dist/sankhyablocks/p-08e1cded.entry.js +0 -1
- package/dist/sankhyablocks/p-0a77ac95.entry.js +0 -57
- package/dist/sankhyablocks/p-112455b1.js +0 -1
- package/dist/sankhyablocks/p-126c4aaa.entry.js +0 -1
- package/dist/sankhyablocks/p-1421b89a.entry.js +0 -1
- package/dist/sankhyablocks/p-1beadcaf.entry.js +0 -1
- package/dist/sankhyablocks/p-1c423f5d.entry.js +0 -1
- package/dist/sankhyablocks/p-28a0dbf0.entry.js +0 -1
- package/dist/sankhyablocks/p-4763d5c2.js +0 -1
- package/dist/sankhyablocks/p-4c66200a.entry.js +0 -1
- package/dist/sankhyablocks/p-5dc772be.entry.js +0 -1
- package/dist/sankhyablocks/p-5ff3e300.entry.js +0 -1
- package/dist/sankhyablocks/p-7122cec4.entry.js +0 -1
- package/dist/sankhyablocks/p-811b4b9d.js +0 -1
- package/dist/sankhyablocks/p-813fe4f7.js +0 -1
- package/dist/sankhyablocks/p-9b33a005.entry.js +0 -1
- package/dist/sankhyablocks/p-9e22ec87.entry.js +0 -1
- package/dist/sankhyablocks/p-9f7239df.entry.js +0 -1
- package/dist/sankhyablocks/p-9f7e6e48.js +0 -1
- package/dist/sankhyablocks/p-a47e0537.entry.js +0 -1
- package/dist/sankhyablocks/p-a9aba60a.entry.js +0 -1
- package/dist/sankhyablocks/p-afda7940.entry.js +0 -1
- package/dist/sankhyablocks/p-b3a83eaf.entry.js +0 -1
- package/dist/sankhyablocks/p-b96a8d40.entry.js +0 -1
- package/dist/sankhyablocks/p-c61c0e40.entry.js +0 -1
- package/dist/sankhyablocks/p-ca29d028.entry.js +0 -1
- package/dist/sankhyablocks/p-cd17abb1.entry.js +0 -1
- package/dist/sankhyablocks/p-d3a5366d.entry.js +0 -369
- package/dist/sankhyablocks/p-d5703a41.entry.js +0 -1
- package/dist/sankhyablocks/p-e5f77a59.entry.js +0 -1
- package/dist/sankhyablocks/p-e9e94d51.entry.js +0 -1
package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-text-area/ez-text-area.css
DELETED
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
/* dimensions */
|
|
3
|
-
/*@doc Define a largura do componente.*/
|
|
4
|
-
--text-area--width: 100%;
|
|
5
|
-
|
|
6
|
-
/* general */
|
|
7
|
-
/*@doc Define o raio da borda do input do componente.*/
|
|
8
|
-
--text-area--border-radius: var(--border--radius-medium, 12px);
|
|
9
|
-
/*@doc Define o tamanho da fonte do input e label do componente.*/
|
|
10
|
-
--text-area--font-size: var(--text--medium, 14px);
|
|
11
|
-
/*@doc Define a família da fonte do input, label e caixa de mensagem do componente.*/
|
|
12
|
-
--text-area--font-family: var(--font-pattern, Arial);
|
|
13
|
-
/*@doc Define o peso da fonte do label do componente.*/
|
|
14
|
-
--text-area--font-weight: var(--text-weight--large, 500);
|
|
15
|
-
/*@doc Define a cor da fonte do input e label do componente.*/
|
|
16
|
-
--text-area--color: var(--title--primary, #000);
|
|
17
|
-
|
|
18
|
-
/* input */
|
|
19
|
-
/*@doc Define a cor de fundo do input.*/
|
|
20
|
-
--text-area__input--background-color: var(--background--medium, #e0e0e0);
|
|
21
|
-
/*@doc Define o estilo da borda do input.*/
|
|
22
|
-
--text-area__input--border: var(--border--medium, 2px solid);
|
|
23
|
-
/*@doc Define a cor da borda do input.*/
|
|
24
|
-
--text-area__input--border-color: var(--text-area__input--background-color);
|
|
25
|
-
/*no modo normal usamos a borda com a mesma cor do bg*/
|
|
26
|
-
/*@doc Define a cor da borda do input quando focado.*/
|
|
27
|
-
--text-area__input--focus--border-color: var(--color--primary, #008561);
|
|
28
|
-
/*@doc Define a cor de fundo do input quando desabilitado.*/
|
|
29
|
-
--text-area__input--disabled--background-color: var(--color--disable-secondary, #F2F5F8);
|
|
30
|
-
/*@doc Define a cor do texto do input.*/
|
|
31
|
-
--text-area__input--disabled--color: var(--text--disable, #AFB6C0);
|
|
32
|
-
/*@doc Define a cor da borda do input quando com erro.*/
|
|
33
|
-
--text-area__input--error--border-color: #CC2936;
|
|
34
|
-
|
|
35
|
-
/* message box */
|
|
36
|
-
/*@doc Define o tamanho da fonte da mensagem abaixo do input.*/
|
|
37
|
-
--text-area__message_box--font-size: var(--text--small, 12px);
|
|
38
|
-
/*@doc Define a cor da fonte da mensagem quando info.*/
|
|
39
|
-
--text-area__message_box--info--color: var(--color--success, #22085d);
|
|
40
|
-
/*@doc Define a cor da fonte da mensagem quando erro.*/
|
|
41
|
-
--text-area__message_box--error--color: var(--color--error, #FF0000);
|
|
42
|
-
|
|
43
|
-
/* label */
|
|
44
|
-
/*@doc Define o posicionamento do label.*/
|
|
45
|
-
--text-area__label--floating--top: 6px;
|
|
46
|
-
/*@doc Define o espaçamento superior do label.*/
|
|
47
|
-
--text-area__label--padding-top: 12px;
|
|
48
|
-
/*@doc Define o espaçamento esquerdo do label.*/
|
|
49
|
-
--text-area__label--padding-left: 14px;
|
|
50
|
-
/*@doc Define o espaçamento direito do label.*/
|
|
51
|
-
--text-area__label--padding-right: 12px;
|
|
52
|
-
|
|
53
|
-
/***************
|
|
54
|
-
host style
|
|
55
|
-
***************/
|
|
56
|
-
/*private*/
|
|
57
|
-
display: flex;
|
|
58
|
-
flex-wrap: wrap;
|
|
59
|
-
position: relative;
|
|
60
|
-
/*public*/
|
|
61
|
-
width: var(--text-area--width);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
textarea {
|
|
65
|
-
box-sizing: border-box;
|
|
66
|
-
border: none;
|
|
67
|
-
resize: none;
|
|
68
|
-
margin-top: calc(var(--space--medium, 12px) + 4px);
|
|
69
|
-
width: 100%;
|
|
70
|
-
font-weight: var(--text-weight--large, 600);
|
|
71
|
-
font-family: var(--text-area--font-family);
|
|
72
|
-
font-size: var(--text-area--font-size);
|
|
73
|
-
color: var(--text-area--color);
|
|
74
|
-
padding: 0;
|
|
75
|
-
background: none;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
textarea:focus {
|
|
79
|
-
/*private*/
|
|
80
|
-
outline: none;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
textarea:disabled {
|
|
84
|
-
/*public*/
|
|
85
|
-
background-color: transparent;
|
|
86
|
-
color: var(--text-area__input--disabled--color);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.textarea {
|
|
90
|
-
/*private*/
|
|
91
|
-
width: 100%;
|
|
92
|
-
box-sizing: border-box;
|
|
93
|
-
padding-left: var(--space--medium);
|
|
94
|
-
padding-right: var(--space--extra-small);
|
|
95
|
-
|
|
96
|
-
/*public*/
|
|
97
|
-
border-radius: var(--text-area--border-radius);
|
|
98
|
-
border: var(--text-area__input--border);
|
|
99
|
-
border-color: var(--text-area__input--border-color);
|
|
100
|
-
background-color: var(--text-area__input--background-color);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.textarea--focus {
|
|
104
|
-
border-color: var(--text-area__input--focus--border-color);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.textarea.hasError {
|
|
108
|
-
color: var(--text-area--color);
|
|
109
|
-
border-color: var(--text-area__input--error--border-color);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.message-box {
|
|
113
|
-
/*private*/
|
|
114
|
-
min-height: 16px;
|
|
115
|
-
min-width: 100%;
|
|
116
|
-
margin-top: 3px;
|
|
117
|
-
line-height: 12px;
|
|
118
|
-
overflow: hidden;
|
|
119
|
-
text-overflow: ellipsis;
|
|
120
|
-
white-space: nowrap;
|
|
121
|
-
|
|
122
|
-
/*public*/
|
|
123
|
-
font-family: var(--text-area--font-family);
|
|
124
|
-
font-size: var(--text-area__message_box--font-size);
|
|
125
|
-
color: var(--text-area__message_box--info--color);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.hasError {
|
|
129
|
-
/*public*/
|
|
130
|
-
color: var(--text-area__message_box--error--color);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.textarea__label {
|
|
134
|
-
/*private*/
|
|
135
|
-
box-sizing: border-box;
|
|
136
|
-
position: absolute;
|
|
137
|
-
z-index: var(--visible);
|
|
138
|
-
overflow: hidden;
|
|
139
|
-
text-overflow: ellipsis;
|
|
140
|
-
white-space: nowrap;
|
|
141
|
-
-webkit-transition: font-size .05s, top .05s;
|
|
142
|
-
transition: font-size .05s, top .05s;
|
|
143
|
-
width: calc(100% - var(--text-area__label--padding-right));
|
|
144
|
-
left: var(--text-area--space--medium);
|
|
145
|
-
|
|
146
|
-
/*public*/
|
|
147
|
-
font-family: var(--text-area--font-family);
|
|
148
|
-
font-size: var(--text-area--font-size);
|
|
149
|
-
font-weight: var(--text-area--font-weight);
|
|
150
|
-
color: var(--text-area--color);
|
|
151
|
-
top: var(--text-area__label--padding-top);
|
|
152
|
-
left: var(--text-area__label--padding-left);
|
|
153
|
-
padding-right: var(--text-area__label--padding-right);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.textarea__label--floated {
|
|
157
|
-
font-family: var(--text-area--font-family);
|
|
158
|
-
font-size: var(--text--extra-small);
|
|
159
|
-
color: var(--text--primary);
|
|
160
|
-
top: var(--text-area__label--floating--top);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.textarea__label--disabled {
|
|
164
|
-
color: var(--text-area__input--disabled--color);
|
|
165
|
-
}
|
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
/* dimensions */
|
|
3
|
-
/*@doc Define a altura do componente.*/
|
|
4
|
-
--ez-text-input--height: 42px;
|
|
5
|
-
/*@doc Define a largura do componente.*/
|
|
6
|
-
--ez-text-input--width: 100%;
|
|
7
|
-
/*@doc Define a largura do slot que contém o ícone.*/
|
|
8
|
-
--ez-text-input__icon--width: 48px;
|
|
9
|
-
|
|
10
|
-
/* general */
|
|
11
|
-
/*@doc Define o raio da borda do input do componente.*/
|
|
12
|
-
--ez-text-input--border-radius: var(--border--radius-medium, 12px);
|
|
13
|
-
/*@doc Define o tamanho da fonte do input e label do componente.*/
|
|
14
|
-
--ez-text-input--font-size: var(--text--medium, 14px);
|
|
15
|
-
/*@doc Define a família da fonte do input, label e caixa de mensagem do componente.*/
|
|
16
|
-
--ez-text-input--font-family: var(--font-pattern, Arial);
|
|
17
|
-
/*@doc Define o peso da fonte do label do componente.*/
|
|
18
|
-
--ez-text-input--font-weight: var(--text-weight--medium, 400);
|
|
19
|
-
/*@doc Define a cor da fonte do input e label do componente.*/
|
|
20
|
-
--ez-text-input--color: var(--title--primary, #000);
|
|
21
|
-
|
|
22
|
-
/* input */
|
|
23
|
-
/*@doc Define a cor de fundo do input.*/
|
|
24
|
-
--ez-text-input__input--background-color: var(--background--medium, #e0e0e0);
|
|
25
|
-
/*@doc Define o estilo da borda do input.*/
|
|
26
|
-
--ez-text-input__input--border: var(--border--medium, 2px solid);
|
|
27
|
-
/*@doc Define a cor da borda do input.*/
|
|
28
|
-
--ez-text-input__input--border-color: var(--ez-text-input__input--background-color);
|
|
29
|
-
/*no modo normal usamos a borda com a mesma cor do bg*/
|
|
30
|
-
/*@doc Define a cor da borda do input quando focado.*/
|
|
31
|
-
--ez-text-input__input--focus--border-color: var(--color--primary, #008561);
|
|
32
|
-
/*@doc Define a cor de fundo do input quando desabilitado.*/
|
|
33
|
-
--ez-text-input__input--disabled--background-color: var(--color--disable-secondary, #F2F5F8);
|
|
34
|
-
/*@doc Define a cor do texto do input.*/
|
|
35
|
-
--ez-text-input__input--disabled--color: var(--text--disable, #AFB6C0);
|
|
36
|
-
/*@doc Define a cor da borda do input quando com erro.*/
|
|
37
|
-
--ez-text-input__input--error--border-color: #CC2936;
|
|
38
|
-
|
|
39
|
-
/* message box */
|
|
40
|
-
/*@doc Define o tamanho da fonte da mensagem abaixo do input.*/
|
|
41
|
-
--ez-text-input__message_box--font-size: var(--text--small, 12px);
|
|
42
|
-
/*@doc Define a cor da fonte da mensagem quando info.*/
|
|
43
|
-
--ez-text-input__message_box--info--color: var(--color--success, #22085d);
|
|
44
|
-
/*@doc Define a cor da fonte da mensagem quando erro.*/
|
|
45
|
-
--ez-text-input__message_box--error--color: var(--color--error, #FF0000);
|
|
46
|
-
|
|
47
|
-
/* label */
|
|
48
|
-
/*@doc Define o posicionamento do label.*/
|
|
49
|
-
--ez-text-input__label--floating--top: 6px;
|
|
50
|
-
/*@doc Define o posicionamento do label.*/
|
|
51
|
-
--ez-text-input__label--padding-top: 12px;
|
|
52
|
-
/*@doc Define o espaçamento esquerdo do label.*/
|
|
53
|
-
--ez-text-input__label--padding-left: 14px;
|
|
54
|
-
/*@doc Define o espaçamento direito do label.*/
|
|
55
|
-
--ez-text-input__label--padding-right: 12px;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
/***************
|
|
59
|
-
host style
|
|
60
|
-
***************/
|
|
61
|
-
/*private*/
|
|
62
|
-
display: flex;
|
|
63
|
-
flex-wrap: wrap;
|
|
64
|
-
position: relative;
|
|
65
|
-
/*public*/
|
|
66
|
-
width: var(--ez-text-input--width);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
input {
|
|
70
|
-
/*private*/
|
|
71
|
-
width: 100%;
|
|
72
|
-
box-sizing: border-box;
|
|
73
|
-
padding: var(--space--medium, 6px);
|
|
74
|
-
font-weight: var(--text-weight--large, 600);
|
|
75
|
-
|
|
76
|
-
/*public*/
|
|
77
|
-
height: var(--ez-text-input--height);
|
|
78
|
-
border-radius: var(--ez-text-input--border-radius);
|
|
79
|
-
font-family: var(--ez-text-input--font-family);
|
|
80
|
-
font-size: var(--ez-text-input--font-size);
|
|
81
|
-
border: var(--ez-text-input__input--border);
|
|
82
|
-
border-color: var(--ez-text-input__input--border-color);
|
|
83
|
-
background-color: var(--ez-text-input__input--background-color);
|
|
84
|
-
color: var(--ez-text-input--color);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
input:disabled {
|
|
88
|
-
/*public*/
|
|
89
|
-
background-color: var(--ez-text-input__input--disabled--background-color);
|
|
90
|
-
color: var(--ez-text-input__input--disabled--color);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
input:focus {
|
|
94
|
-
/*private*/
|
|
95
|
-
outline: none;
|
|
96
|
-
/*public*/
|
|
97
|
-
border-color: var(--ez-text-input__input--focus--border-color);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
input.icon--left {
|
|
101
|
-
padding-left: var(--ez-text-input__icon--width);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
input.icon--right {
|
|
105
|
-
padding-right: var(--ez-text-input__icon--width);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
input.hasError {
|
|
109
|
-
color: var(--ez-text-input--color);
|
|
110
|
-
border-color: var(--ez-text-input__input--error--border-color);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
input.text--right {
|
|
114
|
-
text-align: right;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.message-box {
|
|
118
|
-
/*private*/
|
|
119
|
-
min-height: 16px;
|
|
120
|
-
min-width: 100%;
|
|
121
|
-
margin-top: 3px;
|
|
122
|
-
line-height: 12px;
|
|
123
|
-
overflow: hidden;
|
|
124
|
-
text-overflow: ellipsis;
|
|
125
|
-
white-space: nowrap;
|
|
126
|
-
|
|
127
|
-
/*public*/
|
|
128
|
-
font-family: var(--ez-text-input--font-family);
|
|
129
|
-
font-size: var(--ez-text-input__message_box--font-size);
|
|
130
|
-
color: var(--ez-text-input__message_box--info--color);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.hasError {
|
|
134
|
-
/*public*/
|
|
135
|
-
color: var(--ez-text-input__message_box--error--color);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.input__label {
|
|
139
|
-
/*private*/
|
|
140
|
-
box-sizing: border-box;
|
|
141
|
-
position: absolute;
|
|
142
|
-
z-index: var(--visible);
|
|
143
|
-
overflow: hidden;
|
|
144
|
-
text-overflow: ellipsis;
|
|
145
|
-
white-space: nowrap;
|
|
146
|
-
-webkit-transition: font-size .05s, top .05s;
|
|
147
|
-
transition: font-size .05s, top .05s;
|
|
148
|
-
width: calc(100% - var(--ez-text-input__label--padding-right));
|
|
149
|
-
left: var(--ez-text-input--space--medium);
|
|
150
|
-
|
|
151
|
-
/*public*/
|
|
152
|
-
font-family: var(--ez-text-input--font-family);
|
|
153
|
-
font-size: var(--ez-text-input--font-size);
|
|
154
|
-
font-weight: var(--ez-text-input--font-weight);
|
|
155
|
-
color: var(--ez-text-input--color);
|
|
156
|
-
top: var(--ez-text-input__label--padding-top);
|
|
157
|
-
left: var(--ez-text-input__label--padding-left);
|
|
158
|
-
padding-right: var(--ez-text-input__label--padding-right);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.input__label--floated {
|
|
162
|
-
font-family: var(--ez-text-input--font-family);
|
|
163
|
-
font-size: var(--text--extra-small);
|
|
164
|
-
color: var(--text--primary);
|
|
165
|
-
top: var(--ez-text-input__label--floating--top);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.input__label--disabled {
|
|
169
|
-
color: var(--ez-text-input__input--disabled--color);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.input__label--left {
|
|
173
|
-
/*public*/
|
|
174
|
-
text-align: left;
|
|
175
|
-
left: calc(var(--ez-text-input__icon--width) + 2px);
|
|
176
|
-
/*borda*/
|
|
177
|
-
width: calc(100% - var(--ez-text-input__icon--width));
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.input__label--right {
|
|
181
|
-
/*public*/
|
|
182
|
-
right: var(--ez-text-input__icon--width);
|
|
183
|
-
width: calc(100% - var(--ez-text-input__icon--width));
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
/* ISSO TA ERRADO CRIAR INPUT__LABEL--BOTH */
|
|
187
|
-
.input__label--left.input__label--right {
|
|
188
|
-
left: calc(var(--ez-text-input__icon--width) + 2px);
|
|
189
|
-
/*borda*/
|
|
190
|
-
width: calc(100% - var(--ez-text-input__icon--width) * 2);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.input--with--label {
|
|
194
|
-
/*public*/
|
|
195
|
-
padding-bottom: 0;
|
|
196
|
-
}
|
package/dist/node_modules/@sankhyalabs/ezui/dist/collection/components/ez-toast/ez-toast.css
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
|
|
3
|
-
/* Buttons */
|
|
4
|
-
/*@doc Contém o ícone de fechamento do toast.*/
|
|
5
|
-
--ez-toast__btn__close__image: url('data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg%22%3E<path d="M 7.0060773,5.995511 11.461972,1.5397722 c 0.132856,-0.1328413 0.207547,-0.3130253 0.207547,-0.5009046 0,-0.18786999 -0.07469,-0.3680541 -0.207547,-0.5009048 -0.132857,-0.13284126 -0.31302,-0.20748126 -0.500927,-0.20748126 -0.187812,0 -0.36807,0.07464 -0.500926,0.20748126 L 6.0042244,4.9937015 1.5482921,0.5379628 C 1.4154357,0.40512154 1.2352533,0.33048154 1.0473657,0.33048154 c -0.18787813,0 -0.36807,0.07464 -0.50092647,0.20748126 -0.13285646,0.1328507 -0.20749026,0.31303481 -0.20749026,0.5009048 0,0.1878793 0.0746338,0.3680633 0.20749026,0.5009046 L 5.0023715,5.995511 0.54643923,10.452213 c -0.0676086,0.06534 -0.12151598,0.14352 -0.15859681,0.229916 -0.0370714,0.08639 -0.0565645,0.1794 -0.0573369,0.27335 -7.724e-4,0.09404 0.0171873,0.187331 0.0528423,0.274293 0.0356455,0.08705 0.0882688,0.166087 0.15479148,0.23256 0.0665321,0.06648 0.14562277,0.11897 0.2326735,0.154567 0.0870507,0.0356 0.18031463,0.05344 0.2743433,0.05259 0.094029,-8.5e-4 0.1869528,-0.02049 0.2733331,-0.0576 0.08639,-0.0372 0.1645078,-0.09121 0.2298029,-0.158817 L 6.0042244,6.9973204 10.460119,11.453078 c 0.132856,0.132851 0.313114,0.207444 0.500926,0.207444 0.187907,0 0.36807,-0.07459 0.500927,-0.207444 0.132856,-0.13285 0.207547,-0.313006 0.207547,-0.500904 0,-0.187898 -0.07469,-0.368054 -0.207547,-0.500905 z"/></svg>');
|
|
6
|
-
|
|
7
|
-
/* Container */
|
|
8
|
-
/*@doc Define a camada em que o container será exibido.*/
|
|
9
|
-
--ez-toast__container-z-index: var(--more-visible, 2);
|
|
10
|
-
/*@doc Define a cor de fundo do container.*/
|
|
11
|
-
--ez-toast__container--background-color: var(--color--secondary, #383c45);
|
|
12
|
-
|
|
13
|
-
/* Icon */
|
|
14
|
-
/*@doc Define o espaçamento à esquerda do ícone.*/
|
|
15
|
-
--ez-toast__icon--padding-left: var(--space--small, 6px);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.toast__container {
|
|
19
|
-
position: fixed;
|
|
20
|
-
display: flex;
|
|
21
|
-
bottom: 100px;
|
|
22
|
-
z-index: var(--ez-toast__container-z-index);
|
|
23
|
-
left: 100px;
|
|
24
|
-
width: 280px;
|
|
25
|
-
box-sizing: border-box;
|
|
26
|
-
background-color: var(--ez-toast__container--background-color);
|
|
27
|
-
border-radius: 6px;
|
|
28
|
-
align-items: center;
|
|
29
|
-
padding: 12px;
|
|
30
|
-
visibility: hidden;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.message__container {
|
|
34
|
-
font-family: "Sora", "Algerian";
|
|
35
|
-
text-shadow: 0 0 0 #353535, 0 0 1px transparent;
|
|
36
|
-
color: #FFFFFF;
|
|
37
|
-
font-size: 14px;
|
|
38
|
-
width: 90%;
|
|
39
|
-
overflow: hidden;
|
|
40
|
-
word-break: break-all;
|
|
41
|
-
height: auto;
|
|
42
|
-
-webkit-box-orient: vertical;
|
|
43
|
-
-webkit-line-clamp: 4;
|
|
44
|
-
display: -webkit-box;
|
|
45
|
-
text-overflow: ellipsis;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.message__conteiner--icon {
|
|
49
|
-
padding-left: var(--ez-toast__icon--padding-left);
|
|
50
|
-
width: 80%;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.btn-close {
|
|
54
|
-
margin-top: 3px;
|
|
55
|
-
display: flex;
|
|
56
|
-
justify-content: flex-end;
|
|
57
|
-
align-self: flex-start;
|
|
58
|
-
padding: 0;
|
|
59
|
-
outline: none;
|
|
60
|
-
width: 10%;
|
|
61
|
-
border: none;
|
|
62
|
-
background-color: unset;
|
|
63
|
-
cursor: pointer;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.btn-close::after {
|
|
67
|
-
content: '';
|
|
68
|
-
display: flex;
|
|
69
|
-
background-color: #FFFFFF;
|
|
70
|
-
width: 12px;
|
|
71
|
-
height: 12px;
|
|
72
|
-
-webkit-mask-image: var(--ez-toast__btn__close__image);
|
|
73
|
-
mask-image: var(--ez-toast__btn__close__image);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.toast__container--oppened {
|
|
77
|
-
animation: fadein 0.5s, fadeout 0.5s 3s;
|
|
78
|
-
visibility: visible;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
@-webkit-keyframes fadein {
|
|
82
|
-
from {
|
|
83
|
-
left: -100px;
|
|
84
|
-
opacity: 0;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
to {
|
|
88
|
-
left: 100px;
|
|
89
|
-
opacity: 1;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
@keyframes fadein {
|
|
94
|
-
from {
|
|
95
|
-
left: -100px;
|
|
96
|
-
opacity: 0;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
to {
|
|
100
|
-
left: 100px;
|
|
101
|
-
opacity: 1;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
@-webkit-keyframes fadeout {
|
|
106
|
-
from {
|
|
107
|
-
left: 100px;
|
|
108
|
-
opacity: 1;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
to {
|
|
112
|
-
bottom: 0;
|
|
113
|
-
opacity: 0;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
@keyframes fadeout {
|
|
118
|
-
from {
|
|
119
|
-
left: 100px;
|
|
120
|
-
opacity: 1;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
to {
|
|
124
|
-
bottom: 0;
|
|
125
|
-
opacity: 0;
|
|
126
|
-
}
|
|
127
|
-
}
|