@oxide/design-system 2.3.0 → 2.4.0
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/dist/{chunk-ML7NK3OF.js → chunk-YRJL4JLL.js} +716 -653
- package/dist/chunk-YRJL4JLL.js.map +1 -0
- package/dist/components/src/index.d.ts +4 -4
- package/dist/components/src/index.js +1 -1
- package/dist/components/src/index.js.map +1 -1
- package/dist/icons/index.d.ts +6 -0
- package/dist/icons/react/index.d.ts +72 -60
- package/dist/icons/react/index.js +5 -1
- package/icons/sprite.svg +1 -1
- package/icons/svg/affinity-16.svg +1 -0
- package/icons/svg/affinity-24.svg +1 -0
- package/icons/svg/sign-out-16.svg +1 -1
- package/package.json +1 -1
- package/dist/chunk-ML7NK3OF.js.map +0 -1
|
@@ -86,8 +86,8 @@ declare const Badge: ({ className, children, color, variant, }: BadgeProps) => r
|
|
|
86
86
|
|
|
87
87
|
declare const buttonSizes: readonly ["sm", "icon", "base"];
|
|
88
88
|
declare const variants: readonly ["primary", "secondary", "ghost", "danger"];
|
|
89
|
-
type ButtonSize = typeof buttonSizes[number];
|
|
90
|
-
type Variant = typeof variants[number];
|
|
89
|
+
type ButtonSize = (typeof buttonSizes)[number];
|
|
90
|
+
type Variant = (typeof variants)[number];
|
|
91
91
|
type ButtonStyleProps = {
|
|
92
92
|
size?: ButtonSize;
|
|
93
93
|
variant?: Variant;
|
|
@@ -101,8 +101,8 @@ declare const Button: react.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> &
|
|
|
101
101
|
|
|
102
102
|
declare const spinnerSizes: readonly ["base", "lg"];
|
|
103
103
|
declare const spinnerVariants: readonly ["primary", "secondary", "ghost", "danger"];
|
|
104
|
-
type SpinnerSize = typeof spinnerSizes[number];
|
|
105
|
-
type SpinnerVariant = typeof spinnerVariants[number];
|
|
104
|
+
type SpinnerSize = (typeof spinnerSizes)[number];
|
|
105
|
+
type SpinnerVariant = (typeof spinnerVariants)[number];
|
|
106
106
|
interface SpinnerProps {
|
|
107
107
|
className?: string;
|
|
108
108
|
size?: SpinnerSize;
|