@pantheon-systems/pds-toolkit-react 2.0.0-alpha.35 → 2.0.0-alpha.36
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/codemods/v1-to-v2/mappings.json +24 -1
- package/dist/components/buttons/Button/Button.d.ts +15 -0
- package/dist/components/buttons/MenuButton/MenuButton.d.ts +20 -7
- package/dist/components/buttons/SplitButton/SplitButton.d.ts +1 -1
- package/dist/components/icons/Icon/generated-icon-data.d.ts +1 -1
- package/dist/components/inputs/Datepicker/Datepicker.d.ts +22 -13
- package/dist/css/component-css/pds-button.css +6 -6
- package/dist/css/component-css/pds-datepicker.css +2 -2
- package/dist/css/component-css/pds-index.css +14 -14
- package/dist/css/component-css/pds-input-utilities.css +1 -1
- package/dist/css/component-css/pds-menu-button.css +1 -1
- package/dist/css/component-css/pds-split-button.css +1 -1
- package/dist/css/component-css/pds-stepper.css +1 -1
- package/dist/css/component-css/pds-tab-menu.css +1 -1
- package/dist/css/component-css/pds-tabs.css +1 -1
- package/dist/css/component-css/pds-tally.css +1 -1
- package/dist/css/component-css/pds-vertical-stepper.css +1 -1
- package/dist/css/design-tokens/variables.dark.css +20 -20
- package/dist/css/design-tokens/variables.light.css +1 -1
- package/dist/css/pds-components.css +14 -14
- package/dist/css/pds-core.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1244 -979
- package/dist/index.js.map +1 -1
- package/dist/libs/components/StatusDot/StatusDot.d.ts +15 -0
- package/package.json +2 -2
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { StatusType } from '../../types/custom-types';
|
|
3
|
+
import './status-dot.css';
|
|
4
|
+
export type StatusDotType = StatusType | 'neutral';
|
|
5
|
+
export interface StatusDotProps extends ComponentPropsWithoutRef<'span'> {
|
|
6
|
+
/**
|
|
7
|
+
* Additional class names
|
|
8
|
+
*/
|
|
9
|
+
className?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Status type — determines the dot color
|
|
12
|
+
*/
|
|
13
|
+
status: StatusDotType;
|
|
14
|
+
}
|
|
15
|
+
export declare const StatusDot: ({ className, status, ...props }: StatusDotProps) => import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pantheon-systems/pds-toolkit-react",
|
|
3
3
|
"technology": "React",
|
|
4
|
-
"version": "2.0.0-alpha.
|
|
4
|
+
"version": "2.0.0-alpha.36",
|
|
5
5
|
"description": "PDS toolkit built using the React framework",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public",
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
"@dnd-kit/utilities": "^3.2.2",
|
|
179
179
|
"@floating-ui/react": "^0.24.3",
|
|
180
180
|
"@floating-ui/react-dom": "~1.3.0",
|
|
181
|
-
"@pantheon-systems/pds-design-tokens": "^2.0.0-alpha.
|
|
181
|
+
"@pantheon-systems/pds-design-tokens": "^2.0.0-alpha.51",
|
|
182
182
|
"@reactuses/core": "^5.0.15",
|
|
183
183
|
"date-fns": "^4.1.0",
|
|
184
184
|
"downshift": "^9.3.2",
|