@apolitical/component-library 4.1.6-SW.1 → 4.1.6-beta.1
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/cards/cards.types.d.ts +0 -2
- package/communities/community-details/community-details.d.ts +1 -3
- package/communities/join-button/join-button.d.ts +1 -5
- package/form/components/rich-text-editor/helpers/hot-keys/hot-keys.d.ts +4 -3
- package/form/components/rich-text-editor/helpers/hot-keys/index.d.ts +1 -2
- package/general/buttons/button/button.d.ts +4 -3
- package/helpers/dates.d.ts +0 -1
- package/helpers/intl.d.ts +0 -2
- package/index.js +33 -33
- package/index.mjs +3692 -3735
- package/package.json +1 -1
- package/style.css +1 -1
- package/styles/variables/colors/theme/_text.scss +0 -1
- package/text/content-type-label/content-type-label.types.d.ts +1 -1
- package/text/pill/pill.d.ts +2 -4
- package/form/components/rich-text-editor/helpers/hot-keys/hot-keys.config.d.ts +0 -4
|
@@ -51,7 +51,6 @@ $text: (
|
|
|
51
51
|
pill_registered: get-map($c, 'g700'),
|
|
52
52
|
pill_bg: get-map($c, 'n200'),
|
|
53
53
|
pill_subtle_bg: get-map($c, 'white'),
|
|
54
|
-
pill_naked_bg: transparent,
|
|
55
54
|
pill_highlighted_bg: get-map($c, 'y300'),
|
|
56
55
|
pill_highlighted-light_bg: get-map($c, 'y100'),
|
|
57
56
|
pill_light_bg: get-map($c, 'info50'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type CustomIconType = 'calendar' | 'cube' | 'document' | 'download' | 'globe' | 'graduationCap' | 'link' | 'person' | 'star' | 'speech'
|
|
1
|
+
export type CustomIconType = 'calendar' | 'cube' | 'document' | 'download' | 'globe' | 'graduationCap' | 'link' | 'person' | 'star' | 'speech';
|
package/text/pill/pill.d.ts
CHANGED
|
@@ -3,17 +3,15 @@ interface Props {
|
|
|
3
3
|
/** The size of the pill */
|
|
4
4
|
size?: 'small' | 'medium' | 'large';
|
|
5
5
|
/** The style of the pill */
|
|
6
|
-
variant?: 'default' | 'subtle' | 'highlighted' | 'highlighted-light' | 'information' | 'registered' | 'light'
|
|
6
|
+
variant?: 'default' | 'subtle' | 'highlighted' | 'highlighted-light' | 'information' | 'registered' | 'light';
|
|
7
7
|
/** Additional classes to add to the pill */
|
|
8
8
|
className?: string;
|
|
9
9
|
/** The pill text */
|
|
10
10
|
children: React.ReactNode;
|
|
11
11
|
/** The icon to display in the pill */
|
|
12
12
|
icon?: string;
|
|
13
|
-
/** The tooltip to display on hover/focus */
|
|
14
|
-
tooltip?: string;
|
|
15
13
|
/** Optional test ID */
|
|
16
14
|
'data-testid'?: string;
|
|
17
15
|
}
|
|
18
|
-
declare const Pill: ({ size, variant, className, icon,
|
|
16
|
+
declare const Pill: ({ size, variant, className, icon, children, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
19
17
|
export default Pill;
|