UNPKG

@workday/canvas-kit-react

Version:

The parent module that contains all Workday Canvas Kit React components

17 lines (16 loc) 975 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CheckboxRipple = void 0; const jsx_runtime_1 = require("react/jsx-runtime"); const common_1 = require("@workday/canvas-kit-react/common"); const canvas_kit_styling_1 = require("@workday/canvas-kit-styling"); const canvas_tokens_web_1 = require("@workday/canvas-tokens-web"); const checkboxRippleStencil = (0, canvas_kit_styling_1.createStencil)({ base: { name: "3xvwjp", styles: "box-sizing:border-box;border-radius:var(--cnvs-sys-shape-round);box-shadow:none;height:calc(var(--cnvs-sys-space-x4) + 0.125rem);width:calc(var(--cnvs-sys-space-x4) + 0.125rem);transition:box-shadow 150ms ease-out;position:absolute;pointer-events:none;" } }, "checkbox-ripple-976d47"); exports.CheckboxRipple = (0, common_1.createComponent)('span')({ displayName: 'CheckboxRipple', Component: elemProps => { return (0, jsx_runtime_1.jsx)("span", { ...checkboxRippleStencil() }); }, });