@staffbase/design 18.3.0 → 18.5.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/components.css +13 -1
- package/dist/fonts/epilogue-OFL.txt +93 -0
- package/dist/fonts/epilogue.css +12 -0
- package/dist/fonts/inter-OFL.txt +92 -0
- package/dist/fonts/inter.css +12 -0
- package/dist/hooks.cjs +12 -1
- package/dist/hooks.cjs.map +1 -1
- package/dist/hooks.js +12 -0
- package/dist/hooks.js.map +1 -1
- package/dist/main.cjs +12 -1
- package/dist/main.cjs.map +1 -1
- package/dist/main.d.ts +3 -3
- package/dist/main.js +12 -0
- package/dist/main.js.map +1 -1
- package/dist/theme.css +54 -42
- package/dist/tokens/component.css +12 -0
- package/dist/tokens/primitive.css +12 -0
- package/dist/tokens/semantic.css +13 -0
- package/package.json +28 -27
package/dist/main.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ import { HTMLProps } from 'react';
|
|
|
40
40
|
import { Input } from '@base-ui/react/input';
|
|
41
41
|
import { InputHTMLAttributes } from 'react';
|
|
42
42
|
import { InputProps as InputProps_2 } from '@base-ui/react';
|
|
43
|
-
import { JSX } from 'react
|
|
43
|
+
import { JSX } from 'react';
|
|
44
44
|
import { Menu as Menu_2 } from '@base-ui/react/menu';
|
|
45
45
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
46
46
|
import { MutableRefObject } from 'react';
|
|
@@ -79,7 +79,7 @@ export declare type ActionItemVariant = 'default' | 'critical';
|
|
|
79
79
|
/** @deprecated use Menu component instead */
|
|
80
80
|
export declare function ActionMenu({ children, ...options }: {
|
|
81
81
|
children: ReactNode;
|
|
82
|
-
} & Omit<ActionMenuOptions, 'listRef'>): JSX.Element;
|
|
82
|
+
} & Omit<ActionMenuOptions, 'listRef'>): default_2.JSX.Element;
|
|
83
83
|
|
|
84
84
|
export declare namespace ActionMenu {
|
|
85
85
|
var displayName: string;
|
|
@@ -1445,7 +1445,7 @@ export declare const PieChartIcon: default_2.NamedExoticComponent<default_2.SVGA
|
|
|
1445
1445
|
export declare const Pill: ForwardRefExoticComponent<Omit<PillProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1446
1446
|
|
|
1447
1447
|
declare interface PillProps extends ComponentProps<'div'> {
|
|
1448
|
-
color?: 'critical' | 'warning' | 'primary' | 'success' | 'neutral' | 'purple' | 'cyan' | 'pink' | 'teal';
|
|
1448
|
+
color?: 'critical' | 'warning' | 'primary' | 'success' | 'neutral' | 'purple' | 'cyan' | 'pink' | 'teal' | 'yellow';
|
|
1449
1449
|
variant?: 'solid' | 'outline';
|
|
1450
1450
|
children: ReactNode;
|
|
1451
1451
|
}
|
package/dist/main.js
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2026, Staffbase SE and contributors.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software
|
|
8
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
9
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
10
|
+
See the License for the specific language governing permissions and
|
|
11
|
+
limitations under the License.
|
|
12
|
+
*/
|
|
1
13
|
import { FloatingFocusManager, FloatingList, FloatingOverlay, FloatingPortal, autoUpdate, flip, offset, shift, useClick, useDismiss, useFloating, useFocus, useHover, useInteractions, useListItem, useListNavigation, useMergeRefs, useRole, useTransitionStatus, useTransitionStyles } from "@floating-ui/react";
|
|
2
14
|
import clsx$1, { clsx } from "clsx";
|
|
3
15
|
import React, { cloneElement, createContext, createElement, forwardRef, isValidElement, memo, useCallback, useContext, useEffect, useId, useImperativeHandle, useMemo, useRef, useState } from "react";
|