@redvars/peacock 3.5.0 → 3.6.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/dist/BaseButton-BNFAYn-S.js +219 -0
- package/dist/BaseButton-BNFAYn-S.js.map +1 -0
- package/dist/BaseHyperlinkMixin-BNuwbiEf.js +65 -0
- package/dist/BaseHyperlinkMixin-BNuwbiEf.js.map +1 -0
- package/dist/BaseInput-14YmcfK7.js +27 -0
- package/dist/BaseInput-14YmcfK7.js.map +1 -0
- package/dist/assets/components.css +1 -1
- package/dist/assets/components.css.map +1 -1
- package/dist/assets/styles.css +1 -1
- package/dist/assets/styles.css.map +1 -1
- package/dist/banner.js +14 -30
- package/dist/banner.js.map +1 -1
- package/dist/{button-DMN1dPAg.js → button-colors-Ccys3hvS.js} +5 -468
- package/dist/button-colors-Ccys3hvS.js.map +1 -0
- package/dist/button-group.js +228 -8
- package/dist/button-group.js.map +1 -1
- package/dist/button.js +294 -8
- package/dist/button.js.map +1 -1
- package/dist/calendar-column-view.js +634 -0
- package/dist/calendar-column-view.js.map +1 -0
- package/dist/calendar-event-BrQ_SEKD.js +199 -0
- package/dist/calendar-event-BrQ_SEKD.js.map +1 -0
- package/dist/calendar-month-view.js +376 -0
- package/dist/calendar-month-view.js.map +1 -0
- package/dist/calendar.js +339 -0
- package/dist/calendar.js.map +1 -0
- package/dist/canvas.js +361 -0
- package/dist/canvas.js.map +1 -0
- package/dist/card.js +18 -73
- package/dist/card.js.map +1 -1
- package/dist/cb-compound-expression.js +125 -0
- package/dist/cb-compound-expression.js.map +1 -0
- package/dist/cb-divider.js +150 -0
- package/dist/cb-divider.js.map +1 -0
- package/dist/cb-expression.js +75 -0
- package/dist/cb-expression.js.map +1 -0
- package/dist/cb-predicate.js +137 -0
- package/dist/cb-predicate.js.map +1 -0
- package/dist/chart-bar.js.map +1 -1
- package/dist/chart-doughnut.js +2 -2
- package/dist/chart-doughnut.js.map +1 -1
- package/dist/chart-pie.js +2 -2
- package/dist/chart-pie.js.map +1 -1
- package/dist/chart-stacked-bar.js.map +1 -1
- package/dist/code-editor.js +2 -1
- package/dist/code-editor.js.map +1 -1
- package/dist/code-highlighter.js +2 -1
- package/dist/code-highlighter.js.map +1 -1
- package/dist/condition-builder.js +58 -0
- package/dist/condition-builder.js.map +1 -0
- package/dist/custom-elements-jsdocs.json +10860 -5567
- package/dist/custom-elements.json +16180 -7996
- package/dist/dropdown-button.js +216 -0
- package/dist/dropdown-button.js.map +1 -0
- package/dist/event-manager-D-QCmUgR.js +113 -0
- package/dist/event-manager-D-QCmUgR.js.map +1 -0
- package/dist/fab.js +421 -9
- package/dist/fab.js.map +1 -1
- package/dist/flow-designer-dZnLJOQT.js +1656 -0
- package/dist/flow-designer-dZnLJOQT.js.map +1 -0
- package/dist/flow-designer-node-XMe-jlKg.js +548 -0
- package/dist/flow-designer-node-XMe-jlKg.js.map +1 -0
- package/dist/flow-designer-node.js +4 -0
- package/dist/flow-designer-node.js.map +1 -0
- package/dist/flow-designer.js +16 -0
- package/dist/flow-designer.js.map +1 -0
- package/dist/html-editor.js +358 -0
- package/dist/html-editor.js.map +1 -0
- package/dist/icon-button-CK1ZuE-2.js +247 -0
- package/dist/icon-button-CK1ZuE-2.js.map +1 -0
- package/dist/index.js +31 -8
- package/dist/index.js.map +1 -1
- package/dist/{is-dark-mode-DicqGkCJ.js → is-dark-mode-DOcaw4Yq.js} +2 -27
- package/dist/is-dark-mode-DOcaw4Yq.js.map +1 -0
- package/dist/modal.js +418 -0
- package/dist/modal.js.map +1 -0
- package/dist/{select-4pl4XBj7.js → navigation-rail-DyO0oAZU.js} +2000 -2767
- package/dist/navigation-rail-DyO0oAZU.js.map +1 -0
- package/dist/notification-manager.js +268 -0
- package/dist/notification-manager.js.map +1 -0
- package/dist/notification.js +3 -2
- package/dist/notification.js.map +1 -1
- package/dist/peacock-loader.js +102 -14
- package/dist/peacock-loader.js.map +1 -1
- package/dist/popover-NC7b1lTq.js +1971 -0
- package/dist/popover-NC7b1lTq.js.map +1 -0
- package/dist/popover-content.js +125 -0
- package/dist/popover-content.js.map +1 -0
- package/dist/popover.js +4 -0
- package/dist/popover.js.map +1 -0
- package/dist/search.js +4 -0
- package/dist/search.js.map +1 -1
- package/dist/split-button.js +388 -0
- package/dist/split-button.js.map +1 -0
- package/dist/src/__controllers/floating-controller.d.ts +35 -0
- package/dist/src/__mixins/BaseButtonMixin.d.ts +20 -0
- package/dist/src/__mixins/BaseHyperlinkMixin.d.ts +18 -0
- package/dist/src/__mixins/MixinConstructor.d.ts +1 -0
- package/dist/src/banner/banner.d.ts +0 -4
- package/dist/src/button/BaseButton.d.ts +4 -47
- package/dist/src/button/button/button.d.ts +32 -3
- package/dist/src/button/button-group/button-group.d.ts +2 -2
- package/dist/src/button/icon-button/icon-button.d.ts +33 -8
- package/dist/src/calendar/base-event.d.ts +10 -0
- package/dist/src/calendar/calendar-column-view.d.ts +41 -0
- package/dist/src/calendar/calendar-event.d.ts +7 -0
- package/dist/src/calendar/calendar-month-view.d.ts +31 -0
- package/dist/src/calendar/calendar.d.ts +65 -0
- package/dist/src/calendar/event-manager.d.ts +17 -0
- package/dist/src/calendar/index.d.ts +4 -0
- package/dist/src/calendar/types.d.ts +13 -0
- package/dist/src/calendar/utils.d.ts +31 -0
- package/dist/src/canvas/canvas.d.ts +92 -0
- package/dist/src/canvas/index.d.ts +2 -0
- package/dist/src/card/card.d.ts +4 -15
- package/dist/src/condition-builder/cb-compound-expression.d.ts +31 -0
- package/dist/src/condition-builder/cb-divider.d.ts +26 -0
- package/dist/src/condition-builder/cb-expression.d.ts +31 -0
- package/dist/src/condition-builder/cb-predicate.d.ts +30 -0
- package/dist/src/condition-builder/condition-builder.d.ts +27 -0
- package/dist/src/condition-builder/index.d.ts +5 -0
- package/dist/src/dropdown-button/dropdown-button.d.ts +68 -0
- package/dist/src/dropdown-button/index.d.ts +1 -0
- package/dist/src/fab/fab.d.ts +4 -35
- package/dist/src/flow-designer/commands.d.ts +66 -0
- package/dist/src/flow-designer/flow-designer-node.d.ts +46 -0
- package/dist/src/flow-designer/flow-designer.d.ts +133 -0
- package/dist/src/flow-designer/index.d.ts +7 -0
- package/dist/src/flow-designer/layout.d.ts +30 -0
- package/dist/src/flow-designer/types.d.ts +142 -0
- package/dist/src/flow-designer/validation.d.ts +43 -0
- package/dist/src/flow-designer/workflow-utils.d.ts +40 -0
- package/dist/src/focus-ring/focus-ring.d.ts +11 -5
- package/dist/src/html-editor/html-editor.d.ts +56 -0
- package/dist/src/html-editor/index.d.ts +2 -0
- package/dist/src/index.d.ts +16 -1
- package/dist/src/link/link.d.ts +1 -1
- package/dist/src/menu/menu/menu.d.ts +5 -7
- package/dist/src/menu/menu-item/menu-item.d.ts +14 -13
- package/dist/src/modal/index.d.ts +1 -0
- package/dist/src/modal/modal.d.ts +63 -0
- package/dist/src/navigation-rail/index.d.ts +2 -0
- package/dist/src/navigation-rail/navigation-rail-item.d.ts +55 -0
- package/dist/src/navigation-rail/navigation-rail.d.ts +71 -0
- package/dist/src/notification-manager/index.d.ts +1 -0
- package/dist/src/notification-manager/notification-manager.d.ts +44 -0
- package/dist/src/popover/index.d.ts +2 -0
- package/dist/src/popover/popover-content.d.ts +29 -0
- package/dist/src/popover/popover.d.ts +62 -0
- package/dist/src/sidebar-menu/index.d.ts +3 -0
- package/dist/src/sidebar-menu/sidebar-menu-item.d.ts +58 -0
- package/dist/src/sidebar-menu/sidebar-menu.d.ts +38 -0
- package/dist/src/sidebar-menu/sidebar-sub-menu.d.ts +35 -0
- package/dist/src/split-button/index.d.ts +1 -0
- package/dist/src/split-button/split-button.d.ts +72 -0
- package/dist/src/toolbar/toolbar.d.ts +10 -10
- package/dist/src/tooltip/tooltip.d.ts +5 -15
- package/dist/src/url-field/index.d.ts +1 -0
- package/dist/src/url-field/url-field.d.ts +48 -0
- package/dist/test/flow-designer.test.d.ts +1 -0
- package/dist/test/sidebar-menu.test.d.ts +1 -0
- package/dist/toolbar.js +10 -10
- package/dist/toolbar.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -2
- package/readme.md +73 -65
- package/scss/mixin.scss +16 -0
- package/src/__controllers/floating-controller.ts +237 -0
- package/src/__mixins/BaseButtonMixin.ts +83 -0
- package/src/__mixins/BaseHyperlinkMixin.ts +68 -0
- package/src/__mixins/MixinConstructor.ts +1 -0
- package/src/{__base_element → __mixins}/README.md +2 -2
- package/src/banner/banner.scss +20 -25
- package/src/banner/banner.ts +1 -7
- package/src/button/BaseButton.ts +11 -100
- package/src/button/button/button-sizes.scss +4 -2
- package/src/button/button/button.ts +77 -23
- package/src/button/button-group/button-group.ts +2 -2
- package/src/button/icon-button/icon-button.ts +75 -33
- package/src/calendar/base-event.ts +49 -0
- package/src/calendar/calendar-column-view.scss +326 -0
- package/src/calendar/calendar-column-view.ts +392 -0
- package/src/calendar/calendar-event.ts +20 -0
- package/src/calendar/calendar-month-view.scss +192 -0
- package/src/calendar/calendar-month-view.ts +244 -0
- package/src/calendar/calendar.scss +71 -0
- package/src/calendar/calendar.ts +298 -0
- package/src/calendar/event-manager.ts +117 -0
- package/src/calendar/index.ts +4 -0
- package/src/calendar/types.ts +14 -0
- package/src/calendar/utils.ts +180 -0
- package/src/canvas/canvas.scss +60 -0
- package/src/canvas/canvas.ts +391 -0
- package/src/canvas/index.ts +2 -0
- package/src/card/card.ts +11 -71
- package/src/chart-bar/chart-bar.ts +9 -14
- package/src/chart-bar/chart-stacked-bar.ts +12 -18
- package/src/chart-doughnut/chart-doughnut.ts +23 -27
- package/src/chart-pie/chart-pie.ts +19 -23
- package/src/checkbox/checkbox.scss +17 -34
- package/src/checkbox/checkbox.ts +3 -1
- package/src/code-highlighter/code-highlighter.scss +1 -0
- package/src/code-highlighter/code-highlighter.ts +1 -1
- package/src/condition-builder/cb-compound-expression.scss +37 -0
- package/src/condition-builder/cb-compound-expression.ts +80 -0
- package/src/condition-builder/cb-divider.scss +93 -0
- package/src/condition-builder/cb-divider.ts +56 -0
- package/src/condition-builder/cb-expression.scss +14 -0
- package/src/condition-builder/cb-expression.ts +49 -0
- package/src/condition-builder/cb-predicate.scss +35 -0
- package/src/condition-builder/cb-predicate.ts +102 -0
- package/src/condition-builder/condition-builder.scss +13 -0
- package/src/condition-builder/condition-builder.ts +38 -0
- package/src/condition-builder/index.ts +5 -0
- package/src/date-picker/date-picker.ts +1 -1
- package/src/dropdown-button/demo/index.html +110 -0
- package/src/dropdown-button/dropdown-button.scss +22 -0
- package/src/dropdown-button/dropdown-button.ts +206 -0
- package/src/dropdown-button/index.ts +1 -0
- package/src/elevation/elevation.scss +5 -5
- package/src/fab/fab.ts +29 -100
- package/src/flow-designer/DEMO.md +239 -0
- package/src/flow-designer/commands.ts +278 -0
- package/src/flow-designer/flow-designer-node.ts +172 -0
- package/src/flow-designer/flow-designer.scss +457 -0
- package/src/flow-designer/flow-designer.ts +611 -0
- package/src/flow-designer/index.ts +41 -0
- package/src/flow-designer/layout.ts +357 -0
- package/src/flow-designer/types.ts +166 -0
- package/src/flow-designer/validation.ts +284 -0
- package/src/flow-designer/workflow-utils.ts +282 -0
- package/src/focus-ring/focus-ring.ts +47 -40
- package/src/html-editor/html-editor.scss +146 -0
- package/src/html-editor/html-editor.ts +276 -0
- package/src/html-editor/index.ts +3 -0
- package/src/index.ts +28 -1
- package/src/input/input.ts +3 -1
- package/src/link/link.ts +2 -2
- package/src/menu/menu/menu.scss +2 -2
- package/src/menu/menu/menu.ts +91 -101
- package/src/menu/menu-item/menu-item.scss +4 -0
- package/src/menu/menu-item/menu-item.ts +85 -79
- package/src/modal/index.ts +1 -0
- package/src/modal/modal.scss +206 -0
- package/src/modal/modal.ts +201 -0
- package/src/navigation-rail/index.ts +2 -0
- package/src/navigation-rail/navigation-rail-item.scss +216 -0
- package/src/navigation-rail/navigation-rail-item.ts +223 -0
- package/src/navigation-rail/navigation-rail.scss +72 -0
- package/src/navigation-rail/navigation-rail.ts +149 -0
- package/src/notification/notification.ts +3 -2
- package/src/notification-manager/index.ts +1 -0
- package/src/notification-manager/notification-manager.scss +113 -0
- package/src/notification-manager/notification-manager.ts +199 -0
- package/src/number-field/number-field.ts +6 -4
- package/src/pagination/pagination.ts +6 -4
- package/src/peacock-loader.ts +93 -5
- package/src/popover/index.ts +2 -0
- package/src/popover/popover-content.scss +69 -0
- package/src/popover/popover-content.ts +51 -0
- package/src/popover/popover.scss +7 -0
- package/src/popover/popover.ts +170 -0
- package/src/search/search.ts +4 -0
- package/src/sidebar-menu/demo/index.html +68 -0
- package/src/sidebar-menu/index.ts +3 -0
- package/src/sidebar-menu/sidebar-menu-item.scss +102 -0
- package/src/sidebar-menu/sidebar-menu-item.ts +151 -0
- package/src/{tree-view/tree-view.scss → sidebar-menu/sidebar-menu.scss} +1 -1
- package/src/sidebar-menu/sidebar-menu.ts +182 -0
- package/src/sidebar-menu/sidebar-sub-menu.scss +130 -0
- package/src/sidebar-menu/sidebar-sub-menu.ts +160 -0
- package/src/skeleton/skeleton.scss +18 -24
- package/src/snackbar/snackbar.ts +1 -1
- package/src/split-button/index.ts +1 -0
- package/src/split-button/split-button-colors.scss +56 -0
- package/src/split-button/split-button-sizes.scss +28 -0
- package/src/split-button/split-button.scss +79 -0
- package/src/split-button/split-button.ts +236 -0
- package/src/table/table.ts +2 -2
- package/src/tabs/tab.ts +4 -3
- package/src/text/text.css-component.scss +7 -1
- package/src/time-picker/time-picker.ts +1 -1
- package/src/toolbar/toolbar.ts +10 -10
- package/src/tooltip/tooltip.scss +4 -3
- package/src/tooltip/tooltip.ts +64 -98
- package/src/url-field/index.ts +1 -0
- package/src/url-field/url-field.scss +50 -0
- package/src/url-field/url-field.ts +239 -0
- package/dist/button-DMN1dPAg.js.map +0 -1
- package/dist/button-group-CX9CUUXk.js +0 -435
- package/dist/button-group-CX9CUUXk.js.map +0 -1
- package/dist/fab-C5Nzxk0E.js +0 -497
- package/dist/fab-C5Nzxk0E.js.map +0 -1
- package/dist/is-dark-mode-DicqGkCJ.js.map +0 -1
- package/dist/select-4pl4XBj7.js.map +0 -1
- package/dist/spread-B5cgadZl.js +0 -32
- package/dist/spread-B5cgadZl.js.map +0 -1
- package/dist/src/__base_element/BaseHyperlink.d.ts +0 -20
- package/dist/src/menu/menu/MenuSurfaceController.d.ts +0 -18
- package/dist/src/tree-view/index.d.ts +0 -2
- package/dist/src/tree-view/tree-node.d.ts +0 -69
- package/dist/src/tree-view/tree-view.d.ts +0 -40
- package/dist/src/tree-view/wc-tree-view.d.ts +0 -6
- package/dist/test/tree-view.test.d.ts +0 -1
- package/dist/throttle-C7ZAPqtu.js +0 -24
- package/dist/throttle-C7ZAPqtu.js.map +0 -1
- package/src/__base_element/BaseHyperlink.ts +0 -42
- package/src/menu/menu/MenuSurfaceController.ts +0 -61
- package/src/tree-view/demo/index.html +0 -57
- package/src/tree-view/index.ts +0 -2
- package/src/tree-view/tree-node.scss +0 -101
- package/src/tree-view/tree-node.ts +0 -268
- package/src/tree-view/tree-view.ts +0 -182
- package/src/tree-view/wc-tree-view.ts +0 -9
package/dist/fab-C5Nzxk0E.js
DELETED
|
@@ -1,497 +0,0 @@
|
|
|
1
|
-
import { A, a as i, _ as __decorate, I as IndividualComponent, i as i$1, c as __classPrivateFieldGet, b } from './IndividualComponent-DUINtMGK.js';
|
|
2
|
-
import { n } from './property-1psGvXOq.js';
|
|
3
|
-
import { r } from './state-DwbEjqVk.js';
|
|
4
|
-
import { e } from './query-QBcUV-L_.js';
|
|
5
|
-
import { e as e$1 } from './class-map-YU7g0o3B.js';
|
|
6
|
-
import { i as isActivationClick, d as dispatchActivationClick } from './dispatch-event-utils-CuEqjlPT.js';
|
|
7
|
-
import { t as throttle } from './throttle-C7ZAPqtu.js';
|
|
8
|
-
import { s as spread } from './spread-B5cgadZl.js';
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* @license
|
|
12
|
-
* Copyright 2018 Google LLC
|
|
13
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
14
|
-
*/const o=o=>o??A;
|
|
15
|
-
|
|
16
|
-
var css_248z$2 = i`* {
|
|
17
|
-
box-sizing: border-box;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.screen-reader-only {
|
|
21
|
-
display: none !important;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
:host {
|
|
25
|
-
display: inline-flex;
|
|
26
|
-
--fab-container-shape: var(--shape-corner-large);
|
|
27
|
-
--fab-container-elevation-level: 3;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/*
|
|
31
|
-
* Reset native button/link styles
|
|
32
|
-
*/
|
|
33
|
-
.fab-element {
|
|
34
|
-
background: transparent;
|
|
35
|
-
border: none;
|
|
36
|
-
appearance: none;
|
|
37
|
-
margin: 0;
|
|
38
|
-
outline: none;
|
|
39
|
-
text-decoration: none;
|
|
40
|
-
cursor: pointer;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.fab {
|
|
44
|
-
position: relative;
|
|
45
|
-
display: inline-flex;
|
|
46
|
-
align-items: center;
|
|
47
|
-
justify-content: center;
|
|
48
|
-
border-radius: var(--fab-container-shape);
|
|
49
|
-
font-family: var(--font-family-sans) !important;
|
|
50
|
-
}
|
|
51
|
-
.fab .fab-content {
|
|
52
|
-
display: flex;
|
|
53
|
-
align-items: center;
|
|
54
|
-
justify-content: center;
|
|
55
|
-
pointer-events: none;
|
|
56
|
-
z-index: 0;
|
|
57
|
-
gap: 0.75rem;
|
|
58
|
-
color: var(--_fab-label-text-color);
|
|
59
|
-
--icon-size: var(--_fab-icon-size);
|
|
60
|
-
--icon-color: var(--_fab-label-text-color);
|
|
61
|
-
}
|
|
62
|
-
.fab .fab-label {
|
|
63
|
-
font-size: 0.875rem;
|
|
64
|
-
font-weight: var(--font-weight-medium);
|
|
65
|
-
line-height: 1.25rem;
|
|
66
|
-
letter-spacing: 0.00625em;
|
|
67
|
-
white-space: nowrap;
|
|
68
|
-
}
|
|
69
|
-
.fab.disabled {
|
|
70
|
-
cursor: not-allowed;
|
|
71
|
-
}
|
|
72
|
-
.fab {
|
|
73
|
-
/*
|
|
74
|
-
Background layers
|
|
75
|
-
*/
|
|
76
|
-
}
|
|
77
|
-
.fab .focus-ring {
|
|
78
|
-
z-index: 2;
|
|
79
|
-
--focus-ring-container-shape-start-start: var(--fab-container-shape);
|
|
80
|
-
--focus-ring-container-shape-start-end: var(--fab-container-shape);
|
|
81
|
-
--focus-ring-container-shape-end-start: var(--fab-container-shape);
|
|
82
|
-
--focus-ring-container-shape-end-end: var(--fab-container-shape);
|
|
83
|
-
}
|
|
84
|
-
.fab .ripple {
|
|
85
|
-
border-radius: var(--fab-container-shape);
|
|
86
|
-
--ripple-state-opacity: var(--_fab-container-state-opacity, 0);
|
|
87
|
-
--ripple-pressed-color: var(--_fab-label-text-color);
|
|
88
|
-
}
|
|
89
|
-
.fab .background {
|
|
90
|
-
display: block;
|
|
91
|
-
position: absolute;
|
|
92
|
-
inset: 0;
|
|
93
|
-
background-color: var(--_fab-container-color);
|
|
94
|
-
opacity: var(--_fab-container-opacity, 1);
|
|
95
|
-
border-radius: var(--fab-container-shape);
|
|
96
|
-
pointer-events: none;
|
|
97
|
-
}
|
|
98
|
-
.fab .elevation {
|
|
99
|
-
--elevation-level: var(--_fab-container-elevation-level, var(--fab-container-elevation-level));
|
|
100
|
-
transition-duration: 280ms;
|
|
101
|
-
--elevation-container-shape-start-start: var(--fab-container-shape);
|
|
102
|
-
--elevation-container-shape-start-end: var(--fab-container-shape);
|
|
103
|
-
--elevation-container-shape-end-start: var(--fab-container-shape);
|
|
104
|
-
--elevation-container-shape-end-end: var(--fab-container-shape);
|
|
105
|
-
}
|
|
106
|
-
.fab:hover:not(.disabled) {
|
|
107
|
-
--_fab-container-elevation-level: 4;
|
|
108
|
-
--_fab-container-state-opacity: 0.08;
|
|
109
|
-
}
|
|
110
|
-
.fab.pressed:not(.disabled) {
|
|
111
|
-
--_fab-container-elevation-level: 3;
|
|
112
|
-
--_fab-container-state-opacity: 0.12;
|
|
113
|
-
}
|
|
114
|
-
.fab.lowered {
|
|
115
|
-
--fab-container-elevation-level: 1;
|
|
116
|
-
}
|
|
117
|
-
.fab.lowered:hover:not(.disabled) {
|
|
118
|
-
--_fab-container-elevation-level: 2;
|
|
119
|
-
}
|
|
120
|
-
.fab.lowered.pressed:not(.disabled) {
|
|
121
|
-
--_fab-container-elevation-level: 1;
|
|
122
|
-
}
|
|
123
|
-
.fab.disabled {
|
|
124
|
-
--_fab-container-color: var(--color-on-surface);
|
|
125
|
-
--_fab-container-opacity: 0.12;
|
|
126
|
-
--_fab-label-text-color: var(--color-on-surface);
|
|
127
|
-
--_fab-label-text-opacity: 0.38;
|
|
128
|
-
--_fab-container-elevation-level: 0;
|
|
129
|
-
}
|
|
130
|
-
.fab.disabled .ripple {
|
|
131
|
-
display: none;
|
|
132
|
-
}
|
|
133
|
-
.fab.disabled .fab-content {
|
|
134
|
-
opacity: 0.38;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
/* Extended FAB */
|
|
138
|
-
.fab.extended {
|
|
139
|
-
padding: 0 1rem;
|
|
140
|
-
border-radius: var(--fab-container-shape);
|
|
141
|
-
}`;
|
|
142
|
-
|
|
143
|
-
var css_248z$1 = i`:host {
|
|
144
|
-
--tonal-fab-container-color: var(--color-surface-container-high);
|
|
145
|
-
--tonal-fab-label-text-color: var(--color-on-surface);
|
|
146
|
-
--filled-fab-container-color: var(--color-surface);
|
|
147
|
-
--filled-fab-label-text-color: var(--color-on-surface);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
:host([color=surface]) {
|
|
151
|
-
--tonal-fab-container-color: var(--color-surface-container-high);
|
|
152
|
-
--tonal-fab-label-text-color: var(--color-on-surface);
|
|
153
|
-
--filled-fab-container-color: var(--color-surface);
|
|
154
|
-
--filled-fab-label-text-color: var(--color-on-surface);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
:host([color=primary]) {
|
|
158
|
-
--tonal-fab-container-color: var(--color-primary-container);
|
|
159
|
-
--tonal-fab-label-text-color: var(--color-on-primary-container);
|
|
160
|
-
--filled-fab-container-color: var(--color-primary);
|
|
161
|
-
--filled-fab-label-text-color: var(--color-on-primary);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
:host([color=secondary]) {
|
|
165
|
-
--tonal-fab-container-color: var(--color-secondary-container);
|
|
166
|
-
--tonal-fab-label-text-color: var(--color-on-secondary-container);
|
|
167
|
-
--filled-fab-container-color: var(--color-secondary);
|
|
168
|
-
--filled-fab-label-text-color: var(--color-on-secondary);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
:host([color=tertiary]) {
|
|
172
|
-
--tonal-fab-container-color: var(--color-tertiary-container);
|
|
173
|
-
--tonal-fab-label-text-color: var(--color-on-tertiary-container);
|
|
174
|
-
--filled-fab-container-color: var(--color-tertiary);
|
|
175
|
-
--filled-fab-label-text-color: var(--color-on-tertiary);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.fab.variant-tonal {
|
|
179
|
-
--_fab-container-color: var(--tonal-fab-container-color);
|
|
180
|
-
--_fab-label-text-color: var(--tonal-fab-label-text-color);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.fab.variant-filled {
|
|
184
|
-
--_fab-container-color: var(--filled-fab-container-color);
|
|
185
|
-
--_fab-label-text-color: var(--filled-fab-label-text-color);
|
|
186
|
-
}`;
|
|
187
|
-
|
|
188
|
-
var css_248z = i`/* Small FAB: 40x40dp, shape-corner-medium */
|
|
189
|
-
:host([size=sm]) {
|
|
190
|
-
--fab-container-shape: var(--shape-corner-medium);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
:host([size=sm]) .fab {
|
|
194
|
-
width: 2.5rem;
|
|
195
|
-
height: 2.5rem;
|
|
196
|
-
--_fab-icon-size: 1.5rem;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
/* Standard/Medium FAB: 56x56dp, shape-corner-large (default) */
|
|
200
|
-
:host([size=md]) .fab {
|
|
201
|
-
width: 3.5rem;
|
|
202
|
-
height: 3.5rem;
|
|
203
|
-
--_fab-icon-size: 1.5rem;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
/* Large FAB: 96x96dp, shape-corner-extra-large */
|
|
207
|
-
:host([size=lg]) {
|
|
208
|
-
--fab-container-shape: var(--shape-corner-extra-large);
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
:host([size=lg]) .fab {
|
|
212
|
-
width: 6rem;
|
|
213
|
-
height: 6rem;
|
|
214
|
-
--_fab-icon-size: 2.25rem;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
/* Extended FAB overrides (height fixed, width auto) */
|
|
218
|
-
:host([size=sm]) .fab.extended {
|
|
219
|
-
width: auto;
|
|
220
|
-
min-width: 4rem;
|
|
221
|
-
height: 2.5rem;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
:host([size=md]) .fab.extended {
|
|
225
|
-
width: auto;
|
|
226
|
-
min-width: 5rem;
|
|
227
|
-
height: 3.5rem;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
:host([size=lg]) .fab.extended {
|
|
231
|
-
width: auto;
|
|
232
|
-
min-width: 6rem;
|
|
233
|
-
height: 6rem;
|
|
234
|
-
}`;
|
|
235
|
-
|
|
236
|
-
var _Fab_id, _Fab_tabindex;
|
|
237
|
-
/**
|
|
238
|
-
* @label FAB
|
|
239
|
-
* @tag wc-fab
|
|
240
|
-
* @rawTag fab
|
|
241
|
-
*
|
|
242
|
-
* @summary The FAB (Floating Action Button) represents the primary action on a screen.
|
|
243
|
-
* @overview
|
|
244
|
-
* <p>A Floating Action Button (FAB) is a circular button that represents the primary action on a screen. It follows the Material Design 3 specification and supports four color roles and two variants.</p>
|
|
245
|
-
*
|
|
246
|
-
* @cssprop --fab-container-color: Background color of the FAB container.
|
|
247
|
-
* @cssprop --fab-label-text-color: Text and icon color of the FAB label.
|
|
248
|
-
* @cssprop --fab-container-shape: Corner radius of the FAB. Defaults to var(--shape-corner-large).
|
|
249
|
-
* @cssprop --fab-container-elevation-level: Elevation level of the FAB. Defaults to 3.
|
|
250
|
-
*
|
|
251
|
-
* @fires {MouseEvent} click - Dispatched when the FAB is clicked.
|
|
252
|
-
*
|
|
253
|
-
* @example
|
|
254
|
-
* ```html
|
|
255
|
-
* <wc-fab name="add"></wc-fab>
|
|
256
|
-
* ```
|
|
257
|
-
* @tags controls
|
|
258
|
-
*/
|
|
259
|
-
let Fab = class Fab extends i$1 {
|
|
260
|
-
constructor() {
|
|
261
|
-
super(...arguments);
|
|
262
|
-
_Fab_id.set(this, crypto.randomUUID());
|
|
263
|
-
_Fab_tabindex.set(this, 0);
|
|
264
|
-
/**
|
|
265
|
-
* Icon provider. Defaults to `"material-symbols"`.
|
|
266
|
-
*/
|
|
267
|
-
this.provider = 'material-symbols';
|
|
268
|
-
/**
|
|
269
|
-
* The color role of the FAB.
|
|
270
|
-
* `"surface"` uses the surface color role.
|
|
271
|
-
* `"primary"` uses the primary color role.
|
|
272
|
-
* `"secondary"` uses the secondary color role.
|
|
273
|
-
* `"tertiary"` uses the tertiary color role.
|
|
274
|
-
*/
|
|
275
|
-
this.color = 'surface';
|
|
276
|
-
/**
|
|
277
|
-
* The style variant of the FAB.
|
|
278
|
-
* `"tonal"` uses container colors.
|
|
279
|
-
* `"filled"` uses solid role colors.
|
|
280
|
-
*/
|
|
281
|
-
this.variant = 'tonal';
|
|
282
|
-
/**
|
|
283
|
-
* The size of the FAB.
|
|
284
|
-
* `"sm"` renders a small FAB (40×40dp).
|
|
285
|
-
* `"md"` renders a standard FAB (56×56dp). This is the default.
|
|
286
|
-
* `"lg"` renders a large FAB (96×96dp).
|
|
287
|
-
*/
|
|
288
|
-
this.size = 'md';
|
|
289
|
-
/**
|
|
290
|
-
* If `true`, the FAB is in a lowered (resting) state with reduced elevation.
|
|
291
|
-
*/
|
|
292
|
-
this.lowered = false;
|
|
293
|
-
/**
|
|
294
|
-
* If `true`, the user cannot interact with the FAB.
|
|
295
|
-
*/
|
|
296
|
-
this.disabled = false;
|
|
297
|
-
/**
|
|
298
|
-
* Sets or retrieves the window or frame at which to target content.
|
|
299
|
-
*/
|
|
300
|
-
this.target = '_self';
|
|
301
|
-
/**
|
|
302
|
-
* Sets the delay for throttle in milliseconds. Defaults to 200 milliseconds.
|
|
303
|
-
*/
|
|
304
|
-
this.throttleDelay = 200;
|
|
305
|
-
this.isPressed = false;
|
|
306
|
-
this.__handlePress = (event) => {
|
|
307
|
-
if (this.disabled)
|
|
308
|
-
return;
|
|
309
|
-
if (event instanceof KeyboardEvent &&
|
|
310
|
-
event.type === 'keydown' &&
|
|
311
|
-
(event.key === 'Enter' || event.key === ' ')) {
|
|
312
|
-
this.isPressed = true;
|
|
313
|
-
}
|
|
314
|
-
else if (event.type === 'mousedown') {
|
|
315
|
-
this.isPressed = true;
|
|
316
|
-
}
|
|
317
|
-
else {
|
|
318
|
-
this.isPressed = false;
|
|
319
|
-
}
|
|
320
|
-
};
|
|
321
|
-
this.__dispatchClickWithThrottle = event => {
|
|
322
|
-
this.__dispatchClick(event);
|
|
323
|
-
};
|
|
324
|
-
this.__dispatchClick = (event) => {
|
|
325
|
-
if (this.disabled && this.href) {
|
|
326
|
-
event.stopImmediatePropagation();
|
|
327
|
-
event.preventDefault();
|
|
328
|
-
return;
|
|
329
|
-
}
|
|
330
|
-
if (!isActivationClick(event) || !this.fabElement) {
|
|
331
|
-
return;
|
|
332
|
-
}
|
|
333
|
-
this.focus();
|
|
334
|
-
dispatchActivationClick(this.fabElement);
|
|
335
|
-
};
|
|
336
|
-
}
|
|
337
|
-
focus() {
|
|
338
|
-
this.fabElement?.focus();
|
|
339
|
-
}
|
|
340
|
-
blur() {
|
|
341
|
-
this.fabElement?.blur();
|
|
342
|
-
}
|
|
343
|
-
connectedCallback() {
|
|
344
|
-
super.connectedCallback();
|
|
345
|
-
this.addEventListener('click', this.__dispatchClickWithThrottle);
|
|
346
|
-
window.addEventListener('mouseup', this.__handlePress);
|
|
347
|
-
}
|
|
348
|
-
disconnectedCallback() {
|
|
349
|
-
window.removeEventListener('mouseup', this.__handlePress);
|
|
350
|
-
this.removeEventListener('click', this.__dispatchClickWithThrottle);
|
|
351
|
-
super.disconnectedCallback();
|
|
352
|
-
}
|
|
353
|
-
firstUpdated() {
|
|
354
|
-
this.__dispatchClickWithThrottle = throttle(this.__dispatchClick, this.throttleDelay);
|
|
355
|
-
}
|
|
356
|
-
__isLink() {
|
|
357
|
-
return !!this.href;
|
|
358
|
-
}
|
|
359
|
-
__getDisabledReasonID() {
|
|
360
|
-
return this.disabled ? `disabled-reason-${__classPrivateFieldGet(this, _Fab_id, "f")}` : A;
|
|
361
|
-
}
|
|
362
|
-
render() {
|
|
363
|
-
const isLink = this.__isLink();
|
|
364
|
-
const isExtended = !!this.label;
|
|
365
|
-
const cssClasses = {
|
|
366
|
-
fab: true,
|
|
367
|
-
'fab-element': true,
|
|
368
|
-
[`size-${this.size}`]: true,
|
|
369
|
-
[`color-${this.color}`]: true,
|
|
370
|
-
[`variant-${this.variant}`]: true,
|
|
371
|
-
extended: isExtended,
|
|
372
|
-
lowered: this.lowered,
|
|
373
|
-
disabled: this.disabled,
|
|
374
|
-
pressed: this.isPressed,
|
|
375
|
-
};
|
|
376
|
-
if (!isLink) {
|
|
377
|
-
return b `<button
|
|
378
|
-
class=${e$1(cssClasses)}
|
|
379
|
-
id="fab"
|
|
380
|
-
tabindex=${__classPrivateFieldGet(this, _Fab_tabindex, "f")}
|
|
381
|
-
type="button"
|
|
382
|
-
@click=${this.__dispatchClickWithThrottle}
|
|
383
|
-
@mousedown=${this.__handlePress}
|
|
384
|
-
@keydown=${this.__handlePress}
|
|
385
|
-
@keyup=${this.__handlePress}
|
|
386
|
-
aria-label=${this.label ?? this.name ?? A}
|
|
387
|
-
aria-disabled=${`${this.disabled}`}
|
|
388
|
-
?disabled=${this.disabled}
|
|
389
|
-
${spread(this.configAria)}
|
|
390
|
-
>
|
|
391
|
-
${this.__renderFabContent(isExtended)}
|
|
392
|
-
</button>
|
|
393
|
-
${this.__renderTooltip()}`;
|
|
394
|
-
}
|
|
395
|
-
return b `<a
|
|
396
|
-
class=${e$1(cssClasses)}
|
|
397
|
-
id="fab"
|
|
398
|
-
tabindex=${__classPrivateFieldGet(this, _Fab_tabindex, "f")}
|
|
399
|
-
href=${o(this.href)}
|
|
400
|
-
target=${this.target}
|
|
401
|
-
@click=${this.__dispatchClickWithThrottle}
|
|
402
|
-
@mousedown=${this.__handlePress}
|
|
403
|
-
@keydown=${this.__handlePress}
|
|
404
|
-
@keyup=${this.__handlePress}
|
|
405
|
-
role="button"
|
|
406
|
-
aria-label=${this.label ?? this.name ?? A}
|
|
407
|
-
aria-disabled=${`${this.disabled}`}
|
|
408
|
-
${spread(this.configAria)}
|
|
409
|
-
>
|
|
410
|
-
${this.__renderFabContent(isExtended)}
|
|
411
|
-
</a>
|
|
412
|
-
${this.__renderTooltip()}`;
|
|
413
|
-
}
|
|
414
|
-
__renderFabContent(isExtended) {
|
|
415
|
-
return b `
|
|
416
|
-
<wc-focus-ring class="focus-ring" .control=${this} .forElement=${this.fabElement}></wc-focus-ring>
|
|
417
|
-
<wc-elevation class="elevation"></wc-elevation>
|
|
418
|
-
<div class="background"></div>
|
|
419
|
-
<wc-ripple class="ripple"></wc-ripple>
|
|
420
|
-
|
|
421
|
-
<div class="fab-content">
|
|
422
|
-
<wc-icon
|
|
423
|
-
class="fab-icon"
|
|
424
|
-
name=${o(this.name)}
|
|
425
|
-
src=${o(this.src)}
|
|
426
|
-
provider=${this.provider}
|
|
427
|
-
></wc-icon>
|
|
428
|
-
${isExtended
|
|
429
|
-
? b `<span class="fab-label">${this.label}</span>`
|
|
430
|
-
: A}
|
|
431
|
-
</div>
|
|
432
|
-
`;
|
|
433
|
-
}
|
|
434
|
-
__renderTooltip() {
|
|
435
|
-
if (this.tooltip) {
|
|
436
|
-
return b `<wc-tooltip for="fab">${this.tooltip}</wc-tooltip>`;
|
|
437
|
-
}
|
|
438
|
-
return A;
|
|
439
|
-
}
|
|
440
|
-
};
|
|
441
|
-
_Fab_id = new WeakMap();
|
|
442
|
-
_Fab_tabindex = new WeakMap();
|
|
443
|
-
Fab.styles = [css_248z$2, css_248z$1, css_248z];
|
|
444
|
-
__decorate([
|
|
445
|
-
n({ type: String, reflect: true })
|
|
446
|
-
], Fab.prototype, "name", void 0);
|
|
447
|
-
__decorate([
|
|
448
|
-
n({ type: String, reflect: true })
|
|
449
|
-
], Fab.prototype, "src", void 0);
|
|
450
|
-
__decorate([
|
|
451
|
-
n({ type: String })
|
|
452
|
-
], Fab.prototype, "provider", void 0);
|
|
453
|
-
__decorate([
|
|
454
|
-
n({ type: String })
|
|
455
|
-
], Fab.prototype, "label", void 0);
|
|
456
|
-
__decorate([
|
|
457
|
-
n({ reflect: true })
|
|
458
|
-
], Fab.prototype, "color", void 0);
|
|
459
|
-
__decorate([
|
|
460
|
-
n({ reflect: true })
|
|
461
|
-
], Fab.prototype, "variant", void 0);
|
|
462
|
-
__decorate([
|
|
463
|
-
n({ reflect: true })
|
|
464
|
-
], Fab.prototype, "size", void 0);
|
|
465
|
-
__decorate([
|
|
466
|
-
n({ type: Boolean, reflect: true })
|
|
467
|
-
], Fab.prototype, "lowered", void 0);
|
|
468
|
-
__decorate([
|
|
469
|
-
n({ type: Boolean, reflect: true })
|
|
470
|
-
], Fab.prototype, "disabled", void 0);
|
|
471
|
-
__decorate([
|
|
472
|
-
n({ reflect: true })
|
|
473
|
-
], Fab.prototype, "href", void 0);
|
|
474
|
-
__decorate([
|
|
475
|
-
n()
|
|
476
|
-
], Fab.prototype, "target", void 0);
|
|
477
|
-
__decorate([
|
|
478
|
-
n({ reflect: true })
|
|
479
|
-
], Fab.prototype, "configAria", void 0);
|
|
480
|
-
__decorate([
|
|
481
|
-
n()
|
|
482
|
-
], Fab.prototype, "throttleDelay", void 0);
|
|
483
|
-
__decorate([
|
|
484
|
-
n()
|
|
485
|
-
], Fab.prototype, "tooltip", void 0);
|
|
486
|
-
__decorate([
|
|
487
|
-
r()
|
|
488
|
-
], Fab.prototype, "isPressed", void 0);
|
|
489
|
-
__decorate([
|
|
490
|
-
e('.fab')
|
|
491
|
-
], Fab.prototype, "fabElement", void 0);
|
|
492
|
-
Fab = __decorate([
|
|
493
|
-
IndividualComponent
|
|
494
|
-
], Fab);
|
|
495
|
-
|
|
496
|
-
export { Fab as F, o };
|
|
497
|
-
//# sourceMappingURL=fab-C5Nzxk0E.js.map
|
package/dist/fab-C5Nzxk0E.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fab-C5Nzxk0E.js","sources":["../node_modules/lit-html/directives/if-defined.js","../../src/fab/fab.ts"],"sourcesContent":["import{nothing as t}from\"../lit-html.js\";\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const o=o=>o??t;export{o as ifDefined};\n//# sourceMappingURL=if-defined.js.map\n","import { html, LitElement, nothing } from 'lit';\nimport { property, query, state } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\n\nimport IndividualComponent from '@/IndividualComponent.js';\nimport { dispatchActivationClick, isActivationClick } from '@/__utils/dispatch-event-utils.js';\nimport { throttle } from '@/__utils/throttle.js';\nimport { spread } from '@/__directive/spread.js';\n\nimport { IconProvider } from '../icon/icon.js';\nimport styles from './fab.scss';\nimport colorStyles from './fab-colors.scss';\nimport sizeStyles from './fab-sizes.scss';\n\n/**\n * @label FAB\n * @tag wc-fab\n * @rawTag fab\n *\n * @summary The FAB (Floating Action Button) represents the primary action on a screen.\n * @overview\n * <p>A Floating Action Button (FAB) is a circular button that represents the primary action on a screen. It follows the Material Design 3 specification and supports four color roles and two variants.</p>\n *\n * @cssprop --fab-container-color: Background color of the FAB container.\n * @cssprop --fab-label-text-color: Text and icon color of the FAB label.\n * @cssprop --fab-container-shape: Corner radius of the FAB. Defaults to var(--shape-corner-large).\n * @cssprop --fab-container-elevation-level: Elevation level of the FAB. Defaults to 3.\n *\n * @fires {MouseEvent} click - Dispatched when the FAB is clicked.\n *\n * @example\n * ```html\n * <wc-fab name=\"add\"></wc-fab>\n * ```\n * @tags controls\n */\n@IndividualComponent\nexport class Fab extends LitElement {\n static override styles = [styles, colorStyles, sizeStyles];\n\n #id = crypto.randomUUID();\n\n #tabindex?: number = 0;\n\n /**\n * Name of the icon to display inside the FAB.\n */\n @property({ type: String, reflect: true }) name?: string;\n\n /**\n * Source URL for a custom icon.\n */\n @property({ type: String, reflect: true }) src?: string;\n\n /**\n * Icon provider. Defaults to `\"material-symbols\"`.\n */\n @property({ type: String }) provider: IconProvider = 'material-symbols';\n\n /**\n * Optional label text for the extended FAB variant.\n * When set, the FAB displays both the icon and a text label.\n */\n @property({ type: String }) label?: string;\n\n /**\n * The color role of the FAB.\n * `\"surface\"` uses the surface color role.\n * `\"primary\"` uses the primary color role.\n * `\"secondary\"` uses the secondary color role.\n * `\"tertiary\"` uses the tertiary color role.\n */\n @property({ reflect: true }) color: 'surface' | 'primary' | 'secondary' | 'tertiary' = 'surface';\n\n /**\n * The style variant of the FAB.\n * `\"tonal\"` uses container colors.\n * `\"filled\"` uses solid role colors.\n */\n @property({ reflect: true }) variant: 'tonal' | 'filled' = 'tonal';\n\n /**\n * The size of the FAB.\n * `\"sm\"` renders a small FAB (40×40dp).\n * `\"md\"` renders a standard FAB (56×56dp). This is the default.\n * `\"lg\"` renders a large FAB (96×96dp).\n */\n @property({ reflect: true }) size: 'sm' | 'md' | 'lg' = 'md';\n\n /**\n * If `true`, the FAB is in a lowered (resting) state with reduced elevation.\n */\n @property({ type: Boolean, reflect: true }) lowered: boolean = false;\n\n /**\n * If `true`, the user cannot interact with the FAB.\n */\n @property({ type: Boolean, reflect: true }) disabled: boolean = false;\n\n /**\n * Hyperlink to navigate to on click.\n */\n @property({ reflect: true }) href?: string;\n\n /**\n * Sets or retrieves the window or frame at which to target content.\n */\n @property() target: string = '_self';\n\n /**\n * Additional ARIA attributes to pass to the inner button/anchor element.\n */\n @property({ reflect: true })\n configAria?: { [key: string]: any };\n\n /**\n * Sets the delay for throttle in milliseconds. Defaults to 200 milliseconds.\n */\n @property() throttleDelay = 200;\n\n /**\n * Tooltip text shown on hover.\n */\n @property() tooltip?: string;\n\n @state()\n isPressed = false;\n\n @query('.fab') readonly fabElement!: HTMLElement | null;\n\n override focus() {\n this.fabElement?.focus();\n }\n\n override blur() {\n this.fabElement?.blur();\n }\n\n override connectedCallback() {\n super.connectedCallback();\n this.addEventListener('click', this.__dispatchClickWithThrottle);\n window.addEventListener('mouseup', this.__handlePress);\n }\n\n override disconnectedCallback() {\n window.removeEventListener('mouseup', this.__handlePress);\n this.removeEventListener('click', this.__dispatchClickWithThrottle);\n super.disconnectedCallback();\n }\n\n override firstUpdated() {\n this.__dispatchClickWithThrottle = throttle(\n this.__dispatchClick,\n this.throttleDelay,\n );\n }\n\n __handlePress = (event: KeyboardEvent | MouseEvent) => {\n if (this.disabled) return;\n if (\n event instanceof KeyboardEvent &&\n event.type === 'keydown' &&\n (event.key === 'Enter' || event.key === ' ')\n ) {\n this.isPressed = true;\n } else if (event.type === 'mousedown') {\n this.isPressed = true;\n } else {\n this.isPressed = false;\n }\n };\n\n __isLink() {\n return !!this.href;\n }\n\n __dispatchClickWithThrottle: (event: MouseEvent | KeyboardEvent) => void =\n event => {\n this.__dispatchClick(event);\n };\n\n __dispatchClick = (event: MouseEvent | KeyboardEvent) => {\n if (this.disabled && this.href) {\n event.stopImmediatePropagation();\n event.preventDefault();\n return;\n }\n\n if (!isActivationClick(event) || !this.fabElement) {\n return;\n }\n\n this.focus();\n dispatchActivationClick(this.fabElement);\n };\n\n __getDisabledReasonID() {\n return this.disabled ? `disabled-reason-${this.#id}` : nothing;\n }\n\n override render() {\n const isLink = this.__isLink();\n const isExtended = !!this.label;\n\n const cssClasses = {\n fab: true,\n 'fab-element': true,\n [`size-${this.size}`]: true,\n [`color-${this.color}`]: true,\n [`variant-${this.variant}`]: true,\n extended: isExtended,\n lowered: this.lowered,\n disabled: this.disabled,\n pressed: this.isPressed,\n };\n\n if (!isLink) {\n return html`<button\n class=${classMap(cssClasses)}\n id=\"fab\"\n tabindex=${this.#tabindex}\n type=\"button\"\n @click=${this.__dispatchClickWithThrottle}\n @mousedown=${this.__handlePress}\n @keydown=${this.__handlePress}\n @keyup=${this.__handlePress}\n aria-label=${this.label ?? this.name ?? nothing}\n aria-disabled=${`${this.disabled}`}\n ?disabled=${this.disabled}\n ${spread(this.configAria)}\n >\n ${this.__renderFabContent(isExtended)}\n </button>\n ${this.__renderTooltip()}`;\n }\n\n return html`<a\n class=${classMap(cssClasses)}\n id=\"fab\"\n tabindex=${this.#tabindex}\n href=${ifDefined(this.href)}\n target=${this.target}\n @click=${this.__dispatchClickWithThrottle}\n @mousedown=${this.__handlePress}\n @keydown=${this.__handlePress}\n @keyup=${this.__handlePress}\n role=\"button\"\n aria-label=${this.label ?? this.name ?? nothing}\n aria-disabled=${`${this.disabled}`}\n ${spread(this.configAria)}\n >\n ${this.__renderFabContent(isExtended)}\n </a>\n ${this.__renderTooltip()}`;\n }\n\n __renderFabContent(isExtended: boolean) {\n return html`\n <wc-focus-ring class=\"focus-ring\" .control=${this} .forElement=${this.fabElement}></wc-focus-ring>\n <wc-elevation class=\"elevation\"></wc-elevation>\n <div class=\"background\"></div>\n <wc-ripple class=\"ripple\"></wc-ripple>\n\n <div class=\"fab-content\">\n <wc-icon\n class=\"fab-icon\"\n name=${ifDefined(this.name)}\n src=${ifDefined(this.src)}\n provider=${this.provider}\n ></wc-icon>\n ${isExtended\n ? html`<span class=\"fab-label\">${this.label}</span>`\n : nothing}\n </div>\n `;\n }\n\n __renderTooltip() {\n if (this.tooltip) {\n return html`<wc-tooltip for=\"fab\">${this.tooltip}</wc-tooltip>`;\n }\n return nothing;\n }\n}\n"],"names":["t","LitElement","nothing","html","classMap","ifDefined","styles","colorStyles","sizeStyles","property","state","query"],"mappings":";;;;;;;;;AACA;AACA;AACA;AACA;AACA,G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CAAA,SAAA,EAAA,SAAA,EAAA,MAAA,CAAA;AAG7B,UAAA,CAAA;AADC,IAAAC,CAAK;AACY,CAAA,EAAA,GAAA,CAAA,SAAA,EAAA,WAAA,EAAA,MAAA,CAAA;AAEM,UAAA,CAAA;IAAvBC,CAAK,CAAC,MAAM;AAA2C,CAAA,EAAA,GAAA,CAAA,SAAA,EAAA,YAAA,EAAA,MAAA,CAAA;AA3F7C,GAAG,GAAA,UAAA,CAAA;IADf;AACY,CAAA,EAAA,GAAG,CAsPf;;;;","x_google_ignoreList":[0]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-dark-mode-DicqGkCJ.js","sources":["../../src/input/BaseInput.ts","../../src/__utils/observe-theme-change.ts","../../src/__utils/is-dark-mode.ts"],"sourcesContent":["import { LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\n\nexport default abstract class BaseInput extends LitElement {\n value?: any;\n\n @property({ type: Boolean, reflect: true })\n disabled: boolean = false;\n\n @property({ type: Boolean, reflect: true })\n readonly: boolean = false;\n\n @property({ type: Boolean, reflect: true })\n required: boolean = false;\n\n @property({ type: Boolean, reflect: true })\n skeleton = false;\n}\n","type ThemeChangeCallback = () => void;\n\nexport const observeThemeChange = (() => {\n const callbacks = new Set<ThemeChangeCallback>();\n\n const observer = new MutationObserver((records) => {\n const changed = records.some(\n (r) => r.type === \"attributes\" && r.attributeName === \"data-theme\"\n );\n if (!changed) return;\n\n for (const callback of callbacks) {\n try {\n callback();\n } catch (err) {\n console.error(\"[observeThemeChange] callback threw:\", err);\n }\n }\n });\n\n observer.observe(document.documentElement, {\n attributes: true,\n attributeFilter: [\"data-theme\"],\n });\n\n return (callback: ThemeChangeCallback): (() => void) => {\n callbacks.add(callback);\n return () => callbacks.delete(callback);\n };\n})();","export function isDarkMode() {\n return document.documentElement.dataset.theme === 'dark';\n}"],"names":["LitElement","property"],"mappings":";;;AAGc,MAAgB,SAAU,SAAQA,CAAU,CAAA;AAA1D,IAAA,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