@redvars/peacock 3.1.1 → 3.1.3
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/.rollup.cache/E/git/redvars/peacock/components/dist/src/LoaderUtils.d.ts +0 -1
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/LoaderUtils.js +0 -1
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/LoaderUtils.js.map +1 -1
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/avatar.css.js.map +1 -1
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/avatar.d.ts +20 -1
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/avatar.js +20 -1
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/avatar.js.map +1 -1
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/p-avatar.d.ts +0 -7
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/p-avatar.js +0 -7
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/p-avatar.js.map +1 -1
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/badge.css.js +5 -4
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/badge.css.js.map +1 -1
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/badge.d.ts +16 -2
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/badge.js +28 -11
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/badge.js.map +1 -1
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/p-badge.d.ts +0 -5
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/p-badge.js +0 -5
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/p-badge.js.map +1 -1
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/button/button.d.ts +99 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/button/button.js +292 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/button/button.js.map +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/button/index.d.ts +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/button/index.js +2 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/button/index.js.map +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/ClockController.d.ts +10 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/ClockController.js +22 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/ClockController.js.map +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/clock.css.d.ts +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/clock.css.js +12 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/clock.css.js.map +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/clock.d.ts +25 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/clock.js +41 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/clock.js.map +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/index.d.ts +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/index.js +2 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/index.js.map +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/code-highlighter/code-highlighter.d.ts +26 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/code-highlighter/code-highlighter.js +60 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/code-highlighter/code-highlighter.js.map +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/code-highlighter/index.d.ts +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/code-highlighter/index.js +2 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/code-highlighter/index.js.map +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/code-highlighter/local.d.ts +6 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/code-highlighter/local.js +7 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/code-highlighter/local.js.map +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/divider.css.d.ts +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/divider.css.js +58 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/divider.css.js.map +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/divider.d.ts +27 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/divider.js +61 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/divider.js.map +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/index.d.ts +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/index.js +2 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/index.js.map +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/elevation/elevation.css.d.ts +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/elevation/elevation.css.js +47 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/elevation/elevation.css.js.map +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/elevation/elevation.d.ts +27 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/elevation/elevation.js +31 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/elevation/elevation.js.map +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/elevation/index.d.ts +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/elevation/index.js +2 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/elevation/index.js.map +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/focus-ring/FocusAttachableController.d.ts +9 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/focus-ring/FocusAttachableController.js +25 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/focus-ring/FocusAttachableController.js.map +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/focus-ring/focus-ring.d.ts +35 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/focus-ring/focus-ring.js +81 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/focus-ring/focus-ring.js.map +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/focus-ring/index.d.ts +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/focus-ring/index.js +2 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/focus-ring/index.js.map +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/icon/icon.d.ts +23 -2
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/icon/icon.js +20 -4
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/icon/icon.js.map +1 -1
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/icon/p-icon.d.ts +0 -7
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/icon/p-icon.js +0 -7
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/icon/p-icon.js.map +1 -1
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/index.d.ts +6 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/index.js +6 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/index.js.map +1 -1
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/peacock-loader.js +35 -19
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/peacock-loader.js.map +1 -1
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/ripple/index.d.ts +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/ripple/index.js +2 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/ripple/index.js.map +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/ripple/ripple.d.ts +9 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/ripple/ripple.js +125 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/ripple/ripple.js.map +1 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/utils.d.ts +5 -0
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/utils.js +54 -1
- package/.rollup.cache/E/git/redvars/peacock/components/dist/src/utils.js.map +1 -1
- package/.rollup.cache/E/git/redvars/peacock/components/dist/tsconfig.tsbuildinfo +1 -1
- package/bin/typedoc-gen.mjs +63 -0
- package/custom-elements-manifest.config.mjs +5 -6
- package/demo/index.html +45 -42
- package/dist/LoaderUtils.d.ts +23 -0
- package/dist/LoaderUtils.d.ts.map +1 -0
- package/dist/assets/styles/tokens.css +21 -53
- package/dist/avatar/avatar.d.ts +28 -0
- package/dist/avatar/avatar.d.ts.map +1 -0
- package/dist/avatar/index.d.ts +2 -0
- package/dist/avatar/index.d.ts.map +1 -0
- package/dist/avatar/p-avatar.d.ts +4 -0
- package/dist/avatar/p-avatar.d.ts.map +1 -0
- package/dist/avatar.js +100 -0
- package/dist/avatar.js.map +1 -0
- package/dist/badge/badge.d.ts +24 -0
- package/dist/badge/badge.d.ts.map +1 -0
- package/dist/badge/index.d.ts +2 -0
- package/dist/badge/index.d.ts.map +1 -0
- package/dist/badge/p-badge.d.ts +4 -0
- package/dist/badge/p-badge.d.ts.map +1 -0
- package/dist/badge.js +90 -0
- package/dist/badge.js.map +1 -0
- package/dist/button/button.d.ts +103 -0
- package/dist/button/button.d.ts.map +1 -0
- package/dist/button/index.d.ts +2 -0
- package/dist/button/index.d.ts.map +1 -0
- package/dist/button.js +710 -0
- package/dist/button.js.map +1 -0
- package/dist/class-map-BzIzngvN.js +89 -0
- package/dist/class-map-BzIzngvN.js.map +1 -0
- package/dist/class-map-CBk4-iMN.js +11 -0
- package/dist/class-map-CBk4-iMN.js.map +1 -0
- package/dist/class-map-Cavm-B1S.js +11 -0
- package/dist/class-map-Cavm-B1S.js.map +1 -0
- package/dist/class-map-DL5vM0J2.js +11 -0
- package/dist/class-map-DL5vM0J2.js.map +1 -0
- package/dist/class-map-DpvLRi0h.js +11 -0
- package/dist/class-map-DpvLRi0h.js.map +1 -0
- package/dist/class-map-IbP5VjmB.js +11 -0
- package/dist/class-map-IbP5VjmB.js.map +1 -0
- package/dist/clock/ClockController.d.ts +11 -0
- package/dist/clock/ClockController.d.ts.map +1 -0
- package/dist/clock/clock.d.ts +26 -0
- package/dist/clock/clock.d.ts.map +1 -0
- package/dist/clock/index.d.ts +2 -0
- package/dist/clock/index.d.ts.map +1 -0
- package/dist/clock.js +77 -0
- package/dist/clock.js.map +1 -0
- package/dist/code-highlighter/code-highlighter.d.ts +27 -0
- package/dist/code-highlighter/code-highlighter.d.ts.map +1 -0
- package/dist/code-highlighter/index.d.ts +2 -0
- package/dist/code-highlighter/index.d.ts.map +1 -0
- package/dist/code-highlighter/local.d.ts +7 -0
- package/dist/code-highlighter/local.d.ts.map +1 -0
- package/dist/code-highlighter.js +66 -0
- package/dist/code-highlighter.js.map +1 -0
- package/dist/custom-elements-jsdocs.json +1211 -0
- package/dist/directive-BKuZRRPO.js +9 -0
- package/dist/directive-BKuZRRPO.js.map +1 -0
- package/dist/directive-CkFJvUQK.js +45 -0
- package/dist/directive-CkFJvUQK.js.map +1 -0
- package/dist/divider/divider.d.ts +28 -0
- package/dist/divider/divider.d.ts.map +1 -0
- package/dist/divider/index.d.ts +2 -0
- package/dist/divider/index.d.ts.map +1 -0
- package/dist/divider.js +117 -0
- package/dist/divider.js.map +1 -0
- package/dist/elevation/elevation.d.ts +28 -0
- package/dist/elevation/elevation.d.ts.map +1 -0
- package/dist/elevation/index.d.ts +2 -0
- package/dist/elevation/index.d.ts.map +1 -0
- package/dist/elevation-Bl1N6qEq.js +100 -0
- package/dist/elevation-Bl1N6qEq.js.map +1 -0
- package/dist/elevation-CbF5he8B.js +103 -0
- package/dist/elevation-CbF5he8B.js.map +1 -0
- package/dist/elevation-D3F6Z1jU.js +100 -0
- package/dist/elevation-D3F6Z1jU.js.map +1 -0
- package/dist/elevation.js +77 -0
- package/dist/elevation.js.map +1 -0
- package/dist/focus-ring/FocusAttachableController.d.ts +10 -0
- package/dist/focus-ring/FocusAttachableController.d.ts.map +1 -0
- package/dist/focus-ring/focus-ring.d.ts +36 -0
- package/dist/focus-ring/focus-ring.d.ts.map +1 -0
- package/dist/focus-ring/index.d.ts +2 -0
- package/dist/focus-ring/index.d.ts.map +1 -0
- package/dist/focus-ring.js +105 -0
- package/dist/focus-ring.js.map +1 -0
- package/dist/icon/datasource.d.ts +3 -0
- package/dist/icon/datasource.d.ts.map +1 -0
- package/dist/icon/icon.d.ts +42 -0
- package/dist/icon/icon.d.ts.map +1 -0
- package/dist/icon/index.d.ts +2 -0
- package/dist/icon/index.d.ts.map +1 -0
- package/dist/icon/p-icon.d.ts +4 -0
- package/dist/icon/p-icon.d.ts.map +1 -0
- package/dist/{component/icon.js → icon.js} +43 -124
- package/dist/icon.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15 -67
- package/dist/index.js.map +1 -1
- package/dist/link/link.css.d.ts +3 -0
- package/dist/link/link.css.d.ts.map +1 -0
- package/dist/lit-element-B7NX__Gq.js +2851 -0
- package/dist/lit-element-B7NX__Gq.js.map +1 -0
- package/dist/lit-element-Bq5B2QNv.js +28 -0
- package/dist/lit-element-Bq5B2QNv.js.map +1 -0
- package/dist/lit-element-CkD27PXL.js +28 -0
- package/dist/lit-element-CkD27PXL.js.map +1 -0
- package/dist/lit-element-DHH1_Q-3.js +28 -0
- package/dist/lit-element-DHH1_Q-3.js.map +1 -0
- package/dist/peacock-loader.d.ts +2 -0
- package/dist/peacock-loader.d.ts.map +1 -0
- package/dist/peacock-loader.js +479 -121
- package/dist/peacock-loader.js.map +1 -1
- package/dist/property-BXcRN0hQ.js +39 -0
- package/dist/property-BXcRN0hQ.js.map +1 -0
- package/dist/property-CR1ZrEd9.js +45 -0
- package/dist/property-CR1ZrEd9.js.map +1 -0
- package/dist/property-CqSbFxyM.js +45 -0
- package/dist/property-CqSbFxyM.js.map +1 -0
- package/dist/{directive-CKEA2P55.js → property-D4Kn9TsY.js} +6 -13
- package/dist/property-D4Kn9TsY.js.map +1 -0
- package/dist/property-DNaigT7h.js +39 -0
- package/dist/property-DNaigT7h.js.map +1 -0
- package/dist/property-yt9tIYgR.js +39 -0
- package/dist/property-yt9tIYgR.js.map +1 -0
- package/dist/query-CV342L_h.js +189 -0
- package/dist/query-CV342L_h.js.map +1 -0
- package/dist/ripple-Blc5Rqhb.js +102 -0
- package/dist/ripple-Blc5Rqhb.js.map +1 -0
- package/dist/ripple-BqTcEQAP.js +102 -0
- package/dist/ripple-BqTcEQAP.js.map +1 -0
- package/dist/ripple-BqUjb18i.js +105 -0
- package/dist/ripple-BqUjb18i.js.map +1 -0
- package/dist/ripple-Buzs-MON.js +106 -0
- package/dist/ripple-Buzs-MON.js.map +1 -0
- package/dist/ripple-Bz5B_LoE.js +102 -0
- package/dist/ripple-Bz5B_LoE.js.map +1 -0
- package/dist/ripple-CAq7Ix6x.js +106 -0
- package/dist/ripple-CAq7Ix6x.js.map +1 -0
- package/dist/ripple-CDqSm_Vy.js +106 -0
- package/dist/ripple-CDqSm_Vy.js.map +1 -0
- package/dist/ripple-CJtPH28B.js +102 -0
- package/dist/ripple-CJtPH28B.js.map +1 -0
- package/dist/ripple-CKTd8obC.js +92 -0
- package/dist/ripple-CKTd8obC.js.map +1 -0
- package/dist/ripple-CKnDWTVQ.js +107 -0
- package/dist/ripple-CKnDWTVQ.js.map +1 -0
- package/dist/ripple-CeR8eLuc.js +93 -0
- package/dist/ripple-CeR8eLuc.js.map +1 -0
- package/dist/ripple-Czp3eR6w.js +127 -0
- package/dist/ripple-Czp3eR6w.js.map +1 -0
- package/dist/ripple-DIab1MaY.js +106 -0
- package/dist/ripple-DIab1MaY.js.map +1 -0
- package/dist/ripple-DUFMimxZ.js +120 -0
- package/dist/ripple-DUFMimxZ.js.map +1 -0
- package/dist/ripple-DVmDdoNV.js +102 -0
- package/dist/ripple-DVmDdoNV.js.map +1 -0
- package/dist/ripple-DYnhXK5d.js +118 -0
- package/dist/ripple-DYnhXK5d.js.map +1 -0
- package/dist/ripple-DnudV47f.js +102 -0
- package/dist/ripple-DnudV47f.js.map +1 -0
- package/dist/ripple-DsC-h31M.js +119 -0
- package/dist/ripple-DsC-h31M.js.map +1 -0
- package/dist/ripple-DvM0SPd9.js +128 -0
- package/dist/ripple-DvM0SPd9.js.map +1 -0
- package/dist/ripple-NWIiDgX2.js +128 -0
- package/dist/ripple-NWIiDgX2.js.map +1 -0
- package/dist/ripple-X3U_R8lT.js +106 -0
- package/dist/ripple-X3U_R8lT.js.map +1 -0
- package/dist/ripple.js +128 -0
- package/dist/ripple.js.map +1 -0
- package/dist/src/LoaderUtils.d.ts +0 -1
- package/dist/src/avatar/avatar.d.ts +20 -1
- package/dist/src/avatar/p-avatar.d.ts +0 -7
- package/dist/src/badge/badge.d.ts +16 -2
- package/dist/src/badge/p-badge.d.ts +0 -5
- package/dist/src/button/button.d.ts +99 -0
- package/dist/src/button/index.d.ts +1 -0
- package/dist/src/clock/ClockController.d.ts +10 -0
- package/dist/src/clock/clock.css.d.ts +1 -0
- package/dist/src/clock/clock.d.ts +25 -0
- package/dist/src/clock/index.d.ts +1 -0
- package/dist/src/code-highlighter/code-highlighter.d.ts +26 -0
- package/dist/src/code-highlighter/index.d.ts +1 -0
- package/dist/src/code-highlighter/local.d.ts +6 -0
- package/dist/src/divider/divider.css.d.ts +1 -0
- package/dist/src/divider/divider.d.ts +27 -0
- package/dist/src/divider/index.d.ts +1 -0
- package/dist/src/elevation/elevation.css.d.ts +1 -0
- package/dist/src/elevation/elevation.d.ts +27 -0
- package/dist/src/elevation/index.d.ts +1 -0
- package/dist/src/focus-ring/FocusAttachableController.d.ts +9 -0
- package/dist/src/focus-ring/focus-ring.d.ts +35 -0
- package/dist/src/focus-ring/index.d.ts +1 -0
- package/dist/src/icon/icon.d.ts +23 -2
- package/dist/src/icon/p-icon.d.ts +0 -7
- package/dist/src/index.d.ts +6 -0
- package/dist/src/ripple/index.d.ts +1 -0
- package/dist/src/ripple/ripple.d.ts +9 -0
- package/dist/src/utils.d.ts +5 -0
- package/dist/state-BXOdKkbT.js +10 -0
- package/dist/state-BXOdKkbT.js.map +1 -0
- package/dist/state-BfUul2Gq.js +10 -0
- package/dist/state-BfUul2Gq.js.map +1 -0
- package/dist/state-CNX6DhqO.js +10 -0
- package/dist/state-CNX6DhqO.js.map +1 -0
- package/dist/state-Cl3mjeR1.js +10 -0
- package/dist/state-Cl3mjeR1.js.map +1 -0
- package/dist/state-CxzmLNIi.js +10 -0
- package/dist/state-CxzmLNIi.js.map +1 -0
- package/dist/state-WDFgnqnd.js +36 -0
- package/dist/state-WDFgnqnd.js.map +1 -0
- package/dist/style-inject.es--nCJ9F_D.js +55 -0
- package/dist/style-inject.es--nCJ9F_D.js.map +1 -0
- package/dist/style-inject.es-tgCJW-Cu.js +29 -0
- package/dist/style-inject.es-tgCJW-Cu.js.map +1 -0
- package/dist/styleMixins.css-0Uq-6ouM.js +14 -0
- package/dist/styleMixins.css-0Uq-6ouM.js.map +1 -0
- package/dist/styleMixins.css-B8H9wDNA.js +17 -0
- package/dist/styleMixins.css-B8H9wDNA.js.map +1 -0
- package/dist/styleMixins.css-CivfMYtB.js +17 -0
- package/dist/styleMixins.css-CivfMYtB.js.map +1 -0
- package/dist/styleMixins.css-DrUsqddl.js +17 -0
- package/dist/styleMixins.css-DrUsqddl.js.map +1 -0
- package/dist/styleMixins.css-fokZCyF-.js +17 -0
- package/dist/styleMixins.css-fokZCyF-.js.map +1 -0
- package/dist/styleMixins.css.d.ts +10 -0
- package/dist/styleMixins.css.d.ts.map +1 -0
- package/dist/text/text.css.d.ts +3 -0
- package/dist/text/text.css.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/typedoc.json +340489 -0
- package/dist/utils-BVap5huR.js +157 -0
- package/dist/utils-BVap5huR.js.map +1 -0
- package/dist/utils-CY3RyfcA.js +157 -0
- package/dist/utils-CY3RyfcA.js.map +1 -0
- package/dist/utils-CdOdn2dW.js +149 -0
- package/dist/utils-CdOdn2dW.js.map +1 -0
- package/dist/utils-DD_cg6Ms.js +157 -0
- package/dist/utils-DD_cg6Ms.js.map +1 -0
- package/dist/utils-_5no4mk7.js +128 -0
- package/dist/utils-_5no4mk7.js.map +1 -0
- package/dist/utils.d.ts +8 -0
- package/dist/utils.d.ts.map +1 -0
- package/package.json +11 -9
- package/readme.md +5 -17
- package/rollup.config.js +79 -37
- package/scratch.mjs +0 -0
- package/scss/mixin.scss +50 -0
- package/src/LoaderUtils.ts +122 -122
- package/src/avatar/avatar.scss +38 -0
- package/src/avatar/avatar.ts +20 -1
- package/src/avatar/p-avatar.ts +0 -7
- package/src/badge/badge.scss +31 -0
- package/src/badge/badge.ts +31 -9
- package/src/badge/demo/index.html +9 -1
- package/src/badge/p-badge.ts +0 -5
- package/src/button/_button-sizes.scss +59 -0
- package/src/button/button.scss +430 -0
- package/src/button/button.ts +304 -0
- package/src/button/demo/index.html +42 -0
- package/src/button/index.ts +1 -0
- package/src/clock/ClockController.ts +32 -0
- package/src/clock/clock.scss +9 -0
- package/src/clock/clock.ts +39 -0
- package/{demo/int.html → src/clock/demo/index.html} +7 -10
- package/src/clock/index.ts +1 -0
- package/src/code-highlighter/code-highlighter.scss +0 -0
- package/src/code-highlighter/code-highlighter.ts +58 -0
- package/src/code-highlighter/demo/index.html +58 -0
- package/src/code-highlighter/index.ts +1 -0
- package/src/code-highlighter/local.ts +11 -0
- package/src/divider/demo/index.html +58 -0
- package/src/divider/divider.scss +56 -0
- package/src/divider/divider.ts +59 -0
- package/src/divider/index.ts +1 -0
- package/src/elevation/demo/index.html +58 -0
- package/src/elevation/elevation.scss +61 -0
- package/src/elevation/elevation.ts +32 -0
- package/src/elevation/index.ts +1 -0
- package/src/focus-ring/FocusAttachableController.ts +36 -0
- package/src/focus-ring/demo/index.html +58 -0
- package/src/focus-ring/focus-ring.scss +22 -0
- package/src/focus-ring/focus-ring.ts +83 -0
- package/src/focus-ring/index.ts +1 -0
- package/src/icon/icon.scss +19 -0
- package/src/icon/icon.ts +131 -111
- package/src/icon/p-icon.ts +0 -7
- package/src/index.ts +9 -3
- package/src/link/demo/index.html +34 -0
- package/src/link/link.scss +24 -0
- package/src/peacock-loader.ts +69 -55
- package/src/ripple/index.ts +1 -0
- package/src/ripple/ripple.ts +134 -0
- package/src/styles.d.ts +3 -1
- package/src/text/text.scss +48 -0
- package/src/utils.ts +72 -1
- package/tsconfig.json +23 -22
- package/assets/tokens.css +0 -522
- package/copyDesignFiles.js +0 -11
- package/custom-elements.md +0 -192
- package/dist/avatar-GQwWRGRw.js +0 -418
- package/dist/avatar-GQwWRGRw.js.map +0 -1
- package/dist/avatar-jfcIDB8G.js +0 -424
- package/dist/avatar-jfcIDB8G.js.map +0 -1
- package/dist/component/avatar.js +0 -92
- package/dist/component/avatar.js.map +0 -1
- package/dist/component/icon.js.map +0 -1
- package/dist/directive-CKEA2P55.js.map +0 -1
- package/dist/utils-CSwoJIcG.js +0 -171
- package/dist/utils-CSwoJIcG.js.map +0 -1
- package/dist/web-types.json +0 -78
- package/readme-gen.mjs +0 -24
- package/src/avatar/avatar.css.ts +0 -41
- package/src/badge/badge.css.ts +0 -33
- package/src/icon/icon.css.ts +0 -22
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { i, a as i$1, b } from './style-inject.es--nCJ9F_D.js';
|
|
2
|
+
|
|
3
|
+
class Ripple extends i$1 {
|
|
4
|
+
constructor() {
|
|
5
|
+
super(...arguments);
|
|
6
|
+
// Arrow function to bind 'this' automatically
|
|
7
|
+
this._createRipple = (event) => {
|
|
8
|
+
const parent = this.parentElement;
|
|
9
|
+
if (!parent)
|
|
10
|
+
return;
|
|
11
|
+
const rect = parent.getBoundingClientRect();
|
|
12
|
+
// 1. Calculate diameter (furthest corner)
|
|
13
|
+
const diameter = Math.max(rect.width, rect.height) * 2.5;
|
|
14
|
+
const radius = diameter / 2;
|
|
15
|
+
// 2. Calculate position relative to the parent
|
|
16
|
+
const x = event.clientX - rect.left;
|
|
17
|
+
const y = event.clientY - rect.top;
|
|
18
|
+
// 3. Create the ripple element
|
|
19
|
+
// We create this manually to avoid triggering a full Lit render cycle
|
|
20
|
+
// for a transient, fire-and-forget animation.
|
|
21
|
+
const ripple = document.createElement('div');
|
|
22
|
+
ripple.classList.add('ripple-effect');
|
|
23
|
+
ripple.style.width = `${diameter}px`;
|
|
24
|
+
ripple.style.height = `${diameter}px`;
|
|
25
|
+
ripple.style.left = `${x - radius}px`;
|
|
26
|
+
ripple.style.top = `${y - radius}px`;
|
|
27
|
+
// 4. Append to Shadow DOM
|
|
28
|
+
this.renderRoot.appendChild(ripple);
|
|
29
|
+
// 5. Cleanup
|
|
30
|
+
ripple.addEventListener('animationend', () => {
|
|
31
|
+
ripple.remove();
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
connectedCallback() {
|
|
36
|
+
super.connectedCallback();
|
|
37
|
+
// We defer slightly to ensure the parent DOM is ready
|
|
38
|
+
requestAnimationFrame(() => {
|
|
39
|
+
this._setupParent();
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
disconnectedCallback() {
|
|
43
|
+
super.disconnectedCallback();
|
|
44
|
+
if (this.parentElement) {
|
|
45
|
+
this.parentElement.removeEventListener('pointerdown', this._createRipple);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
_setupParent() {
|
|
49
|
+
const parent = this.parentElement;
|
|
50
|
+
if (!parent)
|
|
51
|
+
return;
|
|
52
|
+
// 1. Force parent to be relative so we can position absolutely inside it
|
|
53
|
+
const style = window.getComputedStyle(parent);
|
|
54
|
+
if (style.position === 'static') {
|
|
55
|
+
parent.style.position = 'relative';
|
|
56
|
+
}
|
|
57
|
+
// 2. Attach listener to the parent
|
|
58
|
+
parent.addEventListener('pointerdown', this._createRipple);
|
|
59
|
+
}
|
|
60
|
+
render() {
|
|
61
|
+
// No HTML needed in the template, we inject ripples dynamically
|
|
62
|
+
return b ``;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
Ripple.styles = i `
|
|
66
|
+
:host {
|
|
67
|
+
position: absolute;
|
|
68
|
+
inset: 0; /* top/left/bottom/right: 0 */
|
|
69
|
+
pointer-events: none; /* Let clicks pass through to parent */
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
border-radius: inherit; /* Inherit parent's rounded corners */
|
|
72
|
+
z-index: 0;
|
|
73
|
+
--ripple-state-opacity: 0;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
:host(:after) {
|
|
77
|
+
opacity: var(--ripple-state-opacity);
|
|
78
|
+
content: '';
|
|
79
|
+
pointer-events: none;
|
|
80
|
+
position: absolute;
|
|
81
|
+
|
|
82
|
+
background-color: #ffffff;
|
|
83
|
+
inset: 0;
|
|
84
|
+
transition:
|
|
85
|
+
opacity 15ms linear,
|
|
86
|
+
background-color 15ms linear;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.ripple-effect {
|
|
90
|
+
position: absolute;
|
|
91
|
+
background-color: currentColor;
|
|
92
|
+
opacity: 0.12; /* Material 3 State Layer Opacity */
|
|
93
|
+
transform: scale(0);
|
|
94
|
+
animation: ripple-anim 600ms linear forwards;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@keyframes ripple-anim {
|
|
98
|
+
to {
|
|
99
|
+
transform: scale(1);
|
|
100
|
+
opacity: 0;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
`;
|
|
104
|
+
|
|
105
|
+
export { Ripple as R };
|
|
106
|
+
//# sourceMappingURL=ripple-X3U_R8lT.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ripple-X3U_R8lT.js","sources":["../../src/ripple/ripple.ts"],"sourcesContent":["import { LitElement, html, css } from 'lit';\n\nexport class Ripple extends LitElement {\n static styles = css`\n :host {\n position: absolute;\n inset: 0; /* top/left/bottom/right: 0 */\n pointer-events: none; /* Let clicks pass through to parent */\n overflow: hidden;\n border-radius: inherit; /* Inherit parent's rounded corners */\n z-index: 0;\n --ripple-state-opacity: 0;\n }\n\n :host(:after) {\n opacity: var(--ripple-state-opacity);\n content: '';\n pointer-events: none;\n position: absolute;\n\n background-color: #ffffff;\n inset: 0;\n transition:\n opacity 15ms linear,\n background-color 15ms linear;\n }\n\n .ripple-effect {\n position: absolute;\n background-color: currentColor;\n opacity: 0.12; /* Material 3 State Layer Opacity */\n transform: scale(0);\n animation: ripple-anim 600ms linear forwards;\n }\n\n @keyframes ripple-anim {\n to {\n transform: scale(1);\n opacity: 0;\n }\n }\n `;\n\n connectedCallback() {\n super.connectedCallback();\n // We defer slightly to ensure the parent DOM is ready\n requestAnimationFrame(() => {\n this._setupParent();\n });\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n if (this.parentElement) {\n this.parentElement.removeEventListener('pointerdown', this._createRipple);\n }\n }\n\n _setupParent() {\n const parent = this.parentElement;\n if (!parent) return;\n\n // 1. Force parent to be relative so we can position absolutely inside it\n const style = window.getComputedStyle(parent);\n if (style.position === 'static') {\n parent.style.position = 'relative';\n }\n\n // 2. Attach listener to the parent\n parent.addEventListener('pointerdown', this._createRipple);\n }\n\n // Arrow function to bind 'this' automatically\n _createRipple = (event: PointerEvent) => {\n const parent = this.parentElement;\n if (!parent) return;\n\n const rect = parent.getBoundingClientRect();\n\n // 1. Calculate diameter (furthest corner)\n const diameter = Math.max(rect.width, rect.height) * 2.5;\n const radius = diameter / 2;\n\n // 2. Calculate position relative to the parent\n const x = event.clientX - rect.left;\n const y = event.clientY - rect.top;\n\n // 3. Create the ripple element\n // We create this manually to avoid triggering a full Lit render cycle\n // for a transient, fire-and-forget animation.\n const ripple = document.createElement('div');\n ripple.classList.add('ripple-effect');\n\n ripple.style.width = `${diameter}px`;\n ripple.style.height = `${diameter}px`;\n ripple.style.left = `${x - radius}px`;\n ripple.style.top = `${y - radius}px`;\n\n // 4. Append to Shadow DOM\n this.renderRoot.appendChild(ripple);\n\n // 5. Cleanup\n ripple.addEventListener('animationend', () => {\n ripple.remove();\n });\n };\n\n render() {\n // No HTML needed in the template, we inject ripples dynamically\n return html``;\n }\n}\n"],"names":["LitElement","html","css"],"mappings":";;AAEM,MAAO,MAAO,SAAQA,GAAU,CAAA;AAAtC,IAAA,WAAA,GAAA;;;AAuEE,QAAA,IAAA,CAAA,aAAa,GAAG,CAAC,KAAmB,KAAI;AACtC,YAAA,MAAM,MAAM,GAAG,IAAI,CAAC,aAAa;AACjC,YAAA,IAAI,CAAC,MAAM;gBAAE;AAEb,YAAA,MAAM,IAAI,GAAG,MAAM,CAAC,qBAAqB,EAAE;;AAG3C,YAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,GAAG;AACxD,YAAA,MAAM,MAAM,GAAG,QAAQ,GAAG,CAAC;;YAG3B,MAAM,CAAC,GAAG,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,IAAI;YACnC,MAAM,CAAC,GAAG,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,GAAG;;;;YAKlC,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC;AAC5C,YAAA,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,eAAe,CAAC;YAErC,MAAM,CAAC,KAAK,CAAC,KAAK,GAAG,CAAA,EAAG,QAAQ,IAAI;YACpC,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,CAAA,EAAG,QAAQ,IAAI;YACrC,MAAM,CAAC,KAAK,CAAC,IAAI,GAAG,GAAG,CAAC,GAAG,MAAM,CAAA,EAAA,CAAI;YACrC,MAAM,CAAC,KAAK,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,MAAM,CAAA,EAAA,CAAI;;AAGpC,YAAA,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,MAAM,CAAC;;AAGnC,YAAA,MAAM,CAAC,gBAAgB,CAAC,cAAc,EAAE,MAAK;gBAC3C,MAAM,CAAC,MAAM,EAAE;AACjB,YAAA,CAAC,CAAC;AACJ,QAAA,CAAC;IAMH;IApEE,iBAAiB,GAAA;QACf,KAAK,CAAC,iBAAiB,EAAE;;QAEzB,qBAAqB,CAAC,MAAK;YACzB,IAAI,CAAC,YAAY,EAAE;AACrB,QAAA,CAAC,CAAC;IACJ;IAEA,oBAAoB,GAAA;QAClB,KAAK,CAAC,oBAAoB,EAAE;AAC5B,QAAA,IAAI,IAAI,CAAC,aAAa,EAAE;YACtB,IAAI,CAAC,aAAa,CAAC,mBAAmB,CAAC,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;QAC3E;IACF;IAEA,YAAY,GAAA;AACV,QAAA,MAAM,MAAM,GAAG,IAAI,CAAC,aAAa;AACjC,QAAA,IAAI,CAAC,MAAM;YAAE;;QAGb,MAAM,KAAK,GAAG,MAAM,CAAC,gBAAgB,CAAC,MAAM,CAAC;AAC7C,QAAA,IAAI,KAAK,CAAC,QAAQ,KAAK,QAAQ,EAAE;AAC/B,YAAA,MAAM,CAAC,KAAK,CAAC,QAAQ,GAAG,UAAU;QACpC;;QAGA,MAAM,CAAC,gBAAgB,CAAC,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;IAC5D;IAqCA,MAAM,GAAA;;QAEJ,OAAOC,CAAI,CAAA,CAAA,CAAE;IACf;;AA3GO,MAAA,CAAA,MAAM,GAAGC,CAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsClB,EAAA,CAtCY;;;;"}
|
package/dist/ripple.js
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { i, a as i$1, b } from './lit-element-CkD27PXL.js';
|
|
2
|
+
|
|
3
|
+
class Ripple extends i$1 {
|
|
4
|
+
constructor() {
|
|
5
|
+
super(...arguments);
|
|
6
|
+
// Arrow function to bind 'this' automatically
|
|
7
|
+
this._createRipple = (event) => {
|
|
8
|
+
const parent = this.parentElement;
|
|
9
|
+
if (!parent)
|
|
10
|
+
return;
|
|
11
|
+
const rect = parent.getBoundingClientRect();
|
|
12
|
+
// 1. Calculate diameter (furthest corner)
|
|
13
|
+
const diameter = Math.max(rect.width, rect.height) * 2.5;
|
|
14
|
+
const radius = diameter / 2;
|
|
15
|
+
// 2. Calculate position relative to the parent
|
|
16
|
+
const x = event.clientX - rect.left;
|
|
17
|
+
const y = event.clientY - rect.top;
|
|
18
|
+
// 3. Create the ripple element
|
|
19
|
+
// We create this manually to avoid triggering a full Lit render cycle
|
|
20
|
+
// for a transient, fire-and-forget animation.
|
|
21
|
+
const ripple = document.createElement('div');
|
|
22
|
+
ripple.classList.add('ripple-effect');
|
|
23
|
+
ripple.style.width = `${diameter}px`;
|
|
24
|
+
ripple.style.height = `${diameter}px`;
|
|
25
|
+
ripple.style.left = `${x - radius}px`;
|
|
26
|
+
ripple.style.top = `${y - radius}px`;
|
|
27
|
+
// 4. Append to Shadow DOM
|
|
28
|
+
this.renderRoot.appendChild(ripple);
|
|
29
|
+
// 5. Cleanup
|
|
30
|
+
ripple.addEventListener('animationend', () => {
|
|
31
|
+
ripple.remove();
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
connectedCallback() {
|
|
36
|
+
super.connectedCallback();
|
|
37
|
+
// We defer slightly to ensure the parent DOM is ready
|
|
38
|
+
requestAnimationFrame(() => {
|
|
39
|
+
this._setupParent();
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
disconnectedCallback() {
|
|
43
|
+
super.disconnectedCallback();
|
|
44
|
+
if (this.parentElement) {
|
|
45
|
+
this.parentElement.removeEventListener('pointerdown', this._createRipple);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
_setupParent() {
|
|
49
|
+
const parent = this.parentElement;
|
|
50
|
+
if (!parent)
|
|
51
|
+
return;
|
|
52
|
+
// 1. Force parent to be relative so we can position absolutely inside it
|
|
53
|
+
const style = window.getComputedStyle(parent);
|
|
54
|
+
if (style.position === 'static') {
|
|
55
|
+
parent.style.position = 'relative';
|
|
56
|
+
}
|
|
57
|
+
// 2. Attach listener to the parent
|
|
58
|
+
parent.addEventListener('pointerdown', this._createRipple);
|
|
59
|
+
}
|
|
60
|
+
render() {
|
|
61
|
+
// No HTML needed in the template, we inject ripples dynamically
|
|
62
|
+
return b `<div class="ripple"></div>`;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
Ripple.styles = i `
|
|
66
|
+
:host {
|
|
67
|
+
position: absolute;
|
|
68
|
+
inset: 0; /* top/left/bottom/right: 0 */
|
|
69
|
+
pointer-events: none; /* Let clicks pass through to parent */
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
border-radius: inherit; /* Inherit parent's rounded corners */
|
|
72
|
+
z-index: 0;
|
|
73
|
+
--ripple-state-opacity: 0;
|
|
74
|
+
--ripple-pressed-color: var(--color-on-surface);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.ripple:before {
|
|
78
|
+
content: '';
|
|
79
|
+
opacity: var(--ripple-state-opacity);
|
|
80
|
+
pointer-events: none;
|
|
81
|
+
position: absolute;
|
|
82
|
+
|
|
83
|
+
background-color: var(--ripple-pressed-color);
|
|
84
|
+
inset: 0;
|
|
85
|
+
transition:
|
|
86
|
+
opacity 15ms linear,
|
|
87
|
+
background-color 15ms linear;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.ripple:after {
|
|
91
|
+
content: '';
|
|
92
|
+
opacity: var(--ripple-state-opacity);
|
|
93
|
+
pointer-events: none;
|
|
94
|
+
position: absolute;
|
|
95
|
+
background: radial-gradient(
|
|
96
|
+
closest-side,
|
|
97
|
+
var(--ripple-pressed-color) max(100% - 70px, 65%),
|
|
98
|
+
transparent 100%
|
|
99
|
+
);
|
|
100
|
+
transform-origin: center center;
|
|
101
|
+
transition: opacity 375ms linear;
|
|
102
|
+
|
|
103
|
+
width: 25px;
|
|
104
|
+
top: 0px;
|
|
105
|
+
transform: translate(51.4375px, 7.5px) scale(8.75941);
|
|
106
|
+
left: 0px;
|
|
107
|
+
height: 25px;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.ripple-effect {
|
|
111
|
+
position: absolute;
|
|
112
|
+
border-radius: 50%;
|
|
113
|
+
background-color: var(--ripple-pressed-color);
|
|
114
|
+
opacity: 0.12; /* Material 3 State Layer Opacity */
|
|
115
|
+
transform: scale(0);
|
|
116
|
+
animation: ripple-anim 600ms linear forwards;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@keyframes ripple-anim {
|
|
120
|
+
to {
|
|
121
|
+
transform: scale(1);
|
|
122
|
+
opacity: 0;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
`;
|
|
126
|
+
|
|
127
|
+
export { Ripple };
|
|
128
|
+
//# sourceMappingURL=ripple.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ripple.js","sources":["../../src/ripple/ripple.ts"],"sourcesContent":["import { LitElement, html, css } from 'lit';\n\nexport class Ripple extends LitElement {\n static styles = css`\n :host {\n position: absolute;\n inset: 0; /* top/left/bottom/right: 0 */\n pointer-events: none; /* Let clicks pass through to parent */\n overflow: hidden;\n border-radius: inherit; /* Inherit parent's rounded corners */\n z-index: 0;\n --ripple-state-opacity: 0;\n --ripple-pressed-color: var(--color-on-surface);\n }\n\n .ripple:before {\n content: '';\n opacity: var(--ripple-state-opacity);\n pointer-events: none;\n position: absolute;\n\n background-color: var(--ripple-pressed-color);\n inset: 0;\n transition:\n opacity 15ms linear,\n background-color 15ms linear;\n }\n\n .ripple:after {\n content: '';\n opacity: var(--ripple-state-opacity);\n pointer-events: none;\n position: absolute;\n background: radial-gradient(\n closest-side,\n var(--ripple-pressed-color) max(100% - 70px, 65%),\n transparent 100%\n );\n transform-origin: center center;\n transition: opacity 375ms linear;\n\n width: 25px;\n top: 0px;\n transform: translate(51.4375px, 7.5px) scale(8.75941);\n left: 0px;\n height: 25px;\n }\n\n .ripple-effect {\n position: absolute;\n border-radius: 50%;\n background-color: var(--ripple-pressed-color);\n opacity: 0.12; /* Material 3 State Layer Opacity */\n transform: scale(0);\n animation: ripple-anim 600ms linear forwards;\n }\n\n @keyframes ripple-anim {\n to {\n transform: scale(1);\n opacity: 0;\n }\n }\n `;\n\n connectedCallback() {\n super.connectedCallback();\n // We defer slightly to ensure the parent DOM is ready\n requestAnimationFrame(() => {\n this._setupParent();\n });\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n if (this.parentElement) {\n this.parentElement.removeEventListener('pointerdown', this._createRipple);\n }\n }\n\n _setupParent() {\n const parent = this.parentElement;\n if (!parent) return;\n\n // 1. Force parent to be relative so we can position absolutely inside it\n const style = window.getComputedStyle(parent);\n if (style.position === 'static') {\n parent.style.position = 'relative';\n }\n\n // 2. Attach listener to the parent\n parent.addEventListener('pointerdown', this._createRipple);\n }\n\n // Arrow function to bind 'this' automatically\n _createRipple = (event: PointerEvent) => {\n const parent = this.parentElement;\n if (!parent) return;\n\n const rect = parent.getBoundingClientRect();\n\n // 1. Calculate diameter (furthest corner)\n const diameter = Math.max(rect.width, rect.height) * 2.5;\n const radius = diameter / 2;\n\n // 2. Calculate position relative to the parent\n const x = event.clientX - rect.left;\n const y = event.clientY - rect.top;\n\n // 3. Create the ripple element\n // We create this manually to avoid triggering a full Lit render cycle\n // for a transient, fire-and-forget animation.\n const ripple = document.createElement('div');\n ripple.classList.add('ripple-effect');\n\n ripple.style.width = `${diameter}px`;\n ripple.style.height = `${diameter}px`;\n ripple.style.left = `${x - radius}px`;\n ripple.style.top = `${y - radius}px`;\n\n // 4. Append to Shadow DOM\n this.renderRoot.appendChild(ripple);\n\n // 5. Cleanup\n ripple.addEventListener('animationend', () => {\n ripple.remove();\n });\n };\n\n render() {\n // No HTML needed in the template, we inject ripples dynamically\n return html`<div class=\"ripple\"></div>`;\n }\n}\n"],"names":["LitElement","html","css"],"mappings":";;AAEM,MAAO,MAAO,SAAQA,GAAU,CAAA;AAAtC,IAAA,WAAA,GAAA;;;AA6FE,QAAA,IAAA,CAAA,aAAa,GAAG,CAAC,KAAmB,KAAI;AACtC,YAAA,MAAM,MAAM,GAAG,IAAI,CAAC,aAAa;AACjC,YAAA,IAAI,CAAC,MAAM;gBAAE;AAEb,YAAA,MAAM,IAAI,GAAG,MAAM,CAAC,qBAAqB,EAAE;;AAG3C,YAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,GAAG;AACxD,YAAA,MAAM,MAAM,GAAG,QAAQ,GAAG,CAAC;;YAG3B,MAAM,CAAC,GAAG,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,IAAI;YACnC,MAAM,CAAC,GAAG,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,GAAG;;;;YAKlC,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC;AAC5C,YAAA,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,eAAe,CAAC;YAErC,MAAM,CAAC,KAAK,CAAC,KAAK,GAAG,CAAA,EAAG,QAAQ,IAAI;YACpC,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,CAAA,EAAG,QAAQ,IAAI;YACrC,MAAM,CAAC,KAAK,CAAC,IAAI,GAAG,GAAG,CAAC,GAAG,MAAM,CAAA,EAAA,CAAI;YACrC,MAAM,CAAC,KAAK,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,MAAM,CAAA,EAAA,CAAI;;AAGpC,YAAA,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,MAAM,CAAC;;AAGnC,YAAA,MAAM,CAAC,gBAAgB,CAAC,cAAc,EAAE,MAAK;gBAC3C,MAAM,CAAC,MAAM,EAAE;AACjB,YAAA,CAAC,CAAC;AACJ,QAAA,CAAC;IAMH;IApEE,iBAAiB,GAAA;QACf,KAAK,CAAC,iBAAiB,EAAE;;QAEzB,qBAAqB,CAAC,MAAK;YACzB,IAAI,CAAC,YAAY,EAAE;AACrB,QAAA,CAAC,CAAC;IACJ;IAEA,oBAAoB,GAAA;QAClB,KAAK,CAAC,oBAAoB,EAAE;AAC5B,QAAA,IAAI,IAAI,CAAC,aAAa,EAAE;YACtB,IAAI,CAAC,aAAa,CAAC,mBAAmB,CAAC,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;QAC3E;IACF;IAEA,YAAY,GAAA;AACV,QAAA,MAAM,MAAM,GAAG,IAAI,CAAC,aAAa;AACjC,QAAA,IAAI,CAAC,MAAM;YAAE;;QAGb,MAAM,KAAK,GAAG,MAAM,CAAC,gBAAgB,CAAC,MAAM,CAAC;AAC7C,QAAA,IAAI,KAAK,CAAC,QAAQ,KAAK,QAAQ,EAAE;AAC/B,YAAA,MAAM,CAAC,KAAK,CAAC,QAAQ,GAAG,UAAU;QACpC;;QAGA,MAAM,CAAC,gBAAgB,CAAC,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;IAC5D;IAqCA,MAAM,GAAA;;QAEJ,OAAOC,CAAI,CAAA,CAAA,0BAAA,CAA4B;IACzC;;AAjIO,MAAA,CAAA,MAAM,GAAGC,CAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DlB,EAAA,CA5DY;;;;"}
|
|
@@ -1,6 +1,25 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* @label Avatar
|
|
4
|
+
* @tag p-avatar
|
|
5
|
+
* @rawTag avatar
|
|
6
|
+
* @summary The Avatar component is used to represent user, and displays the profile picture, initials or fallback icon.
|
|
7
|
+
*
|
|
8
|
+
* @cssprop --avatar-border-radius - Controls the border radius of the avatar.
|
|
9
|
+
* @cssprop --avatar-background-color - Controls the color of the avatar.
|
|
10
|
+
* @cssprop --avatar-size - Controls the size of the avatar.
|
|
11
|
+
* @cssprop --avatar-text-color - Controls the color of the text inside the avatar.
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```html
|
|
16
|
+
* <p-avatar name="Shivaji Varma" src="https://peacock.redvars.com/assets/img/avatar.webp"></p-avatar>
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* @tags display
|
|
20
|
+
*/
|
|
2
21
|
export declare class Avatar extends LitElement {
|
|
3
|
-
static styles: import("lit").
|
|
22
|
+
static styles: import("lit").CSSResultGroup[];
|
|
4
23
|
name: string;
|
|
5
24
|
src?: string;
|
|
6
25
|
render(): import("lit-html").TemplateResult<1>;
|
|
@@ -1,10 +1,3 @@
|
|
|
1
1
|
import { Avatar } from './avatar.js';
|
|
2
|
-
/**
|
|
3
|
-
* @summary The Avatar component is used to represent user, and displays the profile picture, initials or fallback icon.
|
|
4
|
-
*
|
|
5
|
-
* @cssprop --avatar-background-color - Controls the color of the avatar.
|
|
6
|
-
* @cssprop --avatar-size - Controls the size of the avatar.
|
|
7
|
-
* @cssprop --avatar-text-color - Controls the color of the text inside the avatar.
|
|
8
|
-
*/
|
|
9
2
|
export declare class PAvatar extends Avatar {
|
|
10
3
|
}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* @label Badge
|
|
4
|
+
* @tag p-badge
|
|
5
|
+
* @rawTag badge
|
|
6
|
+
* @summary The badge component is used to display a small amount of information to the user.
|
|
7
|
+
*
|
|
8
|
+
* @cssprop --badge-color - Controls the color of the badge.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```html
|
|
12
|
+
* <p-badge>1</p-badge>
|
|
13
|
+
* ```
|
|
14
|
+
* @tags display
|
|
15
|
+
*/
|
|
2
16
|
export declare class Badge extends LitElement {
|
|
3
|
-
|
|
4
|
-
static styles: import("lit").CSSResult[];
|
|
17
|
+
static styles: import("lit").CSSResultGroup[];
|
|
5
18
|
name: string;
|
|
6
19
|
src?: string;
|
|
7
20
|
slotHasContent: boolean;
|
|
21
|
+
firstUpdated(): void;
|
|
8
22
|
render(): import("lit-html").TemplateResult<1>;
|
|
9
23
|
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* @label Button
|
|
4
|
+
* @tag p-button
|
|
5
|
+
* @rawTag button
|
|
6
|
+
*
|
|
7
|
+
* @summary Buttons help people initiate actions, from sending an email, to sharing a document, to liking a post.
|
|
8
|
+
* @overview
|
|
9
|
+
* <p>Buttons are clickable elements that are used to trigger actions. They communicate calls to action to the user and allow users to interact with pages in a variety of ways. Button labels express what action will occur when the user interacts with it.</p>
|
|
10
|
+
*
|
|
11
|
+
* @cssprop --divider-color - Controls the color of the divider.
|
|
12
|
+
* @cssprop --divider-padding - Controls the padding of the divider.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```html
|
|
16
|
+
* <pc-button>Button</pc-button>
|
|
17
|
+
* ```
|
|
18
|
+
* @tags display
|
|
19
|
+
*/
|
|
20
|
+
export declare class Button extends LitElement {
|
|
21
|
+
#private;
|
|
22
|
+
static styles: import("lit").CSSResultGroup[];
|
|
23
|
+
private readonly buttonElement;
|
|
24
|
+
htmlType: 'button' | 'submit' | 'reset';
|
|
25
|
+
/**
|
|
26
|
+
* The visual style of the button.
|
|
27
|
+
*
|
|
28
|
+
* Possible variant values:
|
|
29
|
+
* `"filled"` is a filled button.
|
|
30
|
+
* `"outlined"` is an outlined button.
|
|
31
|
+
* `"text"` is a transparent button.
|
|
32
|
+
* `"tonal"` is a light color button.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
variant: 'elevated' | 'filled' | 'tonal' | 'outlined' | 'text' | 'neo';
|
|
36
|
+
/**
|
|
37
|
+
* Button size.
|
|
38
|
+
* Possible values are `"sm"`, `"md"`, `"lg"`. Defaults to `"md"`.
|
|
39
|
+
*/
|
|
40
|
+
size: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
41
|
+
/**
|
|
42
|
+
* If true, the user cannot interact with the button. Defaults to `false`.
|
|
43
|
+
*/
|
|
44
|
+
disabled: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* If true, the user cannot interact with the button and the button is visually styled as disabled. But the button is still focusable. Defaults to `false`.
|
|
47
|
+
*/
|
|
48
|
+
softDisabled: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* If button is disabled, the reason why it is disabled.
|
|
51
|
+
*/
|
|
52
|
+
disabledReason: string;
|
|
53
|
+
/**
|
|
54
|
+
* Defines the primary color of the button. This can be set to predefined color names to apply specific color themes.
|
|
55
|
+
*/
|
|
56
|
+
color: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'white' | 'black';
|
|
57
|
+
/**
|
|
58
|
+
* Icon alignment.
|
|
59
|
+
* Possible values are `"start"`, `"end"`. Defaults to `"end"`.
|
|
60
|
+
*/
|
|
61
|
+
iconAlign: 'start' | 'end';
|
|
62
|
+
/**
|
|
63
|
+
* Hyperlink to navigate to on click.
|
|
64
|
+
*/
|
|
65
|
+
href?: string;
|
|
66
|
+
configAria?: {
|
|
67
|
+
[key: string]: any;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Sets or retrieves the window or frame at which to target content.
|
|
71
|
+
*/
|
|
72
|
+
target: string;
|
|
73
|
+
selected: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Sets the delay for throttle in milliseconds. Defaults to 200 milliseconds.
|
|
76
|
+
*/
|
|
77
|
+
throttleDelay: number;
|
|
78
|
+
/**
|
|
79
|
+
* States
|
|
80
|
+
*/
|
|
81
|
+
private isPressed;
|
|
82
|
+
private slotHasContent;
|
|
83
|
+
focus(): void;
|
|
84
|
+
blur(): void;
|
|
85
|
+
connectedCallback(): void;
|
|
86
|
+
disconnectedCallback(): void;
|
|
87
|
+
firstUpdated(): void;
|
|
88
|
+
private __dispatchClickWithThrottle;
|
|
89
|
+
__dispatchClick: (event: MouseEvent | KeyboardEvent) => void;
|
|
90
|
+
__renderDisabledReason(): import("lit-html").TemplateResult<1> | null;
|
|
91
|
+
__handlePress: (event: KeyboardEvent | MouseEvent) => void;
|
|
92
|
+
private __isLink;
|
|
93
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
94
|
+
getVariant(): {
|
|
95
|
+
variant: string;
|
|
96
|
+
subVariant: string | undefined;
|
|
97
|
+
};
|
|
98
|
+
renderButtonContent(): import("lit-html").TemplateResult<1>;
|
|
99
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Button } from './button.js';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactiveController, ReactiveControllerHost } from 'lit';
|
|
2
|
+
export declare class ClockController implements ReactiveController {
|
|
3
|
+
host: ReactiveControllerHost;
|
|
4
|
+
value: Date;
|
|
5
|
+
timeout: number;
|
|
6
|
+
private _timerID?;
|
|
7
|
+
constructor(host: ReactiveControllerHost, timeout?: number);
|
|
8
|
+
hostConnected(): void;
|
|
9
|
+
hostDisconnected(): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { ClockController } from './ClockController.js';
|
|
3
|
+
/**
|
|
4
|
+
* @label Clock
|
|
5
|
+
* @tag p-clock
|
|
6
|
+
* @rawTag clock
|
|
7
|
+
*
|
|
8
|
+
* @summary Displays the current time in a given timezone.
|
|
9
|
+
* @overview
|
|
10
|
+
* - Clocks are used to display the current time in a specified timezone.
|
|
11
|
+
* - They can be displayed in various formats, including 12-hour and 24-hour time.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```html
|
|
15
|
+
* <p-clock></p-clock>
|
|
16
|
+
* ```
|
|
17
|
+
* @tags display
|
|
18
|
+
*/
|
|
19
|
+
export declare class Clock extends LitElement {
|
|
20
|
+
static styles: import("lit").CSSResultGroup[];
|
|
21
|
+
clockController: ClockController;
|
|
22
|
+
timezone?: string;
|
|
23
|
+
__formatDate(date: Date): string;
|
|
24
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Clock } from './clock.js';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* @label Code Highlighter
|
|
4
|
+
* @tag p-code-highlighter
|
|
5
|
+
* @rawTag code-highlighter
|
|
6
|
+
*
|
|
7
|
+
* @summary The code highlighter component is used to display code snippets with syntax highlighting.
|
|
8
|
+
* @overview
|
|
9
|
+
* <p>The <strong>Code Highlighter</strong> component allows you to display code snippets with syntax highlighting for various programming languages. It supports features like line numbers, code formatting, and a copy-to-clipboard button.</p>
|
|
10
|
+
*
|
|
11
|
+
* @cssprop --divider-color - Controls the color of the divider.
|
|
12
|
+
* @cssprop --divider-padding - Controls the padding of the divider.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```html
|
|
16
|
+
* <p-divider style="width: 12rem;">or</p-divider>
|
|
17
|
+
* ```
|
|
18
|
+
* @tags display
|
|
19
|
+
*/
|
|
20
|
+
export declare class CodeHighlighter extends LitElement {
|
|
21
|
+
static styles: import("lit").CSSResultGroup[];
|
|
22
|
+
vertical: boolean;
|
|
23
|
+
slotHasContent: boolean;
|
|
24
|
+
firstUpdated(): void;
|
|
25
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CodeHighlighter } from './code-highlighter.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* @label Divider
|
|
4
|
+
* @tag p-divider
|
|
5
|
+
* @rawTag divider
|
|
6
|
+
*
|
|
7
|
+
* @summary The divider component is used to visually separate content.
|
|
8
|
+
* @overview
|
|
9
|
+
* - Dividers are used to separate content into clear groups, making it easier for users to scan and understand the information presented.
|
|
10
|
+
* - They can be oriented either vertically or horizontally, depending on the layout requirements.
|
|
11
|
+
*
|
|
12
|
+
* @cssprop --divider-color - Controls the color of the divider.
|
|
13
|
+
* @cssprop --divider-padding - Controls the padding of the divider.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```html
|
|
17
|
+
* <p-divider style="width: 12rem;">or</p-divider>
|
|
18
|
+
* ```
|
|
19
|
+
* @tags display
|
|
20
|
+
*/
|
|
21
|
+
export declare class Divider extends LitElement {
|
|
22
|
+
static styles: import("lit").CSSResultGroup[];
|
|
23
|
+
vertical: boolean;
|
|
24
|
+
slotHasContent: boolean;
|
|
25
|
+
firstUpdated(): void;
|
|
26
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Divider } from './divider.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* @label Elevation
|
|
4
|
+
* @tag p-elevation
|
|
5
|
+
* @rawTag elevation
|
|
6
|
+
*
|
|
7
|
+
* @summary Adds elevation to an element.
|
|
8
|
+
* @overview
|
|
9
|
+
* - Elevation adds a shadow effect to an element to give it depth.
|
|
10
|
+
* - It can be used to create a sense of hierarchy or to draw attention to a particular element.
|
|
11
|
+
*
|
|
12
|
+
* @cssprop --elevation-level - Controls the elevation level of the shadow.
|
|
13
|
+
* @cssprop --elevation-color - Controls the color of the shadow.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```html
|
|
17
|
+
* <div style="position: relative; padding: var(--spacing-200); border-radius: var(--shape-corner-small);">
|
|
18
|
+
* <p-elevation style='--elevation-level: 2'></p-elevation>
|
|
19
|
+
* Level 2
|
|
20
|
+
* </div>
|
|
21
|
+
* ```
|
|
22
|
+
* @tags display
|
|
23
|
+
*/
|
|
24
|
+
export declare class Elevation extends LitElement {
|
|
25
|
+
static styles: import("lit").CSSResultGroup[];
|
|
26
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Elevation } from './elevation.js';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactiveController, ReactiveControllerHost } from 'lit';
|
|
2
|
+
export declare class FocusAttachableController implements ReactiveController {
|
|
3
|
+
host: ReactiveControllerHost;
|
|
4
|
+
getControlElement: () => HTMLElement;
|
|
5
|
+
visible: boolean;
|
|
6
|
+
constructor(host: ReactiveControllerHost, getControlElement: () => HTMLElement);
|
|
7
|
+
hostConnected(): void;
|
|
8
|
+
hostDisconnected(): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* @label Elevation
|
|
4
|
+
* @tag p-elevation
|
|
5
|
+
* @rawTag elevation
|
|
6
|
+
*
|
|
7
|
+
* @summary Adds elevation to an element.
|
|
8
|
+
* @overview
|
|
9
|
+
* - Elevation adds a shadow effect to an element to give it depth.
|
|
10
|
+
* - It can be used to create a sense of hierarchy or to draw attention to a particular element.
|
|
11
|
+
*
|
|
12
|
+
* @cssprop --elevation-level - Controls the elevation level of the shadow.
|
|
13
|
+
* @cssprop --elevation-color - Controls the color of the shadow.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```html
|
|
17
|
+
* <div style="position: relative; padding: var(--spacing-200); border-radius: var(--shape-corner-small);">
|
|
18
|
+
* <p-elevation style='--elevation-level: 2'></p-elevation>
|
|
19
|
+
* Level 2
|
|
20
|
+
* </div>
|
|
21
|
+
* ```
|
|
22
|
+
* @tags display
|
|
23
|
+
*/
|
|
24
|
+
export declare class FocusRing extends LitElement {
|
|
25
|
+
static styles: import("lit").CSSResultGroup[];
|
|
26
|
+
visible: boolean;
|
|
27
|
+
render(): symbol;
|
|
28
|
+
_control?: HTMLElement;
|
|
29
|
+
get control(): HTMLElement | null;
|
|
30
|
+
set control(control: HTMLElement | null);
|
|
31
|
+
connectedCallback(): void;
|
|
32
|
+
disconnectedCallback(): void;
|
|
33
|
+
attach(): void;
|
|
34
|
+
detach(): void;
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FocusRing } from './focus-ring.js';
|