@worldresources/wri-design-systems 2.194.5 → 2.195.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/README.md +13 -0
- package/agents/skills/a11y-checker/SKILL.md +117 -0
- package/agents/skills/ds-ui-creator/SKILL.md +156 -0
- package/agents/skills/pr-description/SKILL.md +24 -0
- package/dist/index.cjs.js +61 -51
- package/dist/index.d.ts +8 -3
- package/dist/index.esm.js +62 -52
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -458,6 +458,7 @@ type RichTextEditorLabels = {
|
|
|
458
458
|
/** Short text rendered inside the underline control icon button (for example: U, S). */
|
|
459
459
|
underlineIconText: string;
|
|
460
460
|
strikethroughTooltip: string;
|
|
461
|
+
strikethroughIconText: string;
|
|
461
462
|
bulletListTooltip: string;
|
|
462
463
|
orderedListTooltip: string;
|
|
463
464
|
linkTooltip: string;
|
|
@@ -764,13 +765,14 @@ type CheckboxOptionCardProps = {
|
|
|
764
765
|
declare const CheckboxOptionCard: ({ defaultValue, items, onValueChange, }: CheckboxOptionCardProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
765
766
|
|
|
766
767
|
type OptionCardItemProps = {
|
|
767
|
-
label
|
|
768
|
+
label?: string;
|
|
768
769
|
caption?: string;
|
|
769
770
|
icon?: React.ReactNode;
|
|
770
|
-
variant?: 'default' | 'centered' | 'expanded';
|
|
771
771
|
disabled?: boolean;
|
|
772
772
|
children?: React.ReactNode;
|
|
773
773
|
value: string;
|
|
774
|
+
selectedColor?: string;
|
|
775
|
+
selectedBackgroundColor?: string;
|
|
774
776
|
};
|
|
775
777
|
type OptionCardProps = Omit<RadioCardRootProps, 'colorPalette' | 'size' | 'variant' | 'as' | 'asChild' | 'unstyled' | 'defaultChecked'> & {
|
|
776
778
|
defaultValue?: string;
|
|
@@ -778,9 +780,12 @@ type OptionCardProps = Omit<RadioCardRootProps, 'colorPalette' | 'size' | 'varia
|
|
|
778
780
|
onValueChange?: ({ value }: {
|
|
779
781
|
value: string;
|
|
780
782
|
}) => void;
|
|
783
|
+
variant?: 'default' | 'centered' | 'expanded';
|
|
784
|
+
itemWidth?: string;
|
|
785
|
+
hideControl?: boolean;
|
|
781
786
|
};
|
|
782
787
|
|
|
783
|
-
declare const OptionCard: ({ defaultValue, items, onValueChange, }: OptionCardProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
788
|
+
declare const OptionCard: ({ defaultValue, items, onValueChange, variant, itemWidth, hideControl, }: OptionCardProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
784
789
|
|
|
785
790
|
type RadioProps = Omit<RadioGroup$1.ItemProps, 'size' | 'variant' | 'colorPalette' | 'name' | 'defaultChecked' | 'onChange'> & {
|
|
786
791
|
value: string;
|