@pluralsight/react
Advanced tools
@@ -6,5 +6,17 @@ export { Admonition as unsafe_Admonition, AdmonitionHeading as unsafe_AdmonitionHeading, AdmonitionText as unsafe_AdmonitionText } from './src/components/Admonition.js'; | ||
export { CircularProgress as unsafe_CircularProgress } from './src/components/CircularProgress.js'; | ||
export { ErrorMessage as unsafe_ErrorMessage } from './src/components/ErrorMessage.js'; | ||
export { FieldMessage as unsafe_FieldMessage } from './src/components/FieldMessage.js'; | ||
export { Grid as unsafe_Grid, GridItem as unsafe_GridItem } from './src/components/Grid.js'; | ||
export { Icon as unsafe_Icon } from './src/components/Icon.js'; | ||
export { IconButton as unsafe_IconButton } from './src/components/IconButton.js'; | ||
export { Input as unsafe_Input } from './src/components/Input.js'; | ||
export { Label as unsafe_Label } from './src/components/Label.js'; | ||
export { ProgressBar as unsafe_ProgressBar } from './src/components/ProgressBar.js'; | ||
export { Show as unsafe_Show } from './src/components/Show.js'; | ||
export { Skeleton as unsafe_Skeleton } from './src/components/Skeleton.js'; | ||
export { Caption as unsafe_Caption, TBody as unsafe_TBody, TD as unsafe_TD, TH as unsafe_TH, THead as unsafe_THead, TR as unsafe_TR, Table as unsafe_Table } from './src/components/Table.js'; | ||
export { Tag as unsafe_Tag } from './src/components/Tag.js'; | ||
export { TextLink as unsafe_TextLink } from './src/components/TextLink.js'; | ||
export { FormControlProvider as unsafe_FormControlProvider, useFormControl as unsafe_useFormControl } from './src/context/FormControl.js'; | ||
export { useTheme } from '@pluralsight/react-utils'; | ||
//# sourceMappingURL=index.js.map |
@@ -10,4 +10,16 @@ 'use strict'; | ||
const CircularProgress = require('./src/components/CircularProgress.js'); | ||
const ErrorMessage = require('./src/components/ErrorMessage.js'); | ||
const FieldMessage = require('./src/components/FieldMessage.js'); | ||
const Grid = require('./src/components/Grid.js'); | ||
const Icon = require('./src/components/Icon.js'); | ||
const IconButton = require('./src/components/IconButton.js'); | ||
const Input = require('./src/components/Input.js'); | ||
const Label = require('./src/components/Label.js'); | ||
const ProgressBar = require('./src/components/ProgressBar.js'); | ||
const Show = require('./src/components/Show.js'); | ||
const Skeleton = require('./src/components/Skeleton.js'); | ||
const Table = require('./src/components/Table.js'); | ||
const Tag = require('./src/components/Tag.js'); | ||
const TextLink = require('./src/components/TextLink.js'); | ||
const FormControl = require('./src/context/FormControl.js'); | ||
const reactUtils = require('@pluralsight/react-utils'); | ||
@@ -24,4 +36,24 @@ | ||
exports.unsafe_CircularProgress = CircularProgress.CircularProgress; | ||
exports.unsafe_ErrorMessage = ErrorMessage.ErrorMessage; | ||
exports.unsafe_FieldMessage = FieldMessage.FieldMessage; | ||
exports.unsafe_Grid = Grid.Grid; | ||
exports.unsafe_GridItem = Grid.GridItem; | ||
exports.unsafe_Icon = Icon.Icon; | ||
exports.unsafe_IconButton = IconButton.IconButton; | ||
exports.unsafe_Input = Input.Input; | ||
exports.unsafe_Label = Label.Label; | ||
exports.unsafe_ProgressBar = ProgressBar.ProgressBar; | ||
exports.unsafe_Show = Show.Show; | ||
exports.unsafe_Skeleton = Skeleton.Skeleton; | ||
exports.unsafe_Caption = Table.Caption; | ||
exports.unsafe_TBody = Table.TBody; | ||
exports.unsafe_TD = Table.TD; | ||
exports.unsafe_TH = Table.TH; | ||
exports.unsafe_THead = Table.THead; | ||
exports.unsafe_TR = Table.TR; | ||
exports.unsafe_Table = Table.Table; | ||
exports.unsafe_Tag = Tag.Tag; | ||
exports.unsafe_TextLink = TextLink.TextLink; | ||
exports.unsafe_FormControlProvider = FormControl.FormControlProvider; | ||
exports.unsafe_useFormControl = FormControl.useFormControl; | ||
Object.defineProperty(exports, 'useTheme', { | ||
@@ -28,0 +60,0 @@ enumerable: true, |
@@ -1,7 +0,7 @@ | ||
import { type HTMLAttributes, type ElementType } from 'react'; | ||
import { type HTMLAttributes } from 'react'; | ||
import type { BadgeOptions } from '@pluralsight/headless-styles/types'; | ||
interface BadgeProps extends BadgeOptions, HTMLAttributes<HTMLSpanElement> { | ||
icon?: ElementType; | ||
import type { UsesIconProps } from './shared/types.ts'; | ||
interface BadgeProps extends BadgeOptions, UsesIconProps, HTMLAttributes<HTMLSpanElement> { | ||
} | ||
export declare const Badge: import("react").ForwardRefExoticComponent<BadgeProps & import("react").RefAttributes<HTMLSpanElement>>; | ||
export {}; |
@@ -6,4 +6,16 @@ export { Admonition, AdmonitionHeading, AdmonitionText, } from './components/Admonition.tsx'; | ||
export { CircularProgress } from './components/CircularProgress.tsx'; | ||
export { ErrorMessage } from './components/ErrorMessage.tsx'; | ||
export { FieldMessage } from './components/FieldMessage.tsx'; | ||
export { Grid, GridItem } from './components/Grid.tsx'; | ||
export { Icon } from './components/Icon.tsx'; | ||
export { IconButton } from './components/IconButton.tsx'; | ||
export { Input } from './components/Input.tsx'; | ||
export { Label } from './components/Label.tsx'; | ||
export { ProgressBar } from './components/ProgressBar.tsx'; | ||
export { Show } from './components/Show.tsx'; | ||
export { Skeleton } from './components/Skeleton.tsx'; | ||
export { Table, TBody, Caption, THead, TH, TR, TD, } from './components/Table.tsx'; | ||
export { Tag } from './components/Tag.tsx'; | ||
export { TextLink } from './components/TextLink.tsx'; | ||
export { FormControlProvider, useFormControl } from './context/FormControl.tsx'; | ||
export { useTheme } from '@pluralsight/react-utils'; |
{ | ||
"name": "@pluralsight/react", | ||
"version": "0.4.1-next-e734b7", | ||
"version": "0.4.1-next-e7ef77", | ||
"description": "A React component library for Pando.", | ||
@@ -19,3 +19,3 @@ "main": "npm/node/index.js", | ||
"import": "./src/index.ts", | ||
"types": "./src/types/src/index.d.ts" | ||
"types": "./src/types.d.ts" | ||
} | ||
@@ -52,7 +52,11 @@ }, | ||
"dependencies": { | ||
"@pluralsight/headless-styles": "0.4.1-next-5f1cec", | ||
"@pluralsight/icons": "0.4.1-next-5f1cec", | ||
"@pluralsight/react-utils": "0.4.1-next-5f1cec", | ||
"@pluralsight/react-utils": "0.4.1-next-842340", | ||
"tslib": "latest" | ||
}, | ||
"peerDependencies": { | ||
"@pluralsight/headless-styles": "*", | ||
"@pluralsight/icons": "*", | ||
"react": "*", | ||
"react-dom": "*" | ||
}, | ||
"devDependencies": { | ||
@@ -64,10 +68,12 @@ "@babel/core": "^7.21.5", | ||
"@babel/runtime": "^7.20.13", | ||
"@pluralsight/headless-styles": "0.4.1-next-842340", | ||
"@pluralsight/icons": "0.4.1-next-842340", | ||
"@rollup/plugin-alias": "^5.0.0", | ||
"@rollup/plugin-babel": "^6.0.3", | ||
"@rollup/plugin-commonjs": "^23.0.0", | ||
"@rollup/plugin-commonjs": "^25.0.0", | ||
"@rollup/plugin-node-resolve": "^15.0.2", | ||
"@rollup/plugin-replace": "^5.0.0", | ||
"@testing-library/dom": "^8.17.1", | ||
"@testing-library/dom": "^9.3.0", | ||
"@testing-library/jest-dom": "^5.16.5", | ||
"@testing-library/react": "^13.3.0", | ||
"@testing-library/react": "^14.0.0", | ||
"@testing-library/user-event": "^14.4.3", | ||
@@ -78,3 +84,3 @@ "@types/babel__core": "latest", | ||
"@types/jest": "^29.2.5", | ||
"@types/node": "^18.11.18", | ||
"@types/node": "^20.1.7", | ||
"@types/react": "latest", | ||
@@ -85,2 +91,3 @@ "@types/react-dom": "latest", | ||
"@typescript-eslint/parser": "^5.59.2", | ||
"core-js": "^3.30.2", | ||
"eslint": "^8.39.0", | ||
@@ -101,8 +108,4 @@ "eslint-import-resolver-typescript": "^3.5.5", | ||
"rollup-plugin-node-externals": "^6.0.1", | ||
"typescript": "5.0.2" | ||
"typescript": "5.0.4" | ||
}, | ||
"peerDependencies": { | ||
"react": "*", | ||
"react-dom": "*" | ||
}, | ||
"keywords": [ | ||
@@ -109,0 +112,0 @@ "pluralsight", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
362687
48.47%109
127.08%2226
85.19%43
7.5%