@agility/plenum-ui 2.2.6 → 2.2.8

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.
@@ -0,0 +1,8 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(npx tsc:*)",
5
+ "Bash(npx vitest:*)"
6
+ ]
7
+ }
8
+ }
package/build.js CHANGED
@@ -34,8 +34,7 @@ const context = {
34
34
  "@heroicons/react",
35
35
  "@tabler/icons",
36
36
  "@tabler/icons-react",
37
- "classnames",
38
- "react-icons"
37
+ "classnames"
39
38
  ],
40
39
  format: "esm"
41
40
  };
package/dist/index.d.ts CHANGED
@@ -402,17 +402,14 @@ declare module '@agility/plenum-ui/stories/atoms/buttons/index' {
402
402
  }
403
403
  declare module '@agility/plenum-ui/stories/atoms/icons/DynamicIcon' {
404
404
  import React from "react";
405
- import * as SolidIcons from "@heroicons/react/solid";
406
- import * as OutlineIcons from "@heroicons/react/outline";
407
- import * as FA from "react-icons/fa";
405
+ import type * as SolidIcons from "@heroicons/react/solid";
406
+ import type * as OutlineIcons from "@heroicons/react/outline";
408
407
  import { TablerIconName } from "@agility/plenum-ui/stories/atoms/icons/tablerIconNames";
409
408
  import { ClassNameWithAutocomplete } from "@/utils/types";
410
409
  export type IconName = keyof typeof SolidIcons | keyof typeof OutlineIcons;
411
- export type FAIconName = keyof typeof FA;
412
- export type UnifiedIconName = TablerIconName | IconName | FAIconName;
410
+ export type UnifiedIconName = TablerIconName | IconName;
413
411
  export function isHeroIcon(name: UnifiedIconName): name is keyof typeof SolidIcons | keyof typeof OutlineIcons;
414
412
  export function isTablerIcon(name: UnifiedIconName): name is TablerIconName;
415
- export function isFAIcon(name: UnifiedIconName): name is keyof typeof FA;
416
413
  export function isUnifiedIconName(name: UnifiedIconName): name is UnifiedIconName;
417
414
  export interface IDynamicIconProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
418
415
  icon: UnifiedIconName;
@@ -428,11 +425,9 @@ declare module '@agility/plenum-ui/stories/atoms/icons/DynamicIcon.stories' {
428
425
  import { DynamicIcon } from "@agility/plenum-ui/stories/atoms/icons/DynamicIcon";
429
426
  const meta: Meta<typeof DynamicIcon>;
430
427
  type Story = StoryObj<typeof DynamicIcon>;
431
- export const HeroIconSolid: Story;
432
- export const HeroIconOutline: Story;
433
428
  export const TablerIconSolid: Story;
434
429
  export const TablerIconOutline: Story;
435
- export const FAIcon: Story;
430
+ export const TablerIconBrandGithub: Story;
436
431
  export default meta;
437
432
 
438
433
  }
@@ -470,10 +465,10 @@ declare module '@agility/plenum-ui/stories/atoms/icons/TablerIcon' {
470
465
 
471
466
  }
472
467
  declare module '@agility/plenum-ui/stories/atoms/icons/index' {
473
- import { DynamicIcon, FAIconName, IDynamicIconProps, IconName, UnifiedIconName, isFAIcon, isHeroIcon, isTablerIcon, isUnifiedIconName } from "@agility/plenum-ui/stories/atoms/icons/DynamicIcon";
468
+ import { DynamicIcon, IDynamicIconProps, IconName, UnifiedIconName, isHeroIcon, isTablerIcon, isUnifiedIconName } from "@agility/plenum-ui/stories/atoms/icons/DynamicIcon";
474
469
  import IconWithShadow, { IIconWithShadowProps } from "@agility/plenum-ui/stories/atoms/icons/IconWithShadow";
475
- export { DynamicIcon, isFAIcon, isHeroIcon, isTablerIcon, isUnifiedIconName, IconWithShadow };
476
- export type { FAIconName, IDynamicIconProps, IconName, UnifiedIconName, IIconWithShadowProps };
470
+ export { DynamicIcon, isHeroIcon, isTablerIcon, isUnifiedIconName, IconWithShadow };
471
+ export type { IDynamicIconProps, IconName, UnifiedIconName, IIconWithShadowProps };
477
472
 
478
473
  }
479
474
  declare module '@agility/plenum-ui/stories/atoms/icons/tablerIconNames' {
@@ -485,13 +480,13 @@ declare module '@agility/plenum-ui/stories/atoms/index' {
485
480
  import Avatar, { IAvatarProps } from "@agility/plenum-ui/stories/atoms/Avatar/index";
486
481
  import Badge, { IBadgeProps } from "@agility/plenum-ui/stories/atoms/badges/index";
487
482
  import { Button, Capsule, BTNActionType, IButtonProps, ICapsuleProps } from "@agility/plenum-ui/stories/atoms/buttons/index";
488
- import { DynamicIcon, FAIconName, IDynamicIconProps, IIconWithShadowProps, IconName, IconWithShadow, UnifiedIconName, isFAIcon, isHeroIcon, isTablerIcon, isUnifiedIconName } from "@agility/plenum-ui/stories/atoms/icons/index";
483
+ import { DynamicIcon, IDynamicIconProps, IIconWithShadowProps, IconName, IconWithShadow, UnifiedIconName, isHeroIcon, isTablerIcon, isUnifiedIconName } from "@agility/plenum-ui/stories/atoms/icons/index";
489
484
  import { ILoaderProps, IRadialProgressProps, Loader, RadialProgress } from "@agility/plenum-ui/stories/atoms/loaders/index";
490
485
  import { Heading, HeadingProps } from "@agility/plenum-ui/stories/atoms/Typography/Heading/index";
491
486
  import { Label, LabelProps } from "@agility/plenum-ui/stories/atoms/Typography/Label/index";
492
487
  import { Paragraph, ParagraphProps } from "@agility/plenum-ui/stories/atoms/Typography/Paragraph/index";
493
- export type { IAvatarProps, IBadgeProps, IButtonProps, ICapsuleProps, IDynamicIconProps, IIconWithShadowProps, ILoaderProps, IRadialProgressProps, HeadingProps, LabelProps, ParagraphProps, UnifiedIconName, IconName, FAIconName, BTNActionType };
494
- export { Avatar, Badge, Button, Capsule, DynamicIcon, IconWithShadow, Loader, RadialProgress, Heading, Label, Paragraph, isFAIcon, isHeroIcon, isTablerIcon, isUnifiedIconName };
488
+ export type { IAvatarProps, IBadgeProps, IButtonProps, ICapsuleProps, IDynamicIconProps, IIconWithShadowProps, ILoaderProps, IRadialProgressProps, HeadingProps, LabelProps, ParagraphProps, UnifiedIconName, IconName, BTNActionType };
489
+ export { Avatar, Badge, Button, Capsule, DynamicIcon, IconWithShadow, Loader, RadialProgress, Heading, Label, Paragraph, isHeroIcon, isTablerIcon, isUnifiedIconName };
495
490
 
496
491
  }
497
492
  declare module '@agility/plenum-ui/stories/atoms/loaders/Loader' {
@@ -540,11 +535,11 @@ declare module '@agility/plenum-ui/stories/atoms/loaders/index' {
540
535
 
541
536
  }
542
537
  declare module '@agility/plenum-ui/stories/index' {
543
- import { IAvatarProps, IBadgeProps, IButtonProps, ICapsuleProps, IDynamicIconProps, IIconWithShadowProps, ILoaderProps, IRadialProgressProps, UnifiedIconName, IconName, FAIconName, BTNActionType, Avatar, Badge, Button, Capsule, DynamicIcon, IconWithShadow, Loader, RadialProgress, isFAIcon, isHeroIcon, isTablerIcon, isUnifiedIconName, Heading, HeadingProps, Label, LabelProps, Paragraph, ParagraphProps } from "@agility/plenum-ui/stories/atoms/index";
538
+ import { IAvatarProps, IBadgeProps, IButtonProps, ICapsuleProps, IDynamicIconProps, IIconWithShadowProps, ILoaderProps, IRadialProgressProps, UnifiedIconName, IconName, BTNActionType, Avatar, Badge, Button, Capsule, DynamicIcon, IconWithShadow, Loader, RadialProgress, isHeroIcon, isTablerIcon, isUnifiedIconName, Heading, HeadingProps, Label, LabelProps, Paragraph, ParagraphProps } from "@agility/plenum-ui/stories/atoms/index";
544
539
  import { ICheckboxProps, IComboboxProps, IInputFieldProps, IInputLabelProps, INestedInputButtonProps, IRadioProps, ISelectProps, ITextareaProps, IToggleSwitchProps, AcceptedInputTypes, Checkbox, Combobox, InputField, InputLabel, NestedInputButton, Radio, Select, Textarea, ToggleSwitch, TextInput, ITextInputProps, ISimpleSelectOptions } from "@agility/plenum-ui/stories/molecules/index";
545
540
  import { IAnimatedLabelInputProps, AnimatedLabelTextArea, IAnimatedLabelTextAreaProps, IButtonDropdownProps, IDropdownProps, IEmptySectionPlaceholderProps, IItemProp, IFormInputWithAddonsProps, AnimatedLabelInput, ButtonDropdown, Dropdown, EmptySectionPlaceholder, FormInputWithAddons, TextInputSelect, ITextInputSelectProps, IAnimatedFormInputWithAddons, AnimatedFormInputWithAddons, DropdownWithMultiSelect, MultiSelectItemProps } from "@agility/plenum-ui/stories/organisms/index";
546
- export type { IAvatarProps, IBadgeProps, IButtonProps, ICapsuleProps, ITextInputSelectProps, IDynamicIconProps, IIconWithShadowProps, ILoaderProps, IRadialProgressProps, ICheckboxProps, IComboboxProps, IInputFieldProps, IInputLabelProps, INestedInputButtonProps, IRadioProps, ISelectProps, ITextareaProps, IToggleSwitchProps, AcceptedInputTypes, IAnimatedLabelInputProps, IAnimatedLabelTextAreaProps, IButtonDropdownProps, IDropdownProps, IEmptySectionPlaceholderProps, IItemProp, IFormInputWithAddonsProps, UnifiedIconName, IconName, FAIconName, BTNActionType, ITextInputProps, ISimpleSelectOptions, IAnimatedFormInputWithAddons, MultiSelectItemProps, HeadingProps, LabelProps, ParagraphProps };
547
- export { Avatar, Checkbox, Combobox, InputField, InputLabel, NestedInputButton, Radio, Select, Textarea, ToggleSwitch, AnimatedLabelInput, AnimatedLabelTextArea, ButtonDropdown, Dropdown, EmptySectionPlaceholder, FormInputWithAddons, Badge, Button, Capsule, DynamicIcon, IconWithShadow, Loader, RadialProgress, isFAIcon, isHeroIcon, isTablerIcon, isUnifiedIconName, TextInput, TextInputSelect, AnimatedFormInputWithAddons, DropdownWithMultiSelect, Heading, Label, Paragraph };
541
+ export type { IAvatarProps, IBadgeProps, IButtonProps, ICapsuleProps, ITextInputSelectProps, IDynamicIconProps, IIconWithShadowProps, ILoaderProps, IRadialProgressProps, ICheckboxProps, IComboboxProps, IInputFieldProps, IInputLabelProps, INestedInputButtonProps, IRadioProps, ISelectProps, ITextareaProps, IToggleSwitchProps, AcceptedInputTypes, IAnimatedLabelInputProps, IAnimatedLabelTextAreaProps, IButtonDropdownProps, IDropdownProps, IEmptySectionPlaceholderProps, IItemProp, IFormInputWithAddonsProps, UnifiedIconName, IconName, BTNActionType, ITextInputProps, ISimpleSelectOptions, IAnimatedFormInputWithAddons, MultiSelectItemProps, HeadingProps, LabelProps, ParagraphProps };
542
+ export { Avatar, Checkbox, Combobox, InputField, InputLabel, NestedInputButton, Radio, Select, Textarea, ToggleSwitch, AnimatedLabelInput, AnimatedLabelTextArea, ButtonDropdown, Dropdown, EmptySectionPlaceholder, FormInputWithAddons, Badge, Button, Capsule, DynamicIcon, IconWithShadow, Loader, RadialProgress, isHeroIcon, isTablerIcon, isUnifiedIconName, TextInput, TextInputSelect, AnimatedFormInputWithAddons, DropdownWithMultiSelect, Heading, Label, Paragraph };
548
543
 
549
544
  }
550
545
  declare module '@agility/plenum-ui/stories/molecules/index' {