@limetech/lime-elements 35.0.0-next.2 → 35.0.0-next.20
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/dist/cjs/checkbox.template-7f83d0b4.js +41 -0
- package/dist/cjs/{component-f7ef9087.js → component-66df95e7.js} +190 -132
- package/dist/cjs/{component-f532119f.js → component-67144c1c.js} +47 -3
- package/dist/cjs/{component-ed21410d.js → component-ae3bfacf.js} +367 -235
- package/dist/cjs/{component-2faaa141.js → component-cf490570.js} +213 -143
- package/dist/cjs/{component-10dbdd60.js → component-dd795ff0.js} +7 -5
- package/dist/cjs/{index-e63a89d7.js → index-43283636.js} +23 -0
- package/dist/cjs/lime-elements.cjs.js +3 -3
- package/dist/cjs/limel-badge.cjs.entry.js +3 -3
- package/dist/cjs/limel-banner.cjs.entry.js +1 -1
- package/dist/cjs/limel-button-group.cjs.entry.js +2 -2
- package/dist/cjs/limel-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-checkbox.cjs.entry.js +131 -86
- package/dist/cjs/limel-chip-set.cjs.entry.js +234 -190
- package/dist/cjs/limel-circular-progress.cjs.entry.js +2 -2
- package/dist/cjs/limel-code-editor.cjs.entry.js +49 -22
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +1 -1
- package/dist/cjs/limel-color-picker-palette_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-color-picker.cjs.entry.js +1 -1
- package/dist/cjs/limel-config.cjs.entry.js +1 -1
- package/dist/cjs/limel-date-picker.cjs.entry.js +5 -5
- package/dist/cjs/limel-dialog.cjs.entry.js +8 -9
- package/dist/cjs/limel-file.cjs.entry.js +5 -5
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +1 -1
- package/dist/cjs/limel-flex-container.cjs.entry.js +5 -1
- package/dist/cjs/limel-form.cjs.entry.js +7547 -8994
- package/dist/cjs/limel-grid.cjs.entry.js +1 -1
- package/dist/cjs/limel-header.cjs.entry.js +1 -1
- package/dist/cjs/limel-icon-button.cjs.entry.js +5 -5
- package/dist/cjs/limel-icon.cjs.entry.js +1 -1
- package/dist/cjs/limel-input-field.cjs.entry.js +6 -6
- package/dist/cjs/limel-linear-progress.cjs.entry.js +3 -3
- package/dist/cjs/limel-list_3.cjs.entry.js +133 -78
- package/dist/cjs/limel-menu-list.cjs.entry.js +85 -69
- package/dist/cjs/limel-menu.cjs.entry.js +1 -1
- package/dist/cjs/limel-picker.cjs.entry.js +2 -2
- package/dist/cjs/limel-popover-surface.cjs.entry.js +2 -2
- package/dist/cjs/limel-progress-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/limel-progress-flow.cjs.entry.js +1 -1
- package/dist/cjs/limel-select.cjs.entry.js +5 -5
- package/dist/cjs/limel-slider.cjs.entry.js +33 -6
- package/dist/cjs/limel-snackbar.cjs.entry.js +78 -72
- package/dist/cjs/limel-spinner.cjs.entry.js +1 -1
- package/dist/cjs/limel-switch.cjs.entry.js +497 -201
- package/dist/cjs/limel-tab-bar.cjs.entry.js +262 -185
- package/dist/cjs/limel-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/limel-table.cjs.entry.js +363 -11
- package/dist/cjs/limel-tooltip_2.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/badge/badge.css +9 -15
- package/dist/collection/components/badge/badge.js +2 -2
- package/dist/collection/components/button/button.css +333 -145
- package/dist/collection/components/button-group/button-group.css +30 -5
- package/dist/collection/components/checkbox/checkbox.css +46 -16
- package/dist/collection/components/checkbox/checkbox.template.js +22 -20
- package/dist/collection/components/chip-set/chip-set.css +367 -34
- package/dist/collection/components/circular-progress/circular-progress.css +2 -2
- package/dist/collection/components/code-editor/code-editor.css +8 -13
- package/dist/collection/components/dialog/dialog.css +153 -109
- package/dist/collection/components/flex-container/flex-container.js +10 -0
- package/dist/collection/components/form/form.css +3 -1
- package/dist/collection/components/form/templates/common.js +4 -1
- package/dist/collection/components/icon-button/icon-button.css +116 -59
- package/dist/collection/components/icon-button/icon-button.js +1 -0
- package/dist/collection/components/input-field/input-field.css +351 -29
- package/dist/collection/components/linear-progress/linear-progress.css +14 -2
- package/dist/collection/components/list/list.css +912 -89
- package/dist/collection/components/menu-list/menu-list.css +912 -89
- package/dist/collection/components/menu-surface/menu-surface.css +31 -7
- package/dist/collection/components/picker/picker.js +1 -1
- package/dist/collection/components/popover-surface/popover-surface.css +1 -0
- package/dist/collection/components/select/select.css +430 -20
- package/dist/collection/components/select/select.template.js +1 -1
- package/dist/collection/components/slider/slider.css +54 -2
- package/dist/collection/components/snackbar/snackbar.css +588 -301
- package/dist/collection/components/switch/switch.css +592 -222
- package/dist/collection/components/switch/switch.js +18 -12
- package/dist/collection/components/tab-bar/tab-bar.css +77 -48
- package/dist/collection/components/table/columns.js +1 -1
- package/dist/collection/components/table/selection.js +111 -0
- package/dist/collection/components/table/table-selection.js +125 -0
- package/dist/collection/components/table/table.css +125 -36
- package/dist/collection/components/table/table.js +212 -7
- package/dist/collection/style/functions.scss +3 -1
- package/dist/collection/style/internal/lime-theme.scss +30 -31
- package/dist/collection/style/internal/lime-typography.scss +55 -56
- package/dist/collection/style/internal/shared_input-select-picker.scss +1 -0
- package/dist/collection/style/internal/z-index.scss +2 -1
- package/dist/esm/checkbox.template-f429c5b6.js +39 -0
- package/dist/esm/{component-89e0ce26.js → component-19eb6e2b.js} +7 -5
- package/dist/esm/{component-2630c3d7.js → component-288691f3.js} +367 -235
- package/dist/esm/{component-d682c974.js → component-410aad5a.js} +44 -4
- package/dist/esm/{component-429e92ee.js → component-5b4ac85a.js} +213 -143
- package/dist/esm/{component-2eb4e07b.js → component-fffa3419.js} +191 -133
- package/dist/esm/{index-2316f345.js → index-4456d4ad.js} +23 -0
- package/dist/esm/lime-elements.js +3 -3
- package/dist/esm/limel-badge.entry.js +3 -3
- package/dist/esm/limel-banner.entry.js +1 -1
- package/dist/esm/limel-button-group.entry.js +2 -2
- package/dist/esm/limel-button.entry.js +2 -2
- package/dist/esm/limel-checkbox.entry.js +132 -87
- package/dist/esm/limel-chip-set.entry.js +234 -190
- package/dist/esm/limel-circular-progress.entry.js +2 -2
- package/dist/esm/limel-code-editor.entry.js +49 -22
- package/dist/esm/limel-collapsible-section.entry.js +1 -1
- package/dist/esm/limel-color-picker-palette_2.entry.js +1 -1
- package/dist/esm/limel-color-picker.entry.js +1 -1
- package/dist/esm/limel-config.entry.js +1 -1
- package/dist/esm/limel-date-picker.entry.js +5 -5
- package/dist/esm/limel-dialog.entry.js +8 -9
- package/dist/esm/limel-file.entry.js +5 -5
- package/dist/esm/limel-flatpickr-adapter.entry.js +1 -1
- package/dist/esm/limel-flex-container.entry.js +5 -1
- package/dist/esm/limel-form.entry.js +7550 -8997
- package/dist/esm/limel-grid.entry.js +1 -1
- package/dist/esm/limel-header.entry.js +1 -1
- package/dist/esm/limel-icon-button.entry.js +5 -5
- package/dist/esm/limel-icon.entry.js +1 -1
- package/dist/esm/limel-input-field.entry.js +6 -6
- package/dist/esm/limel-linear-progress.entry.js +4 -4
- package/dist/esm/limel-list_3.entry.js +134 -79
- package/dist/esm/limel-menu-list.entry.js +86 -70
- package/dist/esm/limel-menu.entry.js +1 -1
- package/dist/esm/limel-picker.entry.js +2 -2
- package/dist/esm/limel-popover-surface.entry.js +2 -2
- package/dist/esm/limel-progress-flow-item.entry.js +1 -1
- package/dist/esm/limel-progress-flow.entry.js +1 -1
- package/dist/esm/limel-select.entry.js +5 -5
- package/dist/esm/limel-slider.entry.js +34 -7
- package/dist/esm/limel-snackbar.entry.js +78 -72
- package/dist/esm/limel-spinner.entry.js +1 -1
- package/dist/esm/limel-switch.entry.js +497 -201
- package/dist/esm/limel-tab-bar.entry.js +262 -185
- package/dist/esm/limel-tab-panel.entry.js +1 -1
- package/dist/esm/limel-table.entry.js +363 -11
- package/dist/esm/limel-tooltip_2.entry.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{util-71a23335.js → util-f1bde91c.js} +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-a4c532a7.entry.js → p-00d485d8.entry.js} +1 -1
- package/dist/lime-elements/p-062a9599.entry.js +131 -0
- package/dist/lime-elements/{p-597cbe05.entry.js → p-0ea1cbf6.entry.js} +1 -1
- package/dist/lime-elements/p-1c284626.js +73 -0
- package/dist/lime-elements/{p-a2cf74c1.entry.js → p-255084bd.entry.js} +1 -1
- package/dist/lime-elements/{p-e881e98d.entry.js → p-2550ff27.entry.js} +1 -1
- package/dist/lime-elements/{p-31fecf5d.entry.js → p-3bef288b.entry.js} +1 -1
- package/dist/lime-elements/{p-58cbe99d.entry.js → p-3f440859.entry.js} +1 -1
- package/dist/lime-elements/{p-4b5af81b.entry.js → p-41ec08c9.entry.js} +1 -1
- package/dist/lime-elements/{p-92146da6.js → p-44f9b6d5.js} +0 -0
- package/dist/lime-elements/{p-1fb5340d.entry.js → p-45689f25.entry.js} +1 -1
- package/dist/lime-elements/p-47ef0ebb.entry.js +1 -0
- package/dist/lime-elements/{p-076bd4dc.js → p-48d4ef20.js} +3 -3
- package/dist/lime-elements/p-4e9869f4.entry.js +126 -0
- package/dist/lime-elements/{p-6003f817.entry.js → p-549190f6.entry.js} +1 -1
- package/dist/lime-elements/p-555f774c.entry.js +82 -0
- package/dist/lime-elements/p-63516991.entry.js +1 -0
- package/dist/lime-elements/{p-13f0e4f4.entry.js → p-687429fb.entry.js} +1 -1
- package/dist/lime-elements/p-6acee2e5.entry.js +73 -0
- package/dist/lime-elements/p-6fc9a0be.entry.js +59 -0
- package/dist/lime-elements/{p-64549ba6.entry.js → p-70a4d004.entry.js} +3 -3
- package/dist/lime-elements/{p-468e940e.entry.js → p-75846313.entry.js} +1 -1
- package/dist/lime-elements/p-779d1567.entry.js +1 -0
- package/dist/lime-elements/p-7d4eb67f.entry.js +1 -0
- package/dist/lime-elements/p-8777324f.entry.js +1 -0
- package/dist/lime-elements/{p-714fde78.entry.js → p-897a7f8a.entry.js} +1 -1
- package/dist/lime-elements/{p-fc30b8e3.entry.js → p-8a5ca741.entry.js} +1 -1
- package/dist/lime-elements/{p-8a2c1038.entry.js → p-9607b6f9.entry.js} +2 -2
- package/dist/lime-elements/p-9caf28bd.entry.js +1 -0
- package/dist/lime-elements/{p-152a6d5f.js → p-9faad6eb.js} +1 -1
- package/dist/lime-elements/{p-34c7872e.entry.js → p-a35e6b8a.entry.js} +1 -1
- package/dist/lime-elements/{p-041ae00c.entry.js → p-b808ba3d.entry.js} +1 -1
- package/dist/lime-elements/p-be2bd743.js +1 -0
- package/dist/lime-elements/p-be351178.entry.js +37 -0
- package/dist/lime-elements/p-c40f5030.entry.js +82 -0
- package/dist/lime-elements/p-c4e2eb42.entry.js +1 -0
- package/dist/lime-elements/{p-1876a96a.entry.js → p-c5168bda.entry.js} +1 -1
- package/dist/lime-elements/p-cbc43682.js +81 -0
- package/dist/lime-elements/{p-ace9affc.js → p-d0a7de87.js} +2 -2
- package/dist/lime-elements/{p-be56ffab.entry.js → p-d5f17adb.entry.js} +1 -1
- package/dist/lime-elements/p-d70f1c00.entry.js +59 -0
- package/dist/lime-elements/p-dbd61714.entry.js +1 -0
- package/dist/lime-elements/{p-8ad5e143.entry.js → p-dd62c71b.entry.js} +1 -1
- package/dist/lime-elements/p-dfba92de.js +126 -0
- package/dist/lime-elements/p-e55144ec.entry.js +1 -0
- package/dist/lime-elements/{p-dfe0a58b.entry.js → p-e6f39a71.entry.js} +1 -1
- package/dist/lime-elements/p-e8453bcb.entry.js +16 -0
- package/dist/lime-elements/p-f777d8a3.entry.js +82 -0
- package/dist/lime-elements/style/functions.scss +3 -1
- package/dist/lime-elements/style/internal/lime-theme.scss +30 -31
- package/dist/lime-elements/style/internal/lime-typography.scss +55 -56
- package/dist/lime-elements/style/internal/shared_input-select-picker.scss +1 -0
- package/dist/lime-elements/style/internal/z-index.scss +2 -1
- package/dist/types/components/badge/badge.d.ts +1 -1
- package/dist/types/components/flex-container/flex-container.d.ts +7 -0
- package/dist/types/components/switch/switch.d.ts +2 -2
- package/dist/types/components/table/columns.d.ts +7 -0
- package/dist/types/components/table/selection.d.ts +79 -0
- package/dist/types/components/table/table-selection.d.ts +57 -0
- package/dist/types/components/table/table.d.ts +39 -7
- package/dist/types/components/table/table.types.d.ts +13 -0
- package/dist/types/components.d.ts +33 -1
- package/dist/types/stencil-public-runtime.d.ts +6 -4
- package/package.json +19 -19
- package/dist/cjs/checkbox.template-50eb8b76.js +0 -39
- package/dist/esm/checkbox.template-50f7c07b.js +0 -37
- package/dist/lime-elements/p-0ce9165f.entry.js +0 -1
- package/dist/lime-elements/p-0fd208f3.entry.js +0 -82
- package/dist/lime-elements/p-143705b1.entry.js +0 -1
- package/dist/lime-elements/p-250f55be.js +0 -1
- package/dist/lime-elements/p-31299106.js +0 -126
- package/dist/lime-elements/p-4932c029.entry.js +0 -1
- package/dist/lime-elements/p-510bb5a4.entry.js +0 -1
- package/dist/lime-elements/p-6215e45e.entry.js +0 -37
- package/dist/lime-elements/p-668795a7.js +0 -73
- package/dist/lime-elements/p-6cfb45a1.entry.js +0 -1
- package/dist/lime-elements/p-7476efe0.entry.js +0 -1
- package/dist/lime-elements/p-902347b9.js +0 -81
- package/dist/lime-elements/p-90f3e17c.entry.js +0 -37
- package/dist/lime-elements/p-96e44a1e.entry.js +0 -82
- package/dist/lime-elements/p-a77cbb08.entry.js +0 -1
- package/dist/lime-elements/p-b5faa40d.entry.js +0 -59
- package/dist/lime-elements/p-bc0dcf01.entry.js +0 -73
- package/dist/lime-elements/p-c35874db.entry.js +0 -1
- package/dist/lime-elements/p-c8c8a946.entry.js +0 -59
- package/dist/lime-elements/p-d2c74396.entry.js +0 -1
- package/dist/lime-elements/p-d48ad9f7.entry.js +0 -126
- package/dist/lime-elements/p-d93a3b07.entry.js +0 -16
- package/dist/lime-elements/p-f2c706b8.entry.js +0 -131
|
@@ -10,37 +10,36 @@
|
|
|
10
10
|
@use '../brand-colors';
|
|
11
11
|
@use '../_theme-color-variables';
|
|
12
12
|
|
|
13
|
-
@use '@material/theme' with
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
);
|
|
13
|
+
@use '@material/theme' with (
|
|
14
|
+
$primary: brand-colors.$lime-turquoise,
|
|
15
|
+
$secondary: brand-colors.$lime-dark-grey,
|
|
16
|
+
$background: #fff,
|
|
17
|
+
$surface: #fff,
|
|
18
|
+
$error: #b00020,
|
|
19
|
+
$on-primary: #fff,
|
|
20
|
+
$on-secondary: #fff,
|
|
21
|
+
$on-surface: #000,
|
|
22
|
+
$on-error: #fff,
|
|
23
|
+
// $text-disabled-on-background: rgba(0, 0, 0, 0.38),
|
|
24
|
+
// $text-hint-on-light: rgba(0, 0, 0, 0.38),
|
|
25
|
+
// $text-primary-on-background: rgba(0, 0, 0, 0.87),
|
|
26
|
+
// $text-secondary-on-background: rgba(0, 0, 0, 0.54),
|
|
27
|
+
//
|
|
28
|
+
// The following variables are also available to be set if needed
|
|
29
|
+
// (note by Ads: they probably aren't available in MDC v11)
|
|
30
|
+
//
|
|
31
|
+
// $text-hint-on-background: rgba(0, 0, 0, 0.38),
|
|
32
|
+
// $text-icon-on-background: rgba(0, 0, 0, 0.38),
|
|
33
|
+
// $text-primary-on-light: rgba(0, 0, 0, 0.87),
|
|
34
|
+
// $text-secondary-on-light: rgba(0, 0, 0, 0.54),
|
|
35
|
+
// $text-disabled-on-light: rgba(0, 0, 0, 0.38),
|
|
36
|
+
// $text-icon-on-light: rgba(0, 0, 0, 0.38),
|
|
37
|
+
// $text-primary-on-dark: white,
|
|
38
|
+
// $text-secondary-on-dark: rgba(255, 255, 255, 0.7),
|
|
39
|
+
// $text-hint-on-dark: rgba(255, 255, 255, 0.5),
|
|
40
|
+
// $text-disabled-on-dark: rgba(255, 255, 255, 0.5),
|
|
41
|
+
// $text-icon-on-dark: rgba(255, 255, 255, 0.5),
|
|
42
|
+
);
|
|
44
43
|
@forward '@material/theme';
|
|
45
44
|
|
|
46
45
|
@use './lime-typography';
|
|
@@ -9,60 +9,59 @@
|
|
|
9
9
|
|
|
10
10
|
@use '../functions';
|
|
11
11
|
|
|
12
|
-
@use '@material/typography' with
|
|
13
|
-
(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
);
|
|
12
|
+
@use '@material/typography' with (
|
|
13
|
+
$styles-headline1: (
|
|
14
|
+
font-size: functions.pxToRem(22),
|
|
15
|
+
line-height: functions.pxToRem(22),
|
|
16
|
+
),
|
|
17
|
+
$styles-headline2: (
|
|
18
|
+
font-size: functions.pxToRem(16),
|
|
19
|
+
line-height: functions.pxToRem(14),
|
|
20
|
+
),
|
|
21
|
+
$styles-headline3: (
|
|
22
|
+
font-size: functions.pxToRem(16),
|
|
23
|
+
line-height: functions.pxToRem(14),
|
|
24
|
+
),
|
|
25
|
+
$styles-headline4: (
|
|
26
|
+
font-size: functions.pxToRem(16),
|
|
27
|
+
line-height: functions.pxToRem(14),
|
|
28
|
+
),
|
|
29
|
+
$styles-headline5: (
|
|
30
|
+
font-size: functions.pxToRem(14),
|
|
31
|
+
line-height: functions.pxToRem(14),
|
|
32
|
+
),
|
|
33
|
+
$styles-headline6: (
|
|
34
|
+
font-size: functions.pxToRem(14),
|
|
35
|
+
line-height: functions.pxToRem(14),
|
|
36
|
+
),
|
|
37
|
+
$styles-subtitle1: (
|
|
38
|
+
font-size: functions.pxToRem(14),
|
|
39
|
+
line-height: functions.pxToRem(18),
|
|
40
|
+
),
|
|
41
|
+
$styles-subtitle2: (
|
|
42
|
+
font-size: functions.pxToRem(13),
|
|
43
|
+
line-height: functions.pxToRem(18),
|
|
44
|
+
),
|
|
45
|
+
$styles-body1: (
|
|
46
|
+
font-size: functions.pxToRem(13),
|
|
47
|
+
line-height: functions.pxToRem(24),
|
|
48
|
+
),
|
|
49
|
+
$styles-body2: (
|
|
50
|
+
font-size: functions.pxToRem(13),
|
|
51
|
+
line-height: functions.pxToRem(26),
|
|
52
|
+
),
|
|
53
|
+
$styles-caption: (
|
|
54
|
+
font-size: functions.pxToRem(11),
|
|
55
|
+
line-height: functions.pxToRem(14),
|
|
56
|
+
),
|
|
57
|
+
$styles-button: (
|
|
58
|
+
font-size: functions.pxToRem(14),
|
|
59
|
+
line-height: functions.pxToRem(36),
|
|
60
|
+
text-transform: none,
|
|
61
|
+
),
|
|
62
|
+
$styles-overline: (
|
|
63
|
+
font-size: functions.pxToRem(11),
|
|
64
|
+
line-height: functions.pxToRem(14),
|
|
65
|
+
)
|
|
66
|
+
);
|
|
68
67
|
@forward '@material/typography';
|
|
@@ -9,7 +9,8 @@ $input-field--mdc-text-field__input--readonly: 1 !default;
|
|
|
9
9
|
$list--has-interactive-items--mdc-list-item--hover: 1 !default;
|
|
10
10
|
$list-static-actions-list: 1 !default;
|
|
11
11
|
$tab-bar--active-tab: 2 !default;
|
|
12
|
-
$table--has-interactive-rows--selectable-row--hover:
|
|
12
|
+
$table--has-interactive-rows--selectable-row--hover: 2 !default;
|
|
13
|
+
$table--limel-table--row-selector: 1 !default;
|
|
13
14
|
$popover-before: -1 !default;
|
|
14
15
|
$button-group-radio-button-keyboard-focused: 1 !default;
|
|
15
16
|
$list-mdc-list-item: 0 !default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { h } from './index-4456d4ad.js';
|
|
2
|
+
|
|
3
|
+
const CheckboxTemplate = (props) => {
|
|
4
|
+
const inputProps = {};
|
|
5
|
+
if (props.indeterminate) {
|
|
6
|
+
inputProps['data-indeterminate'] = 'true';
|
|
7
|
+
}
|
|
8
|
+
return [
|
|
9
|
+
h("div", { class: "mdc-form-field " },
|
|
10
|
+
h("div", { class: {
|
|
11
|
+
'mdc-checkbox': true,
|
|
12
|
+
'mdc-checkbox--invalid': props.invalid,
|
|
13
|
+
'mdc-checkbox--disabled': props.disabled,
|
|
14
|
+
'mdc-checkbox--required': props.required,
|
|
15
|
+
'mdc-checkbox--indeterminate': props.indeterminate,
|
|
16
|
+
} },
|
|
17
|
+
h("input", Object.assign({ type: "checkbox", class: "mdc-checkbox__native-control", id: props.id, checked: props.checked, disabled: props.disabled, required: props.required, onChange: props.onChange }, inputProps)),
|
|
18
|
+
h("div", { class: "mdc-checkbox__background" },
|
|
19
|
+
h("svg", { class: "mdc-checkbox__checkmark", viewBox: "0 0 24 24" },
|
|
20
|
+
h("path", { class: "mdc-checkbox__checkmark-path", fill: "none", d: "M1.73,12.91 8.1,19.28 22.79,4.59" })),
|
|
21
|
+
h("div", { class: "mdc-checkbox__mixedmark" }))),
|
|
22
|
+
h("label", { class: {
|
|
23
|
+
'mdc-checkbox--invalid': props.invalid,
|
|
24
|
+
'mdc-checkbox--disabled': props.disabled,
|
|
25
|
+
'mdc-checkbox--required': props.required,
|
|
26
|
+
'mdc-checkbox--indeterminate': props.indeterminate,
|
|
27
|
+
}, htmlFor: props.id }, props.label)),
|
|
28
|
+
h(HelperText, { text: props.helperText }),
|
|
29
|
+
];
|
|
30
|
+
};
|
|
31
|
+
const HelperText = (props) => {
|
|
32
|
+
if (typeof props.text !== 'string') {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
return (h("div", { class: "limel-checkbox-helper-line" },
|
|
36
|
+
h("p", { class: "limel-checkbox-helper-text", "aria-hidden": "true" }, props.text.trim())));
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export { CheckboxTemplate as C };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as MDCFoundation, a as MDCComponent } from './component-
|
|
1
|
+
import { M as MDCFoundation, a as MDCComponent } from './component-410aad5a.js';
|
|
2
2
|
import { e as estimateScrollWidth } from './ponyfill-30263d5e.js';
|
|
3
3
|
|
|
4
4
|
/*! *****************************************************************************
|
|
@@ -98,7 +98,9 @@ var MDCFloatingLabelFoundation = /** @class */ (function (_super) {
|
|
|
98
98
|
__extends(MDCFloatingLabelFoundation, _super);
|
|
99
99
|
function MDCFloatingLabelFoundation(adapter) {
|
|
100
100
|
var _this = _super.call(this, __assign(__assign({}, MDCFloatingLabelFoundation.defaultAdapter), adapter)) || this;
|
|
101
|
-
_this.
|
|
101
|
+
_this.shakeAnimationEndHandler = function () {
|
|
102
|
+
_this.handleShakeAnimationEnd();
|
|
103
|
+
};
|
|
102
104
|
return _this;
|
|
103
105
|
}
|
|
104
106
|
Object.defineProperty(MDCFloatingLabelFoundation, "cssClasses", {
|
|
@@ -127,10 +129,10 @@ var MDCFloatingLabelFoundation = /** @class */ (function (_super) {
|
|
|
127
129
|
configurable: true
|
|
128
130
|
});
|
|
129
131
|
MDCFloatingLabelFoundation.prototype.init = function () {
|
|
130
|
-
this.adapter.registerInteractionHandler('animationend', this.
|
|
132
|
+
this.adapter.registerInteractionHandler('animationend', this.shakeAnimationEndHandler);
|
|
131
133
|
};
|
|
132
134
|
MDCFloatingLabelFoundation.prototype.destroy = function () {
|
|
133
|
-
this.adapter.deregisterInteractionHandler('animationend', this.
|
|
135
|
+
this.adapter.deregisterInteractionHandler('animationend', this.shakeAnimationEndHandler);
|
|
134
136
|
};
|
|
135
137
|
/**
|
|
136
138
|
* Returns the width of the label element.
|
|
@@ -178,7 +180,7 @@ var MDCFloatingLabelFoundation = /** @class */ (function (_super) {
|
|
|
178
180
|
this.adapter.removeClass(LABEL_REQUIRED);
|
|
179
181
|
}
|
|
180
182
|
};
|
|
181
|
-
MDCFloatingLabelFoundation.prototype.
|
|
183
|
+
MDCFloatingLabelFoundation.prototype.handleShakeAnimationEnd = function () {
|
|
182
184
|
var LABEL_SHAKE = MDCFloatingLabelFoundation.cssClasses.LABEL_SHAKE;
|
|
183
185
|
this.adapter.removeClass(LABEL_SHAKE);
|
|
184
186
|
};
|