@ultraviolet/plus 0.15.2 → 0.15.3

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.
Files changed (63) hide show
  1. package/dist/components/CodeEditor/CodeEditor.cjs +39 -0
  2. package/dist/components/ContentCard/Skeleton.cjs +43 -0
  3. package/dist/components/ContentCard/index.cjs +154 -0
  4. package/dist/components/ContentCardGroup/Card.cjs +93 -0
  5. package/dist/components/ContentCardGroup/SkeletonCard.cjs +34 -0
  6. package/dist/components/ContentCardGroup/index.cjs +33 -0
  7. package/dist/components/Conversation/index.cjs +128 -0
  8. package/dist/components/CustomerSatisfaction/assets/1-5.svg.cjs +3 -0
  9. package/dist/components/CustomerSatisfaction/assets/1-5NB.svg.cjs +3 -0
  10. package/dist/components/CustomerSatisfaction/assets/2-5.svg.cjs +3 -0
  11. package/dist/components/CustomerSatisfaction/assets/2-5NB.svg.cjs +3 -0
  12. package/dist/components/CustomerSatisfaction/assets/3-5.svg.cjs +3 -0
  13. package/dist/components/CustomerSatisfaction/assets/3-5NB.svg.cjs +3 -0
  14. package/dist/components/CustomerSatisfaction/assets/4-5.svg.cjs +3 -0
  15. package/dist/components/CustomerSatisfaction/assets/4-5NB.svg.cjs +3 -0
  16. package/dist/components/CustomerSatisfaction/assets/5-5.svg.cjs +3 -0
  17. package/dist/components/CustomerSatisfaction/assets/5-5NB.svg.cjs +3 -0
  18. package/dist/components/CustomerSatisfaction/index.cjs +123 -0
  19. package/dist/components/EstimateCost/Components/CustomUnitInput.cjs +33 -0
  20. package/dist/components/EstimateCost/Components/Item.cjs +303 -0
  21. package/dist/components/EstimateCost/Components/LineThrough.cjs +18 -0
  22. package/dist/components/EstimateCost/Components/NumberInput.cjs +29 -0
  23. package/dist/components/EstimateCost/Components/Region.cjs +41 -0
  24. package/dist/components/EstimateCost/Components/Regular.cjs +35 -0
  25. package/dist/components/EstimateCost/Components/Strong.cjs +28 -0
  26. package/dist/components/EstimateCost/Components/Unit.cjs +50 -0
  27. package/dist/components/EstimateCost/Components/UnitInput.cjs +90 -0
  28. package/dist/components/EstimateCost/Components/Zone.cjs +40 -0
  29. package/dist/components/EstimateCost/EstimateCost.cjs +88 -0
  30. package/dist/components/EstimateCost/EstimateCostContent.cjs +245 -0
  31. package/dist/components/EstimateCost/EstimateCostProvider.cjs +36 -0
  32. package/dist/components/EstimateCost/OverlayComponent.cjs +122 -0
  33. package/dist/components/EstimateCost/OverlayContext.cjs +14 -0
  34. package/dist/components/EstimateCost/componentStyle.cjs +230 -0
  35. package/dist/components/EstimateCost/constants.cjs +30 -0
  36. package/dist/components/EstimateCost/helper.cjs +19 -0
  37. package/dist/components/EstimateCost/locales/en.cjs +23 -0
  38. package/dist/components/FAQ/index.cjs +36 -0
  39. package/dist/components/Navigation/Navigation.cjs +20 -0
  40. package/dist/components/Navigation/Navigation.d.ts +4 -3
  41. package/dist/components/Navigation/NavigationContent.cjs +216 -0
  42. package/dist/components/Navigation/NavigationProvider.cjs +111 -0
  43. package/dist/components/Navigation/NavigationProvider.d.ts +7 -18
  44. package/dist/components/Navigation/NavigationProvider.js +18 -16
  45. package/dist/components/Navigation/components/Group.cjs +57 -0
  46. package/dist/components/Navigation/components/Item.cjs +438 -0
  47. package/dist/components/Navigation/components/Item.d.ts +4 -3
  48. package/dist/components/Navigation/components/Item.js +34 -23
  49. package/dist/components/Navigation/components/PinnedItems.cjs +108 -0
  50. package/dist/components/Navigation/components/PinnedItems.d.ts +5 -1
  51. package/dist/components/Navigation/components/PinnedItems.js +11 -8
  52. package/dist/components/Navigation/components/Separator.cjs +17 -0
  53. package/dist/components/Navigation/constants.cjs +37 -0
  54. package/dist/components/Navigation/constants.d.ts +14 -0
  55. package/dist/components/Navigation/index.d.ts +1 -0
  56. package/dist/components/Navigation/locales/en.cjs +11 -0
  57. package/dist/components/SteppedListCard/Step.cjs +37 -0
  58. package/dist/components/SteppedListCard/SteppedListContainer.cjs +80 -0
  59. package/dist/components/SteppedListCard/SteppedListContent.cjs +67 -0
  60. package/dist/components/SteppedListCard/helper.cjs +37 -0
  61. package/dist/components/index.d.ts +1 -0
  62. package/dist/index.cjs +25 -0
  63. package/package.json +23 -7
@@ -1,6 +1,7 @@
1
1
  import { CategoryIcon } from '@ultraviolet/icons';
2
2
  import { Badge } from '@ultraviolet/ui';
3
- import type { ComponentProps, JSX, MouseEvent, ReactNode } from 'react';
3
+ import type { ComponentProps, JSX, ReactNode } from 'react';
4
+ import type { PinUnPinType } from '../constants';
4
5
  type ItemType = 'default' | 'pinned' | 'pinnedGroup';
5
6
  type ItemProps = {
6
7
  children?: ReactNode;
@@ -38,7 +39,7 @@ type ItemProps = {
38
39
  * toggle will be passed with it.
39
40
  */
40
41
  onClick?: (toggle?: true | false) => void;
41
- onPinUnpinClick?: (event: MouseEvent<HTMLDivElement>) => void;
42
+ onClickPinUnpin?: (parameters: PinUnPinType) => void;
42
43
  /**
43
44
  * This prop is used to control if the item is expanded or collapsed
44
45
  */
@@ -77,5 +78,5 @@ type ItemProps = {
77
78
  noExpand?: boolean;
78
79
  disabled?: boolean;
79
80
  };
80
- export declare const Item: ({ children, categoryIcon, categoryIconVariant, label, subLabel, badgeText, badgeSentiment, href, onClick, onPinUnpinClick, toggle, active, noPinButton, type, hasParents, as, disabled, noExpand, index, id, }: ItemProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
81
+ export declare const Item: ({ children, categoryIcon, categoryIconVariant, label, subLabel, badgeText, badgeSentiment, href, onClick, onClickPinUnpin, toggle, active, noPinButton, type, hasParents, as, disabled, noExpand, index, id, }: ItemProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
81
82
  export {};