wj-elements 0.1.134 → 0.1.136
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 +3 -2
- package/dist/dark.css +0 -223
- package/dist/infinite-scroll.element-XVJukzjy.js +0 -271
- package/dist/light.css +0 -530
- package/dist/list.element-Ce1vIm1O.js +0 -49
- package/dist/localize.js +0 -67
- package/dist/packages/index.d.ts +0 -98
- package/dist/packages/localize/localize.d.ts +0 -17
- package/dist/packages/translations/en-GB.d.ts +0 -13
- package/dist/packages/translations/sk-SK.d.ts +0 -13
- package/dist/packages/utils/animations.d.ts +0 -2
- package/dist/packages/utils/date.d.ts +0 -1
- package/dist/packages/utils/element-utils.d.ts +0 -46
- package/dist/packages/utils/event.d.ts +0 -67
- package/dist/packages/utils/localize.d.ts +0 -4
- package/dist/packages/utils/permissions-api.d.ts +0 -34
- package/dist/packages/utils/utils.d.ts +0 -1
- package/dist/packages/utils/wje-import-firefox.d.ts +0 -0
- package/dist/packages/utils/wje-import.d.ts +0 -0
- package/dist/packages/wje-accordion/accordion.d.ts +0 -2
- package/dist/packages/wje-accordion/accordion.element.d.ts +0 -72
- package/dist/packages/wje-accordion-item/accordion-item.d.ts +0 -2
- package/dist/packages/wje-accordion-item/accordion-item.element.d.ts +0 -40
- package/dist/packages/wje-animation/animation.d.ts +0 -2
- package/dist/packages/wje-animation/animation.element.d.ts +0 -153
- package/dist/packages/wje-animation/animation.test.d.ts +0 -1
- package/dist/packages/wje-aside/aside.d.ts +0 -2
- package/dist/packages/wje-aside/aside.element.d.ts +0 -31
- package/dist/packages/wje-avatar/avatar.d.ts +0 -2
- package/dist/packages/wje-avatar/avatar.element.d.ts +0 -37
- package/dist/packages/wje-avatar/service/service.d.ts +0 -40
- package/dist/packages/wje-badge/badge.d.ts +0 -2
- package/dist/packages/wje-badge/badge.element.d.ts +0 -35
- package/dist/packages/wje-badge/badge.test.d.ts +0 -1
- package/dist/packages/wje-breadcrumb/breadcrumb.d.ts +0 -2
- package/dist/packages/wje-breadcrumb/breadcrumb.element.d.ts +0 -80
- package/dist/packages/wje-breadcrumbs/breadcrumbs.d.ts +0 -2
- package/dist/packages/wje-breadcrumbs/breadcrumbs.element.d.ts +0 -97
- package/dist/packages/wje-breadcrumbs/breadcrumbs.test.d.ts +0 -1
- package/dist/packages/wje-button/button.d.ts +0 -2
- package/dist/packages/wje-button/button.element.d.ts +0 -173
- package/dist/packages/wje-button/button.test.d.ts +0 -1
- package/dist/packages/wje-button-group/button-group.d.ts +0 -2
- package/dist/packages/wje-button-group/button-group.element.d.ts +0 -39
- package/dist/packages/wje-card/card.d.ts +0 -2
- package/dist/packages/wje-card/card.element.d.ts +0 -29
- package/dist/packages/wje-card-content/card-content.d.ts +0 -2
- package/dist/packages/wje-card-content/card-content.element.d.ts +0 -22
- package/dist/packages/wje-card-controls/card-controls.d.ts +0 -2
- package/dist/packages/wje-card-controls/card-controls.element.d.ts +0 -23
- package/dist/packages/wje-card-header/card-header.d.ts +0 -2
- package/dist/packages/wje-card-header/card-header.element.d.ts +0 -22
- package/dist/packages/wje-card-subtitle/card-subtitle.d.ts +0 -2
- package/dist/packages/wje-card-subtitle/card-subtitle.element.d.ts +0 -30
- package/dist/packages/wje-card-title/card-title.d.ts +0 -2
- package/dist/packages/wje-card-title/card-title.element.d.ts +0 -32
- package/dist/packages/wje-carousel/carousel.d.ts +0 -2
- package/dist/packages/wje-carousel/carousel.element.d.ts +0 -146
- package/dist/packages/wje-carousel-item/carousel-item.d.ts +0 -2
- package/dist/packages/wje-carousel-item/carousel-item.element.d.ts +0 -38
- package/dist/packages/wje-checkbox/checkbox.d.ts +0 -2
- package/dist/packages/wje-checkbox/checkbox.element.d.ts +0 -171
- package/dist/packages/wje-chip/chip.d.ts +0 -2
- package/dist/packages/wje-chip/chip.element.d.ts +0 -29
- package/dist/packages/wje-col/col.d.ts +0 -2
- package/dist/packages/wje-col/col.element.d.ts +0 -16
- package/dist/packages/wje-color-picker/color-picker.d.ts +0 -2
- package/dist/packages/wje-color-picker/color-picker.element.d.ts +0 -187
- package/dist/packages/wje-container/container.d.ts +0 -2
- package/dist/packages/wje-container/container.element.d.ts +0 -31
- package/dist/packages/wje-copy-button/copy-button.d.ts +0 -2
- package/dist/packages/wje-copy-button/copy-button.element.d.ts +0 -89
- package/dist/packages/wje-copy-button/service/service.d.ts +0 -12
- package/dist/packages/wje-dialog/dialog.d.ts +0 -2
- package/dist/packages/wje-dialog/dialog.element.d.ts +0 -116
- package/dist/packages/wje-divider/divider.d.ts +0 -2
- package/dist/packages/wje-divider/divider.element.d.ts +0 -32
- package/dist/packages/wje-dropdown/dropdown.d.ts +0 -2
- package/dist/packages/wje-dropdown/dropdown.element.d.ts +0 -85
- package/dist/packages/wje-element/element.d.ts +0 -313
- package/dist/packages/wje-element/service/universal-service.d.ts +0 -18
- package/dist/packages/wje-file-upload/file-upload.d.ts +0 -2
- package/dist/packages/wje-file-upload/file-upload.element.d.ts +0 -191
- package/dist/packages/wje-file-upload/service/service.d.ts +0 -70
- package/dist/packages/wje-file-upload-item/file-upload-item.d.ts +0 -2
- package/dist/packages/wje-file-upload-item/file-upload-item.element.d.ts +0 -62
- package/dist/packages/wje-footer/footer.d.ts +0 -2
- package/dist/packages/wje-footer/footer.element.d.ts +0 -28
- package/dist/packages/wje-form/form.d.ts +0 -2
- package/dist/packages/wje-form/form.element.d.ts +0 -28
- package/dist/packages/wje-format-digital/format-digital.d.ts +0 -2
- package/dist/packages/wje-format-digital/format-digital.element.d.ts +0 -87
- package/dist/packages/wje-format-digital/format-digital.test.d.ts +0 -1
- package/dist/packages/wje-grid/grid.d.ts +0 -2
- package/dist/packages/wje-grid/grid.element.d.ts +0 -26
- package/dist/packages/wje-header/header.d.ts +0 -2
- package/dist/packages/wje-header/header.element.d.ts +0 -35
- package/dist/packages/wje-icon/icon.d.ts +0 -2
- package/dist/packages/wje-icon/icon.element.d.ts +0 -40
- package/dist/packages/wje-icon/service/service.d.ts +0 -11
- package/dist/packages/wje-icon-picker/icon-picker.d.ts +0 -2
- package/dist/packages/wje-icon-picker/icon-picker.element.d.ts +0 -197
- package/dist/packages/wje-img/img.d.ts +0 -2
- package/dist/packages/wje-img/img.element.d.ts +0 -30
- package/dist/packages/wje-img-comparer/img-comparer.d.ts +0 -2
- package/dist/packages/wje-img-comparer/img-comparer.element.d.ts +0 -60
- package/dist/packages/wje-img-comparer/service/service.d.ts +0 -1
- package/dist/packages/wje-infinite-scroll/infinite-scroll.d.ts +0 -2
- package/dist/packages/wje-infinite-scroll/infinite-scroll.element.d.ts +0 -134
- package/dist/packages/wje-input/input.d.ts +0 -2
- package/dist/packages/wje-input/input.element.d.ts +0 -204
- package/dist/packages/wje-input-file/input-file.d.ts +0 -2
- package/dist/packages/wje-input-file/input-file.element.d.ts +0 -50
- package/dist/packages/wje-item/item.d.ts +0 -2
- package/dist/packages/wje-item/item.element.d.ts +0 -68
- package/dist/packages/wje-kanban/kanban.d.ts +0 -2
- package/dist/packages/wje-kanban/kanban.element.d.ts +0 -183
- package/dist/packages/wje-label/label.d.ts +0 -2
- package/dist/packages/wje-label/label.element.d.ts +0 -34
- package/dist/packages/wje-list/list.d.ts +0 -2
- package/dist/packages/wje-list/list.element.d.ts +0 -31
- package/dist/packages/wje-main/main.d.ts +0 -2
- package/dist/packages/wje-main/main.element.d.ts +0 -30
- package/dist/packages/wje-masonry/masonry.d.ts +0 -2
- package/dist/packages/wje-masonry/masonry.element.d.ts +0 -114
- package/dist/packages/wje-masonry/service/service.d.ts +0 -32
- package/dist/packages/wje-menu/menu.d.ts +0 -2
- package/dist/packages/wje-menu/menu.element.d.ts +0 -47
- package/dist/packages/wje-menu-button/menu-button.d.ts +0 -2
- package/dist/packages/wje-menu-button/menu-button.element.d.ts +0 -34
- package/dist/packages/wje-menu-item/menu-item.d.ts +0 -2
- package/dist/packages/wje-menu-item/menu-item.element.d.ts +0 -139
- package/dist/packages/wje-menu-label/menu-label.d.ts +0 -2
- package/dist/packages/wje-menu-label/menu-label.element.d.ts +0 -39
- package/dist/packages/wje-option/option.d.ts +0 -2
- package/dist/packages/wje-option/option.element.d.ts +0 -59
- package/dist/packages/wje-options/options.d.ts +0 -2
- package/dist/packages/wje-options/options.element.d.ts +0 -180
- package/dist/packages/wje-orgchart/orgchart.d.ts +0 -2
- package/dist/packages/wje-orgchart/orgchart.element.d.ts +0 -24
- package/dist/packages/wje-orgchart-group/orgchart-group.d.ts +0 -2
- package/dist/packages/wje-orgchart-group/orgchart-group.element.d.ts +0 -28
- package/dist/packages/wje-orgchart-item/orgchart-item.d.ts +0 -2
- package/dist/packages/wje-orgchart-item/orgchart-item.element.d.ts +0 -49
- package/dist/packages/wje-panel/panel.d.ts +0 -2
- package/dist/packages/wje-panel/panel.element.d.ts +0 -34
- package/dist/packages/wje-popup/popup.d.ts +0 -2
- package/dist/packages/wje-popup/popup.element.d.ts +0 -93
- package/dist/packages/wje-progress-bar/progress-bar.d.ts +0 -2
- package/dist/packages/wje-progress-bar/progress-bar.element.d.ts +0 -96
- package/dist/packages/wje-qr-code/qr-code.d.ts +0 -2
- package/dist/packages/wje-qr-code/qr-code.element.d.ts +0 -33
- package/dist/packages/wje-radio/radio.d.ts +0 -2
- package/dist/packages/wje-radio/radio.element.d.ts +0 -53
- package/dist/packages/wje-radio-group/radio-group.d.ts +0 -2
- package/dist/packages/wje-radio-group/radio-group.element.d.ts +0 -137
- package/dist/packages/wje-rate/rate.d.ts +0 -2
- package/dist/packages/wje-rate/rate.element.d.ts +0 -156
- package/dist/packages/wje-relative-time/relative-time.d.ts +0 -2
- package/dist/packages/wje-relative-time/relative-time.element.d.ts +0 -55
- package/dist/packages/wje-relative-time/relative-time.test.d.ts +0 -1
- package/dist/packages/wje-reorder/reorder.d.ts +0 -2
- package/dist/packages/wje-reorder/reorder.element.d.ts +0 -119
- package/dist/packages/wje-reorder-dropzone/reorder-dropzone.d.ts +0 -2
- package/dist/packages/wje-reorder-dropzone/reorder-dropzone.element.d.ts +0 -23
- package/dist/packages/wje-reorder-handle/reorder-handle.d.ts +0 -2
- package/dist/packages/wje-reorder-handle/reorder-handle.element.d.ts +0 -75
- package/dist/packages/wje-reorder-item/reorder-item.d.ts +0 -2
- package/dist/packages/wje-reorder-item/reorder-item.element.d.ts +0 -24
- package/dist/packages/wje-route/route.d.ts +0 -2
- package/dist/packages/wje-route/route.element.d.ts +0 -22
- package/dist/packages/wje-router/router.d.ts +0 -2
- package/dist/packages/wje-router/router.element.d.ts +0 -39
- package/dist/packages/wje-router-link/router-link.d.ts +0 -2
- package/dist/packages/wje-router-link/router-link.element.d.ts +0 -31
- package/dist/packages/wje-router-outlet/router-outlet.d.ts +0 -2
- package/dist/packages/wje-router-outlet/router-outlet.element.d.ts +0 -15
- package/dist/packages/wje-row/row.d.ts +0 -2
- package/dist/packages/wje-row/row.element.d.ts +0 -23
- package/dist/packages/wje-select/select.d.ts +0 -2
- package/dist/packages/wje-select/select.element.d.ts +0 -315
- package/dist/packages/wje-slider/slider.d.ts +0 -2
- package/dist/packages/wje-slider/slider.element.d.ts +0 -103
- package/dist/packages/wje-split-view/service/service.d.ts +0 -1
- package/dist/packages/wje-split-view/split-view.d.ts +0 -2
- package/dist/packages/wje-split-view/split-view.element.d.ts +0 -66
- package/dist/packages/wje-status/status.d.ts +0 -2
- package/dist/packages/wje-status/status.element.d.ts +0 -26
- package/dist/packages/wje-step/step.d.ts +0 -2
- package/dist/packages/wje-step/step.element.d.ts +0 -23
- package/dist/packages/wje-stepper/stepper.d.ts +0 -2
- package/dist/packages/wje-stepper/stepper.element.d.ts +0 -78
- package/dist/packages/wje-store/default-store-actions.d.ts +0 -20
- package/dist/packages/wje-store/pubsub.d.ts +0 -21
- package/dist/packages/wje-store/store.d.ts +0 -153
- package/dist/packages/wje-tab/tab.d.ts +0 -2
- package/dist/packages/wje-tab/tab.element.d.ts +0 -41
- package/dist/packages/wje-tab-group/tab-group.d.ts +0 -2
- package/dist/packages/wje-tab-group/tab-group.element.d.ts +0 -67
- package/dist/packages/wje-tab-panel/tab-panel.d.ts +0 -2
- package/dist/packages/wje-tab-panel/tab-panel.element.d.ts +0 -23
- package/dist/packages/wje-textarea/textarea.d.ts +0 -2
- package/dist/packages/wje-textarea/textarea.element.d.ts +0 -176
- package/dist/packages/wje-thumbnail/thumbnail.d.ts +0 -2
- package/dist/packages/wje-thumbnail/thumbnail.element.d.ts +0 -31
- package/dist/packages/wje-timeline/timeline.d.ts +0 -2
- package/dist/packages/wje-timeline/timeline.element.d.ts +0 -25
- package/dist/packages/wje-timeline-item/timeline-item.d.ts +0 -2
- package/dist/packages/wje-timeline-item/timeline-item.element.d.ts +0 -27
- package/dist/packages/wje-toast/toast.d.ts +0 -2
- package/dist/packages/wje-toast/toast.element.d.ts +0 -173
- package/dist/packages/wje-toast/toast.test.d.ts +0 -1
- package/dist/packages/wje-toggle/toggle.d.ts +0 -2
- package/dist/packages/wje-toggle/toggle.element.d.ts +0 -65
- package/dist/packages/wje-toolbar/toolbar.d.ts +0 -2
- package/dist/packages/wje-toolbar/toolbar.element.d.ts +0 -39
- package/dist/packages/wje-toolbar-action/toolbar-action.d.ts +0 -2
- package/dist/packages/wje-toolbar-action/toolbar-action.element.d.ts +0 -35
- package/dist/packages/wje-tooltip/tooltip.d.ts +0 -2
- package/dist/packages/wje-tooltip/tooltip.element.d.ts +0 -71
- package/dist/packages/wje-visually-hidden/visually-hidden.d.ts +0 -2
- package/dist/packages/wje-visually-hidden/visually-hidden.element.d.ts +0 -29
- package/dist/popup.element-tyYxow0p.js +0 -1622
- package/dist/router-links-CJnOdbas.js +0 -149
- package/dist/styles.css +0 -849
- package/dist/wje-accordion-item.js +0 -112
- package/dist/wje-accordion.js +0 -121
- package/dist/wje-animation.js +0 -4323
- package/dist/wje-aside.js +0 -54
- package/dist/wje-avatar.js +0 -89
- package/dist/wje-badge.js +0 -70
- package/dist/wje-breadcrumb.js +0 -194
- package/dist/wje-breadcrumbs.js +0 -139
- package/dist/wje-button-group.js +0 -84
- package/dist/wje-button.js +0 -351
- package/dist/wje-card-content.js +0 -47
- package/dist/wje-card-controls.js +0 -47
- package/dist/wje-card-header.js +0 -47
- package/dist/wje-card-subtitle.js +0 -54
- package/dist/wje-card-title.js +0 -54
- package/dist/wje-card.js +0 -55
- package/dist/wje-carousel-item.js +0 -62
- package/dist/wje-carousel.js +0 -379
- package/dist/wje-checkbox.js +0 -539
- package/dist/wje-chip.js +0 -75
- package/dist/wje-col.js +0 -37
- package/dist/wje-color-picker.js +0 -1338
- package/dist/wje-container.js +0 -55
- package/dist/wje-copy-button.js +0 -217
- package/dist/wje-dialog.js +0 -248
- package/dist/wje-divider.js +0 -54
- package/dist/wje-dropdown.js +0 -193
- package/dist/wje-element.js +0 -966
- package/dist/wje-fetchAndParseCSS.js +0 -59
- package/dist/wje-file-upload-item.js +0 -133
- package/dist/wje-file-upload.js +0 -546
- package/dist/wje-footer.js +0 -51
- package/dist/wje-form.js +0 -52
- package/dist/wje-format-digital.js +0 -145
- package/dist/wje-grid.js +0 -53
- package/dist/wje-header.js +0 -55
- package/dist/wje-icon-picker.js +0 -348
- package/dist/wje-icon.js +0 -190
- package/dist/wje-img-comparer.js +0 -130
- package/dist/wje-img.js +0 -71
- package/dist/wje-infinite-scroll.js +0 -5
- package/dist/wje-input-file.js +0 -110
- package/dist/wje-input.js +0 -451
- package/dist/wje-item.js +0 -87
- package/dist/wje-kanban.js +0 -461
- package/dist/wje-label.js +0 -52
- package/dist/wje-list.js +0 -5
- package/dist/wje-main.js +0 -51
- package/dist/wje-masonry.js +0 -266
- package/dist/wje-master.js +0 -342
- package/dist/wje-menu-button.js +0 -59
- package/dist/wje-menu-item.js +0 -544
- package/dist/wje-menu-label.js +0 -54
- package/dist/wje-menu.js +0 -71
- package/dist/wje-option.js +0 -111
- package/dist/wje-options.js +0 -341
- package/dist/wje-orgchart-group.js +0 -71
- package/dist/wje-orgchart-item.js +0 -97
- package/dist/wje-orgchart.js +0 -48
- package/dist/wje-popup.js +0 -5
- package/dist/wje-progress-bar.js +0 -212
- package/dist/wje-qr-code.js +0 -2891
- package/dist/wje-radio-group.js +0 -227
- package/dist/wje-radio.js +0 -105
- package/dist/wje-rate.js +0 -299
- package/dist/wje-relative-time.js +0 -114
- package/dist/wje-reorder-dropzone.js +0 -48
- package/dist/wje-reorder-handle.js +0 -217
- package/dist/wje-reorder-item.js +0 -60
- package/dist/wje-reorder.js +0 -280
- package/dist/wje-route.js +0 -42
- package/dist/wje-router-link.js +0 -63
- package/dist/wje-router-outlet.js +0 -191
- package/dist/wje-routerx.js +0 -1436
- package/dist/wje-row.js +0 -48
- package/dist/wje-select.js +0 -629
- package/dist/wje-slider.js +0 -220
- package/dist/wje-sliding-container.js +0 -477
- package/dist/wje-split-view.js +0 -152
- package/dist/wje-status.js +0 -60
- package/dist/wje-step.js +0 -49
- package/dist/wje-stepper.js +0 -230
- package/dist/wje-store.js +0 -387
- package/dist/wje-tab-group.js +0 -136
- package/dist/wje-tab-panel.js +0 -45
- package/dist/wje-tab.js +0 -58
- package/dist/wje-textarea.js +0 -372
- package/dist/wje-thumbnail.js +0 -53
- package/dist/wje-toast.js +0 -333
- package/dist/wje-toggle.js +0 -124
- package/dist/wje-toolbar-action.js +0 -71
- package/dist/wje-toolbar.js +0 -62
- package/dist/wje-tooltip.js +0 -165
- package/dist/wje-visually-hidden.js +0 -54
package/dist/light.css
DELETED
|
@@ -1,530 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
[ Light Mode ]
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
:root,
|
|
6
|
-
:host,
|
|
7
|
-
.wje-theme-light,
|
|
8
|
-
.light {
|
|
9
|
-
* {
|
|
10
|
-
box-sizing: border-box !important;
|
|
11
|
-
}
|
|
12
|
-
color-scheme: light;
|
|
13
|
-
|
|
14
|
-
--wje-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif,
|
|
15
|
-
'Apple Color Emoji', 'Segoe UI Emoji';
|
|
16
|
-
--wje-font-family-secondary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
17
|
-
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
18
|
-
--wje-force-mac-font-family: -apple-system, BlinkMacSystemFont, 'Inter UI', 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu',
|
|
19
|
-
'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
20
|
-
|
|
21
|
-
/* Line Heights */
|
|
22
|
-
--wje-line-height-denser: 1.2;
|
|
23
|
-
--wje-line-height-dense: 1.4;
|
|
24
|
-
--wje-line-height-normal: 1.5;
|
|
25
|
-
--wje-line-height-loose: 1.6;
|
|
26
|
-
--wje-line-height-looser: 1.8;
|
|
27
|
-
|
|
28
|
-
/* Font Sizes (rem) */
|
|
29
|
-
--wje-font-size-2x-small: 0.5rem; /* 8px */
|
|
30
|
-
--wje-font-size-x-small: 0.625rem; /* 10px */
|
|
31
|
-
--wje-font-size-small: 0.75rem; /* 12px */
|
|
32
|
-
--wje-font-size: 0.875rem; /* 14px */
|
|
33
|
-
--wje-font-size-medium: 1rem; /* 16px */
|
|
34
|
-
--wje-font-size-large: 1.25rem; /* 20px */
|
|
35
|
-
--wje-font-size-x-large: 1.5rem; /* 24px */
|
|
36
|
-
--wje-font-size-2x-large: 2.25rem; /* 36px */
|
|
37
|
-
--wje-font-size-3x-large: 3rem; /* 48px */
|
|
38
|
-
--wje-font-size-4x-large: 4.5rem; /* 72px */
|
|
39
|
-
|
|
40
|
-
/* Spacing (Padding/Margin) */
|
|
41
|
-
--wje-spacing-4x-small: 0.125rem; /* 2px */
|
|
42
|
-
--wje-spacing-3x-small: 0.25rem; /* 4px */
|
|
43
|
-
--wje-spacing-2x-small: 0.375rem; /* 6px */
|
|
44
|
-
--wje-spacing-x-small: 0.5rem; /* 8px */
|
|
45
|
-
--wje-spacing-small: 0.75rem; /* 12px */
|
|
46
|
-
--wje-spacing-medium: 1rem; /* 16px */
|
|
47
|
-
--wje-spacing-large: 1.5rem; /* 24px */
|
|
48
|
-
--wje-spacing-x-large: 2rem; /* 32px */
|
|
49
|
-
--wje-spacing-2x-large: 2.5rem; /* 40px */
|
|
50
|
-
--wje-spacing-3x-large: 3rem; /* 48px */
|
|
51
|
-
--wje-spacing-4x-large: 4.5rem; /* 72px */
|
|
52
|
-
|
|
53
|
-
/* Font Weights */
|
|
54
|
-
--wje-font-weight-light: 300;
|
|
55
|
-
--wje-font-weight-normal: 400;
|
|
56
|
-
--wje-font-weight-medium: 500;
|
|
57
|
-
--wje-font-weight-semibold: 600;
|
|
58
|
-
--wje-font-weight-bold: 700;
|
|
59
|
-
|
|
60
|
-
/* Border Radius */
|
|
61
|
-
--wje-border-radius-small: 0.125rem; /* 2px */
|
|
62
|
-
--wje-border-radius-medium: 0.25rem; /* 4px */
|
|
63
|
-
--wje-border-radius-large: 0.5rem; /* 8px */
|
|
64
|
-
--wje-border-radius-x-large: 1rem; /* 16px */
|
|
65
|
-
--wje-border-radius-circle: 50%; /* Circle */
|
|
66
|
-
--wje-border-radius-pill: 50rem; /* Pill */
|
|
67
|
-
|
|
68
|
-
/* Shadows */
|
|
69
|
-
--wje-shadow-small: 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
70
|
-
--wje-shadow-medium: 2px 2px 11px 0px hsla(0, 0%, 0%, 0.08);
|
|
71
|
-
--wje-shadow-large: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
72
|
-
--wje-shadow-x-large: 0 8px 16px rgba(0, 0, 0, 0.1);
|
|
73
|
-
--wje-shadow-2x-large: 0 16px 32px rgba(0, 0, 0, 0.1);
|
|
74
|
-
|
|
75
|
-
/* Letter Spacing */
|
|
76
|
-
--wje-letter-spacing-tightest: -0.05em;
|
|
77
|
-
--wje-letter-spacing-tighter: -0.025em;
|
|
78
|
-
--wje-letter-spacing-normal: 0em;
|
|
79
|
-
--wje-letter-spacing-wider: 0.025em;
|
|
80
|
-
--wje-letter-spacing-widest: 0.05em;
|
|
81
|
-
|
|
82
|
-
/* Transitions */
|
|
83
|
-
--wje-transition-fast: 0.2s ease-in-out;
|
|
84
|
-
--wje-transition-medium: 0.4s ease-in-out;
|
|
85
|
-
--wje-transition-slow: 0.6s ease-in-out;
|
|
86
|
-
|
|
87
|
-
/* Size */
|
|
88
|
-
--wje-size-4x-small: 0.125rem; /* 2px */
|
|
89
|
-
--wje-size-3x-small: 0.25rem; /* 4px */
|
|
90
|
-
--wje-size-2x-small: 0.5rem; /* 8px */
|
|
91
|
-
--wje-size-x-small: 0.625rem; /* 10px */
|
|
92
|
-
--wje-size-small: 0.75rem; /* 12px */
|
|
93
|
-
--wje-size-medium: 0.875rem; /* 14px */
|
|
94
|
-
--wje-size: 1rem; /* 16px */
|
|
95
|
-
--wje-size-large: 1.25rem; /* 20px */
|
|
96
|
-
--wje-size-x-large: 1.5rem; /* 24px */
|
|
97
|
-
--wje-size-2x-large: 2.25rem; /* 36px */
|
|
98
|
-
--wje-size-3x-large: 3rem; /* 48px */
|
|
99
|
-
--wje-size-4x-large: 4.5rem; /* 72px */
|
|
100
|
-
--wje-size-5x-large: 9rem; /* 144px */
|
|
101
|
-
|
|
102
|
-
--wje-border-width: 1px;
|
|
103
|
-
--wje-border-style: solid;
|
|
104
|
-
|
|
105
|
-
--wje-backdrop: rgb(0, 0, 0);
|
|
106
|
-
--wje-backdrop-opacity: 0.3;
|
|
107
|
-
|
|
108
|
-
/* Colors */
|
|
109
|
-
--wje-color: hsl(0, 0%, 29%);
|
|
110
|
-
--wje-color-dark: hsl(0, 0%, 29%);
|
|
111
|
-
--wje-color-light: hsl(0 0% 95%);
|
|
112
|
-
--wje-background: var(--wje-color-contrast-0);
|
|
113
|
-
--wje-border-color: var(--wje-color-contrast-3);
|
|
114
|
-
|
|
115
|
-
--wje-card-background: var(--wje-color-contrast-0);
|
|
116
|
-
--wje-card-color: var(--wje-color);
|
|
117
|
-
|
|
118
|
-
--wje-color-menu: hsl(220, 15%, 15%);
|
|
119
|
-
--wje-color-contrast: hsl(0, 0%, 95%);
|
|
120
|
-
|
|
121
|
-
--wje-color-white: #fff;
|
|
122
|
-
--wje-color-black: #000;
|
|
123
|
-
|
|
124
|
-
/* Color - Basic*/
|
|
125
|
-
--wje-color-primary: var(--wje-color-primary-11);
|
|
126
|
-
--wje-color-complete: var(--wje-color-complete-11);
|
|
127
|
-
--wje-color-success: var(--wje-color-success-11);
|
|
128
|
-
--wje-color-warning: var(--wje-color-warning-11);
|
|
129
|
-
--wje-color-danger: var(--wje-color-danger-11);
|
|
130
|
-
--wje-color-info: var(--wje-color-info-11);
|
|
131
|
-
|
|
132
|
-
/* Primary */
|
|
133
|
-
--wje-color-primary-1: hsla(261, 70%, 96%, 1);
|
|
134
|
-
--wje-color-primary-2: hsla(260, 66%, 92%, 1);
|
|
135
|
-
--wje-color-primary-3: hsla(260, 64%, 88%, 1);
|
|
136
|
-
--wje-color-primary-4: hsla(260, 61%, 84%, 1);
|
|
137
|
-
--wje-color-primary-5: hsla(260, 63%, 80%, 1);
|
|
138
|
-
--wje-color-primary-6: hsla(259, 61%, 76%, 1);
|
|
139
|
-
--wje-color-primary-7: hsla(258, 61%, 72%, 1);
|
|
140
|
-
--wje-color-primary-8: hsla(257, 61%, 68%, 1);
|
|
141
|
-
--wje-color-primary-9: hsla(254, 67%, 62%, 1);
|
|
142
|
-
--wje-color-primary-10: hsla(254, 59%, 45%, 1);
|
|
143
|
-
--wje-color-primary-11: hsla(254, 59%, 35%, 1);
|
|
144
|
-
|
|
145
|
-
/* Complete */
|
|
146
|
-
--wje-color-complete-1: hsla(233, 90%, 96%, 1);
|
|
147
|
-
--wje-color-complete-2: hsla(229, 89%, 93%, 1);
|
|
148
|
-
--wje-color-complete-3: hsla(229, 86%, 89%, 1);
|
|
149
|
-
--wje-color-complete-4: hsla(229, 86%, 86%, 1);
|
|
150
|
-
--wje-color-complete-5: hsla(228, 85%, 82%, 1);
|
|
151
|
-
--wje-color-complete-6: hsla(226, 82%, 78%, 1);
|
|
152
|
-
--wje-color-complete-7: hsla(225, 83%, 74%, 1);
|
|
153
|
-
--wje-color-complete-8: hsla(223, 83%, 70%, 1);
|
|
154
|
-
--wje-color-complete-9: hsla(211, 100%, 60%, 1);
|
|
155
|
-
--wje-color-complete-10: hsla(211, 100%, 45%, 1);
|
|
156
|
-
--wje-color-complete-11: hsla(211, 100%, 28%, 1);
|
|
157
|
-
|
|
158
|
-
/* Success */
|
|
159
|
-
--wje-color-success-1: hsla(147, 44%, 95%, 1);
|
|
160
|
-
--wje-color-success-2: hsla(149, 41%, 90%, 1);
|
|
161
|
-
--wje-color-success-3: hsla(149, 40%, 85%, 1);
|
|
162
|
-
--wje-color-success-4: hsla(150, 41%, 80%, 1);
|
|
163
|
-
--wje-color-success-5: hsla(149, 42%, 75%, 1);
|
|
164
|
-
--wje-color-success-6: hsla(150, 41%, 70%, 1);
|
|
165
|
-
--wje-color-success-7: hsla(151, 42%, 65%, 1);
|
|
166
|
-
--wje-color-success-8: hsla(152, 42%, 59%, 1);
|
|
167
|
-
--wje-color-success-9: hsla(158, 67%, 45%, 1);
|
|
168
|
-
--wje-color-success-10: hsla(158, 74%, 30%, 1);
|
|
169
|
-
--wje-color-success-11: hsla(158, 93%, 23%, 1);
|
|
170
|
-
|
|
171
|
-
/* Warning */
|
|
172
|
-
--wje-color-warning-1: hsla(45, 100%, 96%, 1);
|
|
173
|
-
--wje-color-warning-2: hsla(47, 100%, 93%, 1);
|
|
174
|
-
--wje-color-warning-3: hsla(46, 100%, 90%, 1);
|
|
175
|
-
--wje-color-warning-4: hsla(46, 100%, 87%, 1);
|
|
176
|
-
--wje-color-warning-5: hsla(46, 100%, 84%, 1);
|
|
177
|
-
--wje-color-warning-6: hsla(46, 100%, 81%, 1);
|
|
178
|
-
--wje-color-warning-7: hsla(46, 100%, 77%, 1);
|
|
179
|
-
--wje-color-warning-8: hsla(47, 100%, 74%, 1);
|
|
180
|
-
--wje-color-warning-9: hsla(47, 100%, 67%, 1);
|
|
181
|
-
--wje-color-warning-10: hsla(47, 100%, 53%, 1);
|
|
182
|
-
--wje-color-warning-11: hsla(47, 75%, 38%, 1);
|
|
183
|
-
|
|
184
|
-
/* Danger */
|
|
185
|
-
--wje-color-danger-1: hsla(9, 100%, 96%, 1);
|
|
186
|
-
--wje-color-danger-2: hsla(12, 100%, 91%, 1);
|
|
187
|
-
--wje-color-danger-3: hsla(11, 94%, 87%, 1);
|
|
188
|
-
--wje-color-danger-4: hsla(10, 91%, 83%, 1);
|
|
189
|
-
--wje-color-danger-5: hsla(9, 87%, 79%, 1);
|
|
190
|
-
--wje-color-danger-6: hsla(10, 82%, 74%, 1);
|
|
191
|
-
--wje-color-danger-7: hsla(8, 80%, 70%, 1);
|
|
192
|
-
--wje-color-danger-8: hsla(8, 77%, 65%, 1);
|
|
193
|
-
--wje-color-danger-9: hsla(3, 78%, 59%, 1);
|
|
194
|
-
--wje-color-danger-10: hsla(3, 68%, 41%, 1);
|
|
195
|
-
--wje-color-danger-11: hsla(3, 81%, 31%, 1);
|
|
196
|
-
|
|
197
|
-
/* Info */
|
|
198
|
-
--wje-color-info-1: hsla(210, 5%, 92%, 1);
|
|
199
|
-
--wje-color-info-2: hsla(204, 6%, 85%, 1);
|
|
200
|
-
--wje-color-info-3: hsla(210, 7%, 78%, 1);
|
|
201
|
-
--wje-color-info-4: hsla(203, 5%, 71%, 1);
|
|
202
|
-
--wje-color-info-5: hsla(213, 6%, 65%, 1);
|
|
203
|
-
--wje-color-info-6: hsla(203, 6%, 58%, 1);
|
|
204
|
-
--wje-color-info-7: hsla(208, 6%, 52%, 1);
|
|
205
|
-
--wje-color-info-8: hsla(210, 7%, 45%, 1);
|
|
206
|
-
--wje-color-info-9: hsla(207, 20%, 35%, 1);
|
|
207
|
-
--wje-color-info-10: hsla(207, 16%, 27%, 1);
|
|
208
|
-
--wje-color-info-11: hsla(207, 36%, 16%, 1);
|
|
209
|
-
|
|
210
|
-
/* Contrast */
|
|
211
|
-
--wje-color-contrast-0: hsla(0, 0%, 100%, 1);
|
|
212
|
-
--wje-color-contrast-1: hsla(0, 0%, 98%, 1);
|
|
213
|
-
--wje-color-contrast-2: hsla(240, 5%, 96%, 1);
|
|
214
|
-
--wje-color-contrast-3: hsla(240, 6%, 90%, 1);
|
|
215
|
-
--wje-color-contrast-4: hsla(240, 5%, 84%, 1);
|
|
216
|
-
--wje-color-contrast-5: hsla(240, 5%, 65%, 1);
|
|
217
|
-
--wje-color-contrast-6: hsla(240, 4%, 46%, 1);
|
|
218
|
-
--wje-color-contrast-7: hsla(240, 5%, 34%, 1);
|
|
219
|
-
--wje-color-contrast-8: hsla(240, 5%, 26%, 1);
|
|
220
|
-
--wje-color-contrast-9: hsla(240, 4%, 16%, 1);
|
|
221
|
-
--wje-color-contrast-10: hsla(240, 6%, 10%, 1);
|
|
222
|
-
--wje-color-contrast-11: hsla(240, 7%, 8%, 1);
|
|
223
|
-
|
|
224
|
-
/*
|
|
225
|
-
[ Elements ]
|
|
226
|
-
*/
|
|
227
|
-
|
|
228
|
-
/* Avatar */
|
|
229
|
-
--wje-avatar-size: var(--wje-size-x-large);
|
|
230
|
-
--wje-avatar-font-size: var(--wje-font-size-x-small);
|
|
231
|
-
--wje-avatar-font-weight: var(--wje-font-weight-normal);
|
|
232
|
-
--wje-avatar-color: var(--wje-color-contrast-11);
|
|
233
|
-
--wje-avatar-background-color: var(--wje-color-contrast-3);
|
|
234
|
-
--wje-avatar-border-radius: var(--wje-border-radius-circle);
|
|
235
|
-
--wje-avatar-border-color: transparent;
|
|
236
|
-
--wje-avatar-border-width: 1px;
|
|
237
|
-
--wje-avatar-border-style: solid;
|
|
238
|
-
|
|
239
|
-
/* Badge */
|
|
240
|
-
--wje-badge-border-radius: var(--wje-border-radius-pill);
|
|
241
|
-
|
|
242
|
-
/* Breadcrumb */
|
|
243
|
-
--wje-breadcrumb-a: var(--wje-color-contrast-8);
|
|
244
|
-
--wje-breadcrumb-a-hover: var(--wje-color-contrast-6);
|
|
245
|
-
|
|
246
|
-
/* Button */
|
|
247
|
-
--wje-button-border-radius: var(--wje-border-radius-medium);
|
|
248
|
-
--wje-button-border-width: 1px;
|
|
249
|
-
--wje-button-border-style: solid;
|
|
250
|
-
--wje-button-border-color: var(--wje-color-contrast-1);
|
|
251
|
-
--wje-button-margin-inline: 0;
|
|
252
|
-
--wje-button-outline-width: 0.5rem;
|
|
253
|
-
|
|
254
|
-
/* Card */
|
|
255
|
-
--wje-card-border-radius: var(--wje-border-radius-large);
|
|
256
|
-
--wje-card-border-color: transparent;
|
|
257
|
-
--wje-card-shadow: var(--wje-shadow-x-large);
|
|
258
|
-
|
|
259
|
-
/* Card - Header */
|
|
260
|
-
--wje-card-header-padding: 1rem 1rem 0.5rem;
|
|
261
|
-
|
|
262
|
-
/* Card - Controls */
|
|
263
|
-
--wje-card-controls-font-size: var(--wje-font-size-small);
|
|
264
|
-
--wje-card-controls-font-family: var(--wje-font-family-secondary);
|
|
265
|
-
|
|
266
|
-
/* Card - Subtitle */
|
|
267
|
-
--wje-card-subtitle-font-size: var(--wje-font-size-small);
|
|
268
|
-
--wje-card-subtitle-font-family: var(--wje-font-family-secondary);
|
|
269
|
-
--wje-card-subtitle-padding: 0;
|
|
270
|
-
|
|
271
|
-
/* Card - Content */
|
|
272
|
-
--wje-card-content-padding: 0 1rem 1rem;
|
|
273
|
-
|
|
274
|
-
/* Card - Title*/
|
|
275
|
-
--wje-card-title-font-size: var(--wje-font-size-x-large);
|
|
276
|
-
--wje-card-title-font-weight: var(--wje-font-weight-medium);
|
|
277
|
-
--wje-card-title-margin: 0;
|
|
278
|
-
--wje-card-title-padding: 0;
|
|
279
|
-
--wje-card-title-line-height: 1.2;
|
|
280
|
-
|
|
281
|
-
/* Carousel */
|
|
282
|
-
--wje-scroll-hint: 0px;
|
|
283
|
-
--wje-carousel-width: 100%;
|
|
284
|
-
--wje-carousel-height: auto;
|
|
285
|
-
--wje-carousel-size: 100%;
|
|
286
|
-
|
|
287
|
-
/* Carousel - Item */
|
|
288
|
-
--wje-carousel-item-aspect-ratio: inherit;
|
|
289
|
-
|
|
290
|
-
/* Container */
|
|
291
|
-
--wje-container-indent: 0;
|
|
292
|
-
|
|
293
|
-
/* Color Picker */
|
|
294
|
-
--wje-color-picker-value: #ff0000;
|
|
295
|
-
--wje-color-picker-area: transparent;
|
|
296
|
-
--wje-color-picker-swatch: transparent;
|
|
297
|
-
--wje-color-picker-size: 1rem;
|
|
298
|
-
--wje-color-picker-radius: 4px;
|
|
299
|
-
|
|
300
|
-
/* Checkbox */
|
|
301
|
-
--wje-checkbox-interminate: url('data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiAgd2lkdGg9IjI0IiAgaGVpZ2h0PSIyNCIgIHZpZXdCb3g9IjAgMCAyNCAyNCIgIGZpbGw9Im5vbmUiICBzdHJva2U9ImN1cnJlbnRDb2xvciIgIHN0cm9rZS13aWR0aD0iMiIgIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgIHN0cm9rZS1saW5lam9pbj0icm91bmQiICBjbGFzcz0iaWNvbiBpY29uLXRhYmxlciBpY29ucy10YWJsZXItb3V0bGluZSBpY29uLXRhYmxlci1taW51cyI+PHBhdGggc3Ryb2tlPSJub25lIiBkPSJNMCAwaDI0djI0SDB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTUgMTJsMTQgMCIgLz48L3N2Zz4=');
|
|
302
|
-
--wje-checkbox-checkmark: url('data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiAgd2lkdGg9IjI0IiAgaGVpZ2h0PSIyNCIgIHZpZXdCb3g9IjAgMCAyNCAyNCIgIGZpbGw9Im5vbmUiICBzdHJva2U9ImN1cnJlbnRDb2xvciIgIHN0cm9rZS13aWR0aD0iMiIgIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgIHN0cm9rZS1saW5lam9pbj0icm91bmQiICBjbGFzcz0iaWNvbiBpY29uLXRhYmxlciBpY29ucy10YWJsZXItb3V0bGluZSBpY29uLXRhYmxlci1jaGVjayI+PHBhdGggc3Ryb2tlPSJub25lIiBkPSJNMCAwaDI0djI0SDB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTUgMTJsNSA1bDEwIC0xMCIgLz48L3N2Zz4=');
|
|
303
|
-
--wje-checkbox-margin-top: 0;
|
|
304
|
-
--wje-checkbox-margin-bottom: var(--wje-spacing-x-small);
|
|
305
|
-
--wje-checkbox-margin-inline: 0;
|
|
306
|
-
--wje-checkbox-size: var(--wje-font-size-medium);
|
|
307
|
-
--wje-checkbox-border-radius: var(--wje-border-radius-medium);
|
|
308
|
-
|
|
309
|
-
/* Chip */
|
|
310
|
-
--wje-chip-border-radius: 100px;
|
|
311
|
-
--wje-chip-margin: 0;
|
|
312
|
-
|
|
313
|
-
/* Dialog */
|
|
314
|
-
--wje-dialog-width: 600px;
|
|
315
|
-
--wje-dialog-height: 600px;
|
|
316
|
-
--wje-dialog-border-radius: var(--wje-border-radius-medium);
|
|
317
|
-
--wje-dialog-border-width: var(--wje-border-width);
|
|
318
|
-
--wje-dialog-border-style: var(--wje-border-style);
|
|
319
|
-
--wje-dialog-border-color: var(--wje-border-color);
|
|
320
|
-
--wje-dialog-margin-top: auto;
|
|
321
|
-
--wje-dialog-margin-start: auto;
|
|
322
|
-
--wje-dialog-margin-end: auto;
|
|
323
|
-
--wje-dialog-margin-bottom: auto;
|
|
324
|
-
--wje-dialog-padding: var(--wje-spacing-medium);
|
|
325
|
-
--wje-dialog-padding-inline: var(--wje-spacing-medium);
|
|
326
|
-
--wje-dialog-padding-top: var(--wje-spacing-medium);
|
|
327
|
-
--wje-dialog-padding-bottom: var(--wje-spacing-medium);
|
|
328
|
-
|
|
329
|
-
/* Divider */
|
|
330
|
-
--wje-divider-border-width: var(--wje-border-width, 1px);
|
|
331
|
-
--wje-divider-border-style: var(--wje-border-style);
|
|
332
|
-
--wje-divider-border-color: var(--wje-border-color);
|
|
333
|
-
--wje-divider-spacing: 0;
|
|
334
|
-
|
|
335
|
-
/* File Upload - Item */
|
|
336
|
-
--wje-file-upload-item-border-width: 1px;
|
|
337
|
-
--wje-file-upload-item-border-style: solid;
|
|
338
|
-
--wje-file-upload-item-border-color: var(--wje-border-color);
|
|
339
|
-
|
|
340
|
-
/* Icon */
|
|
341
|
-
--wje-icon-stroke: 2;
|
|
342
|
-
--wje-icon-size: var(--wje-size);
|
|
343
|
-
--wje-icon-color: currentColor;
|
|
344
|
-
|
|
345
|
-
/* Icon Picker */
|
|
346
|
-
--wje-icon-picker-radius: var(--wje-border-radius-small);
|
|
347
|
-
--wje-icon-picker-icon-size: 1.5rem;
|
|
348
|
-
--wje-icon-picker-border-width: 1px;
|
|
349
|
-
--wje-icon-picker-border-style: solid;
|
|
350
|
-
--wje-icon-picker-border-color: var(--wje-border-color);
|
|
351
|
-
--wje-icon-picker-padding: 0.25rem;
|
|
352
|
-
|
|
353
|
-
/* Infinite Scroll */
|
|
354
|
-
--wje-infinite-scroll-width: 100%;
|
|
355
|
-
--wje-infinite-scroll-height: 300px;
|
|
356
|
-
--wje-infinite-scroll-loading-bg: rgba(0, 0, 0, 0);
|
|
357
|
-
|
|
358
|
-
/* Img - Comparer */
|
|
359
|
-
--wje-img-compare-divider-area: 12px;
|
|
360
|
-
--wje-img-compare-divider-background: white;
|
|
361
|
-
--wje-img-compare-divider-size: 2px;
|
|
362
|
-
--wje-img-compare-divider-left: 50%;
|
|
363
|
-
--wje-img-compare-position: 50%;
|
|
364
|
-
--wje-img-compare-clip-path: inset(0 calc(100% - var(--wje-img-compare-position)) 0 0);
|
|
365
|
-
|
|
366
|
-
/* Input */
|
|
367
|
-
--wje-input-font-family: var(--wje-font-family);
|
|
368
|
-
--wje-input-background-color: var(--wje-background);
|
|
369
|
-
--wje-input-color: var(--wje-color);
|
|
370
|
-
--wje-input-color-invalid: var(--wje-color-danger);
|
|
371
|
-
--wje-input-border-color: var(--wje-border-color);
|
|
372
|
-
--wje-input-border-color-focus: var(--wje-color-primary);
|
|
373
|
-
--wje-input-border-width: 1px;
|
|
374
|
-
--wje-input-border-style: solid;
|
|
375
|
-
--wje-input-border-radius: 4px;
|
|
376
|
-
--wje-input-margin-bottom: 0.5rem;
|
|
377
|
-
--wje-input-line-height: 20px;
|
|
378
|
-
--wje-input-slot-padding-inline: 0.5rem;
|
|
379
|
-
|
|
380
|
-
/* Item */
|
|
381
|
-
--wje-item-color: var(--wje-color);
|
|
382
|
-
--wje-item-border-width: 0 0 1px 0;
|
|
383
|
-
--wje-item-border-style: solid;
|
|
384
|
-
--wje-item-border-color: var(--wje-border-color);
|
|
385
|
-
--wje-item-border-radius: 0;
|
|
386
|
-
--wje-item-background: transparent;
|
|
387
|
-
--wje-item-background-hover: var(--wje-color-contrast-3);
|
|
388
|
-
--wje-item-padding-top: 0px;
|
|
389
|
-
--wje-item-padding-bottom: 0px;
|
|
390
|
-
--wje-item-padding-end: 0px;
|
|
391
|
-
--wje-item-padding-start: 0px;
|
|
392
|
-
--wje-item-inner-border-width: 0 0 1px 0;
|
|
393
|
-
--wje-item-inner-padding-top: 0px;
|
|
394
|
-
--wje-item-inner-padding-bottom: 0px;
|
|
395
|
-
--wje-item-inner-padding-start: 0px;
|
|
396
|
-
--wje-item-inner-padding-end: 0px;
|
|
397
|
-
--wje-item-inner-box-shadow: none;
|
|
398
|
-
--wje-item-min-height: 40px;
|
|
399
|
-
--wje-item-transition: var(--wje-transition-fast);
|
|
400
|
-
|
|
401
|
-
/* List */
|
|
402
|
-
--wje-list-inset-padding: 1rem;
|
|
403
|
-
--wje-list-border-radius: var(--wje-border-radius-medium);
|
|
404
|
-
--wje-list-background: var(--wje-background);
|
|
405
|
-
|
|
406
|
-
/* Menu */
|
|
407
|
-
--wje-menu-background: var(--wje-background);
|
|
408
|
-
--wje-menu-border-width: 1px;
|
|
409
|
-
--wje-menu-border-style: solid;
|
|
410
|
-
--wje-menu-border-color: var(--wje-border-color);
|
|
411
|
-
--wje-menu-border-radius: var(--wje-border-radius-medium);
|
|
412
|
-
--wje-menu-padding-top: var(--wje-spacing-x-small);
|
|
413
|
-
--wje-menu-padding-bottom: var(--wje-spacing-x-small);
|
|
414
|
-
--wje-menu-padding-inline: 0;
|
|
415
|
-
--wje-menu-margin-top: 9;
|
|
416
|
-
--wje-menu-margin-bottom: 0;
|
|
417
|
-
--wje-menu-margin-inline: 0;
|
|
418
|
-
--wje-menu-collapse-width: 65px;
|
|
419
|
-
--wje-menu-z-index: 8;
|
|
420
|
-
--wje-menu-shadow: var(--wje-shadow-medium);
|
|
421
|
-
|
|
422
|
-
/* Menu - Item */
|
|
423
|
-
--wje-menu-item-color: var(--wje-color);
|
|
424
|
-
--wje-menu-item-background: transparent;
|
|
425
|
-
--wje-menu-item-color-hover: var(--wje-color-contrast-8);
|
|
426
|
-
--wje-menu-item-background-hover: var(--wje-border-color);
|
|
427
|
-
--wje-menu-item-color-focus: var(--wje-color-contrast-8);
|
|
428
|
-
--wje-menu-item-background-focus: var(--wje-border-color);
|
|
429
|
-
--wje-menu-item-color-active: var(--wje-color-contrast-8);
|
|
430
|
-
--wje-menu-item-background-active: var(--wje-border-color);
|
|
431
|
-
--wje-menu-item-padding-top: var(--wje-spacing-x-small);
|
|
432
|
-
--wje-menu-item-padding-bottom: var(--wje-spacing-x-small);
|
|
433
|
-
--wje-menu-item-line-height: 1.8rem;
|
|
434
|
-
--wje-menu-submenu-offset: 0;
|
|
435
|
-
--wje-menu-item-icon-visibility: hidden;
|
|
436
|
-
--wje-menu-item-check-icon-display: flex;
|
|
437
|
-
--wje-menu-item-check-icon-width: 1.5rem;
|
|
438
|
-
|
|
439
|
-
/* Menu - Label */
|
|
440
|
-
--wje-menu-label-font-size: var(--wje-font-size-small);
|
|
441
|
-
--wje-menu-label-weight: var(--wje-font-weight-semibold);
|
|
442
|
-
|
|
443
|
-
/* Option */
|
|
444
|
-
--wje-option-padding-top: var(--wje-spacing-x-small);
|
|
445
|
-
--wje-option-padding-bottom: var(--wje-spacing-x-small);
|
|
446
|
-
--wje-option-highlighted: var(--wje-color-contrast-3);
|
|
447
|
-
|
|
448
|
-
/* Orgchart */
|
|
449
|
-
--wje-orgchart-height-line: 10px;
|
|
450
|
-
--wje-orgchart-border-radius: var(--wje-border-radius-large);
|
|
451
|
-
|
|
452
|
-
/* Orgchart - Item */
|
|
453
|
-
--wje-orgchart-item-width: 75px;
|
|
454
|
-
--wje-orgchart-item-border-radius: var(--wje-border-radius-large);
|
|
455
|
-
--wje-orgchart-item-height-line: 10px;
|
|
456
|
-
--wje-orgchart-item-background: var(--wje-color-contrast-0);
|
|
457
|
-
|
|
458
|
-
--wje-orgchart-item-highlight-background: var(--wje-color-complete-2);
|
|
459
|
-
--wje-orgchart-item-boss-background: var(--wje-color-complete-2);
|
|
460
|
-
--wje-orgchart-item-hover-background: var(--wje-color-contrast-3);
|
|
461
|
-
|
|
462
|
-
--wje-orgchart-item-highlight-border: 1px solid var(--wje-color-complete-3);
|
|
463
|
-
--wje-orgchart-item-boss-border: 1px solid var(--wje-border-color);
|
|
464
|
-
--wje-orgchart-item-hover-border: 1px solid var(--wje-color-danger-3);
|
|
465
|
-
|
|
466
|
-
--wje-orgchart-item-expander-size: 0.75rem;
|
|
467
|
-
|
|
468
|
-
/* Orgchart - Group */
|
|
469
|
-
--wje-orgchart-group-width: auto;
|
|
470
|
-
--wje-orgchart-group-border-radius: var(--wje-border-radius-large);
|
|
471
|
-
--wje-orgchart-group-height-line: 10px;
|
|
472
|
-
--wje-orgchart-group-padding: 0.25rem 0;
|
|
473
|
-
|
|
474
|
-
/* Rate */
|
|
475
|
-
--wje-rate-gap: 0.25rem;
|
|
476
|
-
--wje-rate-color: var(--wje-color-contrast-11);
|
|
477
|
-
--wje-rate-selected-color: var(--wje-color-danger-9);
|
|
478
|
-
|
|
479
|
-
/* Status */
|
|
480
|
-
--wje-status-size: var(--wje-size-small);
|
|
481
|
-
|
|
482
|
-
/*Stepper*/
|
|
483
|
-
--wje-stepper-margin: 1.25rem;
|
|
484
|
-
--wje-stepper-justify: start;
|
|
485
|
-
--wje-stepper-grow: initial;
|
|
486
|
-
|
|
487
|
-
/* Tab */
|
|
488
|
-
--wje-tab-font-family: var(--wje-font-family-secondary);
|
|
489
|
-
--wje-tab-font-size: var(--wje-font-size-x-small);
|
|
490
|
-
--wje-tab-line-height: var(--wje-line-height-looser);
|
|
491
|
-
--wje-tab-text-transfrom: uppercase;
|
|
492
|
-
--wje-tab-font-weight: var(--wje-font-weight-medium);
|
|
493
|
-
--wje-tab-letter-spacing: var(--wje-letter-spacing-widest);
|
|
494
|
-
--wje-tab-padding-inline: var(--wje-spacing-medium);
|
|
495
|
-
--wje-tab-padding-top: var(--wje-spacing-small);
|
|
496
|
-
--wje-tab-padding-bottom: var(--wje-spacing-small);
|
|
497
|
-
--wje-tab-color-active: var(--wje-color-primary-9);
|
|
498
|
-
--wje-tab-color-hover: var(--wje-color-primary-1);
|
|
499
|
-
--wje-tab-border-radius: 0;
|
|
500
|
-
|
|
501
|
-
/* Textarea */
|
|
502
|
-
--wje-textarea-font-family: var(--wje-font-family);
|
|
503
|
-
--wje-textarea-background-color: var(--wje-background);
|
|
504
|
-
--wje-textarea-color: var(--wje-color);
|
|
505
|
-
--wje-textarea-color-invalid: var(--wje-color-danger);
|
|
506
|
-
--wje-textarea-border-width: 1px;
|
|
507
|
-
--wje-textarea-border-style: solid;
|
|
508
|
-
--wje-textarea-border-color: var(--wje-border-color);
|
|
509
|
-
--wje-textarea-border-color-focus: var(--wje-color-primary);
|
|
510
|
-
--wje-textarea-border-radius: var(--wje-border-radius-medium);
|
|
511
|
-
--wje-textarea-margin-bottom: var(--wje-spacing-x-small);
|
|
512
|
-
--wje-textarea-line-height: 20px;
|
|
513
|
-
--wje-textarea-padding: var(--wje-spacing-x-small);
|
|
514
|
-
|
|
515
|
-
/* Thumbnail */
|
|
516
|
-
--wje-thumbnail-width: 48px;
|
|
517
|
-
--wje-thumbnail-height: 48px;
|
|
518
|
-
--wje-thumbnail-border-radius: var(--wje-border-radius-medium);
|
|
519
|
-
|
|
520
|
-
/* Tooltip */
|
|
521
|
-
--wje-tooltip-arrow-color: var(--wje-color-contrast-11);
|
|
522
|
-
--wje-tooltip-background: var(--wje-color-contrast-11);
|
|
523
|
-
--wje-tooltip-color: var(--wje-color-contrast-1);
|
|
524
|
-
--wje-tooltip-font-size: var(--wje-font-size-small);
|
|
525
|
-
--wje-tooltip-font-weight: var(--wje-font-weight-normal);
|
|
526
|
-
--wje-tooltip-line-height: var(--wje-line-height-normal);
|
|
527
|
-
--wje-tooltip-shadow: var(--wje-shadow-medium);
|
|
528
|
-
--wje-tooltip-spacing: var(--wje-spacing-x-small);
|
|
529
|
-
--wje-tooltip-border-radius: var(--wje-border-radius-medium);
|
|
530
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import WJElement from "./wje-element.js";
|
|
5
|
-
const styles = "/*\n[ WJ List ]\n*/\n:host {\n margin: 0;\n padding: 0;\n display: block;\n contain: content;\n list-style-type: none;\n}\n\n:host(.wje-inset) {\n background: var(--wje-list-background);\n transform: translateZ(0);\n overflow: hidden;\n padding: var(--wje-list-inset-padding);\n border-radius: var(--wje-list-border-radius);\n}\n\n:host(.wje-lines-none) ::slotted(wje-item) {\n --wje-border-width: 0 !important;\n}";
|
|
6
|
-
class List extends WJElement {
|
|
7
|
-
/**
|
|
8
|
-
* Creates an instance of List.
|
|
9
|
-
* @class
|
|
10
|
-
*/
|
|
11
|
-
constructor() {
|
|
12
|
-
super();
|
|
13
|
-
__publicField(this, "className", "List");
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Returns the CSS styles for the component.
|
|
17
|
-
* @static
|
|
18
|
-
* @returns {CSSStyleSheet}
|
|
19
|
-
*/
|
|
20
|
-
static get cssStyleSheet() {
|
|
21
|
-
return styles;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Sets up the attributes for the component.
|
|
25
|
-
*/
|
|
26
|
-
setupAttributes() {
|
|
27
|
-
this.isShadowRoot = "open";
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Returns the list of attributes to observe for changes.
|
|
31
|
-
* @returns {DocumentFragment}
|
|
32
|
-
*/
|
|
33
|
-
draw() {
|
|
34
|
-
let fragment = document.createDocumentFragment();
|
|
35
|
-
let element = document.createElement("slot");
|
|
36
|
-
fragment.appendChild(element);
|
|
37
|
-
return fragment;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Called after the component has been drawn.
|
|
41
|
-
*/
|
|
42
|
-
afterDraw() {
|
|
43
|
-
this.classList.toggle("wje-lines-" + this.lines, this.hasAttribute("lines"));
|
|
44
|
-
this.classList.toggle("wje-inset", this.hasAttribute("inset"));
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
export {
|
|
48
|
-
List as L
|
|
49
|
-
};
|
package/dist/localize.js
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
class LocalizerDefault {
|
|
2
|
-
constructor(element) {
|
|
3
|
-
this.element = element;
|
|
4
|
-
this.lang = this.element.lang || document.documentElement.lang || "en-gb";
|
|
5
|
-
this.dir = this.element.dir || document.documentElement.dir || "ltr";
|
|
6
|
-
this.setLanguage();
|
|
7
|
-
}
|
|
8
|
-
get languages() {
|
|
9
|
-
return window.translations;
|
|
10
|
-
}
|
|
11
|
-
// Nastavenie aktuálneho jazyka
|
|
12
|
-
setLanguage() {
|
|
13
|
-
if (this.languages.has(this.lang)) {
|
|
14
|
-
this.currentLang = this.lang;
|
|
15
|
-
} else {
|
|
16
|
-
console.error(`Language "${this.lang}" not loaded.`);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
// Vyhľadávanie prekladu podľa kľúča
|
|
20
|
-
translate(key) {
|
|
21
|
-
const langMap = this.languages.get(this.currentLang);
|
|
22
|
-
return langMap ? langMap[key] || key : key;
|
|
23
|
-
}
|
|
24
|
-
// Vyhľadávanie prekladu podľa kľúča a typu čísla
|
|
25
|
-
translatePlural(key, count = 0, type = "cardinal") {
|
|
26
|
-
const plural = new Intl.PluralRules(this.lang, { type });
|
|
27
|
-
if (count !== void 0) key += "." + plural.select(count);
|
|
28
|
-
return this.translate(key);
|
|
29
|
-
}
|
|
30
|
-
// Formátovanie čísla podľa aktuálneho jazyka
|
|
31
|
-
formatNumber(number, options) {
|
|
32
|
-
return new Intl.NumberFormat(this.currentLang, options).format(number);
|
|
33
|
-
}
|
|
34
|
-
// Formátovanie dátumu podľa aktuálneho jazyka
|
|
35
|
-
formatDate(date) {
|
|
36
|
-
return new Intl.DateTimeFormat(this.currentLang).format(new Date(date));
|
|
37
|
-
}
|
|
38
|
-
relativeTime(lang, value = 0, unit = "day", options = { numeric: "auto" }) {
|
|
39
|
-
lang = lang || this.currentLang;
|
|
40
|
-
return new Intl.RelativeTimeFormat(lang, options).format(value, unit);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
function registerTranslation(...translation) {
|
|
44
|
-
translation.forEach((t) => {
|
|
45
|
-
if (!t.code) {
|
|
46
|
-
console.error("Translation object is missing 'code' property:", t);
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
const code = t.code.toLowerCase();
|
|
50
|
-
if (window.translations.has(code)) {
|
|
51
|
-
window.translations.set(code, { ...window.translations.get(code), ...t });
|
|
52
|
-
} else {
|
|
53
|
-
window.translations.set(code, t);
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
class Localizer extends LocalizerDefault {
|
|
58
|
-
constructor(element) {
|
|
59
|
-
super(element);
|
|
60
|
-
}
|
|
61
|
-
static registerTranslation(...translation) {
|
|
62
|
-
registerTranslation(...translation);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
export {
|
|
66
|
-
Localizer
|
|
67
|
-
};
|