UNPKG

@workday/canvas-kit-react

Version:

The parent module that contains all Workday Canvas Kit React components

27 lines (26 loc) 1.64 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ListItem = exports.paginationListItemStencil = exports.List = exports.paginationListStencil = 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 layout_1 = require("@workday/canvas-kit-react/layout"); const canvas_tokens_web_1 = require("@workday/canvas-tokens-web"); exports.paginationListStencil = (0, canvas_kit_styling_1.createStencil)({ base: { name: "370s36", styles: "box-sizing:border-box;display:flex;margin-block:var(--cnvs-sys-space-zero);margin-inline:var(--cnvs-sys-space-zero);padding:var(--cnvs-sys-space-zero);list-style:none;" } }, "pagination-list-95ee94"); exports.List = (0, common_1.createComponent)('ul')({ displayName: 'List', Component: ({ children, ...elemProps }, ref, Element) => { return ((0, jsx_runtime_1.jsx)(Element, { ref: ref, ...(0, layout_1.mergeStyles)(elemProps, (0, exports.paginationListStencil)()), children: children })); }, }); exports.paginationListItemStencil = (0, canvas_kit_styling_1.createStencil)({ base: { name: "nfkpm", styles: "box-sizing:border-box;display:flex;" } }, "pagination-list-item-657bcc"); exports.ListItem = (0, common_1.createComponent)('li')({ displayName: 'ListItem', Component: ({ children, ...elemProps }, ref, Element) => { return ((0, jsx_runtime_1.jsx)(Element, { ref: ref, ...(0, layout_1.mergeStyles)(elemProps, (0, exports.paginationListItemStencil)()), children: children })); }, });